@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.856Z") @Stability(value=Stable) public interface CfnBackupPlanProps 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.*;
Object backupOptions;
CfnBackupPlanProps cfnBackupPlanProps = CfnBackupPlanProps.builder()
.backupPlan(BackupPlanResourceTypeProperty.builder()
.backupPlanName("backupPlanName")
.backupPlanRule(List.of(BackupRuleResourceTypeProperty.builder()
.ruleName("ruleName")
.targetBackupVault("targetBackupVault")
// the properties below are optional
.completionWindowMinutes(123)
.copyActions(List.of(CopyActionResourceTypeProperty.builder()
.destinationBackupVaultArn("destinationBackupVaultArn")
// the properties below are optional
.lifecycle(LifecycleResourceTypeProperty.builder()
.deleteAfterDays(123)
.moveToColdStorageAfterDays(123)
.build())
.build()))
.enableContinuousBackup(false)
.lifecycle(LifecycleResourceTypeProperty.builder()
.deleteAfterDays(123)
.moveToColdStorageAfterDays(123)
.build())
.recoveryPointTags(Map.of(
"recoveryPointTagsKey", "recoveryPointTags"))
.scheduleExpression("scheduleExpression")
.startWindowMinutes(123)
.build()))
// the properties below are optional
.advancedBackupSettings(List.of(AdvancedBackupSettingResourceTypeProperty.builder()
.backupOptions(backupOptions)
.resourceType("resourceType")
.build()))
.build())
// the properties below are optional
.backupPlanTags(Map.of(
"backupPlanTagsKey", "backupPlanTags"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBackupPlanProps.Builder
A builder for
CfnBackupPlanProps |
static class |
CfnBackupPlanProps.Jsii$Proxy
An implementation for
CfnBackupPlanProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnBackupPlanProps.Builder |
builder() |
Object |
getBackupPlan()
Uniquely identifies the backup plan to be associated with the selection of resources.
|
default Object |
getBackupPlanTags()
To help organize your resources, you can assign your own metadata to the resources that you create.
|
@Stability(value=Stable) @NotNull Object getBackupPlan()
@Stability(value=Stable) @Nullable default Object getBackupPlanTags()
Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
@Stability(value=Stable) static CfnBackupPlanProps.Builder builder()
CfnBackupPlanProps.Builder of CfnBackupPlanPropsCopyright © 2022. All rights reserved.