ConcreteWidget¶
-
class
aws_cdk.aws_cloudwatch.
ConcreteWidget
(width, height)¶ Bases:
object
A real CloudWatch widget that has its own fixed size and remembers its position.
This is in contrast to other widgets which exist for layout purposes.
- Parameters
width (
Union
[int
,float
]) –height (
Union
[int
,float
]) –
Methods
-
position
(x, y)¶ Place the widget at a given position.
- Parameters
x (
Union
[int
,float
]) –y (
Union
[int
,float
]) –
- Return type
None
-
abstract
to_json
()¶ Return the widget JSON for use in the dashboard.
- Return type
List
[Any
]
Attributes
-
height
¶ The amount of vertical grid units the widget will take up.
- Return type
Union
[int
,float
]
-
width
¶ The amount of horizontal grid units the widget will take up.
- Return type
Union
[int
,float
]