Software Alternatives & Reviews

Strategies to test AWS AppSync VTL templates

AWS Lambda DynamoDB AWS AppSync AWS Mobile Services
  1. Automatic, event-driven compute service
    Pricing:
    • Open Source
    The AWS AppSync enables you to integrate with other AWS services via AWS Lambda functions or VTL mapping templates. Historically it was pretty hard to test the logic written in the VTL templates. As the service matured, AWS added more and more ways to do so, enabling us, developers, to ensure the service we are developing is working correctly.

    #Cloud Computing #Cloud Hosting #Backend As A Service 244 social mentions

  2. Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models.
    The test boils down to evaluating the VTL template via the AWS SDK, then asserting on the result. You have only one dependency to maintain – the AWS SDK for AppSync, which is a huge win. The following is a snippet that evaluates a VTL template via the AppSync SDK responsible for fetching a user from AWS DynamoDB.

    #Databases #NoSQL Databases #Relational Databases 101 social mentions

  3. AWS AppSync automatically updates the data in web and mobile applications in real time, and updates data for offline users as soon as they reconnect.
    Pricing:
    • Open Source
    AWS AppSync is a serverless GraphQL and Pub/Sub API service that many developers love. Turing the complex job of creating and managing a GraphQL API with real-time capabilities into a few lines of IaC (or clicks in the console) is a great win for AWS serverless developers.

    #Project Management #Workflow Automation #Web Service Automation 30 social mentions

  4. Storage, Analytics, Push Notif. & SMS Delivery SDKs
    This is the technique I've used before I learned about the AppSync SDK's ability to render templates. Instead of relying on the SDK, we use libraries the AWS Amplify uses internally to render the template.

    #Developer Tools #Realtime Backend / API #App Development 77 social mentions

Discuss: Strategies to test AWS AppSync VTL templates

Log in or Post with