Is it possible to get ARN of S3 bucket with CLI?

0 votes

My question is it possible to get the ARN of an S3 bucket via the AWS Command Line Interface?

I googled and went through the documentation for AWS S3API and AWS S3 but have not found a way to do this.

So, any suggestions?

Feb 19 in AWS by datageek
• 3,000 points
91 views

1 answer to this question.

0 votes

You don't actually need cli to get the ARN of your S3 bucket. In the management console select the bucket and in the pop up that opens you have the option to copy the ARN if the bucket you choose.

In fact, you don't even need to do that. If you know the name of the bucket, you know the ARN. No need to 'get' it from anywhere. It's always arn:aws:s3:::NAME-OF-YOU-BUCKET.

answered Feb 19 by Archana
• 5,480 points
Can you elaborate the process of doing this? Thank you

Related Questions In AWS

+1 vote
3 answers

How to get ARN for s3 Bucket using aws cli .

An ARN is a non-opaque, constructible identifier, ...READ MORE

answered Aug 16, 2018 in AWS by Priyaj
• 56,160 points
960 views
0 votes
1 answer

Is it possible to find all S3 buckets given a prefix?

The high level collection command s3.buckets.filter only ...READ MORE

answered Aug 27, 2018 in AWS by Archana
• 4,090 points
347 views
0 votes
1 answer

Is it possible to use own scheduler with Amazon ECS?

ECS provides Blox, a collection of open ...READ MORE

answered Nov 5, 2018 in AWS by datageek
• 3,000 points
24 views
0 votes
1 answer

Is it possible to get EC2 account balance programmatically

You can't, unfortunately, neither AWS nor any ...READ MORE

answered May 13 in AWS by Archana
• 5,480 points
11 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,160 points
150 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 56,160 points
279 views