interface CfnTrafficRoutingTimeBasedCanary
Language | Type name |
---|---|
![]() | Amazon.CDK.CfnTrafficRoutingTimeBasedCanary |
![]() | software.amazon.awscdk.core.CfnTrafficRoutingTimeBasedCanary |
![]() | aws_cdk.core.CfnTrafficRoutingTimeBasedCanary |
![]() | @aws-cdk/core » CfnTrafficRoutingTimeBasedCanary |
The traffic routing configuration if {@link CfnTrafficRoutingConfig.type} is {@link CfnTrafficRoutingType.TIME_BASED_CANARY}.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from '@aws-cdk/core';
const cfnTrafficRoutingTimeBasedCanary: cdk.CfnTrafficRoutingTimeBasedCanary = {
bakeTimeMins: 123,
stepPercentage: 123,
};
Properties
Name | Type | Description |
---|---|---|
bake | number | The number of minutes between the first and second traffic shifts of a time-based canary deployment. |
step | number | The percentage of traffic to shift in the first increment of a time-based canary deployment. |
bakeTimeMins?
Type:
number
(optional, default: 5)
The number of minutes between the first and second traffic shifts of a time-based canary deployment.
stepPercentage?
Type:
number
(optional, default: 15)
The percentage of traffic to shift in the first increment of a time-based canary deployment.
The step percentage must be 14% or greater.