Gremlin python connection to Neptune via IAM and WS

Does anyone know how to connect gremlin-python with websocket and IAM authorization to AWS Neptune. Right now I'm just using Websocket but without Auth, so is there a way to implement it?
Solution
Steps for connecting to Neptune using Python.
The following example AWS Lambda functions, written in Java, JavaScript and Python, illustrate upserting a single vertex with a randomly generated ID using the fold().coalesce().unfold() idiom.
Was this page helpful?