

# S3ObjectLockLegalHold
<a name="API_control_S3ObjectLockLegalHold"></a>

Whether S3 Object Lock legal hold will be applied to objects in an S3 Batch Operations job.

## Contents
<a name="API_control_S3ObjectLockLegalHold_Contents"></a>

 ** Status **   <a name="AmazonS3-Type-control_S3ObjectLockLegalHold-Status"></a>
The Object Lock legal hold status to be applied to all objects in the Batch Operations job.  
Type: String  
Valid Values: `OFF | ON`   
Required: Yes

## See Also
<a name="API_control_S3ObjectLockLegalHold_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/s3control-2018-08-20/S3ObjectLockLegalHold) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3control-2018-08-20/S3ObjectLockLegalHold) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3control-2018-08-20/S3ObjectLockLegalHold) 