AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the ModifyCacheParameterGroup operation. 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.
Namespace: Amazon.ElastiCache.Model
Assembly: AWSSDK.ElastiCache.dll
Version: 3.x.y.z
public class ModifyCacheParameterGroupRequest : AmazonElastiCacheRequest IAmazonWebServiceRequest
The ModifyCacheParameterGroupRequest type exposes the following members
Name | Description | |
---|---|---|
ModifyCacheParameterGroupRequest() |
Empty constructor used to set properties independently even when a simple constructor is available |
|
ModifyCacheParameterGroupRequest(string, List<ParameterNameValue>) |
Instantiates ModifyCacheParameterGroupRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
CacheParameterGroupName | System.String |
Gets and sets the property CacheParameterGroupName. The name of the cache parameter group to modify. |
|
ParameterNameValues | System.Collections.Generic.List<Amazon.ElastiCache.Model.ParameterNameValue> |
Gets and sets the property ParameterNameValues. 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. |
Modifies one or more parameter values in the specified parameter group. You cannot modify any default parameter group.
var client = new AmazonElastiCacheClient(); var response = client.ModifyCacheParameterGroup(new ModifyCacheParameterGroupRequest { CacheParameterGroupName = "custom-mem1-4", ParameterNameValues = new List<ParameterNameValue> { new ParameterNameValue { ParameterName = "binding_protocol", ParameterValue = "ascii" }, new ParameterNameValue { ParameterName = "chunk_size", ParameterValue = "96" } } }); string cacheParameterGroupName = response.CacheParameterGroupName;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5