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.

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)


10632
10633
10634
10635
10636
# File 'lib/aws-sdk-s3/types.rb', line 10632

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