S3 Bucket lifecycleConfiguration for frameworkVersion 3

Hello!

I feel like I’ve tried a few things, but to no success!

My lifecycle rule isn’t created in AWS with the below config in my serverless.yml file. The bucket gets created no problem however.

org: jqrambo
app: daily-partner-update
service: partner-services
frameworkVersion: "3"
provider:
  name: aws
  deploymentMethod: direct
  runtime: nodejs18.x
  region: ap-southeast-2
  s3:
    largeJobsBucket:
      name: product-price-scheduler-large-jobs
      lifecycleConfiguration:
        Rules:
          - Id: ExpireRule
            Status: Enabled
            ExpirationInDays: 30

Any help would be appreciated!