Skip to content

CopyClusterSnapshotMessage

Source code in docs_src/capo_redshift/types/copy_cluster_snapshot_message.py
class CopyClusterSnapshotMessage(TypedDict, closed=True):
    source_snapshot_identifier: NotRequired["capo_redshift.types.string.String"]
    """<p>The identifier for the source snapshot.</p> <p>Constraints:</p> <ul> <li> <p>Must be the identifier for a valid automated snapshot whose state is <code>available</code>.</p> </li> </ul>"""
    source_snapshot_cluster_identifier: NotRequired["capo_redshift.types.string.String"]
    """<p>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.</p> <p>Constraints:</p> <ul> <li> <p>Must be the identifier for a valid cluster.</p> </li> </ul>"""
    target_snapshot_identifier: NotRequired["capo_redshift.types.string.String"]
    """<p>The identifier given to the new manual snapshot.</p> <p>Constraints:</p> <ul> <li> <p>Cannot be null, empty, or blank.</p> </li> <li> <p>Must contain from 1 to 255 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> <li> <p>Must be unique for the Amazon Web Services account that is making the request.</p> </li> </ul>"""
    manual_snapshot_retention_period: NotRequired[
        "capo_redshift.types.integer_optional.IntegerOptional"
    ]
    """<p>The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. </p> <p>The value must be either -1 or an integer between 1 and 3,653.</p> <p>The default value is -1.</p>"""

manual_snapshot_retention_period instance-attribute

manual_snapshot_retention_period: NotRequired[IntegerOptional]

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.

source_snapshot_cluster_identifier instance-attribute

source_snapshot_cluster_identifier: NotRequired[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.

source_snapshot_identifier instance-attribute

source_snapshot_identifier: NotRequired[String]

The identifier for the source snapshot.

Constraints:

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

target_snapshot_identifier instance-attribute

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