Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data WebsiteConfiguration = WebsiteConfiguration' {}
- newWebsiteConfiguration :: WebsiteConfiguration
- websiteConfiguration_redirectAllRequestsTo :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo)
- websiteConfiguration_errorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument)
- websiteConfiguration_indexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument)
- websiteConfiguration_routingRules :: Lens' WebsiteConfiguration (Maybe [RoutingRule])
Documentation
data WebsiteConfiguration Source #
Specifies website configuration parameters for an Amazon S3 bucket.
See: newWebsiteConfiguration
smart constructor.
WebsiteConfiguration' | |
|
Instances
newWebsiteConfiguration :: WebsiteConfiguration Source #
Create a value of WebsiteConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:redirectAllRequestsTo:WebsiteConfiguration'
, websiteConfiguration_redirectAllRequestsTo
- The redirect behavior for every request to this bucket's website
endpoint.
If you specify this property, you can't specify any other property.
$sel:errorDocument:WebsiteConfiguration'
, websiteConfiguration_errorDocument
- The name of the error document for the website.
$sel:indexDocument:WebsiteConfiguration'
, websiteConfiguration_indexDocument
- The name of the index document for the website.
$sel:routingRules:WebsiteConfiguration'
, websiteConfiguration_routingRules
- Rules that define when a redirect is applied and the redirect behavior.
websiteConfiguration_redirectAllRequestsTo :: Lens' WebsiteConfiguration (Maybe RedirectAllRequestsTo) Source #
The redirect behavior for every request to this bucket's website endpoint.
If you specify this property, you can't specify any other property.
websiteConfiguration_errorDocument :: Lens' WebsiteConfiguration (Maybe ErrorDocument) Source #
The name of the error document for the website.
websiteConfiguration_indexDocument :: Lens' WebsiteConfiguration (Maybe IndexDocument) Source #
The name of the index document for the website.
websiteConfiguration_routingRules :: Lens' WebsiteConfiguration (Maybe [RoutingRule]) Source #
Rules that define when a redirect is applied and the redirect behavior.