Skip to content
v2.278.0

OmniDashboardReference Struct ​

A reference to a OmniDashboard resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as interfaces_cloudwatch } from 'aws-cdk-lib/interfaces';
const omniDashboardReference: interfaces_cloudwatch.OmniDashboardReference = {
  dashboardId: 'dashboardId',
  omniDashboardArn: 'omniDashboardArn',
  spaceId: 'spaceId',
};
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_cloudwatch as interfaces_cloudwatch

omni_dashboard_reference = interfaces_cloudwatch.OmniDashboardReference(
    dashboard_id="dashboardId",
    omni_dashboard_arn="omniDashboardArn",
    space_id="spaceId"
)
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.cloudwatch.*;

OmniDashboardReference omniDashboardReference = OmniDashboardReference.builder()
        .dashboardId("dashboardId")
        .omniDashboardArn("omniDashboardArn")
        .spaceId("spaceId")
        .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.CloudWatch;

var omniDashboardReference = new OmniDashboardReference {
    DashboardId = "dashboardId",
    OmniDashboardArn = "omniDashboardArn",
    SpaceId = "spaceId"
};
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"

omniDashboardReference := &OmniDashboardReference{
	DashboardId: jsii.String("dashboardId"),
	OmniDashboardArn: jsii.String("omniDashboardArn"),
	SpaceId: jsii.String("spaceId"),
}

Properties ​

dashboardIdstringdashboard_idstrdashboardIdStringDashboardIdstringDashboardId*string required #
The DashboardId of the OmniDashboard resource.
omniDashboardArnstringomni_dashboard_arnstromniDashboardArnStringOmniDashboardArnstringOmniDashboardArn*string required #
The ARN of the OmniDashboard resource.
spaceIdstringspace_idstrspaceIdStringSpaceIdstringSpaceId*string required #
The SpaceId of the OmniDashboard resource.