InstanceReference

class aws_cdk.aws_servicediscovery.InstanceReference(*, instance_id)

Bases: object

A reference to a Instance resource.

Parameters:

instance_id (str) – The InstanceId 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 import aws_servicediscovery as servicediscovery

instance_reference = servicediscovery.InstanceReference(
    instance_id="instanceId"
)

Attributes

instance_id

The InstanceId of the Instance resource.