com.pulumi.aws.iam.inputs.GetUsersPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.iam.inputs;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetUsersPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetUsersPlainArgs Empty = new GetUsersPlainArgs();
/**
* 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.
*
*/
@Import(name="nameRegex")
private @Nullable String nameRegex;
/**
* @return 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.
*
*/
public Optional nameRegex() {
return Optional.ofNullable(this.nameRegex);
}
/**
* 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][1].
*
*/
@Import(name="pathPrefix")
private @Nullable String pathPrefix;
/**
* @return 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][1].
*
*/
public Optional pathPrefix() {
return Optional.ofNullable(this.pathPrefix);
}
private GetUsersPlainArgs() {}
private GetUsersPlainArgs(GetUsersPlainArgs $) {
this.nameRegex = $.nameRegex;
this.pathPrefix = $.pathPrefix;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetUsersPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetUsersPlainArgs $;
public Builder() {
$ = new GetUsersPlainArgs();
}
public Builder(GetUsersPlainArgs defaults) {
$ = new GetUsersPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder nameRegex(@Nullable String nameRegex) {
$.nameRegex = nameRegex;
return this;
}
/**
* @param 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][1].
*
* @return builder
*
*/
public Builder pathPrefix(@Nullable String pathPrefix) {
$.pathPrefix = pathPrefix;
return this;
}
public GetUsersPlainArgs build() {
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy