logo
Menu

Adventures of JSON ( part 1) | S03 E04 | Build On Weekly

Time to take our hero, JSON, on an adventure of a life time! Let's see how many AWS services can we reach this time.

Darko Mesaros
Amazon Employee
Published Apr 9, 2024
Time for something completely different. Instead of Rohini and Darko discussing a specific technical topic with chat, they are going to do something fun.
Internet, meet JSON:
the image of JSON, a text file on a pixel art background
JSON the adventurer
JSON is just, that, a JSON file. But he is more than that. He has decided to adventure through as many AWS services as he can! And Rohini and Darko are going to do is help him. Help him get to his end goal - visiting ALL AWS services! 👏
So, in this first episode our hero washes a shore in AWS Land, and the first place he goes ... a S3 Bucket. How do we get him there? With a command:
1
aws s3 cp hero.json s3://the-drunken-platypus-tiki-bar/lobby/hero.json
That's all it takes to get to a S3 bucket! 🥳 Where next? One of the returning places you will see in this adventure is the Amazon EventBridge. And thanks to the way that service works, as soon as JSON enters the S3 Bucket, he is transported to the EvenBridge, thanks Event Pattern matching:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"source": ["aws.s3"],
"detail-type": ["Object Created"],
"detail": {
"bucket": {
"name": ["the-drunken-platypus-tiki-bar"]
},
"object": {
"key": [{
"prefix": "lobby/hero.json"
}]
}
}
}
Check out the stream recording here:
Loading...
 

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.

Comments