- AWS CLI already configured with Administrator permission
- Docker installed
- Golang
- Node.js, including the NPM package management tool
- Python 3
- Ruby 2.7
- SAM CLI
To build and deploy your application for the first time, run the following in your shell:
sam build
sam deploy --guided
A GraphQL AppSync API linked to 4 Lambda functions based on different runtimes will be deployed in your AWS account leveraging Direct Lambda Resolvers (AWS AppSync without VTL).
In order to test, execute the following query from the AppSync console:
query {
getHelloWorld{
go
node
python
ruby
}
}
Due to the nature of GraphQL, the query invokes all 4 Lambda functions with a single network call and receives the results defined in the query selection set.