Create Customer notification service
Create Customer notification
- Go to AWS SNS
- Select RideCompletionTopic
- Select Create subscription

- Go back to the Terminal in VS Code to run the command to view the Endpoint:
aws cloudformation describe-stacks \
--stack-name wild-rydes-async-msg-1 \
--query 'Stacks[].Outputs[?OutputKey==`CustomerNotificationFunction`].OutputValue' \
--output text

- In the Create subscription interface:
- Leave Topic ARN as default.
- For Protocol, select AWS Lambda.
- For Endpoint, enter the output value from the Terminal.
- Select Create subscription.

- Go to AWS Lambda
- Select the Customer Notification function.

- Verify that the Lambda function has triggered SNS.
