Class: Aws::StorageGateway::Types::CreateSnapshotInput

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-storagegateway/types.rb

Overview

Note:

When making an API call, you may pass CreateSnapshotInput data as a hash:

{
  volume_arn: "VolumeARN", # required
  snapshot_description: "SnapshotDescription", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

A JSON object containing one or more of the following fields:

  • CreateSnapshotInput$SnapshotDescription

  • CreateSnapshotInput$VolumeARN

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#snapshot_descriptionString

Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.

Returns:

  • (String)


1671
1672
1673
1674
1675
1676
1677
# File 'lib/aws-sdk-storagegateway/types.rb', line 1671

class CreateSnapshotInput < Struct.new(
  :volume_arn,
  :snapshot_description,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value pair.

<note markdown=“1”> Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag’s key is 128 characters, and the maximum length for a tag’s value is 256.

</note>

Returns:



1671
1672
1673
1674
1675
1676
1677
# File 'lib/aws-sdk-storagegateway/types.rb', line 1671

class CreateSnapshotInput < Struct.new(
  :volume_arn,
  :snapshot_description,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#volume_arnString

The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

Returns:

  • (String)


1671
1672
1673
1674
1675
1676
1677
# File 'lib/aws-sdk-storagegateway/types.rb', line 1671

class CreateSnapshotInput < Struct.new(
  :volume_arn,
  :snapshot_description,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end