Show / Hide Table of Contents

Interface CfnDeploymentConfig.ITimeBasedLinearProperty

A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment.

Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDeploymentConfig.ITimeBasedLinearProperty
Syntax (vb)
Public Interface CfnDeploymentConfig.ITimeBasedLinearProperty
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-timebasedlinear.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 timeBasedLinearProperty = new TimeBasedLinearProperty {
                 LinearInterval = 123,
                 LinearPercentage = 123
             };

Synopsis

Properties

LinearInterval

The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.

LinearPercentage

The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear deployment.

Properties

LinearInterval

The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.

double LinearInterval { get; }
Property Value

double

Remarks

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

LinearPercentage

The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear deployment.

double LinearPercentage { get; }
Property Value

double

Remarks

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

Back to top Generated by DocFX