Enum Period
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
Time period for which quota settings apply.
public enum Period
Fields
DAY = 0
MONTH = 2
WEEK = 1
Examples
RestApi api;
var key = new RateLimitedApiKey(this, "rate-limited-api-key", new RateLimitedApiKeyProps {
CustomerId = "hello-customer",
Resources = new [] { api },
Quota = new QuotaSettings {
Limit = 10000,
Period = Period.MONTH
}
});
Remarks
ExampleMetadata: infused