AWS::ApiGateway::StageThe AWS::ApiGateway::Stage resource creates a stage for a deployment.
14 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
RestApiId | string | RequiredCreate-only |
AccessLogSetting | AccessLogSetting | |
CacheClusterEnabled | boolean | |
CacheClusterSize | string | |
CanarySetting | CanarySetting | |
ClientCertificateId | string | |
DeploymentId | string | |
Description | string | |
DocumentationVersion | string | |
MethodSettings | Array<MethodSetting> | |
StageName | string | Create-only |
Tags | Array<Tag> | |
TracingEnabled | boolean | |
Variables | object |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGateway::Stage
Resources:
MyResource:
Type: AWS::ApiGateway::Stage
Properties:
RestApiId: "my-restapiid"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:POSTapigateway:PATCHapigateway:GETapigateway:PUTapigateway:GETapigateway:GETapigateway:PATCHapigateway:PUTapigateway:DELETEapigateway:DELETEapigateway:GETEverything you need to know about ApiGateway on one page. HD quality, print-friendly.
Download Free InfographicRestApiIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
RestApiIdStageName