title: How to check for a file type within an AWS Lambda function
body: <p>Just a quick question, I want to know if it is possible to have a lambda function that is triggered by an SNS stream or an S3 upload, and how I would go about doing it. I am trying to set up an email notifier that will send me an email when an object is uploaded and tell me what type of file was uploaded. Thanks!</p>