How to get an S3 Bucket's ARN

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 #

Join my newsletter

I'll send you 1 email a week with links to all of the articles I've written that week

Buy Me A Coffee