Show / Hide Table of Contents

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.AWS.CodeDeploy.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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedcanary.html

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 TimeBasedCanary deployment.

CanaryPercentage

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

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedcanary.html#cfn-codedeploy-deploymentconfig-timebasedcanary-canaryinterval

CanaryPercentage

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

double CanaryPercentage { get; }
Property Value

System.Double

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedcanary.html#cfn-codedeploy-deploymentconfig-timebasedcanary-canarypercentage

Back to top Generated by DocFX