EcsFargateLaunchTargetOptions

class aws_cdk.aws_stepfunctions_tasks.EcsFargateLaunchTargetOptions(*, platform_version)

Bases: object

Properties to define an ECS service.

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.

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ecs as ecs
import aws_cdk.aws_stepfunctions_tasks as stepfunctions_tasks

ecs_fargate_launch_target_options = stepfunctions_tasks.EcsFargateLaunchTargetOptions(
    platform_version=ecs.FargatePlatformVersion.LATEST
)

Attributes

platform_version

Refers to a specific runtime environment for Fargate task infrastructure.

Fargate platform version is a combination of the kernel and container runtime versions.

See

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

Return type

FargatePlatformVersion