TextWidgetBackground

class aws_cdk.aws_cloudwatch.TextWidgetBackground(value)

Bases: Enum

Background types available.

ExampleMetadata:

infused

Example:

# dashboard: cloudwatch.Dashboard


dashboard.add_widgets(cloudwatch.TextWidget(
    markdown="# Key Performance Indicators",
    background=cloudwatch.TextWidgetBackground.TRANSPARENT
))

Attributes

SOLID

Solid background.

TRANSPARENT

Transparent background.