diff --git a/infra/lib/storage/stack.ts b/infra/lib/storage/stack.ts index 73a2ef7251..5b5698782f 100644 --- a/infra/lib/storage/stack.ts +++ b/infra/lib/storage/stack.ts @@ -92,7 +92,9 @@ class StorageIntegrationTestEnvironment extends IntegrationTestStackEnvironment< transferAcceleration: true, removalPolicy: RemovalPolicy.DESTROY, autoDeleteObjects: true, + blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL, enforceSSL: true, + objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_ENFORCED, cors: [ // Matches configuration generated by Amplify CLI {