Learn R Programming

paws.database (version 0.7.0)

elasticache_copy_snapshot: Makes a copy of an existing snapshot

Description

Makes a copy of an existing snapshot.

See https://www.paws-r-sdk.com/docs/elasticache_copy_snapshot/ for full documentation.

Usage

elasticache_copy_snapshot(
  SourceSnapshotName,
  TargetSnapshotName,
  TargetBucket = NULL,
  KmsKeyId = NULL,
  Tags = NULL
)

Arguments

SourceSnapshotName

[required] The name of an existing snapshot from which to make a copy.

TargetSnapshotName

[required] A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot, therefore this name must be unique within its context - ElastiCache or an Amazon S3 bucket if exporting.

TargetBucket

The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access.

When using this parameter to export a snapshot, be sure Amazon ElastiCache has the needed permissions to this S3 bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the Amazon ElastiCache User Guide.

For more information, see Exporting a Snapshot in the Amazon ElastiCache User Guide.

KmsKeyId

The ID of the KMS key used to encrypt the target snapshot.

Tags

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.