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 container element for Object Lock configuration parameters.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.ObjectLockConfiguration

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

Syntax

C#
public class ObjectLockConfiguration

The ObjectLockConfiguration type exposes the following members

Constructors

NameDescription
Public Method ObjectLockConfiguration()

Properties

NameTypeDescription
Public Property ObjectLockEnabled Amazon.S3.ObjectLockEnabled

Gets and sets the property ObjectLockEnabled.

Indicates whether this object has an Object Lock configuration enabled.

Public Property Rule Amazon.S3.Model.ObjectLockRule

Gets and sets the property Rule.

The Object Lock rule in place for the specified 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