Skip to content

UsagePlan

Source: src/AWS/ApiGateway/UsagePlan.ts

Usage plan for API stages, throttling, and quotas.

const plan = yield* ApiGateway.UsagePlan("Standard", {
apiStages: [{ apiId: api.restApiId, stage: stage.stageName }],
});