# IDeploymentConfigRef

Indicates that this resource can be referenced as a DeploymentConfig.

Extends: IDeploymentConfigRef
Extends: IConstruct, IEnvironmentAware
Implemented by: BaseDeploymentConfig, CfnDeploymentConfig, CustomLambdaDeploymentConfig, EcsDeploymentConfig, LambdaDeploymentConfig, ServerDeploymentConfig

- Stability: [Experimental](/cdk/api/stability.html)
- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## Properties

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

- `env`: [ResourceEnvironment](/cdk/api/v2/docs/aws-cdk-lib.interfaces.ResourceEnvironment.html) (required) — 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) (required) — 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
