InstanceReference

class aws_cdk.aws_lightsail.InstanceReference(*, instance_arn, instance_name)

Bases: object

A reference to a Instance resource.

Parameters:
  • instance_arn (str) – The ARN of the Instance resource.

  • instance_name (str) – The InstanceName 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_lightsail as lightsail

instance_reference = lightsail.InstanceReference(
    instance_arn="instanceArn",
    instance_name="instanceName"
)

Attributes

instance_arn

The ARN of the Instance resource.

instance_name

The InstanceName of the Instance resource.