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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBackupPlanCopyActionProps
static final class
An implementation forBackupPlanCopyActionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Duration
Specifies the duration after creation that a copied recovery point is deleted from the destination vault.Destination Vault for recovery points to be copied into.default Duration
Specifies the duration after creation that a copied recovery point is moved to cold storage.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationBackupVault
Destination Vault for recovery points to be copied into. -
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
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
- Returns:
- a
BackupPlanCopyActionProps.Builder
ofBackupPlanCopyActionProps
-