Class GetUsersArgs.Builder

  • Enclosing class:
    GetUsersArgs

    public static final class GetUsersArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • nameRegex

        public GetUsersArgs.Builder nameRegex​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> nameRegex)
        Parameters:
        nameRegex - Regex string to apply to the IAM users list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.
        Returns:
        builder
      • nameRegex

        public GetUsersArgs.Builder nameRegex​(java.lang.String nameRegex)
        Parameters:
        nameRegex - Regex string to apply to the IAM users list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.
        Returns:
        builder
      • pathPrefix

        public GetUsersArgs.Builder pathPrefix​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> pathPrefix)
        Parameters:
        pathPrefix - Path prefix for filtering the results. For example, the prefix `/division_abc/subdivision_xyz/` gets all users whose path starts with `/division_abc/subdivision_xyz/`. If it is not included, it defaults to a slash (`/`), listing all users. For more details, check out [list-users in the AWS CLI reference](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-users.html).
        Returns:
        builder
      • pathPrefix

        public GetUsersArgs.Builder pathPrefix​(java.lang.String pathPrefix)
        Parameters:
        pathPrefix - Path prefix for filtering the results. For example, the prefix `/division_abc/subdivision_xyz/` gets all users whose path starts with `/division_abc/subdivision_xyz/`. If it is not included, it defaults to a slash (`/`), listing all users. For more details, check out [list-users in the AWS CLI reference](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-users.html).
        Returns:
        builder