AWS::ApiGatewayV2::DeploymentThe AWS::ApiGatewayV2::Deployment resource creates a deployment for an API.
3 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ApiId | string | RequiredCreate-only |
Description | string | |
StageName | string | Write-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
DeploymentId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGatewayV2::Deployment
Resources:
MyResource:
Type: AWS::ApiGatewayV2::Deployment
Properties:
ApiId: "my-apiid"
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:POSTapigateway:PATCHapigateway:GETapigateway:PUTapigateway:GETapigateway:GETapigateway:DELETEapigateway:GETOur 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.
ApiId