View source: R/elasticache_operations.R
elasticache_modify_cache_cluster | R Documentation |
Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values.
See https://www.paws-r-sdk.com/docs/elasticache_modify_cache_cluster/ for full documentation.
elasticache_modify_cache_cluster(
CacheClusterId,
NumCacheNodes = NULL,
CacheNodeIdsToRemove = NULL,
AZMode = NULL,
NewAvailabilityZones = NULL,
CacheSecurityGroupNames = NULL,
SecurityGroupIds = NULL,
PreferredMaintenanceWindow = NULL,
NotificationTopicArn = NULL,
CacheParameterGroupName = NULL,
NotificationTopicStatus = NULL,
ApplyImmediately = NULL,
EngineVersion = NULL,
AutoMinorVersionUpgrade = NULL,
SnapshotRetentionLimit = NULL,
SnapshotWindow = NULL,
CacheNodeType = NULL,
AuthToken = NULL,
AuthTokenUpdateStrategy = NULL,
LogDeliveryConfigurations = NULL,
IpDiscovery = NULL
)
CacheClusterId |
[required] The cluster identifier. This value is stored as a lowercase string. |
NumCacheNodes |
The number of cache nodes that the cluster should have. If the value for
If you are removing cache nodes, you must use the For clusters running Redis OSS, this value must be 1. For clusters running Memcached, this value must be between 1 and 40. Adding or removing Memcached cache nodes can be applied immediately or
as a pending operation (see A pending operation to modify the number of cache nodes in a cluster
during its maintenance window, whether by adding or removing nodes in
accordance with the scale out architecture, is not queued. The
customer's latest request to add or remove nodes to the cluster
overrides any previous pending operations to modify the number of cache
nodes in the cluster. For example, a request to remove 2 nodes would
override a previous pending operation to remove 3 nodes. Similarly, a
request to add 2 nodes would override a previous pending operation to
remove 3 nodes and vice versa. As Memcached cache nodes may now be
provisioned in different Availability Zones with flexible cache node
placement, a request to add nodes does not automatically override a
previous pending operation to add nodes. The customer can modify the
previous pending operation to add more nodes or explicitly cancel the
pending request and retry the new request. To cancel pending operations
to modify the number of cache nodes in a cluster, use the
|
CacheNodeIdsToRemove |
A list of cache node IDs to be removed. A node ID is a numeric
identifier (0001, 0002, etc.). This parameter is only valid when
For example: If you have 3 active cache nodes, 7 pending cache nodes,
and the number of cache nodes in this
|
AZMode |
Specifies whether the new nodes in this Memcached cluster are all created in a single Availability Zone or created across multiple Availability Zones. Valid values: This option is only supported for Memcached clusters. You cannot specify Only newly created nodes are located in different Availability Zones. |
NewAvailabilityZones |
This option is only supported on Memcached clusters. The list of Availability Zones where the new Memcached cache nodes are created. This parameter is only valid when Scenarios:
The Availability Zone placement of nodes pending creation cannot be
modified. If you wish to cancel any nodes pending creation, add 0 nodes
by setting If Impact of new add/remove requests upon pending requests
|
CacheSecurityGroupNames |
A list of cache security group names to authorize on this cluster. This change is asynchronously applied as soon as possible. You can use this parameter only with clusters that are created outside of an Amazon Virtual Private Cloud (Amazon VPC). Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default". |
SecurityGroupIds |
Specifies the VPC Security Groups associated with the cluster. This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (Amazon VPC). |
PreferredMaintenanceWindow |
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for
Example: |
NotificationTopicArn |
The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications are sent. The Amazon SNS topic owner must be same as the cluster owner. |
CacheParameterGroupName |
The name of the cache parameter group to apply to this cluster. This
change is asynchronously applied as soon as possible for parameters when
the |
NotificationTopicStatus |
The status of the Amazon SNS notification topic. Notifications are sent
only if the status is Valid values: |
ApplyImmediately |
If If If you perform a
Valid values: Default: |
EngineVersion |
The upgraded version of the cache engine to be run on the cache nodes. Important: You can upgrade to a newer engine version (see Selecting a Cache Engine and Version), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version. |
AutoMinorVersionUpgrade |
If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. |
SnapshotRetentionLimit |
The number of days for which ElastiCache retains automatic cluster
snapshots before deleting them. For example, if you set
If the value of |
SnapshotWindow |
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your cluster. |
CacheNodeType |
A valid cache node type that you want to scale this cluster up to. |
AuthToken |
Reserved parameter. The password used to access a password protected
server. This parameter must be specified with the
For more information, see AUTH password at AUTH. |
AuthTokenUpdateStrategy |
Specifies the strategy to use to update the AUTH token. This parameter
must be specified with the
For more information, see Authenticating Users with Redis OSS AUTH |
LogDeliveryConfigurations |
Specifies the destination, format and type of the logs. |
IpDiscovery |
The network type you choose when modifying a cluster, either |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.