stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.S3WebsiteRedirectAllRequestsTo

Description

The RedirectAllRequestsTo code is an embedded property of the Amazon S3 Website Configuration Property property that describes the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

Synopsis

Documentation

data S3WebsiteRedirectAllRequestsTo Source #

Full data type definition for S3WebsiteRedirectAllRequestsTo. See s3WebsiteRedirectAllRequestsTo for a more convenient constructor.

Instances

Show S3WebsiteRedirectAllRequestsTo Source # 
Generic S3WebsiteRedirectAllRequestsTo Source # 
ToJSON S3WebsiteRedirectAllRequestsTo Source # 
FromJSON S3WebsiteRedirectAllRequestsTo Source # 
type Rep S3WebsiteRedirectAllRequestsTo Source # 
type Rep S3WebsiteRedirectAllRequestsTo = D1 (MetaData "S3WebsiteRedirectAllRequestsTo" "Stratosphere.ResourceProperties.S3WebsiteRedirectAllRequestsTo" "stratosphere-0.2.2-Fnop5S0NvsvBmp7LUeJWuv" False) (C1 (MetaCons "S3WebsiteRedirectAllRequestsTo" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_s3WebsiteRedirectAllRequestsToHostName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_s3WebsiteRedirectAllRequestsToProtocol") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))))

swrartHostName :: Lens' S3WebsiteRedirectAllRequestsTo (Val Text) Source #

Name of the host where requests are redirected.

swrartProtocol :: Lens' S3WebsiteRedirectAllRequestsTo (Maybe (Val Text)) Source #

Protocol to use (http or https) when redirecting requests. The default is the protocol that is used in the original request.