Skip to content

CreateSnapshotScheduleActionParameters

Source code in docs_src/capo_redshift_serverless/types/create_snapshot_schedule_action_parameters.py
class CreateSnapshotScheduleActionParameters(TypedDict, closed=True):
    namespace_name: "capo_redshift_serverless.types.namespace_name.NamespaceName"
    """<p>The name of the namespace for which you want to configure a scheduled action to create a snapshot.</p>"""
    snapshot_name_prefix: (
        "capo_redshift_serverless.types.snapshot_name_prefix.SnapshotNamePrefix"
    )
    """<p>A string prefix that is attached to the name of the snapshot created by the scheduled action. The final name of the snapshot is the string prefix appended by the date and time of when the snapshot was created.</p>"""
    retention_period: NotRequired["int"]
    """<p>The retention period of the snapshot created by the scheduled action.</p>"""
    tags: NotRequired["capo_redshift_serverless.types.tag_list.TagList"]
    """<p>An array of <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html">Tag objects</a> to associate with the snapshot.</p>"""

namespace_name instance-attribute

namespace_name: NamespaceName

The name of the namespace for which you want to configure a scheduled action to create a snapshot.

retention_period instance-attribute

retention_period: NotRequired[int]

The retention period of the snapshot created by the scheduled action.

snapshot_name_prefix instance-attribute

snapshot_name_prefix: SnapshotNamePrefix

A string prefix that is attached to the name of the snapshot created by the scheduled action. The final name of the snapshot is the string prefix appended by the date and time of when the snapshot was created.

tags instance-attribute

tags: NotRequired[TagList]

An array of Tag objects to associate with the snapshot.