BackupPlanProps

class aws_cdk.aws_backup.BackupPlanProps(*, backup_plan_name=None, backup_plan_rules=None, backup_vault=None)

Bases: object

__init__(*, backup_plan_name=None, backup_plan_rules=None, backup_vault=None)

Properties for a BackupPlan.

Parameters
  • backup_plan_name (Optional[str]) – The display name of the backup plan. Default: - A CDK generated name

  • backup_plan_rules (Optional[List[BackupPlanRule]]) – Rules for the backup plan. Use addRule() to add rules after instantiation. Default: - use addRule() to add rules

  • backup_vault (Optional[IBackupVault]) – 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

stability :stability: experimental

Return type

None

Attributes

backup_plan_name

The display name of the backup plan.

default :default: - A CDK generated name

stability :stability: experimental

Return type

Optional[str]

backup_plan_rules

Rules for the backup plan.

Use addRule() to add rules after instantiation.

default :default: - use addRule() to add rules

stability :stability: experimental

Return type

Optional[List[BackupPlanRule]]

backup_vault

The backup vault where backups are stored.

default :default:

  • use the vault defined at the rule level. If not defined a new common vault for the plan will be created

stability :stability: experimental

Return type

Optional[IBackupVault]