AWS SDK Version 3 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.

LifecycleTransition defines when and how objects transition.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.LifecycleTransition

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class LifecycleTransition

The LifecycleTransition type exposes the following members

Constructors

NameDescription
Public Method LifecycleTransition()

Properties

NameTypeDescription
Public Property Date System.DateTime
Public Property DateUtc System.DateTime

Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.

Public Property Days System.Int32

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

Public Property StorageClass Amazon.S3.S3StorageClass

The class of storage used to store the object.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5