Chapter 16. Calling external services

This chapter covers

  • Using external APIs in Lambda functions
  • Using AWS KMS to secure third-party credentials in Lambda functions
  • Calling IFTTT from a Lambda function
  • Using AWS Lambda to send a message to a Slack team
  • Using the GitHub API from a Lambda function

In the previous chapter, you learned how to use Lambda functions to automate management activities on your infrastructure, react to alarms, and automatically deploy other functions.

Now you’ll extend the reach of your possibilities with common patterns and practical examples of how you can securely call external services, such as IFTTT (If This Then That), Slack, or GitHub from a Lambda function.

16.1. Managing secrets and credentials

Storing secrets ...

Get AWS Lambda in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.