How to get the ARN of an S3 Bucket

avatar

Borislav Hadzhiev

Tue Sep 21 20211 min read

Get an S3 Bucket's ARN #

To get an S3 bucket's ARN:

  1. Navigate to the AWS S3 console
  2. Click on the radio button next to your bucket's name
  3. Click on the Copy ARN button

copy s3 bucket arn

Your bucket arn will look something like: arn:aws:s3:::my-bucket.

Alternatively if you know the name of your bucket, it's very easy to construct the ARN.

Replace the YOUR_BUCKET placeholder in the following string to construct the bucket's ARN: - arn:aws:s3:::YOUR_BUCKET.

This assumes that your partition (the aws) after the first colon is the default one. If you are in GovCloud or China, replace aws with aws-us-gov or aws-cn respectively.

Further Reading #

Use the search field on my Home Page to filter through my more than 1,000 articles.