Interface BackupPlanRuleProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-01T20:58:19.519Z") @Stability(Stable) public interface BackupPlanRuleProps extends
Properties for a BackupPlanRule.


 BackupPlan plan;
 BackupVault secondaryVault;
  • Method Details

    • getBackupVault

      @Stability(Stable) @Nullable default IBackupVault getBackupVault()
      The backup vault where backups are.

      Default: - use the vault defined at the plan level. If not defined a new common vault for the plan will be created

    • getCompletionWindow

      @Stability(Stable) @Nullable default Duration getCompletionWindow()
      The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup.

      Default: - 7 days

    • getCopyActions

      @Stability(Stable) @Nullable default List<BackupPlanCopyActionProps> getCopyActions()
      Copy operations to perform on recovery points created by this rule.

      Default: - no copy actions

    • getDeleteAfter

      @Stability(Stable) @Nullable default Duration getDeleteAfter()
      Specifies the duration after creation that a recovery point is deleted.

      Must be greater than moveToColdStorageAfter.

      Default: - recovery point is never deleted

    • getEnableContinuousBackup

      @Stability(Stable) @Nullable default Boolean getEnableContinuousBackup()
      Enables continuous backup and point-in-time restores (PITR).

      Property deleteAfter defines the retention period for the backup. It is mandatory if PITR is enabled. If no value is specified, the retention period is set to 35 days which is the maximum retention period supported by PITR.

      Property moveToColdStorageAfter must not be specified because PITR does not support this option.

      Default: false

    • getMoveToColdStorageAfter

      @Stability(Stable) @Nullable default Duration getMoveToColdStorageAfter()
      Specifies the duration after creation that a recovery point is moved to cold storage.

      Default: - recovery point is never moved to cold storage

    • getRecoveryPointTags

      @Stability(Stable) @Nullable default Map<String,String> getRecoveryPointTags()
      To help organize your resources, you can assign your own metadata to the resources that you create.

      Each tag is a key-value pair.

      Default: - no recovery point tags.

    • getRuleName

      @Stability(Stable) @Nullable default String getRuleName()
      A display name for the backup rule.

      Default: - a CDK generated name

    • getScheduleExpression

      @Stability(Stable) @Nullable default Schedule getScheduleExpression()
      A CRON expression specifying when AWS Backup initiates a backup job.

      Default: - no schedule

    • getStartWindow

      @Stability(Stable) @Nullable default Duration getStartWindow()
      The duration after a backup is scheduled before a job is canceled if it doesn't start successfully.

      Default: - 8 hours

    • builder

      @Stability(Stable) static BackupPlanRuleProps.Builder builder()
      a BackupPlanRuleProps.Builder of BackupPlanRuleProps