Skip to main content

db_parameter_groups

Creates, updates, deletes or gets a db_parameter_group resource or lists db_parameter_groups in a region

Overview

Namedb_parameter_groups
TypeResource
DescriptionAWS::Neptune::DBParameterGroup creates a new DB parameter group. This type can be declared in a template and referenced in the DBParameterGroupName parameter of AWS::Neptune::DBInstance
Idawscc.neptune.db_parameter_groups

Fields

NameDatatypeDescription
namestringProvides the name of the DB parameter group.
descriptionstringProvides the customer-specified description for this DB parameter group.
familystringMust be `neptune1` for engine versions prior to 1.2.0.0, or `neptune1.2` for engine version `1.2.0.0` and higher.
parametersobjectThe parameters to set for this DB parameter group.<br />The parameters are expressed as a JSON object consisting of key-value pairs.<br />Changes to dynamic parameters are applied immediately. During an update, if you have static parameters (whether they were changed or not), it triggers AWS CloudFormation to reboot the associated DB instance without failover.
tagsarrayAn optional array of key-value pairs to apply to this DB parameter group.
regionstringAWS region.

For more information, see AWS::Neptune::DBParameterGroup.

Methods

NameResourceAccessible byRequired Params
create_resourcedb_parameter_groupsINSERTFamily, Description, Parameters, region
delete_resourcedb_parameter_groupsDELETEIdentifier, region
update_resourcedb_parameter_groupsUPDATEIdentifier, PatchDocument, region
list_resourcesdb_parameter_groups_list_onlySELECTregion
get_resourcedb_parameter_groupsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual db_parameter_group.

SELECT
region,
name,
description,
family,
parameters,
tags
FROM awscc.neptune.db_parameter_groups
WHERE
region = 'us-east-1' AND
Identifier = '{{ name }}';

INSERT example

Use the following StackQL query and manifest file to create a new db_parameter_group resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.neptune.db_parameter_groups (
Description,
Family,
Parameters,
region
)
SELECT
'{{ description }}',
'{{ family }}',
'{{ parameters }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a db_parameter_group resource, using stack-deploy.

/*+ update */
UPDATE awscc.neptune.db_parameter_groups
SET PatchDocument = string('{{ {
"Parameters": parameters,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}';

DELETE example

/*+ delete */
DELETE FROM awscc.neptune.db_parameter_groups
WHERE
Identifier = '{{ name }}' AND
region = 'us-east-1';

Permissions

To operate on the db_parameter_groups resource, the following permissions are required:

rds:AddTagsToResource,
rds:CreateDBParameterGroup,
rds:DescribeDBParameterGroups,
rds:DescribeDBParameters,
rds:DescribeEngineDefaultParameters,
rds:ModifyDBParameterGroup,
rds:ListTagsForResource,
iam:CreateServiceLinkedRole