AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
Rules Item

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.LifecycleRule

Namespace: Amazon.S3.Model
Assembly: AWSSDK.dll
Version: 0.0.3.0

Syntax

C#
public class LifecycleRule : Object

The LifecycleRule type exposes the following members

Constructors

  Name Description
Public Method LifecycleRule()

Properties

  Name Description
Public Property Expiration Defines the length of time, in days, before objects expire.
Public Property Id Unique identifier for the rule. The value cannot be longer than 255 characters.
Public Property NoncurrentVersionExpiration Defines the length of time, in days, before noncurrent versions expire.
Public Property NoncurrentVersionTransition The transition rule that describes when noncurrent versions transition to the Glacier storage class.
Public Property Prefix Prefix identifying one or more objects to which the rule applies.
Public Property Status If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.
Public Property Transition The transition rule that describes when objects transition to the Glacier storage class.

Version Information

.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