CfnSnapshotScheduleProps

class aws_cdk.aws_redshift.CfnSnapshotScheduleProps(*, schedule_definitions, schedule_identifier, schedule_description=None, tags=None)

Bases: object

Properties for defining a CfnSnapshotSchedule.

Parameters:
  • schedule_definitions (Sequence[str]) – The definition of the snapshot schedule. The definition is made up of schedule expressions, for example “cron(30 12 *)” or “rate(12 hours)”.

  • schedule_identifier (str) – A unique identifier for the snapshot schedule. Only alphanumeric characters are allowed.

  • schedule_description (Optional[str]) – The description of the snapshot schedule.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An optional set of tags for the snapshot schedule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-snapshotschedule.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_redshift as redshift

cfn_snapshot_schedule_props = redshift.CfnSnapshotScheduleProps(
    schedule_definitions=["scheduleDefinitions"],
    schedule_identifier="scheduleIdentifier",

    # the properties below are optional
    schedule_description="scheduleDescription",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

schedule_definitions

The definition of the snapshot schedule.

The definition is made up of schedule expressions, for example “cron(30 12 *)” or “rate(12 hours)”.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-snapshotschedule.html#cfn-redshift-snapshotschedule-scheduledefinitions

schedule_description

The description of the snapshot schedule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-snapshotschedule.html#cfn-redshift-snapshotschedule-scheduledescription

schedule_identifier

A unique identifier for the snapshot schedule.

Only alphanumeric characters are allowed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-snapshotschedule.html#cfn-redshift-snapshotschedule-scheduleidentifier

tags

An optional set of tags for the snapshot schedule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-snapshotschedule.html#cfn-redshift-snapshotschedule-tags