You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Redshift::Types::CopyClusterSnapshotMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Redshift::Types::CopyClusterSnapshotMessage
- Defined in:
- (unknown)
Overview
When passing CopyClusterSnapshotMessage as input to an Aws::Client method, you can use a vanilla Hash:
{
source_snapshot_identifier: "String", # required
source_snapshot_cluster_identifier: "String",
target_snapshot_identifier: "String", # required
manual_snapshot_retention_period: 1,
}
Instance Attribute Summary collapse
-
#manual_snapshot_retention_period ⇒ Integer
The number of days that a manual snapshot is retained.
-
#source_snapshot_cluster_identifier ⇒ String
The identifier of the cluster the source snapshot was created from.
-
#source_snapshot_identifier ⇒ String
The identifier for the source snapshot.
-
#target_snapshot_identifier ⇒ String
The identifier given to the new manual snapshot.
Instance Attribute Details
#manual_snapshot_retention_period ⇒ Integer
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.
#source_snapshot_cluster_identifier ⇒ String
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.
^
#source_snapshot_identifier ⇒ String
The identifier for the source snapshot.
Constraints:
- Must be the identifier for a valid automated snapshot whose state is
available
.
^
#target_snapshot_identifier ⇒ String
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 AWS account that is making the request.