Class: Aws::Redshift::Types::CopyClusterSnapshotMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Redshift::Types::CopyClusterSnapshotMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-redshift/types.rb
Overview
When making an API call, you may pass CopyClusterSnapshotMessage data as a hash:
{
source_snapshot_identifier: "String", # required
source_snapshot_cluster_identifier: "String",
target_snapshot_identifier: "String", # required
}
Instance Attribute Summary collapse
-
#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
#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.
^
937 938 939 940 941 942 |
# File 'lib/aws-sdk-redshift/types.rb', line 937 class CopyClusterSnapshotMessage < Struct.new( :source_snapshot_identifier, :source_snapshot_cluster_identifier, :target_snapshot_identifier) include Aws::Structure end |
#source_snapshot_identifier ⇒ String
The identifier for the source snapshot.
Constraints:
-
Must be the identifier for a valid automated snapshot whose state is
available.
^
937 938 939 940 941 942 |
# File 'lib/aws-sdk-redshift/types.rb', line 937 class CopyClusterSnapshotMessage < Struct.new( :source_snapshot_identifier, :source_snapshot_cluster_identifier, :target_snapshot_identifier) include Aws::Structure end |
#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.
937 938 939 940 941 942 |
# File 'lib/aws-sdk-redshift/types.rb', line 937 class CopyClusterSnapshotMessage < Struct.new( :source_snapshot_identifier, :source_snapshot_cluster_identifier, :target_snapshot_identifier) include Aws::Structure end |