CmdID

CmdID / aws / aws s3api

aws s3api put-object-lock-configuration

This operation is not supported for directory buckets. AWS CLI reference

7 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

7 in the AWS CLI reference
--bucketThe bucket whose Object Lock configuration you want to create or replace.
--checksum-algorithmIndicates the algorithm used to create the checksum for the object when you use the SDK.
--content-md5The MD5 hash for the request body.
--expected-bucket-ownerThe account ID of the expected bucket owner.
--object-lock-configurationThe Object Lock configuration that you want to apply to the specified bucket.
--request-payerConfirms that the requester knows that they will be charged for the request.
--tokenA token to allow Object Lock to be enabled for an existing bucket.