# LinearTrafficRoutingConfig

Represents the configuration specific to linear traffic shifting.

- 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#L44)
- 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 { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const linearTrafficRoutingConfig: codedeploy.LinearTrafficRoutingConfig = {
  linearInterval: 123,
  linearPercentage: 123,
};
```

## Properties

- `linearInterval`: number (required) — The number of minutes between each incremental traffic shift of a `TimeBasedLinear` deployment.

- `linearPercentage`: number (required) — The percentage of traffic that is shifted at the start of each increment of a `TimeBasedLinear` deployment.
