title: How to copy a file from S3 to EC2 instance using AWS Lambda function?
body: <p>I am a newbie to AWS lambda. My question is,
  I have an RPM in Jenkins(hosted in AWS) which is getting copy to S3 bucket using 'S3 artifacts' plugin. I have to copy this RPM to other EC2 instance from S3 bucket.
  Is there any way that Lambda function could trigger S3 to copy RPM file from S3 to Ec2 after its get copied from Jenkins to S3?</p>
  
  <pre><code>      s3-plugin          lambda   
  </code></pre>
  
  <p>Jenkins--------------->S3----------->Ec2</p>