interface UserGroupProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElastiCache.Alpha.UserGroupProps |
![]() | github.com/aws/aws-cdk-go/awscdkelasticachealpha/v2#UserGroupProps |
![]() | software.amazon.awscdk.services.elasticache.alpha.UserGroupProps |
![]() | aws_cdk.aws_elasticache_alpha.UserGroupProps |
![]() | @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.