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 AwsS3BucketWebsiteConfiguration = AwsS3BucketWebsiteConfiguration' {}
- newAwsS3BucketWebsiteConfiguration :: AwsS3BucketWebsiteConfiguration
- awsS3BucketWebsiteConfiguration_redirectAllRequestsTo :: Lens' AwsS3BucketWebsiteConfiguration (Maybe AwsS3BucketWebsiteConfigurationRedirectTo)
- awsS3BucketWebsiteConfiguration_indexDocumentSuffix :: Lens' AwsS3BucketWebsiteConfiguration (Maybe Text)
- awsS3BucketWebsiteConfiguration_errorDocument :: Lens' AwsS3BucketWebsiteConfiguration (Maybe Text)
- awsS3BucketWebsiteConfiguration_routingRules :: Lens' AwsS3BucketWebsiteConfiguration (Maybe [AwsS3BucketWebsiteConfigurationRoutingRule])
Documentation
data AwsS3BucketWebsiteConfiguration Source #
Website parameters for the S3 bucket.
See: newAwsS3BucketWebsiteConfiguration
smart constructor.
AwsS3BucketWebsiteConfiguration' | |
|
Instances
newAwsS3BucketWebsiteConfiguration :: AwsS3BucketWebsiteConfiguration Source #
Create a value of AwsS3BucketWebsiteConfiguration
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:AwsS3BucketWebsiteConfiguration'
, awsS3BucketWebsiteConfiguration_redirectAllRequestsTo
- The redirect behavior for requests to the website.
$sel:indexDocumentSuffix:AwsS3BucketWebsiteConfiguration'
, awsS3BucketWebsiteConfiguration_indexDocumentSuffix
- The name of the index document for the website.
$sel:errorDocument:AwsS3BucketWebsiteConfiguration'
, awsS3BucketWebsiteConfiguration_errorDocument
- The name of the error document for the website.
$sel:routingRules:AwsS3BucketWebsiteConfiguration'
, awsS3BucketWebsiteConfiguration_routingRules
- The rules for applying redirects for requests to the website.
awsS3BucketWebsiteConfiguration_redirectAllRequestsTo :: Lens' AwsS3BucketWebsiteConfiguration (Maybe AwsS3BucketWebsiteConfigurationRedirectTo) Source #
The redirect behavior for requests to the website.
awsS3BucketWebsiteConfiguration_indexDocumentSuffix :: Lens' AwsS3BucketWebsiteConfiguration (Maybe Text) Source #
The name of the index document for the website.
awsS3BucketWebsiteConfiguration_errorDocument :: Lens' AwsS3BucketWebsiteConfiguration (Maybe Text) Source #
The name of the error document for the website.
awsS3BucketWebsiteConfiguration_routingRules :: Lens' AwsS3BucketWebsiteConfiguration (Maybe [AwsS3BucketWebsiteConfigurationRoutingRule]) Source #
The rules for applying redirects for requests to the website.