Skip to content

Changes the list of users that belong to the user group

Description

Changes the list of users that belong to the user group.

Usage

elasticache_modify_user_group(UserGroupId, UserIdsToAdd,
  UserIdsToRemove, Engine)

Arguments

  • UserGroupId

    [required] The ID of the user group.

  • UserIdsToAdd

    The list of user IDs to add to the user group.

  • UserIdsToRemove

    The list of user IDs to remove from the user group.

  • Engine

    Modifies the engine listed in a user group. The options are valkey or redis.

Value

A list with the following syntax:

list(
  UserGroupId = "string",
  Status = "string",
  Engine = "string",
  UserIds = list(
    "string"
  ),
  MinimumEngineVersion = "string",
  PendingChanges = list(
    UserIdsToRemove = list(
      "string"
    ),
    UserIdsToAdd = list(
      "string"
    )
  ),
  ReplicationGroups = list(
    "string"
  ),
  ServerlessCaches = list(
    "string"
  ),
  ARN = "string"
)

Request syntax

svc$modify_user_group(
  UserGroupId = "string",
  UserIdsToAdd = list(
    "string"
  ),
  UserIdsToRemove = list(
    "string"
  ),
  Engine = "string"
)