# DictionaryReference

A reference to a Dictionary resource.

- Source: Generated at build time
- Type last changed: v2.260.0 · 16 Jun 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elementalinference as interfaces_elementalinference } from 'aws-cdk-lib/interfaces';
const dictionaryReference: interfaces_elementalinference.DictionaryReference = {
  dictionaryArn: 'dictionaryArn',
  dictionaryId: 'dictionaryId',
};
```

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_elementalinference as interfaces_elementalinference

dictionary_reference = interfaces_elementalinference.DictionaryReference(
    dictionary_arn="dictionaryArn",
    dictionary_id="dictionaryId"
)
```

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

DictionaryReference dictionaryReference = DictionaryReference.builder()
        .dictionaryArn("dictionaryArn")
        .dictionaryId("dictionaryId")
        .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.ElementalInference;

var dictionaryReference = new DictionaryReference {
    DictionaryArn = "dictionaryArn",
    DictionaryId = "dictionaryId"
};
```

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"

dictionaryReference := &DictionaryReference{
	DictionaryArn: jsii.String("dictionaryArn"),
	DictionaryId: jsii.String("dictionaryId"),
}
```

## Properties

- `dictionaryArn`: string (required) — The ARN of the Dictionary resource.

- `dictionaryId`: string (required) — The Id of the Dictionary resource.
