class Aws::Lightsail::Types::CreateDiskSnapshotRequest
@note When making an API call, you may pass CreateDiskSnapshotRequest
data as a hash: { disk_name: "ResourceName", disk_snapshot_name: "ResourceName", # required instance_name: "ResourceName", tags: [ { key: "TagKey", value: "TagValue", }, ], }
@!attribute [rw] disk_name
The unique name of the source disk (e.g., `Disk-Virginia-1`). <note markdown="1"> This parameter cannot be defined together with the `instance name` parameter. The `disk name` and `instance name` parameters are mutually exclusive. </note> @return [String]
@!attribute [rw] disk_snapshot_name
The name of the destination disk snapshot (e.g., `my-disk-snapshot`) based on the source disk. @return [String]
@!attribute [rw] instance_name
The unique name of the source instance (e.g., `Amazon_Linux-512MB-Virginia-1`). When this is defined, a snapshot of the instance's system volume is created. <note markdown="1"> This parameter cannot be defined together with the `disk name` parameter. The `instance name` and `disk name` parameters are mutually exclusive. </note> @return [String]
@!attribute [rw] tags
The tag keys and optional values to add to the resource during create. Use the `TagResource` action to tag a resource after it's created. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotRequest AWS API Documentation
Constants
- SENSITIVE