You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Redshift::Types::CreateClusterSnapshotMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Redshift::Types::CreateClusterSnapshotMessage
- Defined in:
- (unknown)
Overview
When passing CreateClusterSnapshotMessage as input to an Aws::Client method, you can use a vanilla Hash:
{
snapshot_identifier: "String", # required
cluster_identifier: "String", # required
manual_snapshot_retention_period: 1,
tags: [
{
key: "String",
value: "String",
},
],
}
Instance Attribute Summary collapse
-
#cluster_identifier ⇒ String
The cluster identifier for which you want a snapshot.
-
#manual_snapshot_retention_period ⇒ Integer
The number of days that a manual snapshot is retained.
-
#snapshot_identifier ⇒ String
A unique identifier for the snapshot that you are requesting.
-
#tags ⇒ Array<Types::Tag>
A list of tag instances.
Instance Attribute Details
#cluster_identifier ⇒ String
The cluster identifier for which you want a snapshot.
#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.
#snapshot_identifier ⇒ String
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
#tags ⇒ Array<Types::Tag>
A list of tag instances.