Learn R Programming

paws.storage (version 0.4.0)

s3_get_bucket_website: Returns the website configuration for a bucket

Description

Returns the website configuration for a bucket. To host website on Amazon S3, you can configure a bucket as website by adding a website configuration. For more information about hosting websites, see Hosting Websites on Amazon S3.

See https://www.paws-r-sdk.com/docs/s3_get_bucket_website/ for full documentation.

Usage

s3_get_bucket_website(Bucket, ExpectedBucketOwner = NULL)

Arguments

Bucket

[required] The bucket name for which to get the website configuration.

ExpectedBucketOwner

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden (access denied).