Closed
Description
Describe the feature
TextWidget supports field background with two values - solid or transparent. It will be nice, if we can set this field from CDK too.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Text-Widget-Object
Use Case
This field makes TextWidget prettier to use as header for some pack of metrics below.
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature requestThis feature might incur a breaking change
CDK version used
2.47.0
Environment details (OS name and version, etc.)
macOS 12.6 M1
Activity
peterwoodworth commentedon Nov 29, 2022
Thanks for the feature request @IamVladislav,
We should be able to support this very similarly to how we support markdown here
aws-cdk/packages/@aws-cdk/aws-cloudwatch/lib/text.ts
Line 51 in 3d30cdb
I am marking this issue as p2, which means that we are unable to work on this immediately.
We use +1s to help prioritize our work, and are happy to revaluate this issue based on community feedback. You can reach out to the cdk.dev community on Slack to solicit support for reprioritization.
Check out our contributing guide if you're interested in contributing yourself - there's a low chance the team will be able to address this soon but we'll try to review a PR 🙂
DeerajTheepshi commentedon Nov 30, 2022
@peterwoodworth , I have raised a PR for this issue. Could you please have a look at it whenever possible ?
feat(CloudWatch): Dashboard TextWidget background support (#23169)
github-actions commentedon Nov 30, 2022
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
3 remaining items