# IAlternateTarget

Interface for configuring alternate target groups for blue/green deployments.

Implemented by: [AlternateTarget](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.AlternateTarget.html)

- Source: [`aws-ecs/lib/alternate-target-configuration.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-ecs/lib/alternate-target-configuration.ts#L81)
- Type last changed: v2.211.0 · 13 Aug 2025

## Methods

- `bind(scope: IConstruct): AlternateTargetConfig` — Bind this configuration to a service.

  **Parameters**

  - `scope` — The construct scope.

  **Returns:** The configuration to apply to the service
