Class UserEngine
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.elasticache.alpha.UserEngine
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)",
date="2026-06-16T16:14:49.035Z")
@Stability(Experimental)
public class UserEngine
extends software.amazon.jsii.JsiiObject
(experimental) Engine type for ElastiCache users and user groups.
Use the named static members for the engines currently supported by ElastiCache
user/user-group resources. To target an engine not yet represented by a named
instance, use UserEngine.of(engineType).
Example:
IamUser user = IamUser.Builder.create(this, "User")
// set user engine
.engine(UserEngine.REDIS)
// set user id
.userId("my-user")
// set username
.userName("my-user")
// set access string
.accessControl(AccessControl.fromAccessString("on ~* +@all"))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UserEngine(experimental) Redis engine.static final UserEngine(experimental) Valkey engine. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUserEngine(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedUserEngine(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) The engine type, for example'valkey'or'redis'.static UserEngine(experimental) Create a newUserEnginewith an arbitrary engine type.toString()(experimental) Returns the engine type as a string (for example,'valkey').Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
REDIS
(experimental) Redis engine. -
VALKEY
(experimental) Valkey engine.
-
-
Constructor Details
-
UserEngine
protected UserEngine(software.amazon.jsii.JsiiObjectRef objRef) -
UserEngine
protected UserEngine(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
(experimental) Create a newUserEnginewith an arbitrary engine type.- Parameters:
engineType- the engine type (for example,'valkey'or'redis'). This parameter is required.
-
toString
(experimental) Returns the engine type as a string (for example,'valkey'). -
getEngineType
(experimental) The engine type, for example'valkey'or'redis'.Maps directly to the
Engineproperty ofAWS::ElastiCache::UserandAWS::ElastiCache::UserGroup.
-