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.

The journal table record expiration settings for a journal table in an S3 Metadata configuration.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.RecordExpiration

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

Syntax

C#
public class RecordExpiration

The RecordExpiration type exposes the following members

Constructors

NameDescription
Public Method RecordExpiration()

Properties

NameTypeDescription
Public Property Days System.Int32

Gets and sets the property Days.

If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from 7 to 2147483647. For example, to retain your journal table records for one year, set this value to 365.

Public Property Expiration Amazon.S3.ExpirationState

Gets and sets the property Expiration.

Specifies whether journal table record expiration is enabled or disabled.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5