/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * The first name. This is required if you are using Amazon Connect or SAML for identity management. */ export type FirstName = string; /** * The last name. This is required if you are using Amazon Connect or SAML for identity management. */ export type LastName = string; /** * The email address. If you are using SAML for identity management and include this parameter, an error is returned. */ export type Email = string; /** * The secondary email address. If you provide a secondary email, the user receives email notifications -- other than password reset notifications -- to this email address instead of to their primary email address. */ export type SecondaryEmail = string; /** * The mobile phone number. */ export type Mobile = string; /** * The After Call Work (ACW) timeout setting, in seconds. */ export type AfterContactWorkTimeLimit = number; /** * The Auto accept setting. */ export type AutoAccept = boolean; /** * The phone number for the user's desk phone. */ export type DeskPhoneNumber = string; /** * The phone type. */ export type PhoneType = "SOFT_PHONE" | "DESK_PHONE"; /** * The identifier of the security profile for the user. */ export type SecurityProfileArn = string; /** * Resource Type definition for AWS::Connect::User */ export interface AwsConnectUser { /** * The identifier of the Amazon Connect instance. */ InstanceArn: string; /** * The identifier of the user account in the directory used for identity management. */ DirectoryUserId?: string; /** * The identifier of the hierarchy group for the user. */ HierarchyGroupArn?: string; /** * The user name for the account. */ Username: string; /** * 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; /** * The identifier of the routing profile for the user. */ RoutingProfileArn: string; IdentityInfo?: UserIdentityInfo; PhoneConfig: UserPhoneConfig; /** * One or more security profile arns for the user * * @minItems 1 * @maxItems 10 */ SecurityProfileArns: | [SecurityProfileArn] | [SecurityProfileArn, SecurityProfileArn] | [SecurityProfileArn, SecurityProfileArn, SecurityProfileArn] | [SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn] | [SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn] | [ SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn ] | [ SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn ] | [ SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn ] | [ SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn ] | [ SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn, SecurityProfileArn ]; /** * The Amazon Resource Name (ARN) for the user. */ UserArn?: string; /** * One or more tags. * * @maxItems 50 */ Tags?: Tag[]; } /** * The information about the identity of the user. */ export interface UserIdentityInfo { FirstName?: FirstName; LastName?: LastName; Email?: Email; SecondaryEmail?: SecondaryEmail; Mobile?: Mobile; } /** * The phone settings for the user. */ export interface UserPhoneConfig { AfterContactWorkTimeLimit?: AfterContactWorkTimeLimit; AutoAccept?: AutoAccept; DeskPhoneNumber?: DeskPhoneNumber; PhoneType: PhoneType; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. */ Key: string; /** * The value for the tag. You can specify a value that is maximum of 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. */ Value: string; }