stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.S3WebsiteRoutingRuleCondition

Description

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.

Synopsis

Documentation

data S3WebsiteRoutingRuleCondition Source #

Full data type definition for S3WebsiteRoutingRuleCondition. See s3WebsiteRoutingRuleCondition for a more convenient constructor.

Instances

Show S3WebsiteRoutingRuleCondition Source # 
Generic S3WebsiteRoutingRuleCondition Source # 
ToJSON S3WebsiteRoutingRuleCondition Source # 
FromJSON S3WebsiteRoutingRuleCondition Source # 
type Rep S3WebsiteRoutingRuleCondition Source # 
type Rep S3WebsiteRoutingRuleCondition = D1 (MetaData "S3WebsiteRoutingRuleCondition" "Stratosphere.ResourceProperties.S3WebsiteRoutingRuleCondition" "stratosphere-0.2.1-7UjeTxLOKRACY1vyFAxa7V" False) (C1 (MetaCons "S3WebsiteRoutingRuleCondition" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_s3WebsiteRoutingRuleConditionHttpErrorCodeReturnedEquals") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_s3WebsiteRoutingRuleConditionKeyPrefixEquals") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))))

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.