title: Passing payload through AWS S3/Lambda Trigger
body: <p>I am new to the AWS platform. I have invoked a lambda function through AWS CLI.</p>
  
  <pre><code>aws lambda invoke --function-name CFT ... --payload file://${DATA_TMP}/affl_ftp_config.json ${DATA_LOG}/outfile.txt
  </code></pre>
  
  <p>Here, The Payload is a json file </p>
  
  <pre><code>{
    "s3_bucket": "fanatics.dev.internal.confidential",
    ....
    "date": "20160813"
  }
  </code></pre>
  
  <p>This json file is being used as part of event object in my lambda handler.</p>
  
  <p>Is it possible to have this behavior configured when a S3 file is uploaded and it automatically triggers a Lambda function?</p>
  
  <p>For e.g.,</p>
  
  <p>I upload a file in a S3_bucket that will trigger a lambda function with the json payload shown above.</p>