File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 7
7
import { type IIdentityPool } from '@aws-cdk/aws-cognito-identitypool-alpha' ;
8
8
import { Stack } from 'aws-cdk-lib' ;
9
9
import { type IUserPool , type IUserPoolClient } from 'aws-cdk-lib/aws-cognito' ;
10
- import { Bucket , BucketEncryption } from 'aws-cdk-lib/aws-s3' ;
10
+ import { Bucket , BucketAccessControl , BucketEncryption } from 'aws-cdk-lib/aws-s3' ;
11
11
import { type Construct } from 'constructs' ;
12
12
import { API } from './api' ;
13
13
import { Authentication } from './authentication' ;
@@ -40,6 +40,7 @@ export class GenAINewsletter extends Stack {
40
40
const loggingBucket = new Bucket ( this , 'GenAINewsletter-LoggingBucket' , {
41
41
encryption : BucketEncryption . S3_MANAGED ,
42
42
enforceSSL : true ,
43
+ accessControl : BucketAccessControl . LOG_DELIVERY_WRITE ,
43
44
} ) ;
44
45
45
46
const authentication = new Authentication ( this , 'AuthenticationStack' ) ;
You can’t perform that action at this time.
0 commit comments