EcsEc2LaunchTargetOptions

class aws_cdk.aws_stepfunctions_tasks.EcsEc2LaunchTargetOptions(*, placement_constraints=None, placement_strategies=None)

Bases: object

__init__(*, placement_constraints=None, placement_strategies=None)

Options to run an ECS task on EC2 in StepFunctions and ECS.

Parameters
  • placement_constraints (Optional[List[PlacementConstraint]]) – Placement constraints. Default: - None

  • placement_strategies (Optional[List[PlacementStrategy]]) – Placement strategies. Default: - None

Return type

None

Attributes

placement_constraints

Placement constraints.

default :default: - None

Return type

Optional[List[PlacementConstraint]]

placement_strategies

Placement strategies.

default :default: - None

Return type

Optional[List[PlacementStrategy]]