I'm setting up infrastructure using AWS CDK. Is there any way I can check if a Managed Policy already exists?
I'm setting up infrastructure using AWS CDK. Is there any way I can check if a Managed Policy already exists?
You can import the npm package cdk-constants. It "aims to be an up to date constants library for all things AWS".
While you can't use cdk-constants to programmatically check if a Managed Policy exists, you can inspect the library to see what Managed Policies are available.