Interface IBackupPlanProps
Properties for a BackupPlan.
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBackupPlanProps
Syntax (vb)
Public Interface IBackupPlanProps
Remarks
ExampleMetadata: infused
Examples
var plan = new BackupPlan(this, "Plan", new BackupPlanProps {
WindowsVss = true
});
Synopsis
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. |
Properties
BackupPlanName
The display name of the backup plan.
virtual string BackupPlanName { get; }
Property Value
System.String
Remarks
Default: - A CDK generated name
BackupPlanRules
Rules for the backup plan.
virtual BackupPlanRule[] BackupPlanRules { get; }
Property Value
Remarks
Use addRule()
to add rules after
instantiation.
Default: - use addRule()
to add rules
BackupVault
The backup vault where backups are stored.
virtual IBackupVault BackupVault { get; }
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.
virtual Nullable<bool> WindowsVss { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
See: https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html