Sunday, June 25, 2017

AWS API Get Any Resource By ARN

Leave a Comment

I have a bunch AWS resource ARNs. I can easily write a switch/case statement on the namespace of the ARN and call the appropriate describeXYZ method on the correct AWS API class to get the resource details. But is there a way of taking any arbitrary ARN and getting a description for it? Something like aws.describeResource({arn:myArn}, callback)?

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment