elasticache:ModifyReplicationGroup

Write

elasticache:ModifyReplicationGroup is a Write access-level action in the elasticache service. Grants permission to modify the settings for a replication group

Resource types

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

arn:${Partition}:elasticache:${Region}:${Account}:parametergroup:${CacheParameterGroupName}
parametergroup
arn:${Partition}:elasticache:${Region}:${Account}:replicationgroup:${ReplicationGroupId} required
replicationgroup
arn:${Partition}:elasticache:${Region}:${Account}:securitygroup:${CacheSecurityGroupName}
securitygroup
arn:${Partition}:elasticache:${Region}:${Account}:usergroup:${UserGroupId}
usergroup

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

aws:RequestTag/${TagKey} String

Filters actions based on the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters actions based on the tag keys that are passed in the request

elasticache:CacheParameterGroupName String

Filters access by the CacheParameterGroupName parameter in the request

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:ClusterModeEnabled Bool

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

elasticache:Durability String

Filters access by the Durability parameter in the request. Valid values are default, async, sync, or disabled

elasticache:EngineVersion String

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

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: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:ModifyReplicationGroup. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in elasticache

View all elasticache actions →