io.github.cdklabs.cdkmonitoringconstructs.DashboardWithBitmapCopy Maven / Gradle / Ivy
package io.github.cdklabs.cdkmonitoringconstructs;
/**
* (experimental) Composite dashboard which keeps a normal dashboard with its bitmap copy.
*
* The bitmap copy name will be derived from the primary dashboard name, if specified.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-24T17:32:51.890Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdkmonitoringconstructs.$Module.class, fqn = "cdk-monitoring-constructs.DashboardWithBitmapCopy")
public class DashboardWithBitmapCopy extends software.amazon.awscdk.services.cloudwatch.Dashboard {
protected DashboardWithBitmapCopy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected DashboardWithBitmapCopy(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public DashboardWithBitmapCopy(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.DashboardProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (experimental) Add a widget to the dashboard.
*
* 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.
*
* @param widgets This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public void addWidgets(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.IWidget... widgets) {
software.amazon.jsii.Kernel.call(this, "addWidgets", software.amazon.jsii.NativeType.VOID, java.util.Arrays.