Class TableWidget
A dashboard widget that displays metrics.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TableWidget : ConcreteWidget, IWidget
Syntax (vb)
Public Class TableWidget
Inherits ConcreteWidget
Implements IWidget
Remarks
ExampleMetadata: infused
Examples
Dashboard dashboard;
dashboard.AddWidgets(new TableWidget(new TableWidgetProps {
// ...
Layout = TableLayout.VERTICAL
}));
Synopsis
Constructors
TableWidget(ITableWidgetProps) | |
TableWidget(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
TableWidget(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
AddMetric(IMetric) | Add another metric. |
ToJson() | Return the widget JSON for use in the dashboard. |
Constructors
TableWidget(ITableWidgetProps)
TableWidget(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected TableWidget(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
TableWidget(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected TableWidget(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
AddMetric(IMetric)
Add another metric.
public virtual void AddMetric(IMetric metric)
Parameters
- metric IMetric
the metric to add.
ToJson()
Return the widget JSON for use in the dashboard.
public override object[] ToJson()
Returns
System.Object[]