ServiceResource / Sub-Resource / Snapshot

Snapshot#

EC2.ServiceResource.Snapshot(id)#

Creates a Snapshot resource.:

snapshot = ec2.Snapshot('id')
Parameters:

id (string) – The Snapshot’s id identifier. This must be set.

Return type:

EC2.Snapshot

Returns:

A Snapshot resource