Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS Certified Developer ??? Associate Guide

You're reading from   AWS Certified Developer ??? Associate Guide Your one-stop solution to passing the AWS developer's certification

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787125629
Length 600 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Bhavin Parmar Bhavin Parmar
Author Profile Icon Bhavin Parmar
Bhavin Parmar
Vipul Tankariya Vipul Tankariya
Author Profile Icon Vipul Tankariya
Vipul Tankariya
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. AWS Certified Developer – Associate Certification FREE CHAPTER 2. Introduction to Cloud Computing and AWS 3. Identity and Access Management 4. Virtual Private Clouds 5. Getting Started with Elastic Compute Cloud 6. Handling Application Traffic with Elastic Load Balancing 7. Monitoring with CloudWatch 8. Simple Storage Service, Glacier, and CloudFront 9. Other AWS Storage Options 10. AWS Relational Database Services 11. AWS DynamoDB - A NoSQL Database Service 12. Amazon Simple Queue Service 13. Simple Notification Service 14. Simple Workflow Service 15. AWS CloudFormation 16. Elastic Beanstalk 17. Overview of AWS Lambda 18. Mock Tests

Event source mapping for AWS services

Regular AWS services publish events to invoke a Lambda function. It is also called a push model. A push model has the following behavioral characteristics:

  • Regular AWS service resources maintain event source mappings with an event source. AWS provides APIs to manage event source mappings. For example, the S3 bucket notification configuration API enables us to configure an event source mapping on a bucket. This configuration mapping identifies the bucket event, which is published to a Lambda function that is configured on the bucket.
  • As the event source invokes the Lambda function, it is essential to grant the necessary privileges to the resource, using a resource-based policy. This resource-based policy is referred to as a Lambda function policy.

Figure 17.2 explains how Amazon S3 pushes an event to invoke a Lambda function:

Figure 17.2...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image