# DashboardReference

A reference to a Dashboard 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_cloudtrail as interfaces_cloudtrail } from 'aws-cdk-lib/interfaces';
const dashboardReference: interfaces_cloudtrail.DashboardReference = {
  dashboardArn: 'dashboardArn',
};
```

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_cloudtrail as interfaces_cloudtrail

dashboard_reference = interfaces_cloudtrail.DashboardReference(
    dashboard_arn="dashboardArn"
)
```

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

DashboardReference dashboardReference = DashboardReference.builder()
        .dashboardArn("dashboardArn")
        .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.CloudTrail;

var dashboardReference = new DashboardReference {
    DashboardArn = "dashboardArn"
};
```

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"

dashboardReference := &DashboardReference{
	DashboardArn: jsii.String("dashboardArn"),
}
```

## Properties

- `dashboardArn`: string (required) — The DashboardArn of the Dashboard resource.
