stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.S3CorsConfigurationRule

Description

Describes cross-origin access rules for the Amazon S3 Cors Configuration property.

Synopsis

Documentation

data S3CorsConfigurationRule Source #

Full data type definition for S3CorsConfigurationRule. See s3CorsConfigurationRule for a more convenient constructor.

Instances

Show S3CorsConfigurationRule Source # 
Generic S3CorsConfigurationRule Source # 
ToJSON S3CorsConfigurationRule Source # 
FromJSON S3CorsConfigurationRule Source # 
type Rep S3CorsConfigurationRule Source # 
type Rep S3CorsConfigurationRule = D1 (MetaData "S3CorsConfigurationRule" "Stratosphere.ResourceProperties.S3CorsConfigurationRule" "stratosphere-0.2.1-7UjeTxLOKRACY1vyFAxa7V" False) (C1 (MetaCons "S3CorsConfigurationRule" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_s3CorsConfigurationRuleAllowedHeaders") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Val Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_s3CorsConfigurationRuleAllowedMethods") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Val Text])) (S1 (MetaSel (Just Symbol "_s3CorsConfigurationRuleAllowedOrigins") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Val Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_s3CorsConfigurationRuleExposedHeaders") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Val Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_s3CorsConfigurationRuleId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_s3CorsConfigurationRuleMaxAge") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer'))))))))

s3CorsConfigurationRule Source #

Constructor for S3CorsConfigurationRule containing required fields as arguments.

sccrAllowedHeaders :: Lens' S3CorsConfigurationRule (Maybe [Val Text]) Source #

Headers that are specified in the Access-Control-Request-Headers header. These headers are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, Amazon S3 returns any requested headers that are allowed.

sccrAllowedMethods :: Lens' S3CorsConfigurationRule [Val Text] Source #

An HTTP method that you allow the origin to execute. The valid values are GET, PUT, HEAD, POST, and DELETE.

sccrAllowedOrigins :: Lens' S3CorsConfigurationRule [Val Text] Source #

An origin that you allow to send cross-domain requests.

sccrExposedHeaders :: Lens' S3CorsConfigurationRule (Maybe [Val Text]) Source #

One or more headers in the response that are accessible to client applications (for example, from a JavaScript XMLHttpRequest object).

sccrId :: Lens' S3CorsConfigurationRule (Maybe (Val Text)) Source #

A unique identifier for this rule. The value cannot be more than 255 characters.

sccrMaxAge :: Lens' S3CorsConfigurationRule (Maybe (Val Integer')) Source #

The time in seconds that your browser is to cache the preflight response for the specified resource.