TaskSetReference

class aws_cdk.aws_ecs.TaskSetReference(*, cluster, service, task_set_id)

Bases: object

A reference to a TaskSet resource.

Parameters:
  • cluster (str) – The Cluster of the TaskSet resource.

  • service (str) – The Service of the TaskSet resource.

  • task_set_id (str) – The Id of the TaskSet resource.

ExampleMetadata:

fixture=_generated

Example:

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

task_set_reference = ecs.TaskSetReference(
    cluster="cluster",
    service="service",
    task_set_id="taskSetId"
)

Attributes

cluster

The Cluster of the TaskSet resource.

service

The Service of the TaskSet resource.

task_set_id

The Id of the TaskSet resource.