title: How to configure lambda trigger for Amazon S3 object upload multiple prefixes?
body: <p>I am trying to configure serverless.yml file for two prefixes in the same bucket for a lambda.</p>
  <p>The code for a simple object upload trigger works fine:</p>
  <pre><code>events:
        - s3:
            bucket: ${self:custom.environment.env}-bucket-name
            event: s3:ObjectCreated:*
            rules:
              - prefix: folder/path1/
              - suffix: .csv
            existing: true
  
  </code></pre>
  <p>How can i configure it for two prefixes say - folder/path1/ and folder/path2/</p>