import * as core from "@terrascript/core"; export interface FilterArgs extends core.SchemaArgs { attributePath: string | core.StringOut; attributeValue: string | core.StringOut; } export class Filter extends core.Schema { @core.attr(String) public attributePath!: string | core.StringOut; @core.attr(String) public attributeValue!: string | core.StringOut; } export interface DsUserArgs { /** * (Required) Configuration block(s) for filtering. Currently, the AWS Identity Store API supports only * 1 filter. Detailed below. */ filter: core.Array | core.ArrayOut; /** * (Required) The Identity Store ID associated with the Single Sign-On Instance. */ identityStoreId: string | core.StringOut; /** * (Optional) The identifier for a user in the Identity Store. */ userId?: string | core.StringOut; } export class DsUser extends core.Data { /** * (Required) Configuration block(s) for filtering. Currently, the AWS Identity Store API supports only * 1 filter. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter!: core.Array | core.ArrayOut; /** * The identifier of the user in the Identity Store. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The Identity Store ID associated with the Single Sign-On Instance. */ @core.attr(String) public identityStoreId!: string | core.StringOut; /** * (Optional) The identifier for a user in the Identity Store. */ @core.attr(String, { computed: true }) public userId?: string | core.StringOut; /** * The user's user name value. */ @core.attr(String, { computed: true }) public userName!: string | core.StringOut; constructor(name: string, args?: DsUserArgs) { super(name, "aws_identitystore_user", args); } public override getNamespace(): string { return "aws_identitystore"; } }