# IEcsDeploymentConfig

The Deployment Configuration of an ECS Deployment Group.

If you're managing the Deployment Configuration alongside the rest of your CDK resources,
use the `EcsDeploymentConfig` class.

If you want to reference an already existing deployment configuration,
or one defined in a different CDK Stack,
use the `EcsDeploymentConfig#fromEcsDeploymentConfigName` method.

The default, pre-defined Configurations are available as constants on the `EcsDeploymentConfig` class
(for example, `EcsDeploymentConfig.AllAtOnce`).

Extends: IEcsDeploymentConfig
Extends: IBaseDeploymentConfig
Implemented 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#L22)
- Type last changed: v2.45.0 · 6 Oct 2022

## Properties

- `deploymentConfigArn`: string — The ARN of the Deployment Configuration.

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

- `deploymentConfigRef`: [DeploymentConfigReference](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_codedeploy.DeploymentConfigReference.html) — A reference to a DeploymentConfig resource.

- `env`: [ResourceEnvironment](/cdk/api/v2/docs/aws-cdk-lib.interfaces.ResourceEnvironment.html) — The environment this resource belongs to.

  For resources that are created and managed in a Stack (those created by
  creating new class instances like `new Role()`, `new Bucket()`, etc.), this
  is always the same as the environment of the stack they belong to.

  For referenced resources (those obtained from referencing methods like
  `Role.fromRoleArn()`, `Bucket.fromBucketName()`, etc.), they might be
  different than the stack they were imported into.

- `node`: [Node](/cdk/api/v2/docs/constructs.Node.html) — The tree node.

## Methods

- `with(...mixins: IMixin[]): IConstruct` — Applies one or more mixins to this construct.

  Mixins are applied in order. The list of constructs is captured at the
  start of the call, so constructs added by a mixin will not be visited.

  **Parameters**

  - `mixins` — The mixins to apply.

  **Returns:** This construct for chaining
