Skip to content

Neptune

CloudMock emulates Amazon Neptune, supporting cluster and instance lifecycle, snapshots, subnet groups, parameter groups, and tagging.

OperationStatusNotes
CreateDBClusterSupportedCreates a Neptune cluster
DescribeDBClustersSupportedLists clusters
DeleteDBClusterSupportedDeletes a cluster
ModifyDBClusterSupportedModifies cluster configuration
CreateDBInstanceSupportedCreates an instance in a cluster
DescribeDBInstancesSupportedLists instances
DeleteDBInstanceSupportedDeletes an instance
ModifyDBInstanceSupportedModifies instance configuration
CreateDBClusterSnapshotSupportedCreates a cluster snapshot
DescribeDBClusterSnapshotsSupportedLists cluster snapshots
DeleteDBClusterSnapshotSupportedDeletes a cluster snapshot
CreateDBSubnetGroupSupportedCreates a subnet group
DescribeDBSubnetGroupsSupportedLists subnet groups
DeleteDBSubnetGroupSupportedDeletes a subnet group
CreateDBClusterParameterGroupSupportedCreates a parameter group
DescribeDBClusterParameterGroupsSupportedLists parameter groups
DeleteDBClusterParameterGroupSupportedDeletes a parameter group
AddTagsToResourceSupportedAdds tags to a resource
RemoveTagsFromResourceSupportedRemoves tags from a resource
ListTagsForResourceSupportedLists tags for a resource
import { NeptuneClient, CreateDBClusterCommand } from '@aws-sdk/client-neptune';
const client = new NeptuneClient({
endpoint: 'http://localhost:4566',
region: 'us-east-1',
credentials: { accessKeyId: 'test', secretAccessKey: 'test' },
});
await client.send(new CreateDBClusterCommand({
DBClusterIdentifier: 'my-neptune-cluster',
Engine: 'neptune',
}));
import boto3
client = boto3.client('neptune',
endpoint_url='http://localhost:4566',
region_name='us-east-1',
aws_access_key_id='test',
aws_secret_access_key='test')
client.create_db_cluster(
DBClusterIdentifier='my-neptune-cluster',
Engine='neptune')
cloudmock.yml
services:
neptune:
enabled: true
  • No actual graph database is provisioned
  • Gremlin and SPARQL endpoints are not available
  • Snapshots are metadata-only