# DimensionReference

A reference to a Dimension 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_iot as interfaces_iot } from 'aws-cdk-lib/interfaces';
const dimensionReference: interfaces_iot.DimensionReference = {
  dimensionArn: 'dimensionArn',
  dimensionName: 'dimensionName',
};
```

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_iot as interfaces_iot

dimension_reference = interfaces_iot.DimensionReference(
    dimension_arn="dimensionArn",
    dimension_name="dimensionName"
)
```

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

DimensionReference dimensionReference = DimensionReference.builder()
        .dimensionArn("dimensionArn")
        .dimensionName("dimensionName")
        .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.IoT;

var dimensionReference = new DimensionReference {
    DimensionArn = "dimensionArn",
    DimensionName = "dimensionName"
};
```

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"

dimensionReference := &DimensionReference{
	DimensionArn: jsii.String("dimensionArn"),
	DimensionName: jsii.String("dimensionName"),
}
```

## Properties

- `dimensionArn`: string (required) — The ARN of the Dimension resource.

- `dimensionName`: string (required) — The Name of the Dimension resource.
