ServiceReference
- class aws_cdk.aws_servicediscovery.ServiceReference(*, service_arn, service_id)
Bases:
object
A reference to a Service resource.
- Parameters:
service_arn (
str
) – The ARN of the Service resource.service_id (
str
) – The Id 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_servicediscovery as servicediscovery service_reference = servicediscovery.ServiceReference( service_arn="serviceArn", service_id="serviceId" )
Attributes
- service_arn
The ARN of the Service resource.
- service_id
The Id of the Service resource.