title: Setting Lifecycle configuration for S3 Buckets in YAML file
body: <p>I'm trying to set a Life cycle configuration for my S3 buckets to expire after 90 days. However, I'm getting an error saying &quot;Property Status cannot be empty&quot; when pushing my CFT stack.</p>
  <p>I tried setting a lifestyle config, and putting the expiration in days onto that, but it seems to be failing.</p>
  <pre class="lang-yaml prettyprint-override"><code>AWSTemplateFormatVersion: '2010-09-09'
  Description: Creates S3 Bucket
  
  Resources:
   TestBucket:
   Type: AWS::S3::Bucket
   Properties:
     BucketName: !Sub &quot;${AWS::StackName}-test&quot;
     AccessControl: Private
     LifecycleConfiguration:
      Rules:
      - Id: DeleteContentAfter90Days
        Prefix: ''
        Status: Enabled
        ExpirationInDays: '90'
  </code></pre>
  <p>I'm getting &quot;Property status cannot be empty&quot; and an update rollback when I check my status in the console.</p>