Class CfnTrafficRoutingTimeBasedCanary
The traffic routing configuration if CfnTrafficRoutingConfig.type
is CfnTrafficRoutingType.TIME_BASED_CANARY
.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTrafficRoutingTimeBasedCanary : ICfnTrafficRoutingTimeBasedCanary
Syntax (vb)
Public Class CfnTrafficRoutingTimeBasedCanary Implements ICfnTrafficRoutingTimeBasedCanary
Remarks
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;
var cfnTrafficRoutingTimeBasedCanary = new CfnTrafficRoutingTimeBasedCanary {
BakeTimeMins = 123,
StepPercentage = 123
};
Synopsis
Constructors
CfnTrafficRoutingTimeBasedCanary() | The traffic routing configuration if |
Properties
BakeTimeMins | The number of minutes between the first and second traffic shifts of a time-based canary deployment. |
StepPercentage | The percentage of traffic to shift in the first increment of a time-based canary deployment. |
Constructors
CfnTrafficRoutingTimeBasedCanary()
The traffic routing configuration if CfnTrafficRoutingConfig.type
is CfnTrafficRoutingType.TIME_BASED_CANARY
.
public CfnTrafficRoutingTimeBasedCanary()
Remarks
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;
var cfnTrafficRoutingTimeBasedCanary = new CfnTrafficRoutingTimeBasedCanary {
BakeTimeMins = 123,
StepPercentage = 123
};
Properties
BakeTimeMins
The number of minutes between the first and second traffic shifts of a time-based canary deployment.
public double? BakeTimeMins { get; set; }
Property Value
Remarks
Default: 5
StepPercentage
The percentage of traffic to shift in the first increment of a time-based canary deployment.
public double? StepPercentage { get; set; }
Property Value
Remarks
The step percentage must be 14% or greater.
Default: 15