课程: AWS for Developers: Data-Driven Serverless Applications with Kinesis

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Solution: Enrichment and transformation of events

Solution: Enrichment and transformation of events

(upbeat music) - [Instructor] Let's go over my solution of the third challenge. Your solution might be different, but if they work, it works. So the first thing we want to do is to create a new Lambda function that will enrich the pipe, the EDA pipe. So I'll put it on top of here. Make sure that everything is properly indented and we call it EnrichmentEDAFunction and the handle will be the enrichmentEDA. So that's good, we can already create a new file. We are coming back in a second there. Then we need to modify the EDA pipe to support enrichment. So here, we are going to add the enrichment properties. We are going to use the function and then we are going to pass the parameters. I don't know if you remember, but when we were getting the CloudWatch logs, there were a lot of information there. So I just want the data. I don't care about the partition key in this case, I just care about the data that was Base64…

内容