Skip to content
GitHubXDiscord

DBClusterParameterGroup

The DBClusterParameterGroup resource lets you manage AWS Neptune DBClusterParameterGroups and their configuration settings.

Create a basic DBClusterParameterGroup with required properties and one optional tag.

import AWS from "alchemy/aws/control";
const dbClusterParameterGroup = await AWS.Neptune.DBClusterParameterGroup("myDbClusterParameterGroup", {
Description: "Parameter group for my Neptune DB cluster",
Parameters: {
"neptune_query_timeout": "120"
},
Family: "neptune1",
Tags: [
{
Key: "Environment",
Value: "Development"
}
]
});

Set up a DBClusterParameterGroup with additional parameters for enhanced performance.

const advancedDbClusterParameterGroup = await AWS.Neptune.DBClusterParameterGroup("advancedDbClusterParameterGroup", {
Description: "Advanced parameter group for production Neptune DB cluster",
Parameters: {
"neptune_query_timeout": "300",
"neptune_enable_audit_log": "true",
"neptune_max_connections": "500"
},
Family: "neptune1"
});

Create a custom DBClusterParameterGroup specifically for read replicas with a unique configuration.

const readReplicaDbClusterParameterGroup = await AWS.Neptune.DBClusterParameterGroup("readReplicaDbClusterParameterGroup", {
Description: "Parameter group for Neptune read replicas",
Parameters: {
"neptune_query_timeout": "180",
"neptune_enable_audit_log": "false",
"neptune_max_connections": "300"
},
Family: "neptune1",
Name: "ReadReplicaGroup"
});