Skip to main content

parameters

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

Overview

Nameparameters
TypeResource
Idaws.memorydb.parameters

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
allowed_valuesstringThe valid range of values for the parameter.
data_typestringThe parameter's data type
descriptionstringA description of the parameter
minimum_engine_versionstringThe earliest engine version to which the parameter can apply.
namestringThe name of the parameter
valuestringThe value of the parameter

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_parametersselectregionReturns the detailed parameter list for a particular parameter group.
reset_parameter_groupexecregion, ParameterGroupNameModifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.

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 the detailed parameter list for a particular parameter group.

SELECT
allowed_values,
data_type,
description,
minimum_engine_version,
name,
value
FROM aws.memorydb.parameters
WHERE region = '{{ region }}' -- required
;

Lifecycle Methods

Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.

EXEC aws.memorydb.parameters.reset_parameter_group
@region='{{ region }}' --required
@@json=
'{
"ParameterGroupName": "{{ ParameterGroupName }}",
"AllParameters": {{ AllParameters }},
"ParameterNames": "{{ ParameterNames }}"
}'
;