DiskSnapshotReference

class aws_cdk.aws_lightsail.DiskSnapshotReference(*, disk_snapshot_arn, disk_snapshot_name)

Bases: object

A reference to a DiskSnapshot resource.

Parameters:
  • disk_snapshot_arn (str) – The ARN of the DiskSnapshot resource.

  • disk_snapshot_name (str) – The DiskSnapshotName of the DiskSnapshot 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_snapshot_reference = lightsail.DiskSnapshotReference(
    disk_snapshot_arn="diskSnapshotArn",
    disk_snapshot_name="diskSnapshotName"
)

Attributes

disk_snapshot_arn

The ARN of the DiskSnapshot resource.

disk_snapshot_name

The DiskSnapshotName of the DiskSnapshot resource.