Skip to main content

export_snapshot_records

Creates, updates, deletes, gets or lists an export_snapshot_records resource.

Overview​

Nameexport_snapshot_records
TypeResource
Idaws.lightsail.export_snapshot_records

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe export snapshot record name. (pattern: <code>\w[\w-]*\w</code>)
arnstringThe Amazon Resource Name (ARN) of the export snapshot record. (pattern: <code>.\S.</code>)
created_atstring (date-time)The date when the export snapshot record was created.
destination_infoobjectA list of objects describing the destination of the export snapshot record.
locationobjectThe AWS Region and Availability Zone where the export snapshot record is located.
resource_typestringThe Lightsail resource type (ExportSnapshotRecord). (ContainerService, Instance, StaticIp, KeyPair, InstanceSnapshot, Domain, PeeredVpc, LoadBalancer, LoadBalancerTlsCertificate, Disk, DiskSnapshot, RelationalDatabase, RelationalDatabaseSnapshot, ExportSnapshotRecord, CloudFormationStackRecord, Alarm, ContactMethod, Distribution, Certificate, Bucket)
source_infoobjectA list of objects describing the source of the export snapshot record.
statestringThe state of the export snapshot record. (Started, Succeeded, Failed)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_export_snapshot_recordsselectregionReturns all export snapshot records created as a result of the export snapshot operation. An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the CreateCloudFormationStack action.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Returns all export snapshot records created as a result of the export snapshot operation. An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the CreateCloudFormationStack action.

SELECT
name,
arn,
created_at,
destination_info,
location,
resource_type,
source_info,
state
FROM aws.lightsail.export_snapshot_records
WHERE region = '{{ region }}' -- required
;