You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Redshift::Types::CreateClusterSnapshotMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb

Overview

Note:

When making an API call, you may pass CreateClusterSnapshotMessage data as a hash:

{
  snapshot_identifier: "String", # required
  cluster_identifier: "String", # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_identifierString

The cluster identifier for which you want a snapshot.

Returns:

  • (String)


1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1543

class CreateClusterSnapshotMessage < Struct.new(
  :snapshot_identifier,
  :cluster_identifier,
  :tags)
  include Aws::Structure
end

#snapshot_identifierString

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

Returns:

  • (String)


1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1543

class CreateClusterSnapshotMessage < Struct.new(
  :snapshot_identifier,
  :cluster_identifier,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tag instances.

Returns:



1543
1544
1545
1546
1547
1548
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1543

class CreateClusterSnapshotMessage < Struct.new(
  :snapshot_identifier,
  :cluster_identifier,
  :tags)
  include Aws::Structure
end