DiskReference

class aws_cdk.aws_lightsail.DiskReference(*, disk_arn, disk_name)

Bases: object

A reference to a Disk resource.

Parameters:
  • disk_arn (str) – The ARN of the Disk resource.

  • disk_name (str) – The DiskName of the Disk 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

disk_reference = lightsail.DiskReference(
    disk_arn="diskArn",
    disk_name="diskName"
)

Attributes

disk_arn

The ARN of the Disk resource.

disk_name

The DiskName of the Disk resource.