![]() ![]() The AWS Cloud Development Kit (AWS CDK) is an open source software development framework to model and provision your cloud application resources using familiar programming languages. We’ll also look at how to consume the API from a web application using the Amplify JavaScript library. ![]() At the end of the post, we’ll use the CDK CLI to create an outputs file that can be integrated into a client application using AWS Amplify. ![]() The API will implement common CRUD and List operations as well as real-time event-based functionality using GraphQL subscriptions for all create, update, and delete operations to build a blogging back end. The infrastructure as code tool will be CDK written in TypeScript. In this tutorial, you will learn how to build a real-time AppSync API using Amazon Serverless Aurora PostgreSQL as the database. A single API can be backed by a combination of Amazon DynamoDB, Amazon Aurora, Amazon OpenSearch Service, or any other database and a single request can return a response combining all of these datasources at once. You are also not limited to a single database per API or even per API request. One of the strengths of AppSync is that it is database agnostic – because the resolvers are just functions, the service integrates well with any database within AWS or elsewhere using either direct resolvers or Lambda resolvers (which we will be using in this tutorial). In my last post I showed how to use AWS CDK to deploy AWS AppSync as a real-time API layer integrated with Amazon DynamoDB. With AppSync, developers can build scalable applications on a range of data sources, including Amazon DynamoDB NoSQL tables, Amazon Aurora Serverless relational databases, Amazon OpenSearch Service (successor to Amazon Elasticsearch Service) clusters, HTTP APIs, and serverless functions powered by AWS Lambda. See details.ĪWS AppSync is a managed serverless GraphQL API service that simplifies application development by letting you create a flexible interface to securely access, manipulate, and combine data from one or more data sources with a single network call and API endpoint. September 14, 2021: Amazon Elasticsearch Service has been renamed to Amazon OpenSearch Service. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |