Period

class aws_cdk.aws_apigateway.Period(value)

Bases: 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",
    stages=[api.deployment_stage],
    quota=apigateway.QuotaSettings(
        limit=10000,
        period=apigateway.Period.MONTH
    )
)

Attributes

DAY = 'DAY'
MONTH = 'MONTH'
WEEK = 'WEEK'