Class CfnDeploymentConfig.TimeBasedCanaryProperty
A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments.
Inheritance
System.Object
CfnDeploymentConfig.TimeBasedCanaryProperty
Implements
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.AWS.CodeDeploy.dll
Syntax (csharp)
public class TimeBasedCanaryProperty : Object, CfnDeploymentConfig.ITimeBasedCanaryProperty
Syntax (vb)
Public Class TimeBasedCanaryProperty
Inherits Object
Implements CfnDeploymentConfig.ITimeBasedCanaryProperty
Remarks
The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeDeploy;
var timeBasedCanaryProperty = new TimeBasedCanaryProperty {
CanaryInterval = 123,
CanaryPercentage = 123
};
Synopsis
Constructors
TimeBasedCanaryProperty() |
Properties
CanaryInterval | The number of minutes between the first and second traffic shifts of a |
CanaryPercentage | The percentage of traffic to shift in the first increment of a |
Constructors
TimeBasedCanaryProperty()
public TimeBasedCanaryProperty()
Properties
CanaryInterval
The number of minutes between the first and second traffic shifts of a TimeBasedCanary
deployment.
public double CanaryInterval { get; set; }
Property Value
System.Double
Remarks
CanaryPercentage
The percentage of traffic to shift in the first increment of a TimeBasedCanary
deployment.
public double CanaryPercentage { get; set; }
Property Value
System.Double