PrimaryTaskSetReference

class aws_cdk.aws_ecs.PrimaryTaskSetReference(*, cluster, service)

Bases: object

A reference to a PrimaryTaskSet resource.

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

  • service (str) – The Service of the PrimaryTaskSet 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

primary_task_set_reference = ecs.PrimaryTaskSetReference(
    cluster="cluster",
    service="service"
)

Attributes

cluster

The Cluster of the PrimaryTaskSet resource.

service

The Service of the PrimaryTaskSet resource.