We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
Resource Type definition for AWS::Connect::User
Using getUser
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>def get_user(user_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(user_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput> Note: This function is named LookupUser in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:connect:getUser
arguments:
# arguments dictionaryThe following arguments are supported:
- User
Arn string - The Amazon Resource Name (ARN) for the user.
- User
Arn string - The Amazon Resource Name (ARN) for the user.
- user
Arn String - The Amazon Resource Name (ARN) for the user.
- user
Arn string - The Amazon Resource Name (ARN) for the user.
- user_
arn str - The Amazon Resource Name (ARN) for the user.
- user
Arn String - The Amazon Resource Name (ARN) for the user.
getUser Result
The following output properties are available:
- After
Contact List<Pulumi.Work Configs Aws Native. Connect. Outputs. User After Contact Work Config Per Channel> - After Contact Work configurations of a user.
- Auto
Accept List<Pulumi.Configs Aws Native. Connect. Outputs. User Auto Accept Config> - Auto-accept configurations of a user.
- Directory
User stringId - The identifier of the user account in the directory used for identity management.
- Hierarchy
Group stringArn - The identifier of the hierarchy group for the user.
- Identity
Info Pulumi.Aws Native. Connect. Outputs. User Identity Info - The information about the identity of the user.
- Instance
Arn string - The identifier of the Amazon Connect instance.
- Persistent
Connection List<Pulumi.Configs Aws Native. Connect. Outputs. User Persistent Connection Config> - Persistent Connection configurations of a user.
- Phone
Config Pulumi.Aws Native. Connect. Outputs. User Phone Config - The phone settings for the user.
- Phone
Number List<Pulumi.Configs Aws Native. Connect. Outputs. User Phone Number Config> - Phone Number configurations of a user.
- Routing
Profile stringArn - The identifier of the routing profile for the user.
- Security
Profile List<string>Arns - One or more security profile arns for the user
-
List<Pulumi.
Aws Native. Outputs. Tag> - One or more tags.
- User
Arn string - The Amazon Resource Name (ARN) for the user.
- User
Proficiencies List<Pulumi.Aws Native. Connect. Outputs. User Proficiency> - One or more predefined attributes assigned to a user, with a level that indicates how skilled they are.
- Username string
- The user name for the account.
- Voice
Enhancement List<Pulumi.Configs Aws Native. Connect. Outputs. User Voice Enhancement Config> - Voice Enhancement configurations of a user.
- After
Contact []UserWork Configs After Contact Work Config Per Channel - After Contact Work configurations of a user.
- Auto
Accept []UserConfigs Auto Accept Config - Auto-accept configurations of a user.
- Directory
User stringId - The identifier of the user account in the directory used for identity management.
- Hierarchy
Group stringArn - The identifier of the hierarchy group for the user.
- Identity
Info UserIdentity Info - The information about the identity of the user.
- Instance
Arn string - The identifier of the Amazon Connect instance.
- Persistent
Connection []UserConfigs Persistent Connection Config - Persistent Connection configurations of a user.
- Phone
Config UserPhone Config - The phone settings for the user.
- Phone
Number []UserConfigs Phone Number Config - Phone Number configurations of a user.
- Routing
Profile stringArn - The identifier of the routing profile for the user.
- Security
Profile []stringArns - One or more security profile arns for the user
- Tag
- One or more tags.
- User
Arn string - The Amazon Resource Name (ARN) for the user.
- User
Proficiencies []UserProficiency - One or more predefined attributes assigned to a user, with a level that indicates how skilled they are.
- Username string
- The user name for the account.
- Voice
Enhancement []UserConfigs Voice Enhancement Config - Voice Enhancement configurations of a user.
- after
Contact List<UserWork Configs After Contact Work Config Per Channel> - After Contact Work configurations of a user.
- auto
Accept List<UserConfigs Auto Accept Config> - Auto-accept configurations of a user.
- directory
User StringId - The identifier of the user account in the directory used for identity management.
- hierarchy
Group StringArn - The identifier of the hierarchy group for the user.
- identity
Info UserIdentity Info - The information about the identity of the user.
- instance
Arn String - The identifier of the Amazon Connect instance.
- persistent
Connection List<UserConfigs Persistent Connection Config> - Persistent Connection configurations of a user.
- phone
Config UserPhone Config - The phone settings for the user.
- phone
Number List<UserConfigs Phone Number Config> - Phone Number configurations of a user.
- routing
Profile StringArn - The identifier of the routing profile for the user.
- security
Profile List<String>Arns - One or more security profile arns for the user
- List<Tag>
- One or more tags.
- user
Arn String - The Amazon Resource Name (ARN) for the user.
- user
Proficiencies List<UserProficiency> - One or more predefined attributes assigned to a user, with a level that indicates how skilled they are.
- username String
- The user name for the account.
- voice
Enhancement List<UserConfigs Voice Enhancement Config> - Voice Enhancement configurations of a user.
- after
Contact UserWork Configs After Contact Work Config Per Channel[] - After Contact Work configurations of a user.
- auto
Accept UserConfigs Auto Accept Config[] - Auto-accept configurations of a user.
- directory
User stringId - The identifier of the user account in the directory used for identity management.
- hierarchy
Group stringArn - The identifier of the hierarchy group for the user.
- identity
Info UserIdentity Info - The information about the identity of the user.
- instance
Arn string - The identifier of the Amazon Connect instance.
- persistent
Connection UserConfigs Persistent Connection Config[] - Persistent Connection configurations of a user.
- phone
Config UserPhone Config - The phone settings for the user.
- phone
Number UserConfigs Phone Number Config[] - Phone Number configurations of a user.
- routing
Profile stringArn - The identifier of the routing profile for the user.
- security
Profile string[]Arns - One or more security profile arns for the user
- Tag[]
- One or more tags.
- user
Arn string - The Amazon Resource Name (ARN) for the user.
- user
Proficiencies UserProficiency[] - One or more predefined attributes assigned to a user, with a level that indicates how skilled they are.
- username string
- The user name for the account.
- voice
Enhancement UserConfigs Voice Enhancement Config[] - Voice Enhancement configurations of a user.
- after_
contact_ Sequence[Userwork_ configs After Contact Work Config Per Channel] - After Contact Work configurations of a user.
- auto_
accept_ Sequence[Userconfigs Auto Accept Config] - Auto-accept configurations of a user.
- directory_
user_ strid - The identifier of the user account in the directory used for identity management.
- hierarchy_
group_ strarn - The identifier of the hierarchy group for the user.
- identity_
info UserIdentity Info - The information about the identity of the user.
- instance_
arn str - The identifier of the Amazon Connect instance.
- persistent_
connection_ Sequence[Userconfigs Persistent Connection Config] - Persistent Connection configurations of a user.
- phone_
config UserPhone Config - The phone settings for the user.
- phone_
number_ Sequence[Userconfigs Phone Number Config] - Phone Number configurations of a user.
- routing_
profile_ strarn - The identifier of the routing profile for the user.
- security_
profile_ Sequence[str]arns - One or more security profile arns for the user
- Sequence[root_Tag]
- One or more tags.
- user_
arn str - The Amazon Resource Name (ARN) for the user.
- user_
proficiencies Sequence[UserProficiency] - One or more predefined attributes assigned to a user, with a level that indicates how skilled they are.
- username str
- The user name for the account.
- voice_
enhancement_ Sequence[Userconfigs Voice Enhancement Config] - Voice Enhancement configurations of a user.
- after
Contact List<Property Map>Work Configs - After Contact Work configurations of a user.
- auto
Accept List<Property Map>Configs - Auto-accept configurations of a user.
- directory
User StringId - The identifier of the user account in the directory used for identity management.
- hierarchy
Group StringArn - The identifier of the hierarchy group for the user.
- identity
Info Property Map - The information about the identity of the user.
- instance
Arn String - The identifier of the Amazon Connect instance.
- persistent
Connection List<Property Map>Configs - Persistent Connection configurations of a user.
- phone
Config Property Map - The phone settings for the user.
- phone
Number List<Property Map>Configs - Phone Number configurations of a user.
- routing
Profile StringArn - The identifier of the routing profile for the user.
- security
Profile List<String>Arns - One or more security profile arns for the user
- List<Property Map>
- One or more tags.
- user
Arn String - The Amazon Resource Name (ARN) for the user.
- user
Proficiencies List<Property Map> - One or more predefined attributes assigned to a user, with a level that indicates how skilled they are.
- username String
- The user name for the account.
- voice
Enhancement List<Property Map>Configs - Voice Enhancement configurations of a user.
Supporting Types
Tag
UserAfterContactWorkConfig
- after
Contact IntegerWork Time Limit
- after
Contact numberWork Time Limit
- after
Contact NumberWork Time Limit
UserAfterContactWorkConfigPerChannel
UserAutoAcceptConfig
- auto
Accept Boolean - channel
User
Channel - agent
First BooleanCallback Auto Accept
- auto
Accept boolean - channel
User
Channel - agent
First booleanCallback Auto Accept
UserChannel
UserIdentityInfo
- Email string
- The email address. If you are using SAML for identity management and include this parameter, an error is returned.
- First
Name string - The first name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- Last
Name string - The last name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- Mobile string
- The user's mobile number.
- Secondary
Email string The user's 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.
Pattern :
(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
- Email string
- The email address. If you are using SAML for identity management and include this parameter, an error is returned.
- First
Name string - The first name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- Last
Name string - The last name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- Mobile string
- The user's mobile number.
- Secondary
Email string The user's 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.
Pattern :
(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
- email String
- The email address. If you are using SAML for identity management and include this parameter, an error is returned.
- first
Name String - The first name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- last
Name String - The last name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- mobile String
- The user's mobile number.
- secondary
Email String The user's 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.
Pattern :
(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
- email string
- The email address. If you are using SAML for identity management and include this parameter, an error is returned.
- first
Name string - The first name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- last
Name string - The last name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- mobile string
- The user's mobile number.
- secondary
Email string The user's 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.
Pattern :
(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
- email str
- The email address. If you are using SAML for identity management and include this parameter, an error is returned.
- first_
name str - The first name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- last_
name str - The last name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- mobile str
- The user's mobile number.
- secondary_
email str The user's 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.
Pattern :
(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
- email String
- The email address. If you are using SAML for identity management and include this parameter, an error is returned.
- first
Name String - The first name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- last
Name String - The last name. This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
- mobile String
- The user's mobile number.
- secondary
Email String The user's 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.
Pattern :
(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
UserPersistentConnectionConfig
UserPhoneConfig
- After
Contact intWork Time Limit The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.- Auto
Accept bool - The Auto accept setting.
- Desk
Phone stringNumber - The phone number for the user's desk phone.
- Persistent
Connection bool - The persistent connection setting for the user.
- Phone
Type Pulumi.Aws Native. Connect. User Phone Type - The phone type.
- After
Contact intWork Time Limit The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.- Auto
Accept bool - The Auto accept setting.
- Desk
Phone stringNumber - The phone number for the user's desk phone.
- Persistent
Connection bool - The persistent connection setting for the user.
- Phone
Type UserPhone Type - The phone type.
- after
Contact IntegerWork Time Limit The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.- auto
Accept Boolean - The Auto accept setting.
- desk
Phone StringNumber - The phone number for the user's desk phone.
- persistent
Connection Boolean - The persistent connection setting for the user.
- phone
Type UserPhone Type - The phone type.
- after
Contact numberWork Time Limit The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.- auto
Accept boolean - The Auto accept setting.
- desk
Phone stringNumber - The phone number for the user's desk phone.
- persistent
Connection boolean - The persistent connection setting for the user.
- phone
Type UserPhone Type - The phone type.
- after_
contact_ intwork_ time_ limit The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.- auto_
accept bool - The Auto accept setting.
- desk_
phone_ strnumber - The phone number for the user's desk phone.
- persistent_
connection bool - The persistent connection setting for the user.
- phone_
type UserPhone Type - The phone type.
- after
Contact NumberWork Time Limit The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.- auto
Accept Boolean - The Auto accept setting.
- desk
Phone StringNumber - The phone number for the user's desk phone.
- persistent
Connection Boolean - The persistent connection setting for the user.
- phone
Type "SOFT_PHONE" | "DESK_PHONE" - The phone type.
UserPhoneNumberConfig
UserPhoneType
UserProficiency
- Attribute
Name string - The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- Attribute
Value string - The value of user’s proficiency. You must use a predefined attribute value that is present in the Amazon Connect instance.
- Level double
- The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
- Attribute
Name string - The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- Attribute
Value string - The value of user’s proficiency. You must use a predefined attribute value that is present in the Amazon Connect instance.
- Level float64
- The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
- attribute
Name String - The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- attribute
Value String - The value of user’s proficiency. You must use a predefined attribute value that is present in the Amazon Connect instance.
- level Double
- The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
- attribute
Name string - The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- attribute
Value string - The value of user’s proficiency. You must use a predefined attribute value that is present in the Amazon Connect instance.
- level number
- The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
- attribute_
name str - The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- attribute_
value str - The value of user’s proficiency. You must use a predefined attribute value that is present in the Amazon Connect instance.
- level float
- The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
- attribute
Name String - The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- attribute
Value String - The value of user’s proficiency. You must use a predefined attribute value that is present in the Amazon Connect instance.
- level Number
- The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
UserVoiceEnhancementConfig
UserVoiceEnhancementMode
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
