@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.265Z") @Stability(value=Stable) public interface MetricWidgetProps extends software.amazon.jsii.JsiiSerializable
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.*;
MetricWidgetProps metricWidgetProps = MetricWidgetProps.builder()
.height(123)
.region("region")
.title("title")
.width(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MetricWidgetProps.Builder
A builder for
MetricWidgetProps |
static class |
MetricWidgetProps.Jsii$Proxy
An implementation for
MetricWidgetProps |
| Modifier and Type | Method and Description |
|---|---|
static MetricWidgetProps.Builder |
builder() |
default Number |
getHeight()
Height of the widget.
|
default String |
getRegion()
The region the metrics of this graph should be taken from.
|
default String |
getTitle()
Title for the graph.
|
default Number |
getWidth()
Width of the widget, in a grid of 24 units wide.
|
@Stability(value=Stable) @Nullable default Number getHeight()
Default: - 6 for Alarm and Graph widgets. 3 for single value widgets where most recent value of a metric is displayed.
@Stability(value=Stable) @Nullable default String getRegion()
Default: - Current region
@Stability(value=Stable) @Nullable default String getTitle()
Default: - None
@Stability(value=Stable) @Nullable default Number getWidth()
Default: 6
@Stability(value=Stable) static MetricWidgetProps.Builder builder()
MetricWidgetProps.Builder of MetricWidgetPropsCopyright © 2022. All rights reserved.