Interface IMetricWidgetProps
Basic properties for widgets that display metrics.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public interface IMetricWidgetProps
Syntax (vb)
Public Interface IMetricWidgetProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudWatch;
var metricWidgetProps = new MetricWidgetProps {
Height = 123,
Region = "region",
Title = "title",
Width = 123
};
Synopsis
Properties
Height | Height of the widget. |
Region | The region the metrics of this graph should be taken from. |
Title | Title for the graph. |
Width | Width of the widget, in a grid of 24 units wide. |
Properties
Height
Height of the widget.
virtual Nullable<double> Height { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - 6 for Alarm and Graph widgets. 3 for single value widgets where most recent value of a metric is displayed.
Region
The region the metrics of this graph should be taken from.
virtual string Region { get; }
Property Value
System.String
Remarks
Default: - Current region
Title
Title for the graph.
virtual string Title { get; }
Property Value
System.String
Remarks
Default: - None
Width
Width of the widget, in a grid of 24 units wide.
virtual Nullable<double> Width { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 6