Skip to content

Commit

Permalink
docs(iot): fix CloudWatch Metric example (#26784)
Browse files Browse the repository at this point in the history
This example gets replicated to the CloudWatch Metrics documentation, where it is wrong.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
rix0rrr authored Aug 17, 2023
1 parent e264a2f commit ecb34bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-iot-actions-alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ import * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';
const metric = new cloudwatch.Metric({
namespace: 'MyNamespace',
metricName: 'MyMetric',
dimensions: { MyDimension: 'MyDimensionValue' },
dimensionsMap: { MyDimension: 'MyDimensionValue' },
});
const alarm = new cloudwatch.Alarm(this, 'MyAlarm', {
metric: metric,
Expand Down

0 comments on commit ecb34bb

Please sign in to comment.