Configure and control a local DynamoDB instance under the plugin namespace. Commands:
Behavior (config-first with embedded fallback)
plugins.dynamodb.local.start, then wait for readiness before returning success.plugins.dynamodb.local.status and return its exit code (0 = healthy).plugins.dynamodb.local.stop and return non-zero on failure.@karmaniverous/dynamodb-local is installed:
No separate "ready" command
Endpoint derivation
plugins.dynamodb.local.endpointplugins.dynamodb.local.port → http://localhost:{port}DYNAMODB_LOCAL_ENDPOINT (env)http://localhost:${DYNAMODB_LOCAL_PORT ?? '8000'}On successful start the CLI prints:
local dynamodb: endpoint http://localhost:8000
Hint: export DYNAMODB_LOCAL_ENDPOINT=http://localhost:8000 so app code targets Local.
Config slice
{
"plugins": {
"dynamodb": {
"local": {
"port": 8000,
"endpoint": "http://localhost:8000",
"start": "docker compose up -d dynamodb",
"stop": "docker compose stop dynamodb",
"status": "docker ps --format '{{.Names}}' | grep -q dynamodb"
}
}
}
}
Shell/env/capture