> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Neptune node observations

> Observe keyed nodes through the Neptune Database openCypher or Gremlin HTTPS API.

Mount [Documents](https://docs.bijection.com/integrations/native-mongodb.md#mount-and-start) once per
node label and language. Pass `neptuneDatabase(origin, region, credential, data)` as `provider`. Use an AWS Neptune Database instance endpoint
that resolves publicly, including its HTTPS port, and restrict its security
group to the deployment's egress. Enable IAM database authentication. Seal an
[AWS SigV4 credential](https://docs.bijection.com/integrations/connections.md#store-the-credential)
for the instance's region. Give the principal `neptune-db:ReadDataViaQuery`
on the database and restrict it to the language in use. Bind the receiver and the mount under the same [label](https://docs.bijection.com/integrations/native-connectors.md#installer-bound-labels).
VPC-only instances require network access outside this installation path.

Initialize with one of these selections:

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
const openCypher = { selection: { mode: "neptune-opencypher", nodes: { node: "Airport", key: "code" } } } as const;
const gremlin = { selection: { mode: "neptune-gremlin", nodes: { node: "Airport", key: "code" } } } as const;
```

Maintain one unique, immutable, single-valued string key per node of the
selected label. Use one to 384 ASCII letters, digits, underscores or
hyphens. The openCypher mode sends a parameterized JSON POST to
`/opencypher` and retains the Neptune node envelope. Neptune's openCypher
view can select an arbitrary value for multi-valued properties. The
Gremlin mode sends a text traversal to `/gremlin` and preserves the property
lists in untyped GraphSON 3. Neptune's text API has no bindings, so the
adapter validates identifiers and cursor literals against fixed grammars.

Each answer has at most one node and 36 KiB of JSON. Bijection commits the
record with its key, resumes strictly above that key and restarts after an
empty response. Pages may see concurrent writes. Missing nodes stay published.
The modes observe nodes only and take no graph-wide snapshot.

[Neptune public endpoints](https://docs.aws.amazon.com/neptune/latest/userguide/neptune-public-endpoints.html) ·
[openCypher API](https://docs.aws.amazon.com/neptune/latest/data-api/API_ExecuteOpenCypherQuery.html) ·
[Gremlin differences](https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-differences.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.