Skip to content

Create User Group

elasticache_create_user_group R Documentation

For Redis OSS engine version 6

Description

For Redis OSS engine version 6.0 onwards: Creates a Redis OSS user group. For more information, see Using Role Based Access Control (RBAC)

Usage

elasticache_create_user_group(UserGroupId, Engine, UserIds, Tags)

Arguments

UserGroupId

[required] The ID of the user group.

Engine

[required] The current supported value is Redis user.

UserIds

The list of user IDs that belong to the user group.

Tags

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. Available for Redis OSS only.

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$create_user_group(
  UserGroupId = "string",
  Engine = "string",
  UserIds = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)