@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:22.835Z") @Stability(value=Stable) public interface IUser extends software.amazon.jsii.JsiiSerializable, IIdentity
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users.html| Modifier and Type | Interface and Description |
|---|---|
static interface |
IUser.Jsii$Default
Internal default implementation for
IUser. |
static class |
IUser.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToGroup(IGroup group)
Adds this user to a group.
|
String |
getUserArn()
The user's ARN.
|
String |
getUserName()
The user's name.
|
addManagedPolicy, attachInlinePolicyaddToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccountgetGrantPrincipalapplyRemovalPolicy, getEnv, getStack@Stability(value=Stable) @NotNull String getUserArn()
@Stability(value=Stable) @NotNull String getUserName()
@Stability(value=Stable)
void addToGroup(@NotNull
IGroup group)
group - This parameter is required.Copyright © 2022. All rights reserved.