Skip to content

Commit

Permalink
feat: Add subscription to SNS
Browse files Browse the repository at this point in the history
  • Loading branch information
sbstjn committed Mar 10, 2021
1 parent b9ea615 commit 0b122ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/notifications.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31

Parameters:
NotificationsMail:
Type: string

Resources:
NotificationTopic:
Type: AWS::SNS::Topic
Properties:
Subscription:
- Endpoint: !Ref NotificationsMail
Protocol: email

NotificationOpsItemCreated:
Type: AWS::Serverless::Function
Expand Down

0 comments on commit 0b122ed

Please sign in to comment.