AWS::ApiGateway::UsagePlanThe AWS::ApiGateway::UsagePlan resource creates a usage plan for deployed APIs. A usage plan sets a target for the throttling and quota limits on individual client API keys. For more information, see [Creating and Using API Usage Plans in Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) in the *API Gateway Developer Guide*. In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control cost...
6 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ApiStages | Array<ApiStage> | |
Description | string | |
Quota | QuotaSettings | |
Tags | Array<Tag> | |
Throttle | ThrottleSettings | |
UsagePlanName | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGateway::UsagePlan
Resources:
MyResource:
Type: AWS::ApiGateway::UsagePlan
Properties:
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:POSTapigateway:GETapigateway:PUTapigateway:GETapigateway:GETapigateway:DELETEapigateway:PATCHapigateway:PUTapigateway:DELETEapigateway:GETapigateway:PATCHapigateway:GETEverything you need to know about ApiGateway on one page. HD quality, print-friendly.
Download Free InfographicId