# BaseTrafficShiftingConfigProps

Common properties of traffic shifting routing configurations.

- Source: [`aws-codedeploy/lib/traffic-routing-config.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codedeploy/lib/traffic-routing-config.ts#L90)
- Type last changed: v2.45.0 · 6 Oct 2022

## 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

- `interval`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) (required) — The amount of time between traffic shifts.

- `percentage`: number (required) — The percentage to increase traffic on each traffic shift.
