Show / Hide Table of Contents

Class MetricWidgetProps

Basic properties for widgets that display metrics.

Inheritance
System.Object
MetricWidgetProps
Implements
IMetricWidgetProps
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class MetricWidgetProps : Object, IMetricWidgetProps
Syntax (vb)
Public Class MetricWidgetProps
    Inherits Object
    Implements 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;

MetricWidgetProps metricWidgetProps = new MetricWidgetProps {
    Height = 123,
    Region = "region",
    Title = "title",
    Width = 123
};

Synopsis

Constructors

MetricWidgetProps()

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.

Constructors

MetricWidgetProps()

public MetricWidgetProps()

Properties

Height

Height of the widget.

public Nullable<double> Height { get; set; }
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.

public string Region { get; set; }
Property Value

System.String

Remarks

Default: - Current region

Title

Title for the graph.

public string Title { get; set; }
Property Value

System.String

Remarks

Default: - None

Width

Width of the widget, in a grid of 24 units wide.

public Nullable<double> Width { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Default: 6

Implements

IMetricWidgetProps
Back to top Generated by DocFX