Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apigateway-usageplan.json
Parent schema serverless-framework-configuration
Type: object

Resource Type definition for AWS::ApiGateway::UsagePlan. Source:- https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway.git

Properties

ApiStages ApiStage[]

The API stages to associate with this usage plan.

uniqueItems=true
Description string | Aws_CF_FunctionString

A description of the usage plan.

Quota object
3 nested properties
Limit integer

The maximum number of requests that users can make within the specified time period.

min=0
Offset integer

For the initial time period, the number of requests to subtract from the specified limit. When you first implement a usage plan, the plan might start in the middle of the week or month. With this property, you can decrease the limit for this initial time period.

min=0
Period string | Aws_CF_FunctionString

The time period for which the maximum limit of requests applies, such as DAY or WEEK. For valid values, see the period property for the UsagePlan resource in the Amazon API Gateway REST API Reference.

Tags Tag[]

An array of arbitrary tags (key-value pairs) to associate with the usage plan.

Throttle object
2 nested properties
BurstLimit integer

The maximum API request rate limit over a time ranging from one to a few seconds. The maximum API request rate limit depends on whether the underlying token bucket is at its full capacity.

min=0
RateLimit number

The API request steady-state rate limit (average requests per second over an extended period of time).

min=0
UsagePlanName string | Aws_CF_FunctionString

A name for the usage plan.

Definitions

ApiStage object
ApiId string | Aws_CF_FunctionString

The ID of an API that is in the specified Stage property that you want to associate with the usage plan.

Stage string | Aws_CF_FunctionString

The name of the stage to associate with the usage plan.

Throttle object

Map containing method-level throttling information for an API stage in a usage plan. The key for the map is the path and method for which to configure custom throttling, for example, '/pets/GET'. Duplicates are not allowed.

ThrottleSettings object
BurstLimit integer

The maximum API request rate limit over a time ranging from one to a few seconds. The maximum API request rate limit depends on whether the underlying token bucket is at its full capacity.

min=0
RateLimit number

The API request steady-state rate limit (average requests per second over an extended period of time).

min=0
Tag object
Key string | Aws_CF_FunctionString required

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string | Aws_CF_FunctionString required

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

QuotaSettings object
Limit integer

The maximum number of requests that users can make within the specified time period.

min=0
Offset integer

For the initial time period, the number of requests to subtract from the specified limit. When you first implement a usage plan, the plan might start in the middle of the week or month. With this property, you can decrease the limit for this initial time period.

min=0
Period string | Aws_CF_FunctionString

The time period for which the maximum limit of requests applies, such as DAY or WEEK. For valid values, see the period property for the UsagePlan resource in the Amazon API Gateway REST API Reference.