Class CfnRestoreTestingSelectionPropsMixin
This request can be sent after CreateRestoreTestingPlan request returns successfully.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRestoreTestingSelectionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnRestoreTestingSelectionPropsMixin Inherits Mixin Implements IMixin
Remarks
This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
CloudformationResource: AWS::Backup::RestoreTestingSelection
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins;
var cfnRestoreTestingSelectionPropsMixin = new CfnRestoreTestingSelectionPropsMixin(new CfnRestoreTestingSelectionMixinProps {
IamRoleArn = "iamRoleArn",
ProtectedResourceArns = new [] { "protectedResourceArns" },
ProtectedResourceConditions = new ProtectedResourceConditionsProperty {
StringEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} },
StringNotEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
ProtectedResourceType = "protectedResourceType",
RestoreMetadataOverrides = new Dictionary<string, string> {
{ "restoreMetadataOverridesKey", "restoreMetadataOverrides" }
},
RestoreTestingPlanName = "restoreTestingPlanName",
RestoreTestingSelectionName = "restoreTestingSelectionName",
ValidationWindowHours = 123
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnRestoreTestingSelectionPropsMixin(ICfnRestoreTestingSelectionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | This request can be sent after CreateRestoreTestingPlan request returns successfully. |
| Props | This request can be sent after CreateRestoreTestingPlan request returns successfully. |
| Strategy | This request can be sent after CreateRestoreTestingPlan request returns successfully. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnRestoreTestingSelectionPropsMixin(ICfnRestoreTestingSelectionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Backup::RestoreTestingSelection.
public CfnRestoreTestingSelectionPropsMixin(ICfnRestoreTestingSelectionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnRestoreTestingSelectionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
CloudformationResource: AWS::Backup::RestoreTestingSelection
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
This request can be sent after CreateRestoreTestingPlan request returns successfully.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
CloudformationResource: AWS::Backup::RestoreTestingSelection
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins;
var cfnRestoreTestingSelectionPropsMixin = new CfnRestoreTestingSelectionPropsMixin(new CfnRestoreTestingSelectionMixinProps {
IamRoleArn = "iamRoleArn",
ProtectedResourceArns = new [] { "protectedResourceArns" },
ProtectedResourceConditions = new ProtectedResourceConditionsProperty {
StringEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} },
StringNotEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
ProtectedResourceType = "protectedResourceType",
RestoreMetadataOverrides = new Dictionary<string, string> {
{ "restoreMetadataOverridesKey", "restoreMetadataOverrides" }
},
RestoreTestingPlanName = "restoreTestingPlanName",
RestoreTestingSelectionName = "restoreTestingSelectionName",
ValidationWindowHours = 123
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
This request can be sent after CreateRestoreTestingPlan request returns successfully.
protected virtual ICfnRestoreTestingSelectionMixinProps Props { get; }
Property Value
ICfnRestoreTestingSelectionMixinProps
Remarks
This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
CloudformationResource: AWS::Backup::RestoreTestingSelection
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins;
var cfnRestoreTestingSelectionPropsMixin = new CfnRestoreTestingSelectionPropsMixin(new CfnRestoreTestingSelectionMixinProps {
IamRoleArn = "iamRoleArn",
ProtectedResourceArns = new [] { "protectedResourceArns" },
ProtectedResourceConditions = new ProtectedResourceConditionsProperty {
StringEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} },
StringNotEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
ProtectedResourceType = "protectedResourceType",
RestoreMetadataOverrides = new Dictionary<string, string> {
{ "restoreMetadataOverridesKey", "restoreMetadataOverrides" }
},
RestoreTestingPlanName = "restoreTestingPlanName",
RestoreTestingSelectionName = "restoreTestingSelectionName",
ValidationWindowHours = 123
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
This request can be sent after CreateRestoreTestingPlan request returns successfully.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
CloudformationResource: AWS::Backup::RestoreTestingSelection
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins;
var cfnRestoreTestingSelectionPropsMixin = new CfnRestoreTestingSelectionPropsMixin(new CfnRestoreTestingSelectionMixinProps {
IamRoleArn = "iamRoleArn",
ProtectedResourceArns = new [] { "protectedResourceArns" },
ProtectedResourceConditions = new ProtectedResourceConditionsProperty {
StringEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} },
StringNotEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
ProtectedResourceType = "protectedResourceType",
RestoreMetadataOverrides = new Dictionary<string, string> {
{ "restoreMetadataOverridesKey", "restoreMetadataOverrides" }
},
RestoreTestingPlanName = "restoreTestingPlanName",
RestoreTestingSelectionName = "restoreTestingSelectionName",
ValidationWindowHours = 123
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
CloudformationResource: AWS::Backup::RestoreTestingSelection
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
This is the second part of creating a resource testing plan, and it must be completed sequentially.
This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
CloudformationResource: AWS::Backup::RestoreTestingSelection
Mixin: true
ExampleMetadata: fixture=_generated