Bucket Website Args
data class BucketWebsiteArgs(val mainPageSuffix: Output<String>? = null, val notFoundPage: Output<String>? = null) : ConvertibleToJava<BucketWebsiteArgs>
The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.
Properties
Link copied to clipboard
If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages.
Link copied to clipboard
If the requested object path is missing, and any mainPageSuffix object is missing, if applicable, the service will return the named object from this bucket as the content for a 404 Not Found result.