Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating a link to AWS Mangement Console from ARN

If I have an Amazon Resource Name (ARN) like "arn:aws:config:ap-southeast-2:1234567890:config-rule/config-rule-h0e6s3" how would I get a link to the appropriate management interface?

Is there a lookup through the AWS SDK or a magic URL to generate a link or use a global redirect point (e.g. https://aws.amazon.com/resource/arn:aws:config:ap-southeast-2:1234567890:config-rule/configu-rule-h0e6s3) to the appropriate place on the management console where you would manage that item?

like image 803
Colin Bowern Avatar asked Jan 07 '18 03:01

Colin Bowern


People also ask

How do I get AWS console link?

If you're a root user, open the Sign in page, select Root user, and sign in using your AWS account root user credentials. Sign in using a custom URL https://account_alias_or_id.signin.aws.amazon.com/console/. You must replace account_alias_or_id with the account alias or account ID provided by the root user.

How do I use an Arn?

To use an ARN, replace the italicized text with the resource-specific information. Be aware that the ARNs for some resources omit the Region, the account ID, or both the Region and the account ID. The partition in which the resource is located. A partition is a group of AWS Regions.


1 Answers

There is now an (unofficial) tool to translate ARN to deep links into the AWS console:

https://link2aws.github.io/

You can install it locally too:

https://github.com/link2aws/link2aws.github.io

I have tested it with IAM policies, Lambda functions and few others and seems to work well. Enjoy!

like image 199
RogerS Avatar answered Oct 12 '22 01:10

RogerS