AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


9758
9759
9760
9761
9762
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9758

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