We recommend new projects start with resources from the AWS provider.
aws-native.connect.getUser
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- UserArn string
- The Amazon Resource Name (ARN) for the user.
- UserArn string
- The Amazon Resource Name (ARN) for the user.
- userArn String
- The Amazon Resource Name (ARN) for the user.
- userArn string
- The Amazon Resource Name (ARN) for the user.
- user_arn str
- The Amazon Resource Name (ARN) for the user.
- userArn String
- The Amazon Resource Name (ARN) for the user.
getUser Result
The following output properties are available:
- DirectoryUser stringId 
- The identifier of the user account in the directory used for identity management.
- HierarchyGroup stringArn 
- The identifier of the hierarchy group for the user.
- IdentityInfo Pulumi.Aws Native. Connect. Outputs. User Identity Info 
- The information about the identity of the user.
- InstanceArn string
- The identifier of the Amazon Connect instance.
- PhoneConfig Pulumi.Aws Native. Connect. Outputs. User Phone Config 
- The phone settings for the user.
- RoutingProfile stringArn 
- The identifier of the routing profile for the user.
- SecurityProfile List<string>Arns 
- One or more security profile arns for the user
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- One or more tags.
- UserArn string
- The Amazon Resource Name (ARN) for the user.
- UserProficiencies 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.
- DirectoryUser stringId 
- The identifier of the user account in the directory used for identity management.
- HierarchyGroup stringArn 
- The identifier of the hierarchy group for the user.
- IdentityInfo UserIdentity Info 
- The information about the identity of the user.
- InstanceArn string
- The identifier of the Amazon Connect instance.
- PhoneConfig UserPhone Config 
- The phone settings for the user.
- RoutingProfile stringArn 
- The identifier of the routing profile for the user.
- SecurityProfile []stringArns 
- One or more security profile arns for the user
- Tag
- One or more tags.
- UserArn string
- The Amazon Resource Name (ARN) for the user.
- UserProficiencies []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.
- directoryUser StringId 
- The identifier of the user account in the directory used for identity management.
- hierarchyGroup StringArn 
- The identifier of the hierarchy group for the user.
- identityInfo UserIdentity Info 
- The information about the identity of the user.
- instanceArn String
- The identifier of the Amazon Connect instance.
- phoneConfig UserPhone Config 
- The phone settings for the user.
- routingProfile StringArn 
- The identifier of the routing profile for the user.
- securityProfile List<String>Arns 
- One or more security profile arns for the user
- List<Tag>
- One or more tags.
- userArn String
- The Amazon Resource Name (ARN) for the user.
- userProficiencies 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.
- directoryUser stringId 
- The identifier of the user account in the directory used for identity management.
- hierarchyGroup stringArn 
- The identifier of the hierarchy group for the user.
- identityInfo UserIdentity Info 
- The information about the identity of the user.
- instanceArn string
- The identifier of the Amazon Connect instance.
- phoneConfig UserPhone Config 
- The phone settings for the user.
- routingProfile stringArn 
- The identifier of the routing profile for the user.
- securityProfile string[]Arns 
- One or more security profile arns for the user
- Tag[]
- One or more tags.
- userArn string
- The Amazon Resource Name (ARN) for the user.
- userProficiencies 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.
- 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.
- phone_config UserPhone Config 
- The phone settings for the 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.
- directoryUser StringId 
- The identifier of the user account in the directory used for identity management.
- hierarchyGroup StringArn 
- The identifier of the hierarchy group for the user.
- identityInfo Property Map
- The information about the identity of the user.
- instanceArn String
- The identifier of the Amazon Connect instance.
- phoneConfig Property Map
- The phone settings for the user.
- routingProfile StringArn 
- The identifier of the routing profile for the user.
- securityProfile List<String>Arns 
- One or more security profile arns for the user
- List<Property Map>
- One or more tags.
- userArn String
- The Amazon Resource Name (ARN) for the user.
- userProficiencies 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.
Supporting Types
Tag
UserIdentityInfo  
- Email string
- The email address. If you are using SAML for identity management and include this parameter, an error is returned.
- FirstName 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.
- LastName 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.
- SecondaryEmail 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.
- FirstName 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.
- LastName 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.
- SecondaryEmail 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.
- firstName 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.
- lastName 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.
- secondaryEmail 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.
- firstName 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.
- lastName 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.
- secondaryEmail 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.
- firstName 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.
- lastName 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.
- secondaryEmail 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}
UserPhoneConfig  
- PhoneType Pulumi.Aws Native. Connect. User Phone Type 
- The phone type.
- AfterContact 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.
- AutoAccept bool
- The Auto accept setting.
- DeskPhone stringNumber 
- The phone number for the user's desk phone.
- PhoneType UserPhone Type 
- The phone type.
- AfterContact 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.
- AutoAccept bool
- The Auto accept setting.
- DeskPhone stringNumber 
- The phone number for the user's desk phone.
- phoneType UserPhone Type 
- The phone type.
- afterContact 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.
- autoAccept Boolean
- The Auto accept setting.
- deskPhone StringNumber 
- The phone number for the user's desk phone.
- phoneType UserPhone Type 
- The phone type.
- afterContact 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.
- autoAccept boolean
- The Auto accept setting.
- deskPhone stringNumber 
- The phone number for the user's desk phone.
- 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.
- phoneType "SOFT_PHONE" | "DESK_PHONE"
- The phone type.
- afterContact 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.
- autoAccept Boolean
- The Auto accept setting.
- deskPhone StringNumber 
- The phone number for the user's desk phone.
UserPhoneType  
UserProficiency 
- AttributeName string
- The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- AttributeValue 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.
- AttributeName string
- The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- AttributeValue 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.
- attributeName String
- The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- attributeValue 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.
- attributeName string
- The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- attributeValue 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.
- attributeName String
- The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
- attributeValue 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.