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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass ObjectLockLegalHold data as a hash:

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

A Legal Hold configuration for an object.

Instance Attribute Summary collapse

Instance Attribute Details

#statusString

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

Returns:

  • (String)


6080
6081
6082
6083
# File 'lib/aws-sdk-s3/types.rb', line 6080

class ObjectLockLegalHold < Struct.new(
  :status)
  include Aws::Structure
end