Skip to content
GitHubXDiscordRSS

DBParameterGroup

Learn how to create, update, and manage AWS Neptune DBParameterGroups using Alchemy Cloud Control.

The DBParameterGroup resource lets you manage AWS Neptune DBParameterGroups which define database engine configuration settings for your Neptune databases.

Create a basic DBParameterGroup with required properties and common optional ones:

import AWS from "alchemy/aws/control";
const dbParameterGroup = await AWS.Neptune.DBParameterGroup("myDbParameterGroup", {
Description: "My Neptune DB Parameter Group",
Parameters: {
"max_connections": "100",
"query_timeout": "300"
},
Family: "neptune1",
Tags: [
{ Key: "Environment", Value: "Production" },
{ Key: "Project", Value: "NeptuneMigration" }
]
});

Configure a DBParameterGroup with more advanced settings:

const advancedDbParameterGroup = await AWS.Neptune.DBParameterGroup("advancedDbParameterGroup", {
Description: "Advanced Neptune DB Parameter Group with custom settings",
Parameters: {
"max_connections": "200",
"idle_timeout": "600",
"query_timeout": "300",
"enable_audit_logging": "true"
},
Family: "neptune1",
Name: "AdvancedNeptuneGroup"
});

Create a DBParameterGroup specifically for testing purposes:

const testDbParameterGroup = await AWS.Neptune.DBParameterGroup("testDbParameterGroup", {
Description: "Test DB Parameter Group for Development",
Parameters: {
"max_connections": "50",
"query_timeout": "120",
"enable_query_logging": "false"
},
Family: "neptune1",
Name: "TestNeptuneGroup",
adopt: true // Adopt existing resource if it exists
});