Amazon-S3 – AWS Lambda – Is there a way to pass the parameters to the lambda function when an event occurs?

I have a DynamoDB table, and whenever a new record is added, I want to archive the old data to S3. So I think I can use AWS Lambda. So the lambda function will get the new addition/ The modified new record. But I want to pass (to the lambda function) an additional parameter of the s3 path, and the record must be uploaded to that parameter.

One way is to make me want to pass to another table The lamda function in /s3. But this (parameter) will change with each record inserted into the main table. So I cannot read this from my lambda function. (When the lambda function is executed for the first inserted record , Will insert more records)

Is there a way to pass params to the lambda function?

PS: I want to execute lambda asynchronously.

Thank you…

Why not add these parameters (s3 path) to your dynamodb table (add the new original place-not in another table, but in the same table that lambda is listening)

I have a DynamoDB table, and whenever a new record is added, I want to archive the old data to S3. So I think I can use AWS Lambda. So the lambda function will get the newly added/modified new record. But I want to pass (to the lambda function) an additional parameter of the s3 path, and the record must be uploaded to that parameter.

One way is to let me want to pass to another table/lamda function in s3 . But this (parameter) will change with each record inserted into the main table. So I cannot read this from my lambda function. (When the lambda function is executed for the first inserted record, more will be inserted Record)

Is there a way to pass params to the lambda function?

PS: I want to execute lambda asynchronously.

Thank you…

Why don’t these parameters (s3 path ) To your dynamodb table (add the new original place-not in another table, but in the same table that lambda is listening)

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1871 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.