Class CfnDeploymentConfig.TimeBasedLinearProperty
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.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TimeBasedLinearProperty : Object, CfnDeploymentConfig.ITimeBasedLinearProperty
Syntax (vb)
Public Class TimeBasedLinearProperty
Inherits Object
Implements CfnDeploymentConfig.ITimeBasedLinearProperty
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 timeBasedLinearProperty = new TimeBasedLinearProperty {
LinearInterval = 123,
LinearPercentage = 123
};
Synopsis
Constructors
TimeBasedLinearProperty() |
Properties
LinearInterval | The number of minutes between each incremental traffic shift of a |
LinearPercentage | The percentage of traffic that is shifted at the start of each increment of a |
Constructors
TimeBasedLinearProperty()
public TimeBasedLinearProperty()
Properties
LinearInterval
The number of minutes between each incremental traffic shift of a TimeBasedLinear
deployment.
public double LinearInterval { get; set; }
Property Value
System.Double
Remarks
LinearPercentage
The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
deployment.
public double LinearPercentage { get; set; }
Property Value
System.Double