feat(aws-cloudwatch-actions): add ssm incidents as alarm action#21167
feat(aws-cloudwatch-actions): add ssm incidents as alarm action#21167mergify[bot] merged 8 commits intoaws:mainfrom
Conversation
…tion This small PR will add SSM Incident action to cloudwatch alarm. The arn format was taken from the UI console (under Incident Manager Response Plan)
TheRealAmazonKendra
left a comment
There was a problem hiding this comment.
Overall this looks great! I think we'll need an integration test for this, though. Could you please add one?
+ fix typo
Pull request has been modified.
|
I've added an integration test using |
TheRealAmazonKendra
left a comment
There was a problem hiding this comment.
@callumthomson Your integ test file is what we're looking for. We just need you to generate the expected template and assets. See our integration test guide.
I've also added a few comments inline regarding the specific errors in the build.
packages/@aws-cdk/aws-cloudwatch-actions/test/integ.ssm-incident-alarm-action.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-cloudwatch-actions/test/integ.ssm-incident-alarm-action.ts
Outdated
Show resolved
Hide resolved
Pull request has been modified.
|
@TheRealAmazonKendra I've added in the requested changes. Please let me know any further desired amendments. |
TheRealAmazonKendra
left a comment
There was a problem hiding this comment.
Just one comment inline but it also looks like your test can use SSM Incident as alarm action isn't working because the partition is a reference in the actual output, but you've used a literal in your expected output. We just need to get this test working so the build passes. If you have any questions about this, please let me know.
Pull request has been modified.
|
@TheRealAmazonKendra that seems to be working now, but there appears to have been an error in |
|
@Mergifyio update |
✅ Branch has been successfully updated |
|
Thank you for contributing! Your pull request will be updated from main 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 main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Finishes work originally contributed by @dosatos by addressing changes requested by @comcalvi in #20553
closes #20552