You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::CreateDiskSnapshotRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateDiskSnapshotRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  disk_name: "ResourceName", # required
  disk_snapshot_name: "ResourceName", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#disk_nameString

The unique name of the source disk (e.g., my-source-disk).

Returns:

  • (String)

    The unique name of the source disk (e.g., my-source-disk).

#disk_snapshot_nameString

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

Returns:

  • (String)

    The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.