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