lambda​ https://web.expressmagazine.net/ en Hướng dẫn AWS DynamoDB Streams to Lambda Tutorial in Python https://web.expressmagazine.net/aws-hoc-ve-amazon/huong-dan-aws-dynamodb-streams-lambda-tutorial-python.html <span>Hướng dẫn AWS DynamoDB Streams to Lambda Tutorial in Python</span> <span><a title="View user profile." href="/user-profile/admin" lang="" about="/user-profile/admin" typeof="schema:Person" property="schema:name" datatype="">admin</a></span> <span>Tue, 02/02/2021 - 03:57</span> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>DynamoDB Streams are a powerful feature that allow applications to respond to change on your table's records. Combining this feature with Lambda functions creates a highly scalable and fault tolerant application that can easily respond to record modification. In this video, I show you how to create a Lambda function and define a handler function (in python) that will respond to DynamoDB change events. From there, I define a required IAM role and attach it to the Lambda Function. Afterwards, I create a <a href="https://web.expressmagazine.net/">DynamoDB</a> table and hook up the Lambda trigger. I test the connectivity by making manual updates on my DynamoDB table and confirm the Lambda function is responding appropriately. </p> <h2>MY RECOMMENDED READING LIST</h2> <p>Clean Code - https://geni.us/ghhJqs​</p> <p>Clean Architecture - https://geni.us/FtLwm​ </p> <p>Code Complete - https://geni.us/CuSaX2​     </p> <p>Head First Design Patterns - https://geni.us/t0p44Fx​    </p> <p>The Pragmatic Programmer - https://geni.us/DTGO​     </p> <p>Algorithms - https://geni.us/y1IZXX4​     </p> <p>Domain Driver Design - https://geni.us/B90tw76​  </p> <p>Working Effectively with Legacy Code - https://geni.us/3TMXON​     </p> <p>Refactoring - https://geni.us/cRA93​ </p> <h2>MY RECORDING EQUIPMENT</h2> <p>Shure SM58 Microphone - https://geni.us/xfjf21N​     </p> <p>Behringer UM2 Audio Interface - https://geni.us/m6G1tC​    </p> <p>XLR Cable - https://geni.us/xEQxQ​     </p> <p>Desk Microphone Mount - https://geni.us/fHqj5ss​     </p> <p>Logitech C920s Webcam - https://geni.us/Dl7WemP​  </p> <p>Fujilm XS10 Camera - https://geni.us/bWy2​     </p> <p>Fujifilm XF 35mm F2 Lens - https://geni.us/gPHo​     </p> <p>Neewer 2 Piece Studio Lights - https://geni.us/tAMf​    </p> <h3>? MY DESKTOP EQUIPMENT ?</h3> <p>Autonomous ErgoChair 2  - https://bit.ly/2YzomEm​</p> <p>Autonomous SmartDesk 2 Standing Desk - https://bit.ly/2YzomEm​</p> <p>MX Master 3 Productivity Mouse - https://geni.us/V6OyUIG​     </p> <p>Das Keyboard  Prime 13 MX Brown - https://geni.us/ZpkQz​</p> <p>Veikk A15 Drawing Tablet - https://geni.us/DFsa​     </p> <h3>? References / Resources:</h3> <p>Getting started with AWS: https://youtu.be/lTyqzyk86f8​</p> <p>Lambda function code (python): https://gist.github.com/djg07/2bcf216..</p> <h3>☁Topics covered include:</h3> <p>- Lambda Function Creation</p> <p>- Lambda handler using python</p> <p>- Lambda DynamoDB Streams IAM role</p> <p>- DynamoDB Table Setup</p> <p>- DynamoDB Streams</p> <p>- DynamoDB NewImage</p> <p>- DynamoDB OldImage</p> <p>- DynamoDB Stream "Change" Events</p> <p>- <a href="https://web.expressmagazine.net">Lambda Cloudwatch</a> Monitoring</p> <p><a href="/hashtags/dynamodb" class="hashtag">#DynamoDB​</a> ​ <a href="/hashtags/lambda" class="hashtag">#Lambda​</a> <a href="/hashtags/aws" class="hashtag">#AWS​</a> <a href="/hashtags/serverless" class="hashtag">#Serverless</a></p> </div> <div class="field field--name-field-video field--type-video-embed-field field--label-hidden field--item"><div class="video-embed-field-provider-youtube video-embed-field-responsive-video form-group"><iframe width="854" height="480" frameborder="0" allowfullscreen="allowfullscreen" src="https://www.youtube.com/embed/RhLUyJxS8Tk?autoplay=1&amp;start=0&amp;rel=0"></iframe> </div> </div> <div class="field field--name-field-category field--type-entity-reference field--label-above"> <div class="field--label">Category</div> <div class="field--item"><a href="/aws-hoc-ve-amazon" hreflang="en">AWS - Học về Amazon</a></div> </div> <div class="field field--name-field-image field--type-image field--label-above"> <div class="field--label">Image</div> <div class="field--item"> <img src="/sites/default/files/2021-02/lambda.jpg" width="1280" height="720" alt="AWS DynamoDB Streams to Lambda Tutorial in Python" loading="lazy" typeof="foaf:Image" class="img-responsive" /> </div> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-above"> <div class="field--label">Tags</div> <div class="field__items"> <div class="field--item"><a href="/tags/quyet-tam-hoc-tap.html" hreflang="en">Quyết tâm học tập</a></div> </div> </div> <div class="user-comment-area pt-50"> <div class="comment-form pt-90"> <h4>Add new comment</h4> <div class="comment__form form--square"><drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=336&amp;2=comment&amp;3=comment" token="qAynikU_i1ofS_sm6lxJcMCK-PJPsd98qlKSaoorWkQ"></drupal-render-placeholder></div> </div> </div> Tue, 02 Feb 2021 02:57:31 +0000 admin 336 at https://web.expressmagazine.net