@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.255Z") @Stability(value=Stable) public class Dashboard extends Resource
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudwatch.*;
IWidget widget;
Dashboard dashboard = Dashboard.Builder.create(this, "MyDashboard")
.dashboardName("dashboardName")
.end("end")
.periodOverride(PeriodOverride.AUTO)
.start("start")
.widgets(List.of(List.of(widget)))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
Dashboard.Builder
A fluent builder for
Dashboard. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
Dashboard(software.constructs.Construct scope,
String id) |
|
Dashboard(software.constructs.Construct scope,
String id,
DashboardProps props) |
protected |
Dashboard(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Dashboard(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWidgets(IWidget... widgets)
Add a widget to the dashboard.
|
String |
getDashboardArn()
ARN of this dashboard.
|
String |
getDashboardName()
The name of this dashboard.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Dashboard(software.amazon.jsii.JsiiObjectRef objRef)
protected Dashboard(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Dashboard(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
DashboardProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
public Dashboard(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable)
public void addWidgets(@NotNull
IWidget... widgets)
Widgets given in multiple calls to add() will be laid out stacked on top of each other.
Multiple widgets added in the same call to add() will be laid out next to each other.
widgets - This parameter is required.@Stability(value=Stable) @NotNull public String getDashboardArn()
@Stability(value=Stable) @NotNull public String getDashboardName()
Copyright © 2022. All rights reserved.