AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.CodeDeploy.Model.TrafficRoutingConfig

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public class TrafficRoutingConfig

The TrafficRoutingConfig type exposes the following members

Constructors

NameDescription
Public Method TrafficRoutingConfig()

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Public Property Type Amazon.CodeDeploy.TrafficRoutingType

Gets and sets the property Type.

The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5