

# LifecycleRule
<a name="API_control_LifecycleRule"></a>

The container for the Outposts bucket lifecycle rule.

## Contents
<a name="API_control_LifecycleRule_Contents"></a>

 ** Status **   <a name="AmazonS3-Type-control_LifecycleRule-Status"></a>
If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.  
Type: String  
Valid Values: `Enabled | Disabled`   
Required: Yes

 ** AbortIncompleteMultipartUpload **   <a name="AmazonS3-Type-control_LifecycleRule-AbortIncompleteMultipartUpload"></a>
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 waits before permanently removing all parts of the upload. For more information, see [ Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) in the *Amazon S3 User Guide*.  
Type: [AbortIncompleteMultipartUpload](API_control_AbortIncompleteMultipartUpload.md) data type  
Required: No

 ** Expiration **   <a name="AmazonS3-Type-control_LifecycleRule-Expiration"></a>
Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.  
Type: [LifecycleExpiration](API_control_LifecycleExpiration.md) data type  
Required: No

 ** Filter **   <a name="AmazonS3-Type-control_LifecycleRule-Filter"></a>
The container for the filter of lifecycle rule.  
Type: [LifecycleRuleFilter](API_control_LifecycleRuleFilter.md) data type  
Required: No

 ** ID **   <a name="AmazonS3-Type-control_LifecycleRule-ID"></a>
Unique identifier for the rule. The value cannot be longer than 255 characters.  
Type: String  
Required: No

 ** NoncurrentVersionExpiration **   <a name="AmazonS3-Type-control_LifecycleRule-NoncurrentVersionExpiration"></a>
The noncurrent version expiration of the lifecycle rule.  
Type: [NoncurrentVersionExpiration](API_control_NoncurrentVersionExpiration.md) data type  
Required: No

 ** NoncurrentVersionTransitions **   <a name="AmazonS3-Type-control_LifecycleRule-NoncurrentVersionTransitions"></a>
 Specifies the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to a specific storage class at a set period in the object's lifetime.   
This is not supported by Amazon S3 on Outposts buckets.
Type: Array of [NoncurrentVersionTransition](API_control_NoncurrentVersionTransition.md) data types  
Required: No

 ** Transitions **   <a name="AmazonS3-Type-control_LifecycleRule-Transitions"></a>
Specifies when an Amazon S3 object transitions to a specified storage class.  
This is not supported by Amazon S3 on Outposts buckets.
Type: Array of [Transition](API_control_Transition.md) data types  
Required: No

## See Also
<a name="API_control_LifecycleRule_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/s3control-2018-08-20/LifecycleRule) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3control-2018-08-20/LifecycleRule) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3control-2018-08-20/LifecycleRule) 