stratosphere-0.2.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.ApiGatewayRestApiS3Location

Description

S3Location is a property of the AWS::ApiGateway::RestApi resource that specifies the Amazon Simple Storage Service (Amazon S3) location of a Swagger file that defines a set of RESTful APIs in JSON or YAML for an Amazon API Gateway (API Gateway) RestApi.

Synopsis

Documentation

data ApiGatewayRestApiS3Location Source #

Full data type definition for ApiGatewayRestApiS3Location. See apiGatewayRestApiS3Location for a more convenient constructor.

Instances

Show ApiGatewayRestApiS3Location Source # 
Generic ApiGatewayRestApiS3Location Source # 
ToJSON ApiGatewayRestApiS3Location Source # 
FromJSON ApiGatewayRestApiS3Location Source # 
type Rep ApiGatewayRestApiS3Location Source # 
type Rep ApiGatewayRestApiS3Location = D1 (MetaData "ApiGatewayRestApiS3Location" "Stratosphere.ResourceProperties.ApiGatewayRestApiS3Location" "stratosphere-0.2.0-B1WeL9cnxuQ3qer3csMa6f" False) (C1 (MetaCons "ApiGatewayRestApiS3Location" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiS3LocationBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiS3LocationETag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiS3LocationKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiS3LocationVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))))))

apiGatewayRestApiS3Location :: ApiGatewayRestApiS3Location Source #

Constructor for ApiGatewayRestApiS3Location containing required fields as arguments.

agraslBucket :: Lens' ApiGatewayRestApiS3Location (Maybe (Val Text)) Source #

The name of the S3 bucket where the Swagger file is stored.

agraslETag :: Lens' ApiGatewayRestApiS3Location (Maybe (Val Text)) Source #

The Amazon S3 ETag (a file checksum) of the Swagger file. If you don't specify a value, API Gateway skips ETag validation of your Swagger file.

agraslKey :: Lens' ApiGatewayRestApiS3Location (Maybe (Val Text)) Source #

The file name of the Swagger file (Amazon S3 object name).

agraslVersion :: Lens' ApiGatewayRestApiS3Location (Maybe (Val Text)) Source #

For versioning-enabled buckets, a specific version of the Swagger file.