Show / Hide Table of Contents

Class SingleValueWidget

A dashboard widget that displays the most recent value for every metric.

Inheritance
System.Object
ConcreteWidget
SingleValueWidget
Implements
IWidget
Inherited Members
ConcreteWidget.CopyMetricWarnings(IMetric[])
ConcreteWidget.Position(Double, Double)
ConcreteWidget.Height
ConcreteWidget.Width
ConcreteWidget.Warnings
ConcreteWidget.X
ConcreteWidget.Y
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class SingleValueWidget : ConcreteWidget, IWidget
Syntax (vb)
Public Class SingleValueWidget
    Inherits ConcreteWidget
    Implements IWidget
Remarks

ExampleMetadata: infused

Examples
Dashboard dashboard;
Metric visitorCount;
Metric purchaseCount;


dashboard.AddWidgets(new SingleValueWidget(new SingleValueWidgetProps {
    Metrics = new [] { visitorCount, purchaseCount }
}));

Synopsis

Constructors

SingleValueWidget(ISingleValueWidgetProps)
SingleValueWidget(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

SingleValueWidget(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Methods

ToJson()

Return the widget JSON for use in the dashboard.

Constructors

SingleValueWidget(ISingleValueWidgetProps)

public SingleValueWidget(ISingleValueWidgetProps props)
Parameters
props ISingleValueWidgetProps

SingleValueWidget(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected SingleValueWidget(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

SingleValueWidget(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected SingleValueWidget(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Methods

ToJson()

Return the widget JSON for use in the dashboard.

public override object[] ToJson()
Returns

System.Object[]

Overrides
ConcreteWidget.ToJson()

Implements

IWidget
Back to top Generated by DocFX