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 Antwort
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
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen