Class CfnRestoreTestingPlan
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.backup.CfnRestoreTestingPlan
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:53.831Z")
@Stability(Stable)
public class CfnRestoreTestingPlan
extends CfnResource
implements IInspectable, ITaggableV2
Creates a restore testing plan.
The first of two steps to create a restore testing plan. After this request is successful, finish the procedure using CreateRestoreTestingSelection.
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.*; CfnRestoreTestingPlan cfnRestoreTestingPlan = CfnRestoreTestingPlan.Builder.create(this, "MyCfnRestoreTestingPlan") .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") .scheduleStatus("scheduleStatus") .startWindowHours(123) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnRestoreTestingPlan
.static interface
RecoveryPointSelection
has five parameters (three required and two optional).Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnRestoreTestingPlan
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnRestoreTestingPlan
(software.amazon.jsii.JsiiObjectRef objRef) CfnRestoreTestingPlan
(software.constructs.Construct scope, String id, CfnRestoreTestingPlanProps props) -
Method Summary
Modifier and TypeMethodDescriptionAn Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.Tag Manager which manages the tags for this resource.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.Optional.Defaults to 24 hours.getTags()
Optional tags to include.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The specified criteria to assign a set of resources, such as recovery point types or backup vaults.void
The specified criteria to assign a set of resources, such as recovery point types or backup vaults.void
setRestoreTestingPlanName
(String value) The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.void
setScheduleExpression
(String value) A CRON expression in specified timezone when a restore testing plan is executed.void
Optional.void
setScheduleStatus
(String value) void
setStartWindowHours
(Number value) Defaults to 24 hours.void
Optional tags to include.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRestoreTestingPlan
protected CfnRestoreTestingPlan(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRestoreTestingPlan
protected CfnRestoreTestingPlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRestoreTestingPlan
@Stability(Stable) public CfnRestoreTestingPlan(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRestoreTestingPlanProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrRestoreTestingPlanArn
An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getRecoveryPointSelection
The specified criteria to assign a set of resources, such as recovery point types or backup vaults. -
setRecoveryPointSelection
The specified criteria to assign a set of resources, such as recovery point types or backup vaults. -
setRecoveryPointSelection
@Stability(Stable) public void setRecoveryPointSelection(@NotNull CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty value) The specified criteria to assign a set of resources, such as recovery point types or backup vaults. -
getRestoreTestingPlanName
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. -
setRestoreTestingPlanName
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. -
getScheduleExpression
A CRON expression in specified timezone when a restore testing plan is executed. -
setScheduleExpression
A CRON expression in specified timezone when a restore testing plan is executed. -
getScheduleExpressionTimezone
Optional. -
setScheduleExpressionTimezone
Optional. -
getScheduleStatus
-
setScheduleStatus
-
getStartWindowHours
Defaults to 24 hours. -
setStartWindowHours
Defaults to 24 hours. -
getTags
Optional tags to include. -
setTags
Optional tags to include.
-