Skip to content

Commit

Permalink
Merge pull request #75 from asionek/main
Browse files Browse the repository at this point in the history
Change documentation references from topic to topicArn
  • Loading branch information
eoinsha authored Mar 29, 2022
2 parents efcea1a + a6c8439 commit 40fe107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ You can customize the configuration:
### Plugin configuration
Top-level plugin configuration can be specified in the `custom``slicWatch` section of `serverless.yml`

- The `topic` may be optionally provided as an SNS Topic destination for all alarms. If you omit the topic, alarms are still created but are not sent to any destination.
- The `topicArn` may be optionally provided as an SNS Topic destination for all alarms. If you omit the topic, alarms are still created but are not sent to any destination.
- Alarms or dashboards can be disabled at any level in the configuration by adding `enabled: false`. You can even disable all plugin functionality by specifying `enabled: false` at the top-level plugin configuration.

Supported options along with their defaults are shown below.
Expand All @@ -161,7 +161,7 @@ Supported options along with their defaults are shown below.

custom:
slicWatch:
topic: SNS_TOPIC_ARN # This is optional but recommended so you can receive alarms via email, Slack, etc.
topicArn: SNS_TOPIC_ARN # This is optional but recommended so you can receive alarms via email, Slack, etc.
enabled: true

alarms:
Expand Down

0 comments on commit 40fe107

Please sign in to comment.