Skip to content

Modifies the parameters of a cache parameter group

Description

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

Usage

elasticache_modify_cache_parameter_group(CacheParameterGroupName,
  ParameterNameValues)

Arguments

  • CacheParameterGroupName

    [required] The name of the cache parameter group to modify.

  • ParameterNameValues

    [required] An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.

Value

A list with the following syntax:

list(
  CacheParameterGroupName = "string"
)

Request syntax

svc$modify_cache_parameter_group(
  CacheParameterGroupName = "string",
  ParameterNameValues = list(
    list(
      ParameterName = "string",
      ParameterValue = "string"
    )
  )
)

Examples

# Modifies one or more parameter values in the specified parameter group.
# You cannot modify any default parameter group.
svc$modify_cache_parameter_group(
  CacheParameterGroupName = "custom-mem1-4",
  ParameterNameValues = list(
    list(
      ParameterName = "binding_protocol",
      ParameterValue = "ascii"
    ),
    list(
      ParameterName = "chunk_size",
      ParameterValue = "96"
    )
  )
)