Learn R Programming

paws.database (version 0.1.5)

redshift_create_cluster_snapshot: Creates a manual snapshot of the specified cluster

Description

Creates a manual snapshot of the specified cluster. The cluster must be in the available state.

Usage

redshift_create_cluster_snapshot(SnapshotIdentifier, ClusterIdentifier,
  ManualSnapshotRetentionPeriod, Tags)

Arguments

SnapshotIdentifier

[required] A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

ClusterIdentifier

[required] The cluster identifier for which you want a snapshot.

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.

Tags

A list of tag instances.

Request syntax

svc$create_cluster_snapshot(
  SnapshotIdentifier = "string",
  ClusterIdentifier = "string",
  ManualSnapshotRetentionPeriod = 123,
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Details

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.