Interface CfnBackupPlan.CopyActionResourceTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBackupPlan.CopyActionResourceTypeProperty.Jsii$Proxy
- Enclosing class:
CfnBackupPlan
@Stability(Stable)
public static interface CfnBackupPlan.CopyActionResourceTypeProperty
extends software.amazon.jsii.JsiiSerializable
Copies backups created by a backup rule to another vault.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.backup.*; CopyActionResourceTypeProperty copyActionResourceTypeProperty = CopyActionResourceTypeProperty.builder() .destinationBackupVaultArn("destinationBackupVaultArn") // the properties below are optional .lifecycle(LifecycleResourceTypeProperty.builder() .deleteAfterDays(123) .moveToColdStorageAfterDays(123) .optInToArchiveForSupportedResources(false) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBackupPlan.CopyActionResourceTypeProperty
static final class
An implementation forCfnBackupPlan.CopyActionResourceTypeProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationBackupVaultArn
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.For example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
- See Also:
-
getLifecycle
Defines when a protected resource is transitioned to cold storage and when it expires.AWS Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, AWS Backup applies the lifecycle policy of the source backup to the destination backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
- See Also:
-
builder
-