Set up S3 Bucket level Events using AWS CloudFormation
问题 I am trying to get AWS CloudFormation to create a template that will allow me to attach an event to an existing S3 Bucket that will trigger a Lambda Function whenever a new file is put into a specific directory within the bucket. I am using the following YAML as a base for the CloudFormation template but cannot get it working. --- AWSTemplateFormatVersion: '2010-09-09' Resources: SETRULE: Type: AWS::S3::Bucket Properties: BucketName: bucket-name NotificationConfiguration: LambdaConfigurations