Interface IUser

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IGrantable, IIdentity, IPrincipal, IResource, IUserRef, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IUser.Jsii$Default
All Known Implementing Classes:
IUser.Jsii$Proxy, User

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-09T14:39:12.232Z") @Stability(Stable) public interface IUser extends software.amazon.jsii.JsiiSerializable, IIdentity, IUserRef
Represents an IAM user.

See Also:
  • Method Details

    • getUserArn

      @Stability(Stable) @NotNull String getUserArn()
      The user's ARN.
    • getUserName

      @Stability(Stable) @NotNull String getUserName()
      The user's name.
    • addToGroup

      @Stability(Stable) void addToGroup(@NotNull IGroup group)
      Adds this user to a group.

      Parameters:
      group - This parameter is required.