Create Customer notification service

Create Customer notification

  1. Access to AWS SNS
  • Select RideCompletionTopic
  • Select Create subscription

Working with SNS

  1. Return to Cloud9 interface to run the command to view Endpoint
aws cloudformation describe-stacks \
    --stack-name wild-rydes-async-msg-1 \
    --query 'Stacks[].Outputs[?OutputKey==`CustomerNotificationFunction`].OutputValue' \
    --output text

Working with SNS

  1. In the Create subscription interface
  • Topic ARN to default
  • Protocol select AWS Lambda
  • Enpoint, import the output from Cloud9
  • Select Create subscription

Working with SNS

  1. Access to Lambda
  • Select Customer Notification function

Working with SNS

  1. Check the Lambda function that triggered the SNS.

Working with SNS