interface ProtectedResourceConditionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Backup.CfnRestoreTestingSelection.ProtectedResourceConditionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnRestoreTestingSelection_ProtectedResourceConditionsProperty |
Java | software.amazon.awscdk.services.backup.CfnRestoreTestingSelection.ProtectedResourceConditionsProperty |
Python | aws_cdk.aws_backup.CfnRestoreTestingSelection.ProtectedResourceConditionsProperty |
TypeScript | aws-cdk-lib » aws_backup » CfnRestoreTestingSelection » ProtectedResourceConditionsProperty |
The conditions that you define for resources in your restore testing plan using tags.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
const protectedResourceConditionsProperty: backup.CfnRestoreTestingSelection.ProtectedResourceConditionsProperty = {
stringEquals: [{
key: 'key',
value: 'value',
}],
stringNotEquals: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| string | IResolvable | (IResolvable | Key)[] | Filters the values of your tagged resources for only those resources that you tagged with the same value. |
| string | IResolvable | (IResolvable | Key)[] | Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. |
stringEquals?
Type:
IResolvable | (IResolvable | Key)[]
(optional)
Filters the values of your tagged resources for only those resources that you tagged with the same value.
Also called "exact matching."
stringNotEquals?
Type:
IResolvable | (IResolvable | Key)[]
(optional)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.
Also called "negated matching."

.NET
Go
Java
Python
TypeScript