File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/constructs/ad-hoc/base Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { RemovalPolicy, Stack } from 'aws-cdk-lib';
22import { IVpc , SecurityGroup } from 'aws-cdk-lib/aws-ec2' ;
33import { ApplicationListener , ApplicationLoadBalancer } from 'aws-cdk-lib/aws-elasticloadbalancingv2' ;
44import { DatabaseInstance } from 'aws-cdk-lib/aws-rds' ;
5- import { Bucket } from 'aws-cdk-lib/aws-s3' ;
5+ import { Bucket , ObjectOwnership } from 'aws-cdk-lib/aws-s3' ;
66import { Construct } from 'constructs' ;
77import { AlbResources } from '../../internal/alb' ;
88import { ElastiCacheCluster } from '../../internal/ec' ;
@@ -46,6 +46,7 @@ export class AdHocBase extends Construct {
4646 restrictPublicBuckets : false ,
4747 } ,
4848 autoDeleteObjects : true ,
49+ objectOwnership : ObjectOwnership . OBJECT_WRITER ,
4950 } ) ;
5051 this . assetsBucket = assetsBucket ;
5152
You can’t perform that action at this time.
0 commit comments