Serverless application developers can now build AppSync powered applications in AWS Serverless Application Model (AWS SAM) with the new AWS::Serverless::GraphQLApi resource abstraction. AWS AppSync is a managed service that makes it easier to build scalable APIs that connect applications to data with a GraphQL endpoint. Before today, SAM customers had to work through a learning curve while building their AppSync applications in a SAM template:
- SAM customers wanting to use AppSync could only use AppSync’s CloudFormation resources in their SAM template.
- IAM permissions had to be managed individually by the user, requiring IAM expertise to successfully and safely integrate the AppSync resources with Lambda or DynamoDB.