Skip to content
v2.275.0

Period Enum ​

Time period for which quota settings apply.

Example ​

ts
declare const api: apigateway.RestApi;

const key = new apigateway.RateLimitedApiKey(this, 'rate-limited-api-key', {
  customerId: 'hello-customer',
  apiStages: [{ stage: api.deploymentStage }],
  quota: {
    limit: 10000,
    period: apigateway.Period.MONTH
  }
});

Members ​

MemberDescription
DAY
WEEK
MONTH

Referenced by ​