> **Experimental**
>
> `@aws-cdk/aws-elasticache-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# UserGroupProps

Properties for defining an ElastiCache UserGroup.

Extends: UserGroupProps
Used as props by: UserGroup

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/user-group.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-elasticache-alpha/lib/user-group.ts#L17)

## 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

- `engine`: [UserEngine](/cdk/api/v2/docs/@aws-cdk_aws-elasticache-alpha.UserEngine.html) = UserEngine.VALKEY — The engine type for the user group Enum options: UserEngine.VALKEY, UserEngine.REDIS.

- `userGroupName`: string = <generated> — Enforces a particular physical user group name.

- `users`: [IUser](/cdk/api/v2/docs/@aws-cdk_aws-elasticache-alpha.IUser.html)[] — List of users inside the user group.

  **Default:** no users
