InstanceReference

class aws_cdk.interfaces.aws_servicediscovery.InstanceReference(*, instance_id, service_id)

Bases: object

A reference to a Instance resource.

Parameters:
  • instance_id (str) – The InstanceId of the Instance resource.

  • service_id (str) – The ServiceId of the Instance 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_servicediscovery as interfaces_servicediscovery

instance_reference = interfaces_servicediscovery.InstanceReference(
    instance_id="instanceId",
    service_id="serviceId"
)

Attributes

instance_id

The InstanceId of the Instance resource.

service_id

The ServiceId of the Instance resource.