Class CfnRestoreTestingPlan
Creates a restore testing plan.
Inherited Members
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRestoreTestingPlan : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnRestoreTestingPlan
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
The first of two steps to create a restore testing plan. After this request is successful, finish the procedure using CreateRestoreTestingSelection.
CloudformationResource: AWS::Backup::RestoreTestingPlan
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Backup;
var cfnRestoreTestingPlan = new CfnRestoreTestingPlan(this, "MyCfnRestoreTestingPlan", new CfnRestoreTestingPlanProps {
RecoveryPointSelection = new RestoreTestingRecoveryPointSelectionProperty {
Algorithm = "algorithm",
IncludeVaults = new [] { "includeVaults" },
RecoveryPointTypes = new [] { "recoveryPointTypes" },
// the properties below are optional
ExcludeVaults = new [] { "excludeVaults" },
SelectionWindowDays = 123
},
RestoreTestingPlanName = "restoreTestingPlanName",
ScheduleExpression = "scheduleExpression",
// the properties below are optional
ScheduleExpressionTimezone = "scheduleExpressionTimezone",
StartWindowHours = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnRestoreTestingPlan(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnRestoreTestingPlan(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnRestoreTestingPlan(Construct, String, ICfnRestoreTestingPlanProps) |
Properties
AttrRestoreTestingPlanArn | An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
RecoveryPointSelection | The specified criteria to assign a set of resources, such as recovery point types or backup vaults. |
RestoreTestingPlanName | The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. |
ScheduleExpression | A CRON expression in specified timezone when a restore testing plan is executed. |
ScheduleExpressionTimezone | Optional. |
StartWindowHours | Defaults to 24 hours. |
Tags | Optional tags to include. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRestoreTestingPlan(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRestoreTestingPlan(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnRestoreTestingPlan(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRestoreTestingPlan(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnRestoreTestingPlan(Construct, String, ICfnRestoreTestingPlanProps)
public CfnRestoreTestingPlan(Construct scope, string id, ICfnRestoreTestingPlanProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnRestoreTestingPlanProps
Resource properties.
Properties
AttrRestoreTestingPlanArn
An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
public virtual string AttrRestoreTestingPlanArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: RestoreTestingPlanArn
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
RecoveryPointSelection
The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
public virtual object RecoveryPointSelection { get; set; }
Property Value
System.Object
RestoreTestingPlanName
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
public virtual string RestoreTestingPlanName { get; set; }
Property Value
System.String
ScheduleExpression
A CRON expression in specified timezone when a restore testing plan is executed.
public virtual string ScheduleExpression { get; set; }
Property Value
System.String
ScheduleExpressionTimezone
Optional.
public virtual string ScheduleExpressionTimezone { get; set; }
Property Value
System.String
StartWindowHours
Defaults to 24 hours.
public virtual Nullable<double> StartWindowHours { get; set; }
Property Value
System.Nullable<System.Double>
Tags
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>