enum Period
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Period |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#Period |
![]() | software.amazon.awscdk.services.apigatewayv2.Period |
![]() | aws_cdk.aws_apigatewayv2.Period |
![]() | aws-cdk-lib » aws_apigatewayv2 » Period |
Time period for which quota settings apply.
Example
declare const api: apigwv2.WebSocketApi;
declare const stage: apigwv2.WebSocketStage;
const key = new apigwv2.RateLimitedApiKey(this, 'rate-limited-api-key', {
customerId: 'test-customer',
apiStages: [{
api: api,
stage: stage
}],
quota: {
limit: 10000,
period: apigwv2.Period.MONTH
},
throttle: {
rateLimit: 100,
burstLimit: 200
}
});
Members
Name | Description |
---|---|
DAY | The quota resets every day. |
WEEK | The quota resets every week. |
MONTH | The quota resets every month. |
DAY
The quota resets every day.
WEEK
The quota resets every week.
MONTH
The quota resets every month.