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 AwsS3BucketWebsiteConfigurationRoutingRule = AwsS3BucketWebsiteConfigurationRoutingRule' {}
- newAwsS3BucketWebsiteConfigurationRoutingRule :: AwsS3BucketWebsiteConfigurationRoutingRule
- awsS3BucketWebsiteConfigurationRoutingRule_redirect :: Lens' AwsS3BucketWebsiteConfigurationRoutingRule (Maybe AwsS3BucketWebsiteConfigurationRoutingRuleRedirect)
- awsS3BucketWebsiteConfigurationRoutingRule_condition :: Lens' AwsS3BucketWebsiteConfigurationRoutingRule (Maybe AwsS3BucketWebsiteConfigurationRoutingRuleCondition)
Documentation
data AwsS3BucketWebsiteConfigurationRoutingRule Source #
A rule for redirecting requests to the website.
See: newAwsS3BucketWebsiteConfigurationRoutingRule
smart constructor.
AwsS3BucketWebsiteConfigurationRoutingRule' | |
|
Instances
newAwsS3BucketWebsiteConfigurationRoutingRule :: AwsS3BucketWebsiteConfigurationRoutingRule Source #
Create a value of AwsS3BucketWebsiteConfigurationRoutingRule
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:redirect:AwsS3BucketWebsiteConfigurationRoutingRule'
, awsS3BucketWebsiteConfigurationRoutingRule_redirect
- Provides the rules to redirect the request if the condition in
Condition
is met.
$sel:condition:AwsS3BucketWebsiteConfigurationRoutingRule'
, awsS3BucketWebsiteConfigurationRoutingRule_condition
- Provides the condition that must be met in order to apply the routing
rule.
awsS3BucketWebsiteConfigurationRoutingRule_redirect :: Lens' AwsS3BucketWebsiteConfigurationRoutingRule (Maybe AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) Source #
Provides the rules to redirect the request if the condition in
Condition
is met.
awsS3BucketWebsiteConfigurationRoutingRule_condition :: Lens' AwsS3BucketWebsiteConfigurationRoutingRule (Maybe AwsS3BucketWebsiteConfigurationRoutingRuleCondition) Source #
Provides the condition that must be met in order to apply the routing rule.