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.

A configuration that shifts traffic from one version of a Lambda function or Amazon 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.

Inheritance Hierarchy

System.Object
  Amazon.CodeDeploy.Model.TimeBasedCanary

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

Syntax

C#
public class TimeBasedCanary

The TimeBasedCanary type exposes the following members

Constructors

NameDescription
Public Method TimeBasedCanary()

Properties

NameTypeDescription
Public Property CanaryInterval System.Int32

Gets and sets the property CanaryInterval.

The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.

Public Property CanaryPercentage System.Int32

Gets and sets the property CanaryPercentage.

The percentage of traffic to shift in the first increment of a TimeBasedCanary deployment.

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