Class MetricWidgetProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.MetricWidgetProps.Jsii$Proxy
- All Implemented Interfaces:
MetricWidgetProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
MetricWidgetProps
@Stability(Stable)
@Internal
public static final class MetricWidgetProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements MetricWidgetProps
An implementation for
MetricWidgetProps-
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.MetricWidgetProps
MetricWidgetProps.Builder, MetricWidgetProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(MetricWidgetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theMetricWidgetProps.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 NumberHeight of the widget.final StringThe region the metrics of this graph should be taken from.final StringgetTitle()Title for the graph.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 theMetricWidgetProps.Builder.
-
-
Method Details
-
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()
-