s3-outposts:GetBucket

Read

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

Resource types

ARNs that s3-outposts:GetBucket can be scoped to in an IAM policy.

arn:${Partition}:s3-outposts:${Region}:${Account}:outpost/${OutpostId}/bucket/${BucketName}
bucket

Condition keys

No condition keys are documented for this action.

Example IAM policy

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": "*"
    }
  ]
}

Related actions in s3-outposts

View all s3-outposts actions →