Experimental
@aws-cdk/aws-elasticache-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
IamUserProps Struct
Properties for defining an ElastiCache user with IAM authentication.
Example
ts
const user = new elasticache.IamUser(this, 'User', {
// set user engine
engine: elasticache.UserEngine.REDIS,
// set user id
userId: 'my-user',
// set username
userName: 'my-user',
// set access string
accessControl: elasticache.AccessControl.fromAccessString("on ~* +@all"),
});
Properties
accessControlAccessControlaccess_controlAccessControlaccessControlAccessControlAccessControlAccessControlAccessControlAccessControlrequired#Access control configuration for the user.
engineUserEngineengineUserEngineengineUserEngineEngineUserEngineEngineUserEngine= UserEngine.REDIS for NoPasswordU…#The engine type for the user.
Enum options: UserEngine.VALKEY, UserEngine.REDIS.
default
Default: UserEngine.REDIS for NoPasswordUser, UserEngine.VALKEY for all other user types.
The ID of the user.
The name of the user.