CmdID / aws / aws s3control
aws s3control get-bucket-policy
This action gets a bucket policy for an Amazon S3 on Outposts bucket. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--account-idThe Amazon Web Services account ID of the Outposts bucket.--bucketSpecifies the bucket.