aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::ApiGateway::Stage - AutoDeploy

Open
#623 3 comments 25 reactions 0 assignees View on GitHub
Coverage
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

## 1. Title
#### AWS::ApiGateway::Stage-AutoDeploy (new attribute)

## 2. Scope of request

The API Gateway v1 (REST) Stage resource should have a `AutoDeploy` attribute similar to the v2 (HTTP), where it can be specified whether updates to an API automatically trigger a new deployment [1].

## 3. Expected behavior

The same behavior as the attribute in v2 taking in to consideration that `DeploymentId` cannot be provided for this attribute to work and the default value should be `false`.

## 4. Suggest specific test cases

Then you could deploy the following CloudFormation template:

```yaml
MyStage:
Prod:
Type: AWS::ApiGateway::Stage
Properties:
StageName: Prod
Description: Prod Stage
RestApiId: !Ref MyRestApi
AutoDeploy: true
```

## 5. Helpful Links to speed up research and evaluation

#### [1] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-autodeploy

## 6. Category

4. Networking & Content (VPC, Route53, API GW,...)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.