The ARN is a unique identifier that helps users identify specific resources present within AWS.
Regarding the S3 ARN, if can be divided into 3 sections – the partition, the service name, and then the relative ID.
In the context of Amazon S3, it would look something like this:
arn:aws:s3:::bucket_name/key_name
Taking a step back, here’s the general format for any ARN in all of AWS:
arn:partition:service:region:namespace:relative-id
Notice how it is separated by a series of colens after each resource section.
Now that we understand what an ARN for an S3 Bucket would look like, let’s take a look at how to get it for our own resources.
How do I get ARN for S3 bucket?
You can locate your S3 bucket ARN by taking a look at the S3 console dashboard and proceed through the steps of creating or editing the bucket policy.
Here’s the steps:
- Log in to your AWS console
- Navigate to the S3 Dashboard
- Select your desired S3 Bucket
- Select the permissions tab
- Click on edit bucket policy
- Your S3 Bucket ARN should be notated at the top of the screen
For those visual in nature, here are some screen shots detailing this process:
Selecting the Bucket in the S3 Console

Selecting Permission Tab



Clicking on ‘edit bucket policy’



Locating the S3 ARN



What is the Arn of my S3 bucket?
For starters, AWS wants users to be able to properly locate and assign unique identifiers to all of their resources.
This is a great way to locate and work with your desired resources on an ARN basis because you know that it is in fact that resource you are trying to work with.
For S3, it is simply a continuation of the overall ARN format, and extends it to your S3 Buckets.
By doing so, it allows users (and AWS) to properly locate your globally unique resources in a standardized format. It does this through the use of partitions, the service name, and the resource id.
AWS ARN Format
As noted above, the format of any AWS ARN can be calculated by several factors:
- Partition
- Service
- Region
- Account-id
- Resource-id
These Resource identifiers (ARN’s) are fantastic ways to properly locate your respective resources. In this case, we looked at how to get an Amazon S3 ARN from an S3 bucket.
Final Thoughts
If you’re trying to locate your Amazon S3 bucket, then just go to the S3 dashboard and click on the specific bucket in question. Next, select the permissions tab and then scroll all the way down to ‘edit bucket policy’. You should promptly see the S3 ARN right at the top of the screen.