Copy Db Cluster Snapshot
docdb_copy_db_cluster_snapshot | R Documentation |
Copies a snapshot of a cluster¶
Description¶
Copies a snapshot of a cluster.
To copy a cluster snapshot from a shared manual cluster snapshot,
SourceDBClusterSnapshotIdentifier
must be the Amazon Resource Name
(ARN) of the shared cluster snapshot. You can only copy a shared DB
cluster snapshot, whether encrypted or not, in the same Amazon Web
Services Region.
To cancel the copy operation after it is in progress, delete the target
cluster snapshot identified by TargetDBClusterSnapshotIdentifier
while
that cluster snapshot is in the copying status.
Usage¶
docdb_copy_db_cluster_snapshot(SourceDBClusterSnapshotIdentifier,
TargetDBClusterSnapshotIdentifier, KmsKeyId, PreSignedUrl, CopyTags,
Tags)
Arguments¶
SourceDBClusterSnapshotIdentifier |
[required] The identifier of the cluster snapshot to copy. This parameter is not case sensitive. Constraints:
Example: |
TargetDBClusterSnapshotIdentifier |
[required] The identifier of the new cluster snapshot to create from the source cluster snapshot. This parameter is not case sensitive. Constraints:
Example: |
KmsKeyId |
The KMS key ID for an encrypted cluster snapshot. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key. If you copy an encrypted cluster snapshot from your Amazon Web
Services account, you can specify a value for If you copy an encrypted cluster snapshot that is shared from another
Amazon Web Services account, then you must specify a value for
To copy an encrypted cluster snapshot to another Amazon Web Services
Region, set If you copy an unencrypted cluster snapshot and specify a value for
the |
PreSignedUrl |
The URL that contains a Signature Version 4 signed request for
the If you are using an Amazon Web Services SDK tool or the CLI, you can
specify The presigned URL must be a valid request for the
|
CopyTags |
Set to |
Tags |
The tags to be assigned to the cluster snapshot. |
Value¶
A list with the following syntax:
list(
DBClusterSnapshot = list(
AvailabilityZones = list(
"string"
),
DBClusterSnapshotIdentifier = "string",
DBClusterIdentifier = "string",
SnapshotCreateTime = as.POSIXct(
"2015-01-01"
),
Engine = "string",
Status = "string",
Port = 123,
VpcId = "string",
ClusterCreateTime = as.POSIXct(
"2015-01-01"
),
MasterUsername = "string",
EngineVersion = "string",
SnapshotType = "string",
PercentProgress = 123,
StorageEncrypted = TRUE|FALSE,
KmsKeyId = "string",
DBClusterSnapshotArn = "string",
SourceDBClusterSnapshotArn = "string",
StorageType = "string"
)
)
Request syntax¶
svc$copy_db_cluster_snapshot(
SourceDBClusterSnapshotIdentifier = "string",
TargetDBClusterSnapshotIdentifier = "string",
KmsKeyId = "string",
PreSignedUrl = "string",
CopyTags = TRUE|FALSE,
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)