Skip to content
v2.273.0

UserGroupProps Struct ​

Properties for defining an ElastiCache UserGroup.

Example ​

ts
const newDefaultUser = new elasticache.NoPasswordUser(this, 'NoPasswordUser', {
  userId: 'default',
  accessControl: elasticache.AccessControl.fromAccessString("on ~* +@all"),
})

const userGroup = new elasticache.UserGroup(this, 'UserGroup', {
  users: [newDefaultUser],
});

Properties ​

engineUserEngineengineUserEngineengineUserEngineEngineUserEngineEngineUserEngine= UserEngine.VALKEY#
The engine type for the user group Enum options: UserEngine.VALKEY, UserEngine.REDIS.
userGroupNamestringuser_group_namestruserGroupNameStringUserGroupNamestringUserGroupName*string= <generated>#
Enforces a particular physical user group name.
usersIUser[]userstyping.List[IUser]usersList<IUser>UsersIUser[]Users*[]IUser= no users#
List of users inside the user group.

Used as props by ​