Class LifecycleRule
Rules Item
public class LifecycleRule
- Inheritance
-
LifecycleRule
- Inherited Members
Constructors
LifecycleRule()
public LifecycleRule()
Properties
AbortIncompleteMultipartUpload
Specifies the days since the initiation of an Incomplete Multipart Upload that Lifecycle will wait before permanently removing all parts of the upload.
public LifecycleRuleAbortIncompleteMultipartUpload AbortIncompleteMultipartUpload { get; set; }
Property Value
Expiration
Defines the length of time, in days, before objects expire.
public LifecycleRuleExpiration Expiration { get; set; }
Property Value
Filter
Filter identifying one or more objects to which the rule applies.
public LifecycleFilter Filter { get; set; }
Property Value
Id
Unique identifier for the rule. The value cannot be longer than 255 characters.
public string Id { get; set; }
Property Value
NoncurrentVersionExpiration
Defines the length of time, in days, before noncurrent versions expire.
public LifecycleRuleNoncurrentVersionExpiration NoncurrentVersionExpiration { get; set; }
Property Value
NoncurrentVersionTransition
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 always get or set the the zeroth element in the NoncurrentVersionTransitions collection.
[Obsolete("The NoncurrentVersionTransition property is now obsolete in favor the NoncurrentVersionTransitions property.")]
public LifecycleRuleNoncurrentVersionTransition NoncurrentVersionTransition { get; set; }
Property Value
NoncurrentVersionTransitions
The transition rules that describe when noncurrent versions transition to a different storage class.
public List<LifecycleRuleNoncurrentVersionTransition> NoncurrentVersionTransitions { get; set; }
Property Value
Prefix
Prefix identifying one or more objects to which the rule applies.
[Obsolete("This property is obsolete. Use the Filter property instead.")]
public string Prefix { get; set; }
Property Value
Status
If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.
public LifecycleRuleStatus Status { get; set; }
Property Value
Transition
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 always get or set the the zeroth element in the Transitions collection.
[Obsolete("The Transition property is now obsolete in favor the Transitions property.")]
public LifecycleTransition Transition { get; set; }
Property Value
Transitions
The transition rules that describe when objects transition to a different storage class.
public List<LifecycleTransition> Transitions { get; set; }