Safe Haskell | None |
---|---|
Language | Haskell2010 |
The RoutingRuleCondition property is an embedded property of the Amazon S3 Website Configuration Routing Rules Property that describes a condition that must be met for a redirect to apply.
Documentation
data S3WebsiteRoutingRuleCondition Source #
Full data type definition for S3WebsiteRoutingRuleCondition. See
s3WebsiteRoutingRuleCondition
for a more convenient constructor.
s3WebsiteRoutingRuleCondition :: S3WebsiteRoutingRuleCondition Source #
Constructor for S3WebsiteRoutingRuleCondition
containing required
fields as arguments.
swrrcHttpErrorCodeReturnedEquals :: Lens' S3WebsiteRoutingRuleCondition (Maybe (Val Text)) Source #
Applies this redirect if the error code equals this value in the event of an error.
swrrcKeyPrefixEquals :: Lens' S3WebsiteRoutingRuleCondition (Maybe (Val Text)) Source #
The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, set the key prefix to ExamplePage.html. To redirect request for all pages with the prefix docs/, set the key prefix to docs, which identifies all objects in the docs folder.