Introduction
In the previous chapters, we saw many AWS services that can be used for building serverless applications. In this chapter, we will explore some general practices and patterns that involve one or more of those AWS services. We have been using AWS CLI APIs and Java Lambdas until now. Services such as API Gateway and Cognito generally interact mostly with UI components and hence we will discuss their use with the JavaScript SDKs. We will also enable and use CORS, and then test our JavaScript SDK code from a browser using CodePen.
Furthermore, we will see how to create a federated identity with Cognito. We did not try this recipe in Chapter 4, Application Security with Amazon Cognito, as federated identity requires a valid domain ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access