

# s3express-dir-bucket-lifecycle-rules-check
<a name="s3express-dir-bucket-lifecycle-rules-check"></a>

Checks if lifecycle rules are configured for an Amazon S3 Express directory bucket. The rule is NON\$1COMPLIANT if there is no active lifecycle configuration rules or the configuration does not match with the parameter values. 



**Identifier:** S3EXPRESS\$1DIR\$1BUCKET\$1LIFECYCLE\$1RULES\$1CHECK

**Resource Types:** AWS::S3Express::DirectoryBucket

**Trigger type:** Configuration changes

**AWS Region:** Only available in Europe (Stockholm), Asia Pacific (Mumbai), US East (Ohio), Europe (Ireland), US East (N. Virginia), Asia Pacific (Tokyo), US West (Oregon) Region

**Parameters:**

targetExpirationDays (Optional)Type: int  
Number of days after creation when objects are deleted from Amazon S3 Express directory buckets.

## AWS CloudFormation template
<a name="w2aac20c16c17b7e1365c19"></a>

To create AWS Config managed rules with AWS CloudFormation templates, see [Creating AWS Config Managed Rules With AWS CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).