Skip to content

cloudwatch: allow configuring period on SingleValueWidget #26259

@humanzz

Description

@humanzz

Describe the feature

SingleValue widget supports setting a period parameter as can be tested/verified via CloudWatch console.

The SingleValueWidget class and its props, do not expose a period prop.

Use Case

Being able to customize the period on SingleValueWidget

Proposed Solution

  • SingleValueWidgetProps to expose a period prop
  • SingleValueWidget.toJson to render the period correctly

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.85.0

Environment details (OS name and version, etc.)

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-cloudwatchRelated to Amazon CloudWatcheffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions