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

NameAccessible byRequired Params
create_resourceINSERTFamily, Description, Parameters, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, 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 data__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 }}';

DELETE example

/*+ delete */
DELETE FROM awscc.neptune.db_parameter_groups
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';

Permissions

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

Create

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

Read

rds:DescribeDBParameterGroups,
rds:ListTagsForResource,
rds:DescribeDBParameters,
rds:DescribeEngineDefaultParameters

Update

rds:AddTagsToResource,
rds:DescribeDBParameterGroups,
rds:DescribeDBParameters,
rds:DescribeEngineDefaultParameters,
rds:ListTagsForResource,
rds:ModifyDBParameterGroup,
rds:ResetDBParameterGroup,
rds:RemoveTagsFromResource,
rds:DescribeDBInstances

Delete

rds:DeleteDBParameterGroup,
rds:RemoveTagsFromResource

List

rds:DescribeDBParameterGroups,
rds:ListTagsForResource