Class: Aws::EC2::Types::Snapshot

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

Overview

Describes a snapshot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone or Local Zone of the snapshot. For example, ‘us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone).

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#completion_duration_minutesInteger

<note markdown=“1”> Only for snapshot copies created with time-based snapshot copy operations.

</note>

The completion duration requested for the time-based snapshot copy operation.

Returns:

  • (Integer)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#completion_timeTime

The time stamp when the snapshot was completed.

Returns:

  • (Time)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#data_encryption_key_idString

The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description for the snapshot.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#encryptedBoolean

Indicates whether the snapshot is encrypted.

Returns:

  • (Boolean)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The Amazon Resource Name (ARN) of the KMS key that was used to protect the volume encryption key for the parent volume.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#outpost_arnString

The ARN of the Outpost on which the snapshot is stored. For more information, see [Amazon EBS local snapshots on Outposts] in the *Amazon EBS User Guide*.

[1]: docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#owner_aliasString

The Amazon Web Services owner alias, from an Amazon-maintained list (‘amazon`). This is not the user-configured Amazon Web Services account alias set using the IAM console.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#owner_idString

The ID of the Amazon Web Services account that owns the EBS snapshot.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#progressString

The progress of the snapshot, as a percentage.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#restore_expiry_timeTime

Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.

Returns:

  • (Time)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The ID of the snapshot. Each snapshot receives a unique identifier when it is created.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#sse_typeString

Reserved for future use.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The time stamp when the snapshot was initiated.

Returns:

  • (Time)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The snapshot state.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#state_messageString

Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper KMS permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by DescribeSnapshots.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#storage_tierString

The storage tier in which the snapshot is stored. ‘standard` indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. `archive` indicates that the snapshot is currently archived and that it must be restored before it can be used.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the snapshot.

Returns:



65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#transfer_typeString

<note markdown=“1”> Only for snapshot copies.

</note>

Indicates whether the snapshot copy was created with a standard or time-based snapshot copy operation. Time-based snapshot copy operations complete within the completion duration specified in the request. Standard snapshot copy operations are completed on a best-effort basis.

  • ‘standard` - The snapshot copy was created with a standard snapshot copy operation.

  • ‘time-based` - The snapshot copy was created with a time-based snapshot copy operation.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#volume_idString

The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any purpose.

Returns:

  • (String)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#volume_sizeInteger

The size of the volume, in GiB.

Returns:

  • (Integer)


65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
# File 'lib/aws-sdk-ec2/types.rb', line 65728

class Snapshot < Struct.new(
  :owner_alias,
  :outpost_arn,
  :tags,
  :storage_tier,
  :restore_expiry_time,
  :sse_type,
  :availability_zone,
  :transfer_type,
  :completion_duration_minutes,
  :completion_time,
  :snapshot_id,
  :volume_id,
  :state,
  :state_message,
  :start_time,
  :progress,
  :owner_id,
  :description,
  :volume_size,
  :encrypted,
  :kms_key_id,
  :data_encryption_key_id)
  SENSITIVE = []
  include Aws::Structure
end