:doc:`Object <index>` / Attribute / object_lock_legal_hold_status

*****************************
object_lock_legal_hold_status
*****************************



.. py:attribute:: S3.Object.object_lock_legal_hold_status

  

  - *(string) --* 

    Specifies whether a legal hold is in effect for this object. This header is only returned if the requester has the ``s3:GetObjectLegalHold`` permission. This header is not returned if the specified version of this object has never had a legal hold applied. For more information about S3 Object Lock, see `Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html>`__.

     

    .. note::

      

      This functionality is not supported for directory buckets.

      

    