aws-cdk-lib.aws_codedeploy.TimeBasedLinearTrafficRoutingProps

interface TimeBasedLinearTrafficRoutingProps

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.TimeBasedLinearTrafficRoutingProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#TimeBasedLinearTrafficRoutingProps
Javasoftware.amazon.awscdk.services.codedeploy.TimeBasedLinearTrafficRoutingProps
Pythonaws_cdk.aws_codedeploy.TimeBasedLinearTrafficRoutingProps
TypeScript (source)aws-cdk-lib » aws_codedeploy » TimeBasedLinearTrafficRoutingProps

Construction properties for TimeBasedLinearTrafficRouting.

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';
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const timeBasedLinearTrafficRoutingProps: codedeploy.TimeBasedLinearTrafficRoutingProps = {
  interval: cdk.Duration.minutes(30),
  percentage: 123,
};

Properties

NameTypeDescription
intervalDurationThe amount of time between traffic shifts.
percentagenumberThe percentage to increase traffic on each traffic shift.

interval

Type: Duration

The amount of time between traffic shifts.


percentage

Type: number

The percentage to increase traffic on each traffic shift.