The Definitive Guide to AWS Application Integration by Jyothi Prasad Buddha & Reshma Beesetty

The Definitive Guide to AWS Application Integration by Jyothi Prasad Buddha & Reshma Beesetty

Author:Jyothi Prasad Buddha & Reshma Beesetty
Language: eng
Format: epub
ISBN: 9781484254011
Publisher: Apress


As you can see, the message we send is property Message. As we didn’t pass any message attributes when the Order button was clicked, the MessageAttributes parameter is empty. The Lambda function can process each message. I have removed a few parameters like signature to save some space. Our lambda function can parse the message attribute to get the order information to save in DynamoDB. Here is the complete source code for the lambda handler in Listing 3-3.let AWS = require('aws-sdk');

let ddb = new AWS.DynamoDB({ apiVersion: "2012-08-10" });



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.