Skip to content

Check if Service Linked Role Already Exists #28981

Answered by tobi2736
andreprawira asked this question in Q&A

You must be logged in to vote

This is not mentioned in the AWS CDK documentation as it's not a native component of the CDK or AWS.

upsert-slr is a 3rd party construct of the AWS CDK.
These constructs are easy to use and extend the functionality of the CDK: They are reusable and save you time.

Since upsert-slr is MIT and publicly available (https://github.com/tmokmss/upsert-slr/), you could take the code from there and implement this logic yourself - no sense in that - but then you have the same logic and no external dependencies.

Replies: 2 comments

You must be logged in to vote
0 replies
Answer selected by andreprawira

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants