title: Email notification through SNS and Lambda
body: <p>I am facing an issue. My main motive is to send an email whenever there is state change happened to ec2 instances. </p>
  
  <p>I tried cloud watch events directly with SNS and its work also but the email template which I am receiving is not having the proper information to understood.</p>
  
  <p>I was expecting Server name and its IP in the email template which SNS does not give me the option to modify it. So What I am thinking is to involve lambda so that </p>
  
  <ul>
  <li>cloudwatch events to monitor EC2 instances state change and</li>
  <li>give input to Lambda which will have customized email template which is </li>
  <li>then invoke SNS to send email to recipients. </li>
  </ul>
  
  <p>Let me know if you think this is correct method for what I am expecting or not. and give some insights on how to get Lambda in between Cloud watch and SNS</p>
  
  <p>Thanks &amp; Regards</p>