# ConditionParameterProperty

Struct · External

Includes information about tags you define to assign tagged resources to a backup plan.

Include the prefix `aws:ResourceTag` in your tags. For example, `"aws:ResourceTag/TagKey1": "Value1"` .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// 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 conditionParameterProperty: backup.CfnBackupSelection.ConditionParameterProperty = {
  conditionKey: 'conditionKey',
  conditionValue: 'conditionValue',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_backup as backup

condition_parameter_property = backup.CfnBackupSelection.ConditionParameterProperty(
    condition_key="conditionKey",
    condition_value="conditionValue"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.backup.*;

ConditionParameterProperty conditionParameterProperty = ConditionParameterProperty.builder()
        .conditionKey("conditionKey")
        .conditionValue("conditionValue")
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 conditionParameterProperty = new ConditionParameterProperty {
    ConditionKey = "conditionKey",
    ConditionValue = "conditionValue"
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

conditionParameterProperty := &ConditionParameterProperty{
	ConditionKey: jsii.String("conditionKey"),
	ConditionValue: jsii.String("conditionValue"),
}
```

## Properties

- `conditionKey`: string — The key in a key-value pair.

  For example, in the tag `Department: Accounting` , `Department` is the key.

- `conditionValue`: string — The value in a key-value pair.

  For example, in the tag `Department: Accounting` , `Accounting` is the value.
