title: How to receive OpsWorks deployment notifications?
body: <p>I would like to receive a notification via a SNS topic (or maybe a SQS queue) when a OpsWorks stack or app deployment is complete. The topic should include the stack ID, the deployment result (successful or unsuccessful), and perhaps the stack's public-facing DNS name. Surprisingly, this doesn't appear to be an off-the-shelf feature.</p>
  
  <p>Possible implementations:</p>
  
  <ul>
  <li><p>My deployment app could poll the stack's deployment status and block until the deployment is complete, at which point the app would take the responsibility of retrieving the stack's details and passing that into SNS. This is simple and straightforward but rather inelegant.</p></li>
  <li><p>I could write a Chef deployment hook to invoke the AWS API in a <code>ruby_block</code>, and attach this hook to the OpsWorks <code>restart</code> event. This is nice and clean, and all of my stack information is already provided to the recipe, but it introduces additional complexity to the overall deployment system.</p></li>
  </ul>
  
  <p>Any better options?</p>