Class: Aws::EC2::Types::Snapshot
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::Snapshot
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Describes a snapshot.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#data_encryption_key_id ⇒ String
The data encryption key identifier for the snapshot.
-
#description ⇒ String
The description for the snapshot.
-
#encrypted ⇒ Boolean
Indicates whether the snapshot is encrypted.
-
#kms_key_id ⇒ String
The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the parent volume.
-
#outpost_arn ⇒ String
The ARN of the Outpost on which the snapshot is stored.
-
#owner_alias ⇒ String
The Amazon Web Services owner alias, from an Amazon-maintained list (‘amazon`).
-
#owner_id ⇒ String
The ID of the Amazon Web Services account that owns the EBS snapshot.
-
#progress ⇒ String
The progress of the snapshot, as a percentage.
-
#restore_expiry_time ⇒ Time
Only for archived snapshots that are temporarily restored.
-
#snapshot_id ⇒ String
The ID of the snapshot.
-
#sse_type ⇒ String
Reserved for future use.
-
#start_time ⇒ Time
The time stamp when the snapshot was initiated.
-
#state ⇒ String
The snapshot state.
-
#state_message ⇒ String
Encrypted Amazon EBS snapshots are copied asynchronously.
-
#storage_tier ⇒ String
The storage tier in which the snapshot is stored.
-
#tags ⇒ Array<Types::Tag>
Any tags assigned to the snapshot.
-
#volume_id ⇒ String
The ID of the volume that was used to create the snapshot.
-
#volume_size ⇒ Integer
The size of the volume, in GiB.
Instance Attribute Details
#data_encryption_key_id ⇒ String
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.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description for the snapshot.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#encrypted ⇒ Boolean
Indicates whether the snapshot is encrypted.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#kms_key_id ⇒ String
The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the parent volume.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#outpost_arn ⇒ String
The ARN of the Outpost on which the snapshot is stored. For more information, see [Amazon EBS local snapshots on Outposts] in the *Amazon Elastic Compute Cloud User Guide*.
[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#owner_alias ⇒ String
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.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#owner_id ⇒ String
The ID of the Amazon Web Services account that owns the EBS snapshot.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#progress ⇒ String
The progress of the snapshot, as a percentage.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#restore_expiry_time ⇒ Time
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#snapshot_id ⇒ String
The ID of the snapshot. Each snapshot receives a unique identifier when it is created.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#sse_type ⇒ String
Reserved for future use.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#start_time ⇒ Time
The time stamp when the snapshot was initiated.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
The snapshot state.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#state_message ⇒ String
Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper Key Management Service (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.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#storage_tier ⇒ String
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.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Any tags assigned to the snapshot.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#volume_id ⇒ String
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.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |
#volume_size ⇒ Integer
The size of the volume, in GiB.
60138 60139 60140 60141 60142 60143 60144 60145 60146 60147 60148 60149 60150 60151 60152 60153 60154 60155 60156 60157 60158 60159 |
# File 'lib/aws-sdk-ec2/types.rb', line 60138 class Snapshot < Struct.new( :data_encryption_key_id, :description, :encrypted, :kms_key_id, :owner_id, :progress, :snapshot_id, :start_time, :state, :state_message, :volume_id, :volume_size, :owner_alias, :outpost_arn, :tags, :storage_tier, :restore_expiry_time, :sse_type) SENSITIVE = [] include Aws::Structure end |