aws-sdk-rust icon indicating copy to clipboard operation
aws-sdk-rust copied to clipboard

Add utility to create/manage arn

Open asanthan-amazon opened this issue 3 years ago • 1 comments
trafficstars

Describe the feature

In java sdk, we have class called Arn .

In rust sdk, we need something similar to create arn given serviceName and resourceName .

Use Case

We construct arn manually for several reasons.

  1. When assuming role, we need to construct full iam role arn and give it as input to sts.
  2. In policy variables especially ${ec2:SourceInstanceArn} , we need to construct full instance arn.

Proposed Solution

May be, a new crate like aws-sdk-arn ?

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

A note for the community

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment

asanthan-amazon avatar Jun 15 '22 15:06 asanthan-amazon

Thanks for submitting this request.

Velfi avatar Jun 20 '22 16:06 Velfi