# EcsDeploymentConfigProps

Construction properties of `EcsDeploymentConfig`.

Extends: EcsDeploymentConfigProps
Extends: BaseDeploymentConfigOptions
Used as props by: EcsDeploymentConfig

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

## Example

```ts
new codedeploy.EcsDeploymentConfig(this, 'CustomConfig', {
  trafficRouting: new codedeploy.TimeBasedCanaryTrafficRouting({
    interval: Duration.minutes(15),
    percentage: 5,
  }),
});
```

## Properties

- `deploymentConfigName`: string — The physical, human-readable name of the Deployment Configuration.

  **Default:** automatically generated name

- `trafficRouting`: [TrafficRouting](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.TrafficRouting.html) = AllAtOnce — The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.
