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

Contains the event hold duration configuration, specified in either days or years.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.EventHoldDuration

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

Syntax

C#
public class EventHoldDuration

The EventHoldDuration type exposes the following members

Constructors

NameDescription
Public Method EventHoldDuration()

Properties

NameTypeDescription
Public Property Days System.Nullable<System.Int32>

Gets and sets the property Days.

The number of days for the event hold duration. The minimum value is 1 and the maximum value is 36,500.

Public Property Years System.Nullable<System.Int32>

Gets and sets the property Years.

The number of years for the event hold duration. The minimum value is 1 and the maximum value is 100.

Version Information

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

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer