diff --git a/cdk-ops/lib/cdk-ops-stack.ts b/cdk-ops/lib/cdk-ops-stack.ts index 8f36313..a7bae06 100644 --- a/cdk-ops/lib/cdk-ops-stack.ts +++ b/cdk-ops/lib/cdk-ops-stack.ts @@ -1,6 +1,7 @@ import { Stack, StackProps } from 'aws-cdk-lib'; import { Construct } from 'constructs'; +import { AccessLogsMasking } from './access-logs-masking'; import { CodemongerResources, CodemongerResourceNames, @@ -24,5 +25,14 @@ export class CdkOpsStack extends Stack { const pipeline = new ContentsPipeline(this, 'ContentsPipeline', { codemongerResources, }); + const developmentContentsAccessLogsMasking = new AccessLogsMasking( + this, + 'DevelopmentContentsAccessLogsMasking', + { + accessLogsBucket: + codemongerResources.developmentContentsAccessLogsBucket, + deploymentStage: 'development', + }, + ); } }