Interface CfnBackupPlan.BackupRuleResourceTypeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBackupPlan.BackupRuleResourceTypeProperty.Jsii$Proxy
Enclosing class:
CfnBackupPlan

@Stability(Stable) public static interface CfnBackupPlan.BackupRuleResourceTypeProperty extends software.amazon.jsii.JsiiSerializable
Specifies an object containing properties used to schedule a task to back up a selection of resources.

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.*;
 BackupRuleResourceTypeProperty backupRuleResourceTypeProperty = 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)
                         .optInToArchiveForSupportedResources(false)
                         .build())
                 .build()))
         .enableContinuousBackup(false)
         .lifecycle(LifecycleResourceTypeProperty.builder()
                 .deleteAfterDays(123)
                 .moveToColdStorageAfterDays(123)
                 .optInToArchiveForSupportedResources(false)
                 .build())
         .recoveryPointTags(Map.of(
                 "recoveryPointTagsKey", "recoveryPointTags"))
         .scheduleExpression("scheduleExpression")
         .scheduleExpressionTimezone("scheduleExpressionTimezone")
         .startWindowMinutes(123)
         .build();
 

See Also: