1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
As of 8/2023, AppSync does not support HTTP resolvers to VPC endpoints.
However, there is a clear and well-defined pattern for accessing VPC endpoints using Lambda resolvers. A Lambda function connected to the VPC will basically proxy the AppSync requests and allow AppSync to fetch data from any VPC endpoints.
High level steps To access Amazon VPC resources from an AWS AppSync GraphQL API, follow these steps:
- Create an AWS Lambda function to run inside the same Amazon VPC as the resources that you want to access.
- Create an AWS AppSync API, and then attach the Lambda function as the data source.
- Configure the AWS AppSync API schema.
- Attach either a Lambda resolver or a direct Lambda resolver to the target GraphQL field.
- Test the GraphQL field.
Please see this guide for more detailed steps: https://repost.aws/knowledge-center/appsync-access-private-resources-in-vpc
répondu il y a 9 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans