import * as core from "@terrascript/core"; export interface DsUsersArgs { /** * (Optional) Regex string to apply to the IAM users list returned by AWS. This allows more advanced fi * ltering not supported from the AWS API. This filtering is done locally on what AWS returns, and coul * d have a performance impact if the result is large. Combine this with other options to narrow down t * he list AWS returns. */ nameRegex?: string | core.StringOut; /** * (Optional) The path prefix for filtering the results. For example, the prefix `/division_abc/subdivi * sion_xyz/` gets all users whose path starts with `/division_abc/subdivision_xyz/`. If it is not incl * uded, it defaults to a slash (`/`), listing all users. For more details, check out [list-users in th * e AWS CLI reference][1]. */ pathPrefix?: string | core.StringOut; } export class DsUsers extends core.Data { /** * Set of ARNs of the matched IAM users. */ @core.attr(String, { computed: true, kind: "array" }) public arns!: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Regex string to apply to the IAM users list returned by AWS. This allows more advanced fi * ltering not supported from the AWS API. This filtering is done locally on what AWS returns, and coul * d have a performance impact if the result is large. Combine this with other options to narrow down t * he list AWS returns. */ @core.attr(String) public nameRegex?: string | core.StringOut; /** * Set of Names of the matched IAM users. */ @core.attr(String, { computed: true, kind: "array" }) public names!: core.Array | core.ArrayOut; /** * (Optional) The path prefix for filtering the results. For example, the prefix `/division_abc/subdivi * sion_xyz/` gets all users whose path starts with `/division_abc/subdivision_xyz/`. If it is not incl * uded, it defaults to a slash (`/`), listing all users. For more details, check out [list-users in th * e AWS CLI reference][1]. */ @core.attr(String) public pathPrefix?: string | core.StringOut; constructor(name: string, args?: DsUsersArgs) { super(name, "aws_iam_users", args); } public override getNamespace(): string { return "aws_iam"; } }