Interface CfnDeploymentConfig.ITimeBasedCanaryProperty
A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments.
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITimeBasedCanaryProperty
Syntax (vb)
Public Interface 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
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 |
Properties
CanaryInterval
The number of minutes between the first and second traffic shifts of a TimeBasedCanary
deployment.
double CanaryInterval { get; }
Property Value
System.Double
Remarks
CanaryPercentage
The percentage of traffic to shift in the first increment of a TimeBasedCanary
deployment.
double CanaryPercentage { get; }
Property Value
System.Double