如何在 AWS Lambda 中访问 Neptune DB (Gremlin)?

How to access Neptune DB (Gremlin) in AWS Lambda?

是否可以使用 lambda 函数访问海王星 DB(Gremlin)?

我想访问neptune DB(gremlin),但我不知道如何访问。

是的,您可以从 Lambda 访问 Amazon Neptune。例如,假设您想使用 Python 作为上传到 Lambda 的 ZIP 文件的一部分,您需要在 ZIP 文件中包含 Gremlin Python 库。 Lambda 文档提供了一些关于如何创建该 ZIP 文件的很好的示例。您还需要确保 Lambda 函数可以访问 Neptune 所在的 VPC 运行。