s3-outposts:GetBucketVersioning is a Read access-level action in the s3-outposts service. Grants permission to return the versioning state of an Amazon S3 bucket
ARNs that s3-outposts:GetBucketVersioning can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows s3-outposts:GetBucketVersioning. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowS3outpostsGetBucketVersioning",
"Effect": "Allow",
"Action": "s3-outposts:GetBucketVersioning",
"Resource": "*"
}
]
}