Interface BackupSettings

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

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-10-01T17:47:05.826Z") @Stability(Experimental) public interface BackupSettings extends software.amazon.jsii.JsiiSerializable
(experimental) Backup configuration for ServerlessCache.

Example:

 Vpc vpc;
 ServerlessCache serverlessCache = ServerlessCache.Builder.create(this, "ServerlessCache")
         .engine(CacheEngine.VALKEY_LATEST)
         .backup(BackupSettings.builder()
                 // set a backup name before deleting a cache
                 .backupNameBeforeDeletion("my-final-backup-name")
                 .build())
         .vpc(vpc)
         .build();
 
  • Method Details

    • getBackupArnsToRestore

      @Stability(Experimental) @Nullable default List<String> getBackupArnsToRestore()
      (experimental) ARNs of backups from which to restore data into the new cache.

      Default: - Create a new cache with no existing data

    • getBackupNameBeforeDeletion

      @Stability(Experimental) @Nullable default String getBackupNameBeforeDeletion()
      (experimental) Name for the final backup taken before deletion.

      Default: - No final backup

    • getBackupRetentionLimit

      @Stability(Experimental) @Nullable default Number getBackupRetentionLimit()
      (experimental) Number of days to retain backups (1-35).

      Default: - Backups are not retained

    • getBackupTime

      @Stability(Experimental) @Nullable default Schedule getBackupTime()
      (experimental) Automated daily backup UTC time.

      Default: - No automated backups

    • builder

      @Stability(Experimental) static BackupSettings.Builder builder()
      Returns:
      a BackupSettings.Builder of BackupSettings