Skip to main content

parameter_groups

Creates, updates, deletes, gets or lists a parameter_groups resource.

Overview

Nameparameter_groups
TypeResource
Idaws.dax.parameter_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
descriptionstringA description of the parameter group.
parameter_group_namestringThe name of the parameter group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_parameter_groupsselectregionReturns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
create_parameter_groupinsertregion, ParameterGroupNameCreates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.
update_parameter_groupupdateregion, ParameterGroupName, ParameterNameValuesModifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
delete_parameter_groupdeleteregionDeletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.

SELECT
description,
parameter_group_name
FROM aws.dax.parameter_groups
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.

INSERT INTO aws.dax.parameter_groups (
ParameterGroupName,
Description,
region
)
SELECT
'{{ ParameterGroupName }}' /* required */,
'{{ Description }}',
'{{ region }}'
RETURNING
parameter_group
;

UPDATE examples

Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.

UPDATE aws.dax.parameter_groups
SET
ParameterGroupName = '{{ ParameterGroupName }}',
ParameterNameValues = '{{ ParameterNameValues }}'
WHERE
region = '{{ region }}' --required
AND ParameterGroupName = '{{ ParameterGroupName }}' --required
AND ParameterNameValues = '{{ ParameterNameValues }}' --required
RETURNING
parameter_group;

DELETE examples

Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.

DELETE FROM aws.dax.parameter_groups
WHERE region = '{{ region }}' --required
;