You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Types::ObjectLockLegalHold

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ObjectLockLegalHold as input to an Aws::Client method, you can use a vanilla Hash:

{
  status: "ON", # accepts ON, OFF
}

A Legal Hold configuration for an object.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#statusString

Indicates whether the specified object has a Legal Hold in place.

Possible values:

  • ON
  • OFF

Returns:

  • (String)

    Indicates whether the specified object has a Legal Hold in place.