ServiceReference
- class aws_cdk.interfaces.aws_ecs.ServiceReference(*, cluster, service_arn)
Bases:
objectA 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.interfaces import aws_ecs as interfaces_aws_ecs service_reference = interfaces_aws_ecs.ServiceReference( cluster="cluster", service_arn="serviceArn" )
Attributes
- cluster
The Cluster of the Service resource.
- service_arn
The ServiceArn of the Service resource.