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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.GraphWidgetProps
GraphWidgetProps.Builder, GraphWidgetProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(GraphWidgetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theGraphWidgetProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe AWS account ID where the metrics are located.final BooleanWhether the graph should show labels on the chart.final StringgetEnd()The end of the time range to use for each widget independently from those of the dashboard.final NumberHeight of the widget.getLeft()Metrics to display on left Y axis.final List<HorizontalAnnotation> Annotations for the left Y axis.final YAxisPropsLeft Y axis.final LegendPositionPosition of the legend.final BooleanWhether the graph should show live data.final DurationThe default period for all metrics in this widget.final StringThe 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 YAxisPropsRight Y axis.final BooleanWhether to show the value from the entire time range.final BooleanWhether the graph should be shown as stacked lines.final StringgetStart()The start of the time range to use for each widget independently from those of the dashboard.final StringThe default statistic to be displayed for each metric.final StringgetTitle()Title for the graph.final List<VerticalAnnotation> Annotations for the X axis.final GraphWidgetViewgetView()Display this metric.final NumbergetWidth()Width of the widget, in a grid of 24 units wide.final inthashCode()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
-
getDisplayLabelsOnChart
Description copied from interface:GraphWidgetPropsWhether the graph should show labels on the chart.Currently only applicable for Pie charts.
Default: false
- Specified by:
getDisplayLabelsOnChartin interfaceGraphWidgetProps
-
getEnd
Description copied from interface:GraphWidgetPropsThe 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:
getEndin interfaceGraphWidgetProps
-
getLeft
Description copied from interface:GraphWidgetPropsMetrics to display on left Y axis.Default: - No metrics
- Specified by:
getLeftin interfaceGraphWidgetProps
-
getLeftAnnotations
Description copied from interface:GraphWidgetPropsAnnotations for the left Y axis.Default: - No annotations
- Specified by:
getLeftAnnotationsin interfaceGraphWidgetProps
-
getLeftYAxis
Description copied from interface:GraphWidgetPropsLeft Y axis.Default: - None
- Specified by:
getLeftYAxisin interfaceGraphWidgetProps
-
getLegendPosition
Description copied from interface:GraphWidgetPropsPosition of the legend.Default: - bottom
- Specified by:
getLegendPositionin interfaceGraphWidgetProps
-
getLiveData
Description copied from interface:GraphWidgetPropsWhether the graph should show live data.Default: false
- Specified by:
getLiveDatain interfaceGraphWidgetProps
-
getPeriod
Description copied from interface:GraphWidgetPropsThe 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:
getPeriodin interfaceGraphWidgetProps
-
getRight
Description copied from interface:GraphWidgetPropsMetrics to display on right Y axis.Default: - No metrics
- Specified by:
getRightin interfaceGraphWidgetProps
-
getRightAnnotations
Description copied from interface:GraphWidgetPropsAnnotations for the right Y axis.Default: - No annotations
- Specified by:
getRightAnnotationsin interfaceGraphWidgetProps
-
getRightYAxis
Description copied from interface:GraphWidgetPropsRight Y axis.Default: - None
- Specified by:
getRightYAxisin interfaceGraphWidgetProps
-
getSetPeriodToTimeRange
Description copied from interface:GraphWidgetPropsWhether 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:
getSetPeriodToTimeRangein interfaceGraphWidgetProps
-
getStacked
Description copied from interface:GraphWidgetPropsWhether the graph should be shown as stacked lines.Default: false
- Specified by:
getStackedin interfaceGraphWidgetProps
-
getStart
Description copied from interface:GraphWidgetPropsThe 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:
getStartin interfaceGraphWidgetProps
-
getStatistic
Description copied from interface:GraphWidgetPropsThe 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:
getStatisticin interfaceGraphWidgetProps
-
getVerticalAnnotations
Description copied from interface:GraphWidgetPropsAnnotations for the X axis.Default: - No annotations
- Specified by:
getVerticalAnnotationsin interfaceGraphWidgetProps
-
getView
Description copied from interface:GraphWidgetPropsDisplay this metric.Default: TimeSeries
- Specified by:
getViewin interfaceGraphWidgetProps
-
getAccountId
Description copied from interface:MetricWidgetPropsThe AWS account ID where the metrics are located.This enables cross-account functionality for CloudWatch dashboards. Before using this feature, ensure that proper cross-account sharing is configured between the monitoring account and source account.
For more information, see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
Default: - Current account
- Specified by:
getAccountIdin interfaceMetricWidgetProps
-
getHeight
Description copied from interface:MetricWidgetPropsHeight 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:
getHeightin interfaceMetricWidgetProps
-
getRegion
Description copied from interface:MetricWidgetPropsThe region the metrics of this graph should be taken from.Default: - Current region
- Specified by:
getRegionin interfaceMetricWidgetProps
-
getTitle
Description copied from interface:MetricWidgetPropsTitle for the graph.Default: - None
- Specified by:
getTitlein interfaceMetricWidgetProps
-
getWidth
Description copied from interface:MetricWidgetPropsWidth of the widget, in a grid of 24 units wide.Default: 6
- Specified by:
getWidthin interfaceMetricWidgetProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-