Period¶
-
class
aws_cdk.aws_apigateway.
Period
(value)¶ Bases:
enum.Enum
Time period for which quota settings apply.
- ExampleMetadata
infused
Example:
# api: apigateway.RestApi key = apigateway.RateLimitedApiKey(self, "rate-limited-api-key", customer_id="hello-customer", resources=[api], quota=apigateway.QuotaSettings( limit=10000, period=apigateway.Period.MONTH ) )
Attributes
-
DAY
= 'DAY'¶
-
MONTH
= 'MONTH'¶
-
WEEK
= 'WEEK'¶