We recommend new projects start with resources from the AWS provider.
aws-native.connect.User
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Connect::User
Create User Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
@overload
def User(resource_name: str,
args: UserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def User(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_arn: Optional[str] = None,
phone_config: Optional[UserPhoneConfigArgs] = None,
routing_profile_arn: Optional[str] = None,
security_profile_arns: Optional[Sequence[str]] = None,
directory_user_id: Optional[str] = None,
hierarchy_group_arn: Optional[str] = None,
identity_info: Optional[UserIdentityInfoArgs] = None,
password: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
user_proficiencies: Optional[Sequence[UserProficiencyArgs]] = None,
username: Optional[str] = None)
func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
public User(string name, UserArgs args, CustomResourceOptions? opts = null)
type: aws-native:connect:User
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
User Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The User resource accepts the following input properties:
- Instance
Arn string - The identifier of the Amazon Connect instance.
- Phone
Config Pulumi.Aws Native. Connect. Inputs. User Phone Config - The phone settings for the 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
- 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. Inputs. User Identity Info - The information about the identity of the user.
- Password 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.
- List<Pulumi.
Aws Native. Inputs. Tag> - One or more tags.
- User
Proficiencies List<Pulumi.Aws Native. Connect. Inputs. 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.
- Instance
Arn string - The identifier of the Amazon Connect instance.
- Phone
Config UserPhone Config Args - The phone settings for the 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
- 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 Args - The information about the identity of the user.
- Password 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.
- Tag
Args - One or more tags.
- User
Proficiencies []UserProficiency Args - 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.
- instance
Arn String - The identifier of the Amazon Connect instance.
- phone
Config UserPhone Config - The phone settings for the 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
- 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.
- password 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.
- List<Tag>
- One or more tags.
- 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.
- instance
Arn string - The identifier of the Amazon Connect instance.
- phone
Config UserPhone Config - The phone settings for the 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
- 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.
- password 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.
- Tag[]
- One or more tags.
- 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.
- instance_
arn str - The identifier of the Amazon Connect instance.
- phone_
config UserPhone Config Args - 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
- 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 Args - The information about the identity of the user.
- password str
- 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.
- Sequence[Tag
Args] - One or more tags.
- user_
proficiencies Sequence[UserProficiency Args] - 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.
- instance
Arn String - The identifier of the Amazon Connect instance.
- phone
Config Property Map - The phone settings for the 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
- 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.
- password 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.
- List<Property Map>
- One or more tags.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:
Supporting Types
Tag, TagArgs
UserIdentityInfo, UserIdentityInfoArgs
- 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.
- Last
Name string - The last name. This is required if you are using Amazon Connect or SAML for identity management.
- 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.
- Last
Name string - The last name. This is required if you are using Amazon Connect or SAML for identity management.
- 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.
- last
Name String - The last name. This is required if you are using Amazon Connect or SAML for identity management.
- 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.
- last
Name string - The last name. This is required if you are using Amazon Connect or SAML for identity management.
- 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.
- last_
name str - The last name. This is required if you are using Amazon Connect or SAML for identity management.
- 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.
- last
Name String - The last name. This is required if you are using Amazon Connect or SAML for identity management.
- 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}
UserPhoneConfig, UserPhoneConfigArgs
- 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
SearchUsers
call,AfterContactWorkTimeLimit
is returned in milliseconds.- Auto
Accept bool - The Auto accept setting.
- Desk
Phone 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
SearchUsers
call,AfterContactWorkTimeLimit
is returned in milliseconds.- Auto
Accept bool - The Auto accept setting.
- Desk
Phone stringNumber - The phone number for the user's desk phone.
- 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
SearchUsers
call,AfterContactWorkTimeLimit
is returned in milliseconds.- auto
Accept Boolean - The Auto accept setting.
- desk
Phone StringNumber - The phone number for the user's desk phone.
- 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
SearchUsers
call,AfterContactWorkTimeLimit
is returned in milliseconds.- auto
Accept boolean - The Auto accept setting.
- desk
Phone 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
SearchUsers
call,AfterContactWorkTimeLimit
is returned in milliseconds.- auto_
accept bool - The Auto accept setting.
- desk_
phone_ strnumber - The phone number for the user's desk phone.
- phone
Type "SOFT_PHONE" | "DESK_PHONE" - 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
SearchUsers
call,AfterContactWorkTimeLimit
is returned in milliseconds.- auto
Accept Boolean - The Auto accept setting.
- desk
Phone StringNumber - The phone number for the user's desk phone.
UserPhoneType, UserPhoneTypeArgs
- Soft
Phone - SOFT_PHONE
- Desk
Phone - DESK_PHONE
- User
Phone Type Soft Phone - SOFT_PHONE
- User
Phone Type Desk Phone - DESK_PHONE
- Soft
Phone - SOFT_PHONE
- Desk
Phone - DESK_PHONE
- Soft
Phone - SOFT_PHONE
- Desk
Phone - DESK_PHONE
- SOFT_PHONE
- SOFT_PHONE
- DESK_PHONE
- DESK_PHONE
- "SOFT_PHONE"
- SOFT_PHONE
- "DESK_PHONE"
- DESK_PHONE
UserProficiency, UserProficiencyArgs
- 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.