Matt Morgan
11/22/2021, 4:29 PMFrank
index.js/ts
export function debugStack(
app: <http://cdk.App|cdk.App>,
stack: cdk.Stack,
props: sst.DebugStackProps
): void {
const boundary = new iam.ManagedPolicy(this, 'Boundary', {
statements: [
new iam.PolicyStatement({
effect: iam.Effect.DENY,
actions: ['iam:*'],
resources: ['*'],
}),
],
});
iam.PermissionsBoundary.of(this).apply(boundary);
}
Frank
Frank
Matt Morgan
11/23/2021, 12:46 PMMatt Morgan
11/23/2021, 1:07 PM