Interface UserGroupAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
UserGroupAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-10-01T17:47:05.840Z") @Stability(Experimental) public interface UserGroupAttributes extends software.amazon.jsii.JsiiSerializable
(experimental) Attributes that can be specified when importing a UserGroup.

Example:

 Stack stack = new Stack();
 IUser importedIamUser = IamUser.fromUserId(this, "ImportedIamUser", "my-iam-user-id");
 IUser importedPasswordUser = PasswordUser.fromUserAttributes(stack, "ImportedPasswordUser", UserBaseAttributes.builder()
         .userId("my-password-user-id")
         .build());
 IUser importedNoPasswordUser = NoPasswordUser.fromUserAttributes(stack, "ImportedNoPasswordUser", UserBaseAttributes.builder()
         .userId("my-no-password-user-id")
         .build());
 IUserGroup importedUserGroup = UserGroup.fromUserGroupAttributes(this, "ImportedUserGroup", UserGroupAttributes.builder()
         .userGroupName("my-user-group-name")
         .build());
 
  • Method Details

    • getEngine

      @Stability(Experimental) @Nullable default UserEngine getEngine()
      (experimental) The engine type for the user group.

      Default: - engine type is unknown

    • getUserGroupArn

      @Stability(Experimental) @Nullable default String getUserGroupArn()
      (experimental) The ARN of the user group.

      One of userGroupName or userGroupArn is required.

      Default: - derived from userGroupName

    • getUserGroupName

      @Stability(Experimental) @Nullable default String getUserGroupName()
      (experimental) The name of the user group.

      One of userGroupName or userGroupArn is required.

      Default: - derived from userGroupArn

    • getUsers

      @Stability(Experimental) @Nullable default List<IUser> getUsers()
      (experimental) List of users in the user group.

      Default: - users are unknown

    • builder

      @Stability(Experimental) static UserGroupAttributes.Builder builder()
      Returns:
      a UserGroupAttributes.Builder of UserGroupAttributes