/AWS1/CL_EC2=>CREATESNAPSHOTS()
¶
About 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.
You can include all of the volumes currently attached to the instance, or you can exclude the root volume or specific data (non-root) volumes from the multi-volume snapshot set.
You can create multi-volume snapshots of instances in a Region and instances on an Outpost. If you create snapshots from an instance in a Region, the snapshots must be stored in the same Region as the instance. If you create snapshots from an instance on an Outpost, the snapshots can be stored on the same Outpost as the instance, or in the Region for that Outpost.
Method Signature¶
IMPORTING¶
Required arguments:¶
IO_INSTANCESPECIFICATION
TYPE REF TO /AWS1/CL_EC2INSTANCESPEC
/AWS1/CL_EC2INSTANCESPEC
¶
The instance to specify which volumes should be included in the snapshots.
Optional arguments:¶
IV_DESCRIPTION
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
A description propagated to every snapshot specified by the instance.
IV_OUTPOSTARN
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The Amazon Resource Name (ARN) of the Outpost on which to create the local
snapshots.
To create snapshots from an instance in a Region, omit this parameter. The snapshots are created in the same Region as the instance.
To create snapshots from an instance on an Outpost and store the snapshots in the Region, omit this parameter. The snapshots are created in the Region for the Outpost.
To create snapshots from an instance on an Outpost and store the snapshots on an Outpost, specify the ARN of the destination Outpost. The snapshots must be created on the same Outpost as the instance.
For more information, see Create multi-volume local snapshots from instances on an Outpost in the Amazon EBS User Guide.
IT_TAGSPECIFICATIONS
TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST
TT_TAGSPECIFICATIONLIST
¶
Tags to apply to every snapshot specified by the instance.
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
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 isUnauthorizedOperation
.
IV_COPYTAGSFROMSOURCE
TYPE /AWS1/EC2COPYTAGSFROMSOURCE
/AWS1/EC2COPYTAGSFROMSOURCE
¶
Copies the tags from the specified volume to corresponding snapshot.