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
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.amazon.awscdk.core.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
addToPolicy, addToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccount
Methods inherited from interface software.amazon.awscdk.core.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.
-