Table of Contents

Class LifecycleRule

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

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

LifecycleRuleAbortIncompleteMultipartUpload

Expiration

Defines the length of time, in days, before objects expire.

public LifecycleRuleExpiration Expiration { get; set; }

Property Value

LifecycleRuleExpiration

Filter

Filter identifying one or more objects to which the rule applies.

public LifecycleFilter Filter { get; set; }

Property Value

LifecycleFilter

Id

Unique identifier for the rule. The value cannot be longer than 255 characters.

public string Id { get; set; }

Property Value

string

NoncurrentVersionExpiration

Defines the length of time, in days, before noncurrent versions expire.

public LifecycleRuleNoncurrentVersionExpiration NoncurrentVersionExpiration { get; set; }

Property Value

LifecycleRuleNoncurrentVersionExpiration

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

LifecycleRuleNoncurrentVersionTransition

NoncurrentVersionTransitions

The transition rules that describe when noncurrent versions transition to a different storage class.

public List<LifecycleRuleNoncurrentVersionTransition> NoncurrentVersionTransitions { get; set; }

Property Value

List<LifecycleRuleNoncurrentVersionTransition>

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

string

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

LifecycleRuleStatus

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

LifecycleTransition

Transitions

The transition rules that describe when objects transition to a different storage class.

public List<LifecycleTransition> Transitions { get; set; }

Property Value

List<LifecycleTransition>