-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
@aws-cdk/aws-cloudwatchRelated to Amazon CloudWatchRelated to Amazon CloudWatchfeature-requestA feature should be added or improved.A feature should be added or improved.
Description
If you change a Metric unit in a CloudWatch Dashboard/Widget, the aws-cdk will not generate new CloudFormation resources when title is changed.
Reproduction Steps
First, deploy the dashboard with a widget and metric, then change the metric's unit and deploy again.
dashboard.addWidgets(
new GraphWidget({
title: 'A: B',
width: 12,
left: [
new Metric({
label: 'Duration',
metricName: 'Duration',
statistic: 'Average',
// unit: Unit.MILLISECONDS,
namespace: 'AWS/Lambda',
dimensions: {
FunctionName: foo.functionName
}
})
]
})
)Environment
- CLI Version : 1.14.0
- Framework Version: 1.14.0
- OS :
- Language : TypeScript
Other
This is 🐛 Bug Report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-cloudwatchRelated to Amazon CloudWatchRelated to Amazon CloudWatchfeature-requestA feature should be added or improved.A feature should be added or improved.