Compatibility

class aws_cdk.aws_ecs.Compatibility

Bases: enum.Enum

The task launch type compatibility requirement.

Attributes

EC2

The task should specify the EC2 launch type.

EC2_AND_FARGATE

The task can specify either the EC2 or Fargate launch types.

FARGATE

The task should specify the Fargate launch type.

Attributes

EC2 = 'EC2'

The task should specify the EC2 launch type.

EC2_AND_FARGATE = 'EC2_AND_FARGATE'

The task can specify either the EC2 or Fargate launch types.

FARGATE = 'FARGATE'

The task should specify the Fargate launch type.