Show / Hide Table of Contents

Class BackupProps

Backup configuration for RDS databases.

Inheritance
System.Object
BackupProps
Implements
IBackupProps
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class BackupProps : Object, IBackupProps
Syntax (vb)
Public Class BackupProps
    Inherits Object
    Implements IBackupProps
Remarks

Default: - The retention period for automated backups is 1 day. The preferred backup window will be a 30-minute window selected at random from an 8-hour block of time for each AWS Region.

See: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
using Amazon.CDK;
var backupProps = new BackupProps {
    Retention = Duration.Minutes(30),

    // the properties below are optional
    PreferredWindow = "preferredWindow"
};

Synopsis

Constructors

BackupProps()

Properties

PreferredWindow

A daily time range in 24-hours UTC format in which backups preferably execute.

Retention

How many days to retain the backup.

Constructors

BackupProps()

public BackupProps()

Properties

PreferredWindow

A daily time range in 24-hours UTC format in which backups preferably execute.

public string PreferredWindow { get; set; }
Property Value

System.String

Remarks

Must be at least 30 minutes long.

Example: '01:00-02:00'

Default: - a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow

Retention

How many days to retain the backup.

public Duration Retention { get; set; }
Property Value

Duration

Implements

IBackupProps
Back to top Generated by DocFX
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy