After we have created an SNS subscription using the console, we will try to create an SNS subscription using SAM.
Events:
SNSEvent:
Type: SNS
Properties:
Topic: !Ref RideCompletionTopic
FilterPolicy:
fare:
- numeric:
- '>='
- 50
distance:
- numeric:
- '>='
- 20
cd ~/environment/wild-rydes-async-messaging/lab-1
Sam build
sam deploy