Interface CfnRestoreTestingPlanProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRestoreTestingPlanProps.Jsii$Proxy
CfnRestoreTestingPlan.
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.*;
CfnRestoreTestingPlanProps cfnRestoreTestingPlanProps = CfnRestoreTestingPlanProps.builder()
.recoveryPointSelection(RestoreTestingRecoveryPointSelectionProperty.builder()
.algorithm("algorithm")
.includeVaults(List.of("includeVaults"))
.recoveryPointTypes(List.of("recoveryPointTypes"))
// the properties below are optional
.excludeVaults(List.of("excludeVaults"))
.selectionWindowDays(123)
.build())
.restoreTestingPlanName("restoreTestingPlanName")
.scheduleExpression("scheduleExpression")
// the properties below are optional
.scheduleExpressionTimezone("scheduleExpressionTimezone")
.startWindowHours(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRestoreTestingPlanPropsstatic final classAn implementation forCfnRestoreTestingPlanProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The specified criteria to assign a set of resources, such as recovery point types or backup vaults.The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.A CRON expression in specified timezone when a restore testing plan is executed.default StringOptional.default NumberDefaults to 24 hours.getTags()Optional tags to include.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRecoveryPointSelection
The specified criteria to assign a set of resources, such as recovery point types or backup vaults.Returns union: either
IResolvableorCfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty- See Also:
-
getRestoreTestingPlanName
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
- See Also:
-
getScheduleExpression
A CRON expression in specified timezone when a restore testing plan is executed.When no CRON expression is provided, AWS Backup will use the default expression
cron(0 5 ? * * *).- See Also:
-
getScheduleExpressionTimezone
Optional.This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- See Also:
-
getStartWindowHours
Defaults to 24 hours.A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
- See Also:
-
getTags
Optional tags to include.A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters:
+ - = . _ : /.- See Also:
-
builder
- Returns:
- a
CfnRestoreTestingPlanProps.BuilderofCfnRestoreTestingPlanProps
-