AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class LifecycleRule : Object
The LifecycleRule type exposes the following members
Name | Description | |
---|---|---|
LifecycleRule() |
Name | Type | Description | |
---|---|---|---|
Expiration | Amazon.S3.Model.LifecycleRuleExpiration | Defines the length of time, in days, before objects expire. | |
Id | System.String | Unique identifier for the rule. The value cannot be longer than 255 characters. | |
NoncurrentVersionExpiration | Amazon.S3.Model.LifecycleRuleNoncurrentVersionExpiration | Defines the length of time, in days, before noncurrent versions expire. | |
NoncurrentVersionTransition | Amazon.S3.Model.LifecycleRuleNoncurrentVersionTransition |
The transition rule that describes when noncurrent versions transition to
a different storage class.
Lifecycle rules can now contain multiple noncurrent version transitions. This property is obsolete in favor of the NoncurrentVersionTransitions property. This property will aways get or set the the zeroth element in the NoncurrentVersionTransitions collection. |
|
NoncurrentVersionTransitions | System.Collections.Generic.List<Amazon.S3.Model.LifecycleRuleNoncurrentVersionTransition> | The transition rules that describe when noncurrent versions transition to a different storage class. | |
Prefix | System.String | Prefix identifying one or more objects to which the rule applies. | |
Status | Amazon.S3.LifecycleRuleStatus | If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied. | |
Transition | Amazon.S3.Model.LifecycleTransition |
The transition rule that describes when objects transition to a different storage class.
Lifecycle rules can now contain multiple transitions. This property is obsolete in favor of the Transitions property. This property will aways get or set the the zeroth element in the Transitions collection. |
|
Transitions | System.Collections.Generic.List<Amazon.S3.Model.LifecycleTransition> | The transition rules that describe when objects transition to a different storage class. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8