Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
f
full-dress-10026
05/17/2020, 9:51 PM
Does anyone know if it's possible to create a
awsx.cloudwatch.SingleNumberMetricWidget
with the period set to the duration of the cloudwatch dashboard window you're looking at? Without that, statistics seem a bit silly on the dashboard.
Looking for this, essentially
https://stackoverflow.com/questions/56090496/what-is-the-equivalent-of-latest-value-and-time-range-value-when-creating-a
Using that prop does work. It is not on the MetricWidgetArgs though:
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/awsx/cloudwatch/#MetricWidgetArgs
Created an issue on this:
https://github.com/pulumi/pulumi-awsx/issues/537
. Curious if there are any workarounds.
2 Views
Post