IEcsLaunchTarget

class aws_cdk.aws_stepfunctions_tasks.IEcsLaunchTarget(*args, **kwds)

Bases: Protocol

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

See:

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html

Methods

bind(task, *, task_definition, cluster=None)

called when the ECS launch target is configured on RunTask.

Parameters:
  • task (EcsRunTask) –

  • task_definition (ITaskDefinition) – Task definition to run Docker containers in Amazon ECS.

  • cluster (Optional[ICluster]) – A regional grouping of one or more container instances on which you can run tasks and services. Default: - No cluster

Return type:

EcsLaunchTargetConfig