With JavaScript resolvers, you can write your own code, that implements your custom business logic to access your data sources. This makes it easy for you to directly interact with data sources like Amazon DynamoDB, Amazon Aurora Serverless, Amazon OpenSearch Service, HTTP APIs, and other AWS services, without having to deploy additional compute services or infrastructure. AWS AppSync also makes it easy to interact with an AWS Lambda function by configuring a Lambda data source. Lambda data sources allow you to run complex business logic using AWS Lambda’s full set capabilities to resolve a GraphQL request. In most cases, an AppSync function directly connected to its target data source will provide all of the functionality you need. In situations where you need to implement complex business logic that is not supported by the JavaScript resolvers, you can use a Lambda data source as a proxy to interact with your target data source.