Show / Hide Table of Contents

Class ConcreteWidget

A real CloudWatch widget that has its own fixed size and remembers its position.

Inheritance
object
ConcreteWidget
AlarmStatusWidget
AlarmWidget
CustomWidget
GaugeWidget
GraphWidget
LogQueryWidget
SingleValueWidget
TableWidget
TextWidget
Implements
IWidget
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class ConcreteWidget : DeputyBase, IWidget
Syntax (vb)
Public MustInherit Class ConcreteWidget Inherits DeputyBase Implements IWidget
Remarks

This is in contrast to other widgets which exist for layout purposes.

Synopsis

Constructors

ConcreteWidget(double, double)

A real CloudWatch widget that has its own fixed size and remembers its position.

Properties

Height

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

Warnings

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.

X

A real CloudWatch widget that has its own fixed size and remembers its position.

Y

A real CloudWatch widget that has its own fixed size and remembers its position.

Methods

CopyMetricWarnings(params IMetric[])

Copy the warnings from the given metric.

Position(double, double)

Place the widget at a given position.

ToJson()

Return the widget JSON for use in the dashboard.

Constructors

ConcreteWidget(double, double)

A real CloudWatch widget that has its own fixed size and remembers its position.

protected ConcreteWidget(double width, double height)
Parameters
width double

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

height double

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

Remarks

This is in contrast to other widgets which exist for layout purposes.

Properties

Height

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

public virtual double Height { get; }
Property Value

double

Remarks

This is in contrast to other widgets which exist for layout purposes.

Warnings

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

public virtual string[]? Warnings { get; }
Property Value

string[]

Remarks

This is in contrast to other widgets which exist for layout purposes.

WarningsV2

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

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

IDictionary<string, string>

Remarks

This is in contrast to other widgets which exist for layout purposes.

Width

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

public virtual double Width { get; }
Property Value

double

Remarks

This is in contrast to other widgets which exist for layout purposes.

X

A real CloudWatch widget that has its own fixed size and remembers its position.

protected virtual double? X { get; set; }
Property Value

double?

Remarks

This is in contrast to other widgets which exist for layout purposes.

Y

A real CloudWatch widget that has its own fixed size and remembers its position.

protected virtual double? Y { get; set; }
Property Value

double?

Remarks

This is in contrast to other widgets which exist for layout purposes.

Methods

CopyMetricWarnings(params IMetric[])

Copy the warnings from the given metric.

protected virtual void CopyMetricWarnings(params IMetric[] ms)
Parameters
ms IMetric[]
Remarks

This is in contrast to other widgets which exist for layout purposes.

Position(double, double)

Place the widget at a given position.

public virtual void Position(double x, double y)
Parameters
x double
y double
Remarks

This is in contrast to other widgets which exist for layout purposes.

ToJson()

Return the widget JSON for use in the dashboard.

public abstract object[] ToJson()
Returns

object[]

Remarks

This is in contrast to other widgets which exist for layout purposes.

Implements

IWidget
Back to top Generated by DocFX