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 ec75fd8 commit 798d7a2Copy full SHA for 798d7a2
1 file changed
packages/cdk/lib/construct/api.ts
@@ -674,6 +674,7 @@ export class Api extends Construct {
674
allowMethods: Cors.ALL_METHODS,
675
},
676
cloudWatchRole: true,
677
+ defaultMethodOptions: commonAuthorizerProps,
678
});
679
680
api.addGatewayResponse('Api4XX', {
0 commit comments