EcsFargateLaunchTarget

class aws_cdk.aws_stepfunctions_tasks.EcsFargateLaunchTarget(*, platform_version)

Bases: object

Configuration for running an ECS task on Fargate.

See

https://docs.aws.amazon.com/AmazonECS/latest/userguide/launch_types.html#launch-type-fargate

Parameters

platform_version (FargatePlatformVersion) – Refers to a specific runtime environment for Fargate task infrastructure. Fargate platform version is a combination of the kernel and container runtime versions.

Methods

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

Called when the Fargate launch type 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