aws-cdk-lib.CfnTrafficRoutingTimeBasedLinear

interface CfnTrafficRoutingTimeBasedLinear

LanguageType name
.NETAmazon.CDK.CfnTrafficRoutingTimeBasedLinear
Gogithub.com/aws/aws-cdk-go/awscdk/v2#CfnTrafficRoutingTimeBasedLinear
Javasoftware.amazon.awscdk.CfnTrafficRoutingTimeBasedLinear
Pythonaws_cdk.CfnTrafficRoutingTimeBasedLinear
TypeScript (source)aws-cdk-lib » CfnTrafficRoutingTimeBasedLinear

The traffic routing configuration if CfnTrafficRoutingConfig.type is CfnTrafficRoutingType.TIME_BASED_LINEAR.

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-lib';
const cfnTrafficRoutingTimeBasedLinear: cdk.CfnTrafficRoutingTimeBasedLinear = {
  bakeTimeMins: 123,
  stepPercentage: 123,
};

Properties

NameTypeDescription
bakeTimeMins?numberThe number of minutes between the first and second traffic shifts of a time-based linear deployment.
stepPercentage?numberThe percentage of traffic that is shifted at the start of each increment of a time-based linear deployment.

bakeTimeMins?

Type: number (optional, default: 5)

The number of minutes between the first and second traffic shifts of a time-based linear deployment.


stepPercentage?

Type: number (optional, default: 15)

The percentage of traffic that is shifted at the start of each increment of a time-based linear deployment.

The step percentage must be 14% or greater.