Get Service Catalog user/role name in stack

0

Hi,

I am not sure how to get the user/role name in stack when launching the product from service catalog. Any pointers/help?

Thanks Gaurav

1 回答
0

Hi! Not sure if there is any out of the box solutions for this, but you can use a lambda function as a custom resource in your CF stack to check and return the user/role. Below you can find an example of how you can use CF custom resources: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/walkthrough-custom-resources-lambda-lookup-amiids.html

profile picture
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则