Interface UserBaseProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IamUserProps, NoPasswordUserProps, PasswordUserProps
All Known Implementing Classes:
IamUserProps.Jsii$Proxy, NoPasswordUserProps.Jsii$Proxy, PasswordUserProps.Jsii$Proxy, UserBaseProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-10-01T17:47:05.839Z") @Stability(Experimental) public interface UserBaseProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for defining an ElastiCache base user.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elasticache.alpha.*;
 AccessControl accessControl;
 UserBaseProps userBaseProps = UserBaseProps.builder()
         .accessControl(accessControl)
         .userId("userId")
         // the properties below are optional
         .engine(UserEngine.VALKEY)
         .build();
 
  • Method Details

    • getAccessControl

      @Stability(Experimental) @NotNull AccessControl getAccessControl()
      (experimental) Access control configuration for the user.
    • getUserId

      @Stability(Experimental) @NotNull String getUserId()
      (experimental) The ID of the user.
    • getEngine

      @Stability(Experimental) @Nullable default UserEngine getEngine()
      (experimental) The engine type for the user.

      Enum options: UserEngine.VALKEY, UserEngine.REDIS.

      Default: UserEngine.VALKEY.

    • builder

      @Stability(Experimental) static UserBaseProps.Builder builder()
      Returns:
      a UserBaseProps.Builder of UserBaseProps