Show / Hide Table of Contents

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
object
CfnDeploymentConfig.TimeBasedCanaryProperty
Implements
CfnDeploymentConfig.ITimeBasedCanaryProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentConfig.TimeBasedCanaryProperty : CfnDeploymentConfig.ITimeBasedCanaryProperty
Syntax (vb)
Public Class CfnDeploymentConfig.TimeBasedCanaryProperty Implements CfnDeploymentConfig.ITimeBasedCanaryProperty
Remarks

The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

See: 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

Constructors

TimeBasedCanaryProperty()

A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments.

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.

Constructors

TimeBasedCanaryProperty()

A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments.

public TimeBasedCanaryProperty()
Remarks

The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

See: 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
             };

Properties

CanaryInterval

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

public double CanaryInterval { get; set; }
Property Value

double

Remarks

See: 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.

public double CanaryPercentage { get; set; }
Property Value

double

Remarks

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

Implements

CfnDeploymentConfig.ITimeBasedCanaryProperty
Back to top Generated by DocFX