Class GraphWidgetProps.Jsii$Proxy
- All Implemented Interfaces:
GraphWidgetProps
,MetricWidgetProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GraphWidgetProps
GraphWidgetProps
-
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.GraphWidgetProps
GraphWidgetProps.Builder, GraphWidgetProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(GraphWidgetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theGraphWidgetProps.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 Number
Height of the widget.getLeft()
Metrics to display on left Y axis.final List<HorizontalAnnotation>
Annotations for the left Y axis.final YAxisProps
Left Y axis.final LegendPosition
Position of the legend.final Boolean
Whether the graph should show live data.final Duration
The default period for all metrics in this widget.final String
The region the metrics of this graph should be taken from.getRight()
Metrics to display on right Y axis.final List<HorizontalAnnotation>
Annotations for the right Y axis.final YAxisProps
Right Y axis.final Boolean
Whether to show the value from the entire time range.final Boolean
Whether the graph should be shown as stacked lines.final String
The default statistic to be displayed for each metric.final String
getTitle()
Title for the graph.final GraphWidgetView
getView()
Display this metric.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 theGraphWidgetProps.Builder
.
-
-
Method Details
-
getLeft
Description copied from interface:GraphWidgetProps
Metrics to display on left Y axis.Default: - No metrics
- Specified by:
getLeft
in interfaceGraphWidgetProps
-
getLeftAnnotations
Description copied from interface:GraphWidgetProps
Annotations for the left Y axis.Default: - No annotations
- Specified by:
getLeftAnnotations
in interfaceGraphWidgetProps
-
getLeftYAxis
Description copied from interface:GraphWidgetProps
Left Y axis.Default: - None
- Specified by:
getLeftYAxis
in interfaceGraphWidgetProps
-
getLegendPosition
Description copied from interface:GraphWidgetProps
Position of the legend.Default: - bottom
- Specified by:
getLegendPosition
in interfaceGraphWidgetProps
-
getLiveData
Description copied from interface:GraphWidgetProps
Whether the graph should show live data.Default: false
- Specified by:
getLiveData
in interfaceGraphWidgetProps
-
getPeriod
Description copied from interface:GraphWidgetProps
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 interfaceGraphWidgetProps
-
getRight
Description copied from interface:GraphWidgetProps
Metrics to display on right Y axis.Default: - No metrics
- Specified by:
getRight
in interfaceGraphWidgetProps
-
getRightAnnotations
Description copied from interface:GraphWidgetProps
Annotations for the right Y axis.Default: - No annotations
- Specified by:
getRightAnnotations
in interfaceGraphWidgetProps
-
getRightYAxis
Description copied from interface:GraphWidgetProps
Right Y axis.Default: - None
- Specified by:
getRightYAxis
in interfaceGraphWidgetProps
-
getSetPeriodToTimeRange
Description copied from interface:GraphWidgetProps
Whether to show the value from the entire time range. Only applicable for Bar and Pie charts.If false, values will be from the most recent period of your chosen time range; if true, shows the value from the entire time range.
Default: false
- Specified by:
getSetPeriodToTimeRange
in interfaceGraphWidgetProps
-
getStacked
Description copied from interface:GraphWidgetProps
Whether the graph should be shown as stacked lines.Default: false
- Specified by:
getStacked
in interfaceGraphWidgetProps
-
getStatistic
Description copied from interface:GraphWidgetProps
The default statistic to be displayed for each metric.This default can be overridden within the definition of each individual metric
Default: - The statistic for each metric is used
- Specified by:
getStatistic
in interfaceGraphWidgetProps
-
getView
Description copied from interface:GraphWidgetProps
Display this metric.Default: TimeSeries
- Specified by:
getView
in interfaceGraphWidgetProps
-
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()
-