This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::S3::Bucket LambdaConfiguration
Describes the AWS Lambda functions to invoke and the events for which to invoke them.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Event" :String, "Filter" :NotificationFilter, "Function" :String}
YAML
Event:StringFilter:NotificationFilterFunction:String
Properties
- Event
- 
                    The Amazon S3 bucket event for which to invoke the AWS Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide. Required: Yes Type: String Update requires: No interruption 
- Filter
- 
                    The filtering rules that determine which objects invoke the AWS Lambda function. For example, you can create a filter so that only image files with a .jpgextension invoke the function when they are added to the Amazon S3 bucket.Required: No Type: NotificationFilter Update requires: No interruption 
- Function
- 
                    The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the specified event type occurs. Required: Yes Type: String Update requires: No interruption