Skip to content

Commit

Permalink
docs: update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDinh committed Aug 9, 2022
1 parent d4064d8 commit 1c099ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ const errorsLambda = new CloudWatchErrorAlarmLambda(this, `${id}-cloud-watch-err
erroringFunctionName: `${erroringFunctionName}`, // The function name that caused the error, this will be included in the Slack message
functionName: `${id}-cloud-watch-error-alarms`, // The cloud watch error alarm lambda function name
slackWebhookUrl: `${slackWebhookUrl}`, // Slack webhook https://slack.com/intl/en-au/help/articles/115005265063-Incoming-webhooks-for-Slack
errorFilterRegex: props.errorFilterRegex, // Regex to ignore error messages
errorFilterRegexes: [
// Regex to ignore error messages
],
})
// Allow cloud watch to trigger the alarm lambda on error
Expand Down

0 comments on commit 1c099ee

Please sign in to comment.