stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.S3NotificationConfigurationLambdaConfiguration

Description

LambdaConfigurations is a property of the Amazon S3 NotificationConfiguration property that describes the AWS Lambda (Lambda) functions to invoke and the events for which to invoke them.

Synopsis

Documentation

data S3NotificationConfigurationLambdaConfiguration Source #

Full data type definition for S3NotificationConfigurationLambdaConfiguration. See s3NotificationConfigurationLambdaConfiguration for a more convenient constructor.

Instances

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

snclcEvent :: Lens' S3NotificationConfigurationLambdaConfiguration (Val Text) Source #

The S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon Simple Storage Service Developer Guide.

snclcFilter :: Lens' S3NotificationConfigurationLambdaConfiguration (Maybe S3NotificationConfigurationConfigFilter) Source #

The filtering rules that determine which objects invoke the Lambda function. For example, you can create a filter so that only image files with a .jpg extension invoke the function when they are added to the S3 bucket.

snclcFunction :: Lens' S3NotificationConfigurationLambdaConfiguration (Val Text) Source #

The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes when the specified event type occurs.