Prerequisites
Python Runtime
Section titled “Python Runtime”- Python 3.11 or higher is required.
AWS IAM Permissions
Section titled “AWS IAM Permissions”The IAM role or user accessing Neptune Analytics must have the following permissions.
Graph query operations
Section titled “Graph query operations”Required to read, write, and manage graph data via queries:
neptune-graph:ReadDataViaQueryneptune-graph:WriteDataViaQueryneptune-graph:DeleteDataViaQuery
Graph lifecycle
Section titled “Graph lifecycle”Required to start/stop a Neptune Analytics graph:
neptune-graph:StartGraphneptune-graph:StopGraph
Snapshots
Section titled “Snapshots”Required to save/restore a Neptune Analytics snapshot:
neptune-graph:CreateGraphSnapshotneptune-graph:RestoreGraphFromSnapshotneptune-graph:DeleteGraphSnapshotneptune-graph:TagResource
S3 import/export
Section titled “S3 import/export”Required to import/export between S3 and Neptune Analytics:
s3:GetObjects3:PutObjects3:ListBuckets3:DeleteBucketkms:Decryptkms:GenerateDataKeykms:DescribeKey
Athena (for data lake integration)
Section titled “Athena (for data lake integration)”Required to read from/write to an S3 Tables data lake:
athena:StartQueryExecutionathena:GetQueryExecution
Environment Variables
Section titled “Environment Variables”| Variable | Purpose |
|---|---|
NETWORKX_GRAPH_ID | Neptune Analytics graph identifier |
NETWORKX_ARN_IAM_ROLE | IAM role ARN for S3 import/export |
NETWORKX_S3_IMPORT_BUCKET_PATH | S3 path for imports |
NETWORKX_S3_EXPORT_BUCKET_PATH | S3 path for exports |
AWS_REGION | AWS region |