Skip to content

Prerequisites

  • Python 3.11 or higher is required.

The IAM role or user accessing Neptune Analytics must have the following permissions.

Required to read, write, and manage graph data via queries:

  • neptune-graph:ReadDataViaQuery
  • neptune-graph:WriteDataViaQuery
  • neptune-graph:DeleteDataViaQuery

Required to start/stop a Neptune Analytics graph:

  • neptune-graph:StartGraph
  • neptune-graph:StopGraph

Required to save/restore a Neptune Analytics snapshot:

  • neptune-graph:CreateGraphSnapshot
  • neptune-graph:RestoreGraphFromSnapshot
  • neptune-graph:DeleteGraphSnapshot
  • neptune-graph:TagResource

Required to import/export between S3 and Neptune Analytics:

  • s3:GetObject
  • s3:PutObject
  • s3:ListBucket
  • s3:DeleteBucket
  • kms:Decrypt
  • kms:GenerateDataKey
  • kms:DescribeKey

Required to read from/write to an S3 Tables data lake:

  • athena:StartQueryExecution
  • athena:GetQueryExecution
VariablePurpose
NETWORKX_GRAPH_IDNeptune Analytics graph identifier
NETWORKX_ARN_IAM_ROLEIAM role ARN for S3 import/export
NETWORKX_S3_IMPORT_BUCKET_PATHS3 path for imports
NETWORKX_S3_EXPORT_BUCKET_PATHS3 path for exports
AWS_REGIONAWS region