Interface IamUserProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,UserBaseProps
- All Known Implementing Classes:
IamUserProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-01T17:47:05.832Z")
@Stability(Experimental)
public interface IamUserProps
extends software.amazon.jsii.JsiiSerializable, UserBaseProps
(experimental) Properties for defining an ElastiCache user with IAM authentication.
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 ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forIamUserProps
static final class
An implementation forIamUserProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic IamUserProps.Builder
builder()
default String
(experimental) The name of the user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.elasticache.alpha.UserBaseProps
getAccessControl, getEngine, getUserId
-
Method Details
-
getUserName
(experimental) The name of the user.Default: - Same as userId.
-
builder
- Returns:
- a
IamUserProps.Builder
ofIamUserProps
-