Skip to content

Commit

Permalink
feat(cdk-ops): provision AccessLogsMasking
Browse files Browse the repository at this point in the history
- `CdkOpsStack` provisions `AccessLogsMasking`.

issue codemonger-io#30
  • Loading branch information
kikuomax committed Sep 24, 2022
1 parent 0211abb commit 827846f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cdk-ops/lib/cdk-ops-stack.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';

import { AccessLogsMasking } from './access-logs-masking';
import {
CodemongerResources,
CodemongerResourceNames,
Expand All @@ -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',
},
);
}
}

0 comments on commit 827846f

Please sign in to comment.