Enum Period
Time period for which quota settings apply.
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum Period
Syntax (vb)
Public Enum Period
Remarks
ExampleMetadata: infused
Examples
RestApi api;
var key = new RateLimitedApiKey(this, "rate-limited-api-key", new RateLimitedApiKeyProps {
CustomerId = "hello-customer",
ApiStages = new [] { new UsagePlanPerApiStage { Stage = api.DeploymentStage } },
Quota = new QuotaSettings {
Limit = 10000,
Period = Period.MONTH
}
});
Synopsis
Fields
DAY | Time period for which quota settings apply. |
MONTH | Time period for which quota settings apply. |
WEEK | Time period for which quota settings apply. |
Fields
Name | Description |
---|---|
DAY | Time period for which quota settings apply. |
MONTH | Time period for which quota settings apply. |
WEEK | Time period for which quota settings apply. |