Skip to main content
Version: 2.1

IS3ObjectLockConfiguration

Interface in AWS.S3

Interface for ObjectLockConfiguration documents.

Properties​

ObjectLockEnabled​

property ObjectLockEnabled: string

Specifies whether the bucket has an Object Lock configuration enabled.

Valid values: Enabled.

Rule​

property Rule: IS3ObjectLockRule

Type: IS3ObjectLockRule

Specifies the Object Lock rule to apply to new objects.

Methods​

ToString​

function ToString: string;

Convert to string.

Returns

A string containing the XML representation.

ToXML​

function ToXML: IXMLDocument;

Convert to XML.

Returns

An XML representation.