AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.
Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z
public class TrafficRoutingConfig
The TrafficRoutingConfig type exposes the following members
Name | Description | |
---|---|---|
TrafficRoutingConfig() |
Name | Type | Description | |
---|---|---|---|
TimeBasedCanary | Amazon.CodeDeploy.Model.TimeBasedCanary |
Gets and sets the property 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. |
|
TimeBasedLinear | Amazon.CodeDeploy.Model.TimeBasedLinear |
Gets and sets the property 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. |
|
Type | Amazon.CodeDeploy.TrafficRoutingType |
Gets and sets the property Type.
The type of traffic shifting ( |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5