We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5859c2c commit b9736efCopy full SHA for b9736ef
src/patterns/gen-ai/aws-bedrock-data-automation/index.ts
@@ -223,6 +223,25 @@ export class BedrockDataAutomation extends BaseClass {
223
objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_ENFORCED,
224
removalPolicy: cdk.RemovalPolicy.DESTROY,
225
autoDeleteObjects: true,
226
+ cors: [
227
+ {
228
+ allowedMethods: [
229
+ s3.HttpMethods.GET,
230
+ s3.HttpMethods.POST,
231
+ s3.HttpMethods.PUT,
232
+ s3.HttpMethods.DELETE,
233
+ ],
234
+ allowedOrigins: ['*'],
235
+ allowedHeaders: ['*'],
236
+ exposedHeaders: ['x-amz-server-side-encryption',
237
+ 'x-amz-request-id',
238
+ 'x-amz-id-2',
239
+ 'ETag',
240
+ 'Content-Type',
241
+ 'Content-Disposition',
242
+ 'Access-Control-Allow-Origin'],
243
+ },
244
245
});
246
}
247
0 commit comments