# IEcsLaunchTarget

An Amazon ECS launch type determines the type of infrastructure on which your tasks and services are hosted.

Extends: IEcsLaunchTarget
Implemented by: EcsEc2LaunchTarget, EcsFargateLaunchTarget

- Source: [`aws-stepfunctions-tasks/lib/ecs/run-task.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/ecs/run-task.ts#L114)

## Methods

- `bind(task: EcsRunTask, launchTargetOptions: LaunchTargetBindOptions): EcsLaunchTargetConfig` — called when the ECS launch target is configured on RunTask.
