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