IEcsLaunchTarget

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

Bases: typing_extensions.Protocol

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

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

__init__(*args, **kwargs)

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