Skip to content

Commit

Permalink
Pattern changes
Browse files Browse the repository at this point in the history
  • Loading branch information
julianwood committed Aug 7, 2024
1 parent 3e26dfd commit 5cefe8d
Show file tree
Hide file tree
Showing 27 changed files with 10 additions and 687 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -58,33 +58,5 @@
"bio": "AWS Partner Solutions Architect based in NYC. Huge advocate for serverless architectures!",
"linkedin": "ragibmahsan"
}
],
"patternArch": {
"icon1": {
"x": 20,
"y": 50,
"service": "eventbridge",
"label": "EventBridge Partner event source"
},
"icon2": {
"x": 50,
"y": 50,
"service": "lambda",
"label": "AWS Lambda"
},
"icon3": {
"x": 80,
"y": 50,
"service": "cloudwatch",
"label": "Amazon CloudWatch Logs"
},
"line1": {
"from": "icon1",
"to": "icon2"
},
"line2": {
"from": "icon2",
"to": "icon3"
}
}
]
}
File renamed without changes
File renamed without changes.
Binary file removed apigw-appsync-dynamodb-sam/Ouzoegwu.jpeg
Binary file not shown.
93 changes: 0 additions & 93 deletions apigw-appsync-dynamodb-sam/apigw-appsync-dynamodb-sam.json

This file was deleted.

90 changes: 0 additions & 90 deletions apigw-lambda-cognito-sam-java/apigw-lambda-cognito-sam-java.json

This file was deleted.

6 changes: 3 additions & 3 deletions apigw-lambda-rekognition/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Content safety with Image Moderation using Amazon API Gateway and AWS Lambda
# Content safety image moderation using Amazon S3 and AWS Lambda

Using this sample pattern, users can securely upload images to an Amazon S3 bucket by requesting a pre-signed URL through Amazon API Gateway. This URL allows secure and temporary access for uploading files directly to S3.

Once an image is uploaded, an S3 event invokes another Lambda function to analyze the content using the DetectModerationLabels API. If the image is identified as inappropriate, a notification is sent via Amazon SNS, ensuring automated content moderation and alerting.
Once an image is uploaded, an S3 event invokes another AWS Lambda function to analyze the content using the DetectModerationLabels API. If the image is identified as inappropriate, a notification is sent via Amazon SNS, ensuring automated content moderation and alerting.

Learn more about this pattern at Serverless Land Patterns: https://serverlessland.com/patterns/apigw-lambda-rekognition

Expand Down Expand Up @@ -64,7 +64,7 @@ Important: this application uses various AWS services and there are costs associ
## Cleanup

1. Delete the SNS Subscription:
Go to SNS > Subsciptions > Select your Subscription and choose Delete
Go to SNS > Subscriptions > Select your Subscription and choose Delete

https://docs.aws.amazon.com/sns/latest/dg/sns-delete-subscription-topic.html

Expand Down
113 changes: 0 additions & 113 deletions apigw-lambda-rekognition/apigw-lambda-rekognition.json

This file was deleted.

4 changes: 2 additions & 2 deletions apigw-lambda-rekognition/example-pattern.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "Content safety with Image Moderation using AWS API Gateway and AWS Lambda",
"description": "Create a Lambda function which will send a notification when an inappropriate image is uploaded in Amazon S3",
"title": "Content safety image moderation using Amazon S3 and AWS Lambda",
"description": "Securely upload images to Amazon S3 and detect inappropriate content with Amazon Rekognition",
"language": "Python",
"level": "200",
"framework": "Terraform",
Expand Down
Binary file removed apigw-lambda-rekognition/images/API-S3-Lambda.png
Binary file not shown.
Loading

0 comments on commit 5cefe8d

Please sign in to comment.