Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance
Source:R/ec2_operations.R
ec2_create_snapshots.RdCreates 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.
Usage
ec2_create_snapshots(
Description = NULL,
InstanceSpecification,
OutpostArn = NULL,
TagSpecifications = NULL,
DryRun = NULL,
CopyTagsFromSource = NULL,
Location = NULL
)Arguments
- Description
A description propagated to every snapshot specified by the instance.
- InstanceSpecification
[required] The instance to specify which volumes should be included in the snapshots.
- OutpostArn
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.
- 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 isUnauthorizedOperation.Copies the tags from the specified volume to corresponding snapshot.
- Location
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 regional snapshots in the parent Region of the Local Zone, specify
regionalor omit this parameter.
Default value:
regional