Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

CreateSnapshots

Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3. Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot each that is crash-consistent across the instance. Boot volumes can be excluded by changing the parameters.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

CopyTagsFromSource

Copies the tags from the specified volume to corresponding snapshot.

Type: String

Valid Values: volume

Required: No

Description

A description propagated to every snapshot specified by the instance.

Type: String

Required: No

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No

InstanceSpecification

The instance to specify which volumes should be included in the snapshots.

Type: InstanceSpecification object

Required: Yes

TagSpecification.N

Tags to apply to every snapshot specified by the instance.

Type: Array of TagSpecification objects

Required: No

Response Elements

The following elements are returned by the service.

requestId

The ID of the request.

Type: String

snapshotSet

List of snapshots.

Type: Array of SnapshotInfo objects

Errors

For information about the errors that are common to all actions, see Common Client Errors.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: