Class: Aws::Redshift::Types::CopyClusterSnapshotMessage

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

#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)


1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1847

class CopyClusterSnapshotMessage < Struct.new(
  :source_snapshot_identifier,
  :source_snapshot_cluster_identifier,
  :target_snapshot_identifier,
  :manual_snapshot_retention_period)
  SENSITIVE = []
  include Aws::Structure
end

#source_snapshot_cluster_identifierString

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.

^

Returns:

  • (String)


1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1847

class CopyClusterSnapshotMessage < Struct.new(
  :source_snapshot_identifier,
  :source_snapshot_cluster_identifier,
  :target_snapshot_identifier,
  :manual_snapshot_retention_period)
  SENSITIVE = []
  include Aws::Structure
end

#source_snapshot_identifierString

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

^

Returns:

  • (String)


1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1847

class CopyClusterSnapshotMessage < Struct.new(
  :source_snapshot_identifier,
  :source_snapshot_cluster_identifier,
  :target_snapshot_identifier,
  :manual_snapshot_retention_period)
  SENSITIVE = []
  include Aws::Structure
end

#target_snapshot_identifierString

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 Amazon Web Services account that is making the request.

Returns:

  • (String)


1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1847

class CopyClusterSnapshotMessage < Struct.new(
  :source_snapshot_identifier,
  :source_snapshot_cluster_identifier,
  :target_snapshot_identifier,
  :manual_snapshot_retention_period)
  SENSITIVE = []
  include Aws::Structure
end