CmdID

CmdID / aws / aws s3control

aws s3control put-bucket-policy

This action puts a bucket policy to an Amazon S3 on Outposts bucket. AWS CLI reference

4 options Its page in the AWS CLI reference

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

Options

4 in the AWS CLI reference
--account-idThe Amazon Web Services account ID of the Outposts bucket.
--bucketSpecifies the bucket.
--confirm-remove-self-bucket-accessSet this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
--policyThe bucket policy as a JSON document.