sparse-intern-71089
11/10/2021, 3:36 PMdamp-school-17708
11/10/2021, 3:46 PMconst route = new aws.apigatewayv2.Route('apiRoute', {
apiId: apigw.id,
routeKey: '$default',
target: pulumi.interpolate`integrations/${integration.id}`,
})
const stage = new aws.apigatewayv2.Stage(
'apiStage',
{
apiId: apigw.id,
name: env,
routeSettings: [
{
routeKey: route.routeKey,
throttlingBurstLimit: 5000,
throttlingRateLimit: 10000,
},
],
autoDeploy: true,
},
{ dependsOn: [route] },
)
damp-school-17708
11/10/2021, 3:46 PMdamp-school-17708
11/10/2021, 3:57 PMdamp-school-17708
11/10/2021, 4:33 PMdamp-school-17708
11/10/2021, 4:34 PM