S3 get bucket website

The get bucket website API retrieves the configuration of the website that is specified in the website subresource.

Note: Get operation requires the S3:GetBucketWebsite permission. By default, only the bucket owner can read the bucket website configuration.

Syntax

GET /BUCKET?website-configuration=HTTP/1.1

Example

GET /testbucket?website-configuration=HTTP/1.1

Reference

  • For more information about this API call, see S3 API.