Class: Aws::S3Control::Types::S3SetObjectLegalHoldOperation
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::S3SetObjectLegalHoldOperation
- Defined in:
- gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb
Overview
Note:
When making an API call, you may pass S3SetObjectLegalHoldOperation data as a hash:
{
legal_hold: { # required
status: "OFF", # required, accepts OFF, ON
},
}
Contains the configuration for an S3 Object Lock legal hold operation
that an S3 Batch Operations job passes every object to the underlying
PutObjectLegalHold
API. For more information, see Using S3 Object
Lock legal hold with S3 Batch Operations in the Amazon S3 User
Guide.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#legal_hold ⇒ Types::S3ObjectLockLegalHold
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
Instance Attribute Details
#legal_hold ⇒ Types::S3ObjectLockLegalHold
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
6131 6132 6133 6134 6135 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 6131 class S3SetObjectLegalHoldOperation < Struct.new( :legal_hold) SENSITIVE = [] include Aws::Structure end |