Class ConcreteWidget
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.ConcreteWidget
- All Implemented Interfaces:
IWidget
,software.amazon.jsii.JsiiSerializable
- Direct Known Subclasses:
AlarmStatusWidget
,AlarmWidget
,CustomWidget
,GaugeWidget
,GraphWidget
,LogQueryWidget
,SingleValueWidget
,TableWidget
,TextWidget
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-05-15T23:28:59.515Z")
@Stability(Stable)
public abstract class ConcreteWidget
extends software.amazon.jsii.JsiiObject
implements IWidget
A real CloudWatch widget that has its own fixed size and remembers its position.
This is in contrast to other widgets which exist for layout purposes.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.IWidget
IWidget.Jsii$Default
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConcreteWidget
(Number width, Number height) protected
ConcreteWidget
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ConcreteWidget
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
copyMetricWarnings
(IMetric... ms) Copy the warnings from the given metric.The amount of vertical grid units the widget will take up.Any warnings that are produced as a result of putting together this widget.Any warnings that are produced as a result of putting together this widget.getWidth()
The amount of horizontal grid units the widget will take up.protected Number
getX()
protected Number
getY()
void
Place the widget at a given position.protected void
protected void
toJson()
Return the widget JSON for use in the dashboard.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ConcreteWidget
protected ConcreteWidget(software.amazon.jsii.JsiiObjectRef objRef) -
ConcreteWidget
protected ConcreteWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ConcreteWidget
-
-
Method Details
-
copyMetricWarnings
Copy the warnings from the given metric.- Parameters:
ms
- This parameter is required.
-
position
-
toJson
-
getHeight
-
getWidth
-
getWarnings
Any warnings that are produced as a result of putting together this widget.- Specified by:
getWarnings
in interfaceIWidget
-
getWarningsV2
Any warnings that are produced as a result of putting together this widget.- Specified by:
getWarningsV2
in interfaceIWidget
-
getX
-
setX
-
getY
-
setY
-