interface ConditionResourceTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins.CfnBackupSelectionPropsMixin.ConditionResourceTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbackup/mixins#CfnBackupSelectionPropsMixin_ConditionResourceTypeProperty |
Java | software.amazon.awscdk.mixins.preview.services.backup.mixins.CfnBackupSelectionPropsMixin.ConditionResourceTypeProperty |
Python | aws_cdk.mixins_preview.aws_backup.mixins.CfnBackupSelectionPropsMixin.ConditionResourceTypeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_backup » mixins » CfnBackupSelectionPropsMixin » ConditionResourceTypeProperty |
Specifies an object that contains an array of triplets made up of a condition type (such as STRINGEQUALS ), a key, and a value.
Conditions are used to filter resources in a selection that is assigned to a backup plan.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as backup_mixins } from '@aws-cdk/mixins-preview/aws-backup';
const conditionResourceTypeProperty: backup_mixins.CfnBackupSelectionPropsMixin.ConditionResourceTypeProperty = {
conditionKey: 'conditionKey',
conditionType: 'conditionType',
conditionValue: 'conditionValue',
};
Properties
| Name | Type | Description |
|---|---|---|
| condition | string | The key in a key-value pair. |
| condition | string | An operation, such as STRINGEQUALS , that is applied to a key-value pair used to filter resources in a selection. |
| condition | string | The value in a key-value pair. |
conditionKey?
Type:
string
(optional)
The key in a key-value pair.
For example, in "Department": "accounting" , "Department" is the key.
conditionType?
Type:
string
(optional)
An operation, such as STRINGEQUALS , that is applied to a key-value pair used to filter resources in a selection.
conditionValue?
Type:
string
(optional)
The value in a key-value pair.
For example, in "Department": "accounting" , "accounting" is the value.

.NET
Go
Java
Python
TypeScript