Table of Contents

Class Expiration

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

Defines the expiration policy for a given object.

public class Expiration
Inheritance
Expiration
Inherited Members

Constructors

Expiration()

Constructs an empty instance of an Expiration object

public Expiration()

Properties

ExpiryDate

This property is deprecated. This property exposes a DateTime of kind Unspecified. Use ExpiryDateUtc instead. The date and time for expiry.

[Obsolete("This property returns a DateTime of kind Unspecified. Use ExpiryDateUtc instead.", false)]
public DateTime ExpiryDate { get; set; }

Property Value

DateTime

ExpiryDateUtc

The date and time for expiry.

public DateTime ExpiryDateUtc { get; set; }

Property Value

DateTime

RuleId

Id of the configuration rule for this expiry.

public string RuleId { get; set; }

Property Value

string