# KeyValueStoreReference

A reference to a KeyValueStore resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as interfaces_cloudfront } from 'aws-cdk-lib/interfaces';
const keyValueStoreReference: interfaces_cloudfront.KeyValueStoreReference = {
  keyValueStoreArn: 'keyValueStoreArn',
  keyValueStoreName: 'keyValueStoreName',
};
```

Python:

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

key_value_store_reference = interfaces_cloudfront.KeyValueStoreReference(
    key_value_store_arn="keyValueStoreArn",
    key_value_store_name="keyValueStoreName"
)
```

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

KeyValueStoreReference keyValueStoreReference = KeyValueStoreReference.builder()
        .keyValueStoreArn("keyValueStoreArn")
        .keyValueStoreName("keyValueStoreName")
        .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.Interfaces.CloudFront;

var keyValueStoreReference = new KeyValueStoreReference {
    KeyValueStoreArn = "keyValueStoreArn",
    KeyValueStoreName = "keyValueStoreName"
};
```

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"

keyValueStoreReference := &KeyValueStoreReference{
	KeyValueStoreArn: jsii.String("keyValueStoreArn"),
	KeyValueStoreName: jsii.String("keyValueStoreName"),
}
```

## Properties

- `keyValueStoreArn`: string (required) — The ARN of the KeyValueStore resource.

- `keyValueStoreName`: string (required) — The Name of the KeyValueStore resource.
