diff --git a/lib/local-aspects/iam-permissions-boundary/index.ts b/lib/local-aspects/iam-permissions-boundary/index.ts index 975a9d1084..50ef9aabfb 100644 --- a/lib/local-aspects/iam-permissions-boundary/index.ts +++ b/lib/local-aspects/iam-permissions-boundary/index.ts @@ -12,7 +12,10 @@ export class IamPermissionsBoundaryAspect implements IAspect { public visit(node: IConstruct): void { if (node instanceof iam.Role) { const roleResource = node.node.defaultChild as iam.CfnRole; - roleResource.addPropertyOverride("Path", this.permissionsBoundaryArn); + roleResource.addPropertyOverride( + "PermissionsBoundary", + this.permissionsBoundaryArn, + ); } } }