-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(iot): add Action to set a CloudWatch alarm #18021
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @jerry-shao, thanks for the contribution! A few small comments, but in general looks amazing!
packages/@aws-cdk/aws-iot-actions/lib/cloudwatch-alarm-action.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/lib/cloudwatch-alarm-action.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/lib/cloudwatch-alarm-action.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/lib/cloudwatch-alarm-action.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/cloudwatch-alarm-action.test.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/cloudwatch-alarm-action.test.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/cloudwatch-alarm-action.test.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/cloudwatch-alarm-action.test.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/cloudwatch-alarm-action.test.ts
Outdated
Show resolved
Hide resolved
BTW, you might want to update with the most recent |
d6bf218
to
eabefe7
Compare
Pull request has been modified.
@jerry-shao is this ready for another round of reviews? |
Yup |
Ok. In the future, pleas re-request my review when you're done (there's a button in the top-right corner of the PR page, next to my avatar). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fantastic @jerry-shao! A few last tiny comments, but this is in a great place already.
packages/@aws-cdk/aws-iot-actions/lib/cloudwatch-set-alarm-state-action.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/cloudwatch-set-alarm-state-action.test.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/cloudwatch-set-alarm-state-action.test.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/cloudwatch-set-alarm-state-action.test.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/integ.cloudwatch-set-alarm-state-action.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/integ.cloudwatch-set-alarm-state-action.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-iot-actions/test/cloudwatch/integ.cloudwatch-set-alarm-state-action.ts
Outdated
Show resolved
Hide resolved
Pull request has been modified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fantastic, thanks so much for the contribution @jerry-shao!
Thanks @skinny85 , any chance you could trigger the workflows? |
Done! |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Adding IoT Rule action for CloudWatch alarm. Fixes aws#17705 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Adding IoT Rule action for CloudWatch alarm.
Fixes #17705
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license