ServiceReference

class aws_cdk.aws_ecs.ServiceReference(*, cluster, service_arn)

Bases: object

A reference to a Service resource.

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

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

service_reference = ecs.ServiceReference(
    cluster="cluster",
    service_arn="serviceArn"
)

Attributes

cluster

The Cluster of the Service resource.

service_arn

The ServiceArn of the Service resource.