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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南