ec2_create_snapshots: Creates crash-consistent snapshots of multiple EBS volumes...

View source: R/ec2_operations.R

ec2_create_snapshotsR Documentation

Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3

Description

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.

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
)

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

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 Elastic Compute Cloud User Guide.

TagSpecifications

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 is UnauthorizedOperation.

CopyTagsFromSource

Copies the tags from the specified volume to corresponding snapshot.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.