java.lang.Object
java.lang.Enum<UserEngine>
software.amazon.awscdk.services.elasticache.alpha.UserEngine
All Implemented Interfaces:
Serializable, Comparable<UserEngine>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-10-01T17:47:05.839Z") @Stability(Experimental) public enum UserEngine extends Enum<UserEngine>
(experimental) Engine type for ElastiCache users and user groups.

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();
 
  • Enum Constant Details

    • VALKEY

      @Stability(Experimental) public static final UserEngine VALKEY
      (experimental) Valkey engine.
    • REDIS

      @Stability(Experimental) public static final UserEngine REDIS
      (experimental) Redis engine.
  • Method Details

    • values

      public static UserEngine[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static UserEngine valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null