Class BackupPlanProps
Properties for a BackupPlan.
Inheritance
System.Object
BackupPlanProps
Implements
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.AWS.Backup.dll
Syntax (csharp)
public class BackupPlanProps : Object, IBackupPlanProps
Syntax (vb)
Public Class BackupPlanProps
Inherits Object
Implements IBackupPlanProps
Remarks
ExampleMetadata: infused
Examples
var plan = new BackupPlan(this, "Plan", new BackupPlanProps {
WindowsVss = true
});
Synopsis
Constructors
BackupPlanProps() |
Properties
BackupPlanName | The display name of the backup plan. |
BackupPlanRules | Rules for the backup plan. |
BackupVault | The backup vault where backups are stored. |
WindowsVss | Enable Windows VSS backup. |
Constructors
BackupPlanProps()
public BackupPlanProps()
Properties
BackupPlanName
The display name of the backup plan.
public string BackupPlanName { get; set; }
Property Value
System.String
Remarks
Default: - A CDK generated name
BackupPlanRules
Rules for the backup plan.
public BackupPlanRule[] BackupPlanRules { get; set; }
Property Value
Remarks
Use addRule()
to add rules after
instantiation.
Default: - use addRule()
to add rules
BackupVault
The backup vault where backups are stored.
public IBackupVault BackupVault { get; set; }
Property Value
Remarks
Default: - use the vault defined at the rule level. If not defined a new common vault for the plan will be created
WindowsVss
Enable Windows VSS backup.
public Nullable<bool> WindowsVss { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
See: https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html