|
| 1 | +{ |
| 2 | + "title": "Amazon S3 bucket creation notifications", |
| 3 | + "description": "Notify users via AWS Lambda and Amazon SNS when a new Amazon S3 Bucket is created.", |
| 4 | + "language": "Python", |
| 5 | + "level": "200", |
| 6 | + "framework": "Terraform", |
| 7 | + "introBox": { |
| 8 | + "headline": "How it works", |
| 9 | + "text": [ |
| 10 | + "This sample project demonstrates how to notify users when a new S3 bucket is created. An Amazon EventBridge rule detects S3 bucket creation events and invokes a Lambda function. This Lambda function processes the event details and publishes a notification to an SNS topic. This enables automated monitoring and notification of new S3 Bucket creations." |
| 11 | + ] |
| 12 | + }, |
| 13 | + "gitHub": { |
| 14 | + "template": { |
| 15 | + "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/eventbridge-s3-lambda", |
| 16 | + "templateURL": "serverless-patterns/eventbridge-s3-lambda", |
| 17 | + "projectFolder": "eventbridge-s3-lambda", |
| 18 | + "templateFile": "main.tf" |
| 19 | + } |
| 20 | + }, |
| 21 | + "resources": { |
| 22 | + "bullets": [ |
| 23 | + { |
| 24 | + "text": "Events from AWS services", |
| 25 | + "link": "https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html" |
| 26 | + }, |
| 27 | + { |
| 28 | + "text": "How can I publish a message to an Amazon SNS topic using a Lambda function?", |
| 29 | + "link": "https://repost.aws/knowledge-center/sns-topic-lambda" |
| 30 | + } |
| 31 | + ] |
| 32 | + }, |
| 33 | + "deploy": { |
| 34 | + "text": [ |
| 35 | + "terraform init", |
| 36 | + "terraform apply" |
| 37 | + ] |
| 38 | + }, |
| 39 | + "testing": { |
| 40 | + "text": [ |
| 41 | + "See the GitHub repo for detailed testing instructions." |
| 42 | + ] |
| 43 | + }, |
| 44 | + "cleanup": { |
| 45 | + "text": [ |
| 46 | + "terraform destroy", |
| 47 | + "terraform show" |
| 48 | + ] |
| 49 | + }, |
| 50 | + "authors": [ |
| 51 | + { |
| 52 | + "name": "Archana V", |
| 53 | + "image": "https://media.licdn.com/dms/image/D5603AQF_QwVjCkS_UQ/profile-displayphoto-shrink_200_200/0/1670929520771?e=1724284800&v=beta&t=FFJJko4OO8h1tCFrxMyneTyRPAKmyEmIaDOYOeTaFEk", |
| 54 | + "bio": "Cloud Support Engineer at AWS", |
| 55 | + "linkedin": "archana-venkat-9b80b7184" |
| 56 | + } |
| 57 | + ], |
| 58 | + "patternArch": { |
| 59 | + "icon1": { |
| 60 | + "x": 10, |
| 61 | + "y": 50, |
| 62 | + "service": "s3", |
| 63 | + "label": "Amazon S3" |
| 64 | + }, |
| 65 | + "icon2": { |
| 66 | + "x": 40, |
| 67 | + "y": 50, |
| 68 | + "service": "eventbridge", |
| 69 | + "label": "Amazon EventBridge" |
| 70 | + }, |
| 71 | + "icon3": { |
| 72 | + "x": 65, |
| 73 | + "y": 50, |
| 74 | + "service": "lambda", |
| 75 | + "label": "AWS Lambda" |
| 76 | + }, |
| 77 | + "icon4": { |
| 78 | + "x": 90, |
| 79 | + "y": 50, |
| 80 | + "service": "sns", |
| 81 | + "label": "Amazon SNS" |
| 82 | + }, |
| 83 | + "line1": { |
| 84 | + "from": "icon1", |
| 85 | + "to": "icon2", |
| 86 | + "label": "Bucket Created" |
| 87 | + }, |
| 88 | + "line2": { |
| 89 | + "from": "icon2", |
| 90 | + "to": "icon3" |
| 91 | + }, |
| 92 | + "line3": { |
| 93 | + "from": "icon3", |
| 94 | + "to": "icon4" |
| 95 | + } |
| 96 | + } |
| 97 | +} |
0 commit comments