Skip to content
Advertisement

Tag: amazon-iam

AWS CDK How to include principals in IAM policy?

Hi I am working on AWS CDK. I am trying to create resource based policy. Below is my cloud formation template. Below I am trying to create same using CDK. This results in below error Error: Expected object reference, got “arn:aws:iam::123:root” Can someone help me to write correct syntax using python? Any help would be appreciated. Thanks Answer principals needs

Advertisement