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 ITimeBasedLinearProperty
Syntax (vb)
Public Interface 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
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 |
Properties
LinearInterval
The number of minutes between each incremental traffic shift of a TimeBasedLinear
deployment.
double LinearInterval { get; }
Property Value
System.Double
Remarks
LinearPercentage
The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
deployment.
double LinearPercentage { get; }
Property Value
System.Double