Interface IUser
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.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.104.0 (build e79254c)",
date="2024-11-22T02:24:02.787Z")
@Stability(Stable)
public interface IUser
extends software.amazon.jsii.JsiiSerializable, IIdentity
Represents an IAM user.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIUser
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToGroup
(IGroup group) Adds this user to a group.The user's ARN.The user's name.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipal
Methods inherited from interface software.amazon.awscdk.services.iam.IIdentity
addManagedPolicy, attachInlinePolicy
Methods inherited from interface software.amazon.awscdk.services.iam.IPrincipal
addToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccount
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods 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.
-