class Aws::CodeDeploy::Types::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.
@note When making an API call, you may pass TrafficRoutingConfig
data as a hash: { type: "TimeBasedCanary", # accepts TimeBasedCanary, TimeBasedLinear, AllAtOnce time_based_canary: { canary_percentage: 1, canary_interval: 1, }, time_based_linear: { linear_percentage: 1, linear_interval: 1, }, }
@!attribute [rw] type
The type of traffic shifting (`TimeBasedCanary` or `TimeBasedLinear`) used by a deployment configuration. @return [String]
@!attribute [rw] time_based_canary
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. @return [Types::TimeBasedCanary]
@!attribute [rw] time_based_linear
A configuration that shifts traffic from one version of a Lambda function or 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 ECS task sets are specified in the deployment's AppSpec file. @return [Types::TimeBasedLinear]
@see docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TrafficRoutingConfig AWS API Documentation
Constants
- SENSITIVE