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 AWS Lambda 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 to another in two increments. The original and target Lambda function versions 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 to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions 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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms