Show / Hide Table of Contents

Interface IWidget

A single dashboard widget.

Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IWidget
Syntax (vb)
Public Interface IWidget

Synopsis

Properties

Height

The amount of vertical grid units the widget will take up.

Warnings

(deprecated) Any warnings that are produced as a result of putting together this widget.

WarningsV2

Any warnings that are produced as a result of putting together this widget.

Width

The amount of horizontal grid units the widget will take up.

Methods

Position(double, double)

Place the widget at a given position.

ToJson()

Return the widget JSON for use in the dashboard.

Properties

Height

The amount of vertical grid units the widget will take up.

double Height { get; }
Property Value

double

Warnings

(deprecated) Any warnings that are produced as a result of putting together this widget.

[Obsolete("- use warningsV2")]
string[]? Warnings { get; }
Property Value

string[]

Remarks

Stability: Deprecated

WarningsV2

Any warnings that are produced as a result of putting together this widget.

IDictionary<string, string>? WarningsV2 { get; }
Property Value

IDictionary<string, string>

Width

The amount of horizontal grid units the widget will take up.

double Width { get; }
Property Value

double

Methods

Position(double, double)

Place the widget at a given position.

void Position(double x, double y)
Parameters
x double
y double

ToJson()

Return the widget JSON for use in the dashboard.

object[] ToJson()
Returns

object[]

Back to top Generated by DocFX