AWS::ApiGatewayV2::StageResource Type definition for AWS::ApiGatewayV2::Stage
11 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ApiId | string | RequiredCreate-only |
StageName | string | RequiredCreate-only |
AccessLogSettings | AccessLogSettings | |
AutoDeploy | boolean | |
ClientCertificateId | string | |
DefaultRouteSettings | RouteSettings | |
DeploymentId | string | |
Description | string | |
RouteSettings | object | |
StageVariables | object | |
Tags | object |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGatewayV2::Stage
Resources:
MyResource:
Type: AWS::ApiGatewayV2::Stage
Properties:
StageName: "my-stagename"
ApiId: "my-apiid"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:GETapigateway:POSTapigateway:TagResourceapigateway:PATCHapigateway:POSTapigateway:DELETEapigateway:TagResourceapigateway:UntagResourceapigateway:GETapigateway:DELETEOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterApiIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
StageNameApiId