Skip to content

DbBackupConfiguration

Source code in docs_src/capo_timestream_influxdb/types/db_backup_configuration.py
class DbBackupConfiguration(TypedDict, closed=True):
    type: (
        "capo_timestream_influxdb.types.automated_db_backup_type.AutomatedDbBackupType"
    )
    """<p>The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.</p>"""
    retention_days: "capo_timestream_influxdb.types.automated_backup_retention_days.AutomatedBackupRetentionDays"
    """<p>The number of days to retain automated backups. Valid values are 1 to 365.</p>"""
    enabled: "bool"
    """<p>Specifies whether this backup configuration is enabled.</p>"""
    custom_schedule: NotRequired[
        "capo_timestream_influxdb.types.aws_cron_schedule.AwsCronSchedule"
    ]
    """<p>A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.</p>"""

custom_schedule instance-attribute

custom_schedule: NotRequired[AwsCronSchedule]

A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.

enabled instance-attribute

enabled: bool

Specifies whether this backup configuration is enabled.

retention_days instance-attribute

The number of days to retain automated backups. Valid values are 1 to 365.

type instance-attribute

The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.