BackupPlanProps Struct
Properties for a BackupPlan.
| Source | aws-backup/lib/plan.ts |
|---|---|
| Type last changed |
Example
ts
const plan = new backup.BackupPlan(this, 'Plan', {
windowsVss: true,
});
python
plan = backup.BackupPlan(self, "Plan",
windows_vss=True
)
java
BackupPlan plan = BackupPlan.Builder.create(this, "Plan")
.windowsVss(true)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
var plan = new BackupPlan(this, "Plan", new BackupPlanProps {
WindowsVss = true
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
plan := backup.NewBackupPlan(this, jsii.String("Plan"), &BackupPlanProps{
WindowsVss: jsii.Boolean(true),
})
Properties
backupPlanNameoptionalstringbackup_plan_nameoptionalstrbackupPlanNameoptionalStringBackupPlanNameoptionalstringBackupPlanNameoptional*string #The display name of the backup plan.
Default: A CDK generated name
backupPlanRulesoptionalBackupPlanRule[]backup_plan_rulesoptionaltyping.List[BackupPlanRule]backupPlanRulesoptionalList<BackupPlanRule>BackupPlanRulesoptionalBackupPlanRule[]BackupPlanRulesoptional*[]BackupPlanRule #Rules for the backup plan.
Default: use addRule() to add rules
Use addRule() to add rules after instantiation.
backupVaultoptionalIBackupVaultRefbackup_vaultoptionalIBackupVaultRefbackupVaultoptionalIBackupVaultRefBackupVaultoptionalIBackupVaultRefBackupVaultoptionalIBackupVaultRef #The backup vault where backups are stored.
Default: use the vault defined at the rule level. If not defined a new common vault for the plan will be created
windowsVssoptionalbooleanwindows_vssoptionalboolwindowsVssoptionalBooleanWindowsVssoptionalboolWindowsVssoptional*bool = false #Enable Windows VSS backup.