delete-bucket-policy¶
Deletes the policy from the bucket.
See also: DELETE Bucket Policy.
Synopsis¶
delete-bucket-policy
--bucket <value>
[--cli-input-json <value>]
Options¶
--bucket
(string)
--cli-input-json
(string)
Operates a service or services based on the provided JSON string. If other arguments are provided on the command line, the CLI values override the JSON-provided values. You cannot pass arbitrary binary values using a JSON-provided value, because the string is taken literally.
Examples¶
The following command deletes a bucket policy from a bucket named “my-bucket”:
$ aws s3api delete-bucket-policy --bucket my-bucket
Output¶
None