Skip to content

Commit f80eb6b

Browse files
authored
publishing file
1 parent b8a896b commit f80eb6b

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"title": "Resizing images uploaded to Amazon S3 with AWS Lambda",
3+
"description": "Create an AWS Lambda function that resizes images uploaded to Amazon S3.",
4+
"language": "Python",
5+
"level": "200",
6+
"framework": "SAM",
7+
"introBox": {
8+
"headline": "How it works",
9+
"text": [
10+
"A Lambda function consumes events from an Amazon S3 bucket. The Lambda code checks the uploaded file is an image, creates a thumbnail version of the image, then uploads the thumbnail to the destination bucket.",
11+
"This pattern deploys a Lambda function and two S3 buckets."
12+
]
13+
},
14+
"gitHub": {
15+
"template": {
16+
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/s3-lambda-resizing-python",
17+
"templateURL": "serverless-patterns/s3-lambda-resizing-python",
18+
"projectFolder": "s3-lambda-resizing-python",
19+
"templateFile": "template.yaml"
20+
}
21+
},
22+
"resources": {
23+
"bullets": [
24+
{
25+
"text": "Process S3 events with Lambda",
26+
"link": "https://docs.aws.amazon.com/lambda/latest/dg/with-s3.html"
27+
}
28+
]
29+
},
30+
"deploy": {
31+
"text": [
32+
"sam deploy --guided"
33+
]
34+
},
35+
"testing": {
36+
"text": [
37+
"See the GitHub repo for detailed testing instructions."
38+
]
39+
},
40+
"cleanup": {
41+
"text": [
42+
"Delete the application: <code>sam delete</code>."
43+
]
44+
},
45+
"authors": [
46+
{
47+
"name": "Seshu Brahma",
48+
"image": "https://i.postimg.cc/ZR0MyrTN/seshub-photo.jpg",
49+
"bio": "SDE for AWS Lambda",
50+
"linkedin": "seshu-brahma"
51+
}
52+
],
53+
"patternArch": {
54+
"icon1": {
55+
"x": 20,
56+
"y": 50,
57+
"service": "s3",
58+
"label": "Amazon S3"
59+
},
60+
"icon2": {
61+
"x": 50,
62+
"y": 50,
63+
"service": "lambda",
64+
"label": "AWS Lambda"
65+
},
66+
"icon3": {
67+
"x": 80,
68+
"y": 50,
69+
"service": "s3",
70+
"label": "Amazon S3"
71+
},
72+
"line1": {
73+
"from": "icon1",
74+
"to": "icon2",
75+
"label": "Object Created"
76+
},
77+
"line2": {
78+
"from": "icon2",
79+
"to": "icon3"
80+
}
81+
}
82+
}

0 commit comments

Comments
 (0)