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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#statusString

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

Returns:

  • (String)


8254
8255
8256
8257
8258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8254

class ObjectLockLegalHold < Struct.new(
  :status)
  SENSITIVE = []
  include Aws::Structure
end