import * as core from "@terrascript/core"; export interface ServiceAccountCredentialsArgs extends core.SchemaArgs { accountName: string | core.StringOut; accountPassword: string | core.StringOut; } export class ServiceAccountCredentials extends core.Schema { @core.attr(String) public accountName!: string | core.StringOut; @core.attr(String) public accountPassword!: string | core.StringOut; } export interface DirectoryConfigArgs extends core.ResourceArgs { /** * (Required) Fully qualified name of the directory. */ directoryName: string | core.StringOut; /** * (Required) Distinguished names of the organizational units for computer accounts. */ organizationalUnitDistinguishedNames: | core.Array | core.ArrayOut; /** * (Required) Configuration block for the name of the directory and organizational unit (OU) to use to * join the directory config to a Microsoft Active Directory domain. See [`service_account_credentials` * ](#service_account_credentials) below. */ serviceAccountCredentials: ServiceAccountCredentials; } export class DirectoryConfig extends core.Resource { /** * Date and time, in UTC and extended RFC 3339 format, when the directory config was created. */ @core.attr(String, { computed: true }) public createdTime!: string | core.StringOut; /** * (Required) Fully qualified name of the directory. */ @core.attr(String) public directoryName!: string | core.StringOut; /** * Unique identifier (ID) of the appstream directory config. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Distinguished names of the organizational units for computer accounts. */ @core.attr(String, { kind: "array" }) public organizationalUnitDistinguishedNames!: | core.Array | core.ArrayOut; /** * (Required) Configuration block for the name of the directory and organizational unit (OU) to use to * join the directory config to a Microsoft Active Directory domain. See [`service_account_credentials` * ](#service_account_credentials) below. */ @core.attr(ServiceAccountCredentials) public serviceAccountCredentials!: ServiceAccountCredentials; constructor(name: string, args?: DirectoryConfigArgs) { super(name, "aws_appstream_directory_config", args); } public override getNamespace(): string { return "aws_appstream"; } }