snapshots
List of snapshots by region (requires aws
provider to be installed)
Overview
Name | snapshots |
Type | Resource |
Description | List of snapshots by region (requires `aws` provider to be installed) |
Id | awscc.ec2.snapshots |
Fields
Name | Datatype | Description |
---|---|---|
description | string | The description for the snapshot. |
data_encryption_key_id | string | The data encryption key identifier 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 | |
owner_alias | string | The Amazon Web Services owner alias. |
owner_id | string | |
progress | string | The progress of the snapshot, as a percentage. |
restore_expiry_time | string | Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived. |
snapshot_id | string | The ID of the snapshot. Each snapshot receives a unique identifier when it is created. |
start_time | string | The time stamp when the snapshot was initiated. |
status | string | The snapshot state. |
status_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. |
storage_tier | string | The storage tier in which the snapshot is stored. |
tag_set | array | |
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. |
region | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
description,
data_encryption_key_id,
encrypted,
kms_key_id,
outpost_arn,
owner_alias,
owner_id,
progress,
restore_expiry_time,
snapshot_id,
start_time,
status,
status_message,
storage_tier,
tag_set,
volume_id,
volume_size,
region
FROM awscc.ec2.snapshots
WHERE region = '<region>';