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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_identifierString

The cluster identifier for which you want a snapshot.

Returns:

  • (String)


2542
2543
2544
2545
2546
2547
2548
2549
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2542

class CreateClusterSnapshotMessage < Struct.new(
  :snapshot_identifier,
  :cluster_identifier,
  :manual_snapshot_retention_period,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#manual_snapshot_retention_periodInteger

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.

Returns:

  • (Integer)


2542
2543
2544
2545
2546
2547
2548
2549
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2542

class CreateClusterSnapshotMessage < Struct.new(
  :snapshot_identifier,
  :cluster_identifier,
  :manual_snapshot_retention_period,
  :tags)
  SENSITIVE = []
  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 Amazon Web Services 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)


2542
2543
2544
2545
2546
2547
2548
2549
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2542

class CreateClusterSnapshotMessage < Struct.new(
  :snapshot_identifier,
  :cluster_identifier,
  :manual_snapshot_retention_period,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tag instances.

Returns:



2542
2543
2544
2545
2546
2547
2548
2549
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2542

class CreateClusterSnapshotMessage < Struct.new(
  :snapshot_identifier,
  :cluster_identifier,
  :manual_snapshot_retention_period,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end