redshift_copy_cluster_snapshot: Copies the specified automated cluster snapshot to a new...

View source: R/redshift_operations.R

redshift_copy_cluster_snapshotR Documentation

Copies the specified automated cluster snapshot to a new manual cluster snapshot

Description

Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state.

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

Usage

redshift_copy_cluster_snapshot(
  SourceSnapshotIdentifier,
  SourceSnapshotClusterIdentifier = NULL,
  TargetSnapshotIdentifier,
  ManualSnapshotRetentionPeriod = NULL
)

Arguments

SourceSnapshotIdentifier

[required] The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

SourceSnapshotClusterIdentifier

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

TargetSnapshotIdentifier

[required] The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the Amazon Web Services account that is making the request.

ManualSnapshotRetentionPeriod

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.


paws.database documentation built on June 22, 2024, 11:50 a.m.