aws-cdk-lib.aws_codedeploy.BaseTrafficShiftingConfigProps

interface BaseTrafficShiftingConfigProps

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

Common properties of traffic shifting routing configurations.

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 baseTrafficShiftingConfigProps: codedeploy.BaseTrafficShiftingConfigProps = {
  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.