This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::CodeDeploy::DeploymentConfig TrafficRoutingConfig
The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an AWS Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "TimeBasedCanary" :TimeBasedCanary, "TimeBasedLinear" :TimeBasedLinear, "Type" :String}
YAML
TimeBasedCanary:TimeBasedCanaryTimeBasedLinear:TimeBasedLinearType:String
Properties
- TimeBasedCanary
- 
                    A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file. Required: No Type: TimeBasedCanary Update requires: Replacement 
- TimeBasedLinear
- 
                    A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file. Required: No Type: TimeBasedLinear Update requires: Replacement 
- Type
- 
                    The type of traffic shifting ( TimeBasedCanaryorTimeBasedLinear) used by a deployment configuration.Required: Yes Type: String Allowed values: TimeBasedCanary | TimeBasedLinear | TimeBasedFlexible | AllAtOnceUpdate requires: Replacement