Skip to content
v2.274.0

BaseTrafficShiftingConfigProps Struct ​

Common properties of traffic shifting routing configurations.

Example ​

ts
// 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 ​

intervalDurationintervalDurationintervalDurationIntervalDurationIntervalDurationrequired#
The amount of time between traffic shifts.
percentagenumberpercentageint | floatpercentageNumberPercentagedoublePercentage*float64required#
The percentage to increase traffic on each traffic shift.