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?
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.
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.
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With