fix(iam): permissions boundary aspect doesn't always recognize roles#16154
fix(iam): permissions boundary aspect doesn't always recognize roles#16154mergify[bot] merged 2 commits intoaws:masterfrom
Conversation
Using `instanceof` does not seem to work in all scenarios. Instead, use the `CfnResource.isCfnResource` method to find the L1 constructs.
|
Might fix #15572 Backstory of the problem: we have a very small, simple NodeJS CDK project. It is using In the end, I think the code ends up being equivalent because all the code paths were just trying to modify the same L1 constructs. I tested this code by writing my own aspect with same |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Using
instanceofdoes not seem to work in all scenarios. Instead, use theCfnResource.isCfnResourcemethod to find the L1 constructs.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license