aws-cdk-lib.aws_backup.CfnBackupSelection.ConditionResourceTypeProperty

interface ConditionResourceTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.Backup.CfnBackupSelection.ConditionResourceTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnBackupSelection_ConditionResourceTypeProperty
Javasoftware.amazon.awscdk.services.backup.CfnBackupSelection.ConditionResourceTypeProperty
Pythonaws_cdk.aws_backup.CfnBackupSelection.ConditionResourceTypeProperty
TypeScript aws-cdk-lib » aws_backup » CfnBackupSelection » 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 { aws_backup as backup } from 'aws-cdk-lib';
const conditionResourceTypeProperty: backup.CfnBackupSelection.ConditionResourceTypeProperty = {
  conditionKey: 'conditionKey',
  conditionType: 'conditionType',
  conditionValue: 'conditionValue',
};

Properties

NameTypeDescription
conditionKeystringThe key in a key-value pair.
conditionTypestringAn operation, such as STRINGEQUALS , that is applied to a key-value pair used to filter resources in a selection.
conditionValuestringThe value in a key-value pair.

conditionKey

Type: string

The key in a key-value pair.

For example, in "Department": "accounting" , "Department" is the key.


conditionType

Type: string

An operation, such as STRINGEQUALS , that is applied to a key-value pair used to filter resources in a selection.


conditionValue

Type: string

The value in a key-value pair.

For example, in "Department": "accounting" , "accounting" is the value.