import * as core from "@terrascript/core"; export interface PhoneConfigArgs extends core.SchemaArgs { afterContactWorkTimeLimit?: number | core.NumberOut; autoAccept?: boolean | core.BooleanOut; deskPhoneNumber?: string | core.StringOut; phoneType: string | core.StringOut; } export declare class PhoneConfig extends core.Schema { afterContactWorkTimeLimit?: number | core.NumberOut; autoAccept?: boolean | core.BooleanOut; deskPhoneNumber?: string | core.StringOut; phoneType: string | core.StringOut; } export interface IdentityInfoArgs extends core.SchemaArgs { email?: string | core.StringOut; firstName?: string | core.StringOut; lastName?: string | core.StringOut; } export declare class IdentityInfo extends core.Schema { email?: string | core.StringOut; firstName?: string | core.StringOut; lastName?: string | core.StringOut; } export interface UserArgs extends core.ResourceArgs { /** * (Optional) The identifier of the user account in the directory used for identity management. If Amaz * on Connect cannot access the directory, you can specify this identifier to authenticate users. If yo * u include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the * identity information is used to authenticate users from your directory. This parameter is required i * f you are using an existing directory for identity management in Amazon Connect when Amazon Connect * cannot access your directory to authenticate users. If you are using SAML for identity management an * d include this parameter, an error is returned. */ directoryUserId?: string | core.StringOut; /** * (Optional) The identifier of the hierarchy group for the user. */ hierarchyGroupId?: string | core.StringOut; /** * (Optional) A block that contains information about the identity of the user. Documented below. */ identityInfo?: IdentityInfo; /** * (Required) Specifies the identifier of the hosting Amazon Connect Instance. */ instanceId: string | core.StringOut; /** * (Required) The user name for the account. For instances not using SAML for identity management, the * user name can include up to 20 characters. If you are using SAML for identity management, the user n * ame can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. */ name: string | core.StringOut; /** * (Optional) The password for the user account. A password is required if you are using Amazon Connect * for identity management. Otherwise, it is an error to include a password. */ password?: string | core.StringOut; /** * (Required) A block that contains information about the phone settings for the user. Documented below * . */ phoneConfig: PhoneConfig; /** * (Required) The identifier of the routing profile for the user. */ routingProfileId: string | core.StringOut; /** * (Required) A list of identifiers for the security profiles for the user. Specify a minimum of 1 and * maximum of 10 security profile ids. For more information, see [Best Practices for Security Profiles] * (https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-best-practices.html) in the * Amazon Connect Administrator Guide. */ securityProfileIds: core.Array | core.ArrayOut; /** * (Optional) Tags to apply to the user. If configured with a provider */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export declare class User extends core.Resource { /** * The Amazon Resource Name (ARN) of the user. */ arn: string | core.StringOut; /** * (Optional) The identifier of the user account in the directory used for identity management. If Amaz * on Connect cannot access the directory, you can specify this identifier to authenticate users. If yo * u include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the * identity information is used to authenticate users from your directory. This parameter is required i * f you are using an existing directory for identity management in Amazon Connect when Amazon Connect * cannot access your directory to authenticate users. If you are using SAML for identity management an * d include this parameter, an error is returned. */ directoryUserId?: string | core.StringOut; /** * (Optional) The identifier of the hierarchy group for the user. */ hierarchyGroupId?: string | core.StringOut; /** * The identifier of the hosting Amazon Connect Instance and identifier of the user */ id: string | core.StringOut; /** * (Optional) A block that contains information about the identity of the user. Documented below. */ identityInfo?: IdentityInfo; /** * (Required) Specifies the identifier of the hosting Amazon Connect Instance. */ instanceId: string | core.StringOut; /** * (Required) The user name for the account. For instances not using SAML for identity management, the * user name can include up to 20 characters. If you are using SAML for identity management, the user n * ame can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`. */ name: string | core.StringOut; /** * (Optional) The password for the user account. A password is required if you are using Amazon Connect * for identity management. Otherwise, it is an error to include a password. */ password?: string | core.StringOut; /** * (Required) A block that contains information about the phone settings for the user. Documented below * . */ phoneConfig: PhoneConfig; /** * (Required) The identifier of the routing profile for the user. */ routingProfileId: string | core.StringOut; /** * (Required) A list of identifiers for the security profiles for the user. Specify a minimum of 1 and * maximum of 10 security profile ids. For more information, see [Best Practices for Security Profiles] * (https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-best-practices.html) in the * Amazon Connect Administrator Guide. */ securityProfileIds: core.Array | core.ArrayOut; /** * (Optional) Tags to apply to the user. If configured with a provider */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * The identifier for the user. */ userId: string | core.StringOut; constructor(name: string, args?: UserArgs); getNamespace(): string; } //# sourceMappingURL=user.d.ts.map