title: AWS Cognito Post-Confirmation
body: <p>I am using AWS Cognito for user sign-up. After sign-up confirmation I have a lambda trigger that adds the new user to my RDS instance.</p>
  
  <p>My question is the following<br>
  How can I make sure that the lambda successfully adds the user to the database. My worry is that if the lambda fails I want the service to still work.  </p>
  
  <p>Right now, a solution I have is to add the new users to SQS using my post-confirmation lambda.</p>
  
  <p>Then have lambdas that are triggered by SQS. That way even if the user add fails I still have the information to add later/see the problem.</p>
  
  <p>Is this a good solution. Any help would be greatly appreciated. Thank!</p>