Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance. Volumes are chosen by specifying an instance. Each volume attached to the specified instance will produce one snapshot 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.
See https://www.paws-r-sdk.com/docs/ec2_create_snapshots/ for full documentation.
ec2_create_snapshots(
Description = NULL,
InstanceSpecification,
OutpostArn = NULL,
TagSpecifications = NULL,
DryRun = NULL,
CopyTagsFromSource = NULL,
Location = NULL
)
A description propagated to every snapshot specified by the instance.
[required] The instance to specify which volumes should be included in the snapshots.
Only supported for instances on Outposts. If the source instance is not on an Outpost, omit this parameter.
To create the snapshots on the same Outpost as the source instance, specify the ARN of that Outpost. The snapshots must be created on the same Outpost as the instance.
To create the snapshots in the parent Region of the Outpost, omit this parameter.
For more information, see Create local snapshots from volumes on an Outpost in the Amazon EBS User Guide.
Tags to apply to every snapshot specified by the instance.
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
.
Copies the tags from the specified volume to corresponding snapshot.
Only supported for instances in Local Zones. If the source instance is not in a Local Zone, omit this parameter.
To create local snapshots in the same Local Zone as the source
instance, specify local
.
To create a regional snapshots in the parent Region of the Local
Zone, specify regional
or omit this parameter.
Default value: regional