Interface BackupPlanCopyActionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BackupPlanCopyActionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-06T14:43:14.705Z") @Stability(Stable) public interface BackupPlanCopyActionProps extends software.amazon.jsii.JsiiSerializable
Properties for a BackupPlanCopyAction.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.backup.*;
 BackupVault backupVault;
 BackupPlanCopyActionProps backupPlanCopyActionProps = BackupPlanCopyActionProps.builder()
         .destinationBackupVault(backupVault)
         // the properties below are optional
         .deleteAfter(Duration.minutes(30))
         .moveToColdStorageAfter(Duration.minutes(30))
         .build();
 
  • Method Details

    • getDestinationBackupVault

      @Stability(Stable) @NotNull IBackupVault getDestinationBackupVault()
      Destination Vault for recovery points to be copied into.
    • getDeleteAfter

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

      Must be at least 90 days greater than moveToColdStorageAfter, if specified.

      Default: - recovery point is never deleted

    • getMoveToColdStorageAfter

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

      Default: - recovery point is never moved to cold storage

    • builder

      @Stability(Stable) static BackupPlanCopyActionProps.Builder builder()
      Returns:
      a BackupPlanCopyActionProps.Builder of BackupPlanCopyActionProps