@Stability(value=Stable)
public static interface CfnBackupPlan.CopyActionResourceTypeProperty
extends software.amazon.jsii.JsiiSerializable
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)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBackupPlan.CopyActionResourceTypeProperty.Builder
A builder for
CfnBackupPlan.CopyActionResourceTypeProperty |
static class |
CfnBackupPlan.CopyActionResourceTypeProperty.Jsii$Proxy
An implementation for
CfnBackupPlan.CopyActionResourceTypeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBackupPlan.CopyActionResourceTypeProperty.Builder |
builder() |
String |
getDestinationBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
|
default Object |
getLifecycle()
Defines when a protected resource is transitioned to cold storage and when it expires.
|
@Stability(value=Stable) @NotNull String getDestinationBackupVaultArn()
For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
@Stability(value=Stable) @Nullable default Object getLifecycle()
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.
@Stability(value=Stable) static CfnBackupPlan.CopyActionResourceTypeProperty.Builder builder()
Copyright © 2022. All rights reserved.