import * as core from "@terrascript/core"; export interface DsUserArgs { /** * Map of key-value pairs associated with the user. */ tags?: core.Map | core.MapOut; /** * (Required) The friendly IAM user name to match. */ userName: string | core.StringOut; } export class DsUser extends core.Data { /** * The Amazon Resource Name (ARN) assigned by AWS for this user. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Path in which this user was created. */ @core.attr(String, { computed: true }) public path!: string | core.StringOut; /** * The ARN of the policy that is used to set the permissions boundary for the user. */ @core.attr(String, { computed: true }) public permissionsBoundary!: string | core.StringOut; /** * Map of key-value pairs associated with the user. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The unique ID assigned by AWS for this user. */ @core.attr(String, { computed: true }) public userId!: string | core.StringOut; /** * (Required) The friendly IAM user name to match. */ @core.attr(String) public userName!: string | core.StringOut; constructor(name: string, args?: DsUserArgs) { super(name, "aws_iam_user", args); } public override getNamespace(): string { return "aws_iam"; } }