aws s3api get-bucket-website
This operation is not supported for directory buckets. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--bucketThe bucket name for which to get the website configuration.--expected-bucket-ownerThe account ID of the expected bucket owner.