aws s3api get-bucket-policy
Returns the policy of a specified bucket. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--bucketThe bucket name to get the bucket policy for.--expected-bucket-ownerThe account ID of the expected bucket owner.