Class CfnRestoreTestingSelection.ProtectedResourceConditionsProperty
The conditions that you define for resources in your restore testing plan using tags.
Inherited Members
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRestoreTestingSelection.ProtectedResourceConditionsProperty : CfnRestoreTestingSelection.IProtectedResourceConditionsProperty
Syntax (vb)
Public Class CfnRestoreTestingSelection.ProtectedResourceConditionsProperty Implements CfnRestoreTestingSelection.IProtectedResourceConditionsProperty
Remarks
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 protectedResourceConditionsProperty = new ProtectedResourceConditionsProperty {
StringEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} },
StringNotEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| ProtectedResourceConditionsProperty() | The conditions that you define for resources in your restore testing plan using tags. |
Properties
| StringEquals | Filters the values of your tagged resources for only those resources that you tagged with the same value. |
| StringNotEquals | Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. |
Constructors
ProtectedResourceConditionsProperty()
The conditions that you define for resources in your restore testing plan using tags.
public ProtectedResourceConditionsProperty()
Remarks
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 protectedResourceConditionsProperty = new ProtectedResourceConditionsProperty {
StringEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} },
StringNotEquals = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
};
Properties
StringEquals
Filters the values of your tagged resources for only those resources that you tagged with the same value.
public object? StringEquals { get; set; }
Property Value
Remarks
Also called "exact matching."
Type union: either IResolvable or (either IResolvable or CfnRestoreTestingSelection.IKeyValueProperty)[]
StringNotEquals
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.
public object? StringNotEquals { get; set; }
Property Value
Remarks
Also called "negated matching."
Type union: either IResolvable or (either IResolvable or CfnRestoreTestingSelection.IKeyValueProperty)[]