CmdID / aws / aws redshift
aws redshift modify-cluster-parameter-group
Modifies the parameters of a parameter group. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To modify a parameter in a parameter group
The following modify-cluster-parameter-group example modifies the wlm_json_configuration parameter for workload management. It accepts the parameters from a file that contains the JSON contents shown below.
aws redshift modify-cluster-parameter-group --parameter-group-name myclusterparametergroup --parameters file://modify_pg.jsonIdentify--parameter-group-nameThe name of the parameter group to be modified.--parametersAn array of parameters to be modified.Contents of modify_pg.json:
[
{
"ParameterName": "wlm_json_configuration",
"ParameterValue": "[{\"user_group\":\"example_user_group1\",\"query_group\": \"example_query_group1\", \"query_concurrency\":7},{\"query_concurrency\":5}]"
}
]
Its output
{
"ParameterGroupStatus": "Your parameter group has been updated but changes won't get applied until you reboot the associated Clusters.",
"ParameterGroupName": "myclusterparametergroup"
}For more information, see Modifying a parameter group in the Amazon Redshift Management Guide.
Options
--parameter-group-nameThe name of the parameter group to be modified.--parametersAn array of parameters to be modified.