LaunchTargetBindOptions

class aws_cdk.aws_stepfunctions_tasks.LaunchTargetBindOptions(*, task_definition, cluster=None)

Bases: object

__init__(*, task_definition, cluster=None)

Options for binding a launch target to an ECS run job task.

Parameters
  • 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

None

Attributes

cluster

A regional grouping of one or more container instances on which you can run tasks and services.

default :default: - No cluster

Return type

Optional[ICluster]

task_definition

Task definition to run Docker containers in Amazon ECS.

Return type

ITaskDefinition