title: Spring Batch - Read files from Aws S3
body: <p>I am trying to read files from AWS S3 and process it with Spring Batch:</p>
  
  <p>Can a Spring Itemreader process this Task? 
  If so, How do I pass the credentials to S3 client and config my spring xml to read a file or multiple files</p>
  
  <p>
          
          
      </p>
  
  <pre><code>&lt;bean id="itemReader" class=""org.springframework.batch.item.file.FlatFileItemReader""&gt;
      &lt;property name="resource" value=""${aws.file.name}"" /&gt;
      &lt;/bean&gt;
  </code></pre>