Class SingleValueWidgetProps.Jsii$Proxy
- All Implemented Interfaces:
MetricWidgetProps
,SingleValueWidgetProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
SingleValueWidgetProps
SingleValueWidgetProps
-
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.SingleValueWidgetProps
SingleValueWidgetProps.Builder, SingleValueWidgetProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(SingleValueWidgetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theSingleValueWidgetProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
getEnd()
The end of the time range to use for each widget independently from those of the dashboard.final Boolean
Whether to show as many digits as can fit, before rounding.final Number
Height of the widget.Metrics to display.final Duration
The default period for all metrics in this widget.final String
The region the metrics of this graph should be taken from.final Boolean
Whether to show the value from the entire time range.final Boolean
Whether to show a graph below the value illustrating the value for the whole time range.final String
getStart()
The start of the time range to use for each widget independently from those of the dashboard.final String
getTitle()
Title for the graph.final Number
getWidth()
Width of the widget, in a grid of 24 units wide.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theSingleValueWidgetProps.Builder
.
-
-
Method Details
-
getMetrics
Description copied from interface:SingleValueWidgetProps
Metrics to display.- Specified by:
getMetrics
in interfaceSingleValueWidgetProps
-
getEnd
Description copied from interface:SingleValueWidgetProps
The end of the time range to use for each widget independently from those of the dashboard.If you specify a value for end, you must also specify a value for start. Specify an absolute time in the ISO 8601 format. For example, 2018-12-17T06:00:00.000Z.
Default: When the dashboard loads, the end date will be the current time.
- Specified by:
getEnd
in interfaceSingleValueWidgetProps
-
getFullPrecision
Description copied from interface:SingleValueWidgetProps
Whether to show as many digits as can fit, before rounding.Default: false
- Specified by:
getFullPrecision
in interfaceSingleValueWidgetProps
-
getPeriod
Description copied from interface:SingleValueWidgetProps
The default period for all metrics in this widget.The period is the length of time represented by one data point on the graph. This default can be overridden within each metric definition.
Default: cdk.Duration.seconds(300)
- Specified by:
getPeriod
in interfaceSingleValueWidgetProps
-
getSetPeriodToTimeRange
Description copied from interface:SingleValueWidgetProps
Whether to show the value from the entire time range.Default: false
- Specified by:
getSetPeriodToTimeRange
in interfaceSingleValueWidgetProps
-
getSparkline
Description copied from interface:SingleValueWidgetProps
Whether to show a graph below the value illustrating the value for the whole time range.Cannot be used in combination with
setPeriodToTimeRange
Default: false
- Specified by:
getSparkline
in interfaceSingleValueWidgetProps
-
getStart
Description copied from interface:SingleValueWidgetProps
The start of the time range to use for each widget independently from those of the dashboard.You can specify start without specifying end to specify a relative time range that ends with the current time. In this case, the value of start must begin with -P, and you can use M, H, D, W and M as abbreviations for minutes, hours, days, weeks and months. For example, -PT8H shows the last 8 hours and -P3M shows the last three months. You can also use start along with an end field, to specify an absolute time range. When specifying an absolute time range, use the ISO 8601 format. For example, 2018-12-17T06:00:00.000Z.
Default: When the dashboard loads, the start time will be the default time range.
- Specified by:
getStart
in interfaceSingleValueWidgetProps
-
getHeight
Description copied from interface:MetricWidgetProps
Height of the widget.Default: - 6 for Alarm and Graph widgets. 3 for single value widgets where most recent value of a metric is displayed.
- Specified by:
getHeight
in interfaceMetricWidgetProps
-
getRegion
Description copied from interface:MetricWidgetProps
The region the metrics of this graph should be taken from.Default: - Current region
- Specified by:
getRegion
in interfaceMetricWidgetProps
-
getTitle
Description copied from interface:MetricWidgetProps
Title for the graph.Default: - None
- Specified by:
getTitle
in interfaceMetricWidgetProps
-
getWidth
Description copied from interface:MetricWidgetProps
Width of the widget, in a grid of 24 units wide.Default: 6
- Specified by:
getWidth
in interfaceMetricWidgetProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-