Skip to content
v2.278.0

DashboardReference Struct ​

A reference to a Dashboard resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

dashboardArnstringdashboard_arnstrdashboardArnStringDashboardArnstringDashboardArn*string required #
The DashboardArn of the Dashboard resource.