interface UserGroupProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElastiCache.Alpha.UserGroupProps |
Go | github.com/aws/aws-cdk-go/awscdkelasticachealpha/v2#UserGroupProps |
Java | software.amazon.awscdk.services.elasticache.alpha.UserGroupProps |
Python | aws_cdk.aws_elasticache_alpha.UserGroupProps |
TypeScript (source) | @aws-cdk/aws-elasticache-alpha ยป UserGroupProps |
Properties for defining an ElastiCache UserGroup.
Example
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
| Name | Type | Description |
|---|---|---|
| engine? | User | The engine type for the user group Enum options: UserEngine.VALKEY, UserEngine.REDIS. |
| user | string | Enforces a particular physical user group name. |
| users? | IUser[] | List of users inside the user group. |
engine?
Type:
User
(optional, default: UserEngine.VALKEY)
The engine type for the user group Enum options: UserEngine.VALKEY, UserEngine.REDIS.
userGroupName?
Type:
string
(optional, default:
Enforces a particular physical user group name.
users?
Type:
IUser[]
(optional, default: no users)
List of users inside the user group.

.NET
Go
Java
Python
TypeScript (