s3:ObjectOwnerOverrideToBucketOwner is a Permissions management access-level action in the s3 service. Grants permission to change replica ownership
ARNs that s3:ObjectOwnerOverrideToBucketOwner can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants s3:ObjectOwnerOverrideToBucketOwner.
Filters access by the tags associated with the resource
Filters access by the tags associated with the bucket
A minimal policy that allows s3:ObjectOwnerOverrideToBucketOwner. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowS3ObjectOwnerOverrideToBucketOwner",
"Effect": "Allow",
"Action": "s3:ObjectOwnerOverrideToBucketOwner",
"Resource": "*"
}
]
}