Interface IUser
- All Superinterfaces:
IConstruct,software.constructs.IConstruct,IDependable,IGrantable,IIdentity,IPrincipal,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IUser.Jsii$Default
- All Known Implementing Classes:
IUser.Jsii$Proxy,User
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.323Z")
@Stability(Stable)
public interface IUser
extends software.amazon.jsii.JsiiSerializable, IIdentity
Represents an IAM user.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIUser.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToGroup(IGroup group) Adds this user to a group.The user's ARN.The user's name.Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.services.iam.IIdentity
addManagedPolicy, attachInlinePolicyMethods inherited from interface software.amazon.awscdk.services.iam.IPrincipal
addToPolicy, addToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccountMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUserArn
The user's ARN. -
getUserName
The user's name. -
addToGroup
Adds this user to a group.- Parameters:
group- This parameter is required.
-