elasticache:DecreaseNodeGroupsInGlobalReplicationGroup

Write

elasticache:DecreaseNodeGroupsInGlobalReplicationGroup is a Write access-level action in the elasticache service. Grants permission to decrease the number of node groups in global replication groups

Resource types

ARNs that elasticache:DecreaseNodeGroupsInGlobalReplicationGroup can be scoped to in an IAM policy.

arn:${Partition}:elasticache::${Account}:globalreplicationgroup:${GlobalReplicationGroupId}
globalreplicationgroup

Condition keys

Keys you can use in the Condition block of a policy that grants elasticache:DecreaseNodeGroupsInGlobalReplicationGroup.

elasticache:AtRestEncryptionEnabled Bool

Filters access by the AtRestEncryptionEnabled parameter present in the request or default false value if parameter is not present

elasticache:AuthTokenEnabled Bool

Filters access by the presence of non empty AuthToken parameter in the request

elasticache:AutomaticFailoverEnabled Bool

Filters access by the AutomaticFailoverEnabled parameter in the request

elasticache:CacheNodeType String

Filters access by the cacheNodeType parameter present in the request. This key can be used to restrict which cache node types can be used on cluster creation or scaling operations

elasticache:CacheParameterGroupName String

Filters access by the CacheParameterGroupName parameter in the request

elasticache:ClusterModeEnabled Bool

Filters access by the cluster mode parameter present in the request. Default value for single node group (shard) creations is false

elasticache:EngineType String

Filters access by the engine type present in creation requests. For replication group creations, default engine 'redis' is used as key if parameter is not present

elasticache:EngineVersion String

Filters access by the engineVersion parameter present in creation or cluster modification requests

elasticache:KmsKeyId String

Filters access by the Key ID of the KMS key

elasticache:MultiAZEnabled Bool

Filters access by the AZMode parameter, MultiAZEnabled parameter or the number of availability zones that the cluster or replication group can be placed in

elasticache:NumNodeGroups Numeric

Filters access by the NumNodeGroups or NodeGroupCount parameter specified in the request. This key can be used to restrict the number of node groups (shards) clusters can have after creation or scaling operations

elasticache:ReplicasPerNodeGroup Numeric

Filters access by the number of replicas per node group (shards) specified in creations or scaling requests

elasticache:SnapshotRetentionLimit Numeric

Filters access by the SnapshotRetentionLimit parameter in the request

elasticache:TransitEncryptionEnabled Bool

Filters access by the TransitEncryptionEnabled parameter present in the request. For replication group creations, default value 'false' is used as key if parameter is not present

Example IAM policy

A minimal policy that allows elasticache:DecreaseNodeGroupsInGlobalReplicationGroup. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticacheDecreaseNodeGroupsInGlobalReplicationGroup",
      "Effect": "Allow",
      "Action": "elasticache:DecreaseNodeGroupsInGlobalReplicationGroup",
      "Resource": "*"
    }
  ]
}

Related actions in elasticache

View all elasticache actions →