# KeyValueProperty

Pair of two related strings.

Allowed characters are letters, white space, and numbers that can be represented in UTF-8 and the following characters: `+ - = . _ : /`

- Source: Generated at build time
- Type last changed: v2.110.0 · 17 Nov 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 keyValueProperty: backup.CfnRestoreTestingSelection.KeyValueProperty = {
  key: 'key',
  value: 'value',
};
```

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

key_value_property = backup.CfnRestoreTestingSelection.KeyValueProperty(
    key="key",
    value="value"
)
```

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.*;

KeyValueProperty keyValueProperty = KeyValueProperty.builder()
        .key("key")
        .value("value")
        .build();
```

C# / .NET:

```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 keyValueProperty = new KeyValueProperty {
    Key = "key",
    Value = "value"
};
```

Golang:

```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"

keyValueProperty := &KeyValueProperty{
	Key: jsii.String("key"),
	Value: jsii.String("value"),
}
```

## Properties

- `key`: string (required) — The tag key.

- `value`: string (required) — The tag value.
