aws / aws-appsync-community

The AWS AppSync community
https://aws.amazon.com/appsync
Apache License 2.0
506 stars 32 forks source link

lambda code connecting opensearch via appysync resolver #311

Open Virgilrocks opened 1 year ago

Virgilrocks commented 1 year ago

we are currently working on a critical project that involves integrating our OpenSearch cluster with appsync resolver to enable seamless data retrieval and processing from our grapql API.

Currently we have to leverage the lambda functions to handle the data resolution process between appsync and OpenSearch efficiently

Requirements Lambda function: we require a lambda function that can effectively connect to our OpenSearch cluster and execute queries based on the GraphQL requests coming through private appsyn resolver appsync are created in private mode, and OpenSearch are created inside VPC

Appsync Resolver Configuration: we need assistance in configuring the appsync resolver to trigger the lambda function upon grapql queries that require data retrieval from OpenSearch