title: How to add a new lifecycle rule to existing s3 bucket using serverless framework
body: <p>I have a s3 bucket.</p>
  
  <p>I am using serverless to create a lambda function to read from s3.</p>
  
  <p><a href="https://serverless.com/" rel="nofollow noreferrer">https://serverless.com/</a></p>
  
  <p>Everything works very well.</p>
  
  <p>I want to add a lifecycle rule to this s3 bucket to delete files from s3 after few days using the serverless framework.</p>
  
  <p>How can this be done in serverless.yml file ?</p>