AWS::ApiGateway::UsagePlanKeyThe AWS::ApiGateway::UsagePlanKey resource associates an API key with a usage plan. This association determines which users the usage plan is applied to.
3 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
KeyId | string | RequiredCreate-only |
KeyType | string | RequiredCreate-only |
UsagePlanId | string | RequiredCreate-only |
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::UsagePlanKey
Resources:
MyResource:
Type: AWS::ApiGateway::UsagePlanKey
Properties:
KeyType: "API_KEY"
UsagePlanId: "my-usageplanid"
KeyId: "my-keyid"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:POSTapigateway:GETapigateway:GETapigateway:DELETEapigateway:GETapigateway:GETEverything you need to know about ApiGateway on one page. HD quality, print-friendly.
Download Free InfographicIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
KeyIdUsagePlanIdKeyType