Class UserBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.elasticache.alpha.UserBase
- All Implemented Interfaces:
IEnvironmentAware,IResource,IUser,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
- Direct Known Subclasses:
IamUser,NoPasswordUser,PasswordUser
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.224Z")
@Stability(Experimental)
public abstract class UserBase
extends Resource
implements IUser
(experimental) Base class for ElastiCache users.
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.*; IUser userBase = UserBase.fromUserArn(this, "MyUserBase", "userArn");
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticache.alpha.IUser
IUser.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUserBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedUserBase(software.amazon.jsii.JsiiObjectRef objRef) protectedprotectedUserBase(software.constructs.Construct scope, String id, ResourceProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IUserfromUserArn(software.constructs.Construct scope, String id, String userArn) (experimental) Import an existing user by ARN.static IUserfromUserAttributes(software.constructs.Construct scope, String id, UserBaseAttributes attrs) (experimental) Import an existing user using attributes.static IUserfromUserId(software.constructs.Construct scope, String id, String userId) (experimental) Import an existing user by ID.abstract UserEngine(experimental) The engine for the user.abstract String(experimental) The user's ARN.abstract String(experimental) The user's ID.abstract String(experimental) The user's name.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
UserBase
protected UserBase(software.amazon.jsii.JsiiObjectRef objRef) -
UserBase
protected UserBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
UserBase
@Stability(Stable) protected UserBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
UserBase
@Stability(Stable) protected UserBase(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
fromUserArn
@Stability(Experimental) @NotNull public static IUser fromUserArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String userArn) (experimental) Import an existing user by ARN.- Parameters:
scope- The parent creating construct (usuallythis). This parameter is required.id- The construct's name. This parameter is required.userArn- The ARN of the existing user. This parameter is required.
-
fromUserAttributes
@Stability(Experimental) @NotNull public static IUser fromUserAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull UserBaseAttributes attrs) (experimental) Import an existing user using attributes.- Parameters:
scope- The parent creating construct (usuallythis). This parameter is required.id- The construct's name. This parameter is required.attrs- AUserBaseAttributesobject. This parameter is required.
-
fromUserId
@Stability(Experimental) @NotNull public static IUser fromUserId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String userId) (experimental) Import an existing user by ID.- Parameters:
scope- The parent creating construct (usuallythis). This parameter is required.id- The construct's name. This parameter is required.userId- The ID of the existing user. This parameter is required.
-
getUserArn
(experimental) The user's ARN.- Specified by:
getUserArnin interfaceIUser
-
getUserId
(experimental) The user's ID. -
getEngine
(experimental) The engine for the user. -
getUserName
(experimental) The user's name.- Specified by:
getUserNamein interfaceIUser
-