CfnUserPropsMixin
- class aws_cdk.mixins_preview.aws_connect.mixins.CfnUserPropsMixin(props, *, strategy=None)
Bases:
MixinSpecifies a user account for an Amazon Connect instance.
For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html
- CloudformationResource:
AWS::Connect::User
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins cfn_user_props_mixin = connect_mixins.CfnUserPropsMixin(connect_mixins.CfnUserMixinProps( after_contact_work_configs=[connect_mixins.CfnUserPropsMixin.AfterContactWorkConfigPerChannelProperty( after_contact_work_config=connect_mixins.CfnUserPropsMixin.AfterContactWorkConfigProperty( after_contact_work_time_limit=123 ), agent_first_callback_after_contact_work_config=connect_mixins.CfnUserPropsMixin.AfterContactWorkConfigProperty( after_contact_work_time_limit=123 ), channel="channel" )], auto_accept_configs=[connect_mixins.CfnUserPropsMixin.AutoAcceptConfigProperty( agent_first_callback_auto_accept=False, auto_accept=False, channel="channel" )], directory_user_id="directoryUserId", hierarchy_group_arn="hierarchyGroupArn", identity_info=connect_mixins.CfnUserPropsMixin.UserIdentityInfoProperty( email="email", first_name="firstName", last_name="lastName", mobile="mobile", secondary_email="secondaryEmail" ), instance_arn="instanceArn", password="password", persistent_connection_configs=[connect_mixins.CfnUserPropsMixin.PersistentConnectionConfigProperty( channel="channel", persistent_connection=False )], phone_config=connect_mixins.CfnUserPropsMixin.UserPhoneConfigProperty( after_contact_work_time_limit=123, auto_accept=False, desk_phone_number="deskPhoneNumber", persistent_connection=False, phone_type="phoneType" ), phone_number_configs=[connect_mixins.CfnUserPropsMixin.PhoneNumberConfigProperty( channel="channel", phone_number="phoneNumber", phone_type="phoneType" )], routing_profile_arn="routingProfileArn", security_profile_arns=["securityProfileArns"], tags=[CfnTag( key="key", value="value" )], username="username", user_proficiencies=[connect_mixins.CfnUserPropsMixin.UserProficiencyProperty( attribute_name="attributeName", attribute_value="attributeValue", level=123 )], voice_enhancement_configs=[connect_mixins.CfnUserPropsMixin.VoiceEnhancementConfigProperty( channel="channel", voice_enhancement_mode="voiceEnhancementMode" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Connect::User.- Parameters:
props (
Union[CfnUserMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['afterContactWorkConfigs', 'autoAcceptConfigs', 'directoryUserId', 'hierarchyGroupArn', 'identityInfo', 'instanceArn', 'password', 'persistentConnectionConfigs', 'phoneConfig', 'phoneNumberConfigs', 'routingProfileArn', 'securityProfileArns', 'tags', 'username', 'userProficiencies', 'voiceEnhancementConfigs']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
AfterContactWorkConfigPerChannelProperty
- class CfnUserPropsMixin.AfterContactWorkConfigPerChannelProperty(*, after_contact_work_config=None, agent_first_callback_after_contact_work_config=None, channel=None)
Bases:
objectAfter Contact Work configuration per channel.
- Parameters:
after_contact_work_config (
Union[IResolvable,AfterContactWorkConfigProperty,Dict[str,Any],None]) – After Contact Work configuration.agent_first_callback_after_contact_work_config (
Union[IResolvable,AfterContactWorkConfigProperty,Dict[str,Any],None]) – After Contact Work configuration.channel (
Optional[str]) – The channels that agents can handle in the Contact Control Panel (CCP).
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins after_contact_work_config_per_channel_property = connect_mixins.CfnUserPropsMixin.AfterContactWorkConfigPerChannelProperty( after_contact_work_config=connect_mixins.CfnUserPropsMixin.AfterContactWorkConfigProperty( after_contact_work_time_limit=123 ), agent_first_callback_after_contact_work_config=connect_mixins.CfnUserPropsMixin.AfterContactWorkConfigProperty( after_contact_work_time_limit=123 ), channel="channel" )
Attributes
- after_contact_work_config
After Contact Work configuration.
- agent_first_callback_after_contact_work_config
After Contact Work configuration.
- channel
The channels that agents can handle in the Contact Control Panel (CCP).
AfterContactWorkConfigProperty
- class CfnUserPropsMixin.AfterContactWorkConfigProperty(*, after_contact_work_time_limit=None)
Bases:
objectAfter Contact Work configuration.
- Parameters:
after_contact_work_time_limit (
Union[int,float,None]) – The After Call Work (ACW) timeout setting, in seconds.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins after_contact_work_config_property = connect_mixins.CfnUserPropsMixin.AfterContactWorkConfigProperty( after_contact_work_time_limit=123 )
Attributes
- after_contact_work_time_limit
The After Call Work (ACW) timeout setting, in seconds.
AutoAcceptConfigProperty
- class CfnUserPropsMixin.AutoAcceptConfigProperty(*, agent_first_callback_auto_accept=None, auto_accept=None, channel=None)
Bases:
objectAuto-accept configuration per channel.
- Parameters:
agent_first_callback_auto_accept (
Union[bool,IResolvable,None]) – The agent first callback auto accept setting.auto_accept (
Union[bool,IResolvable,None]) – The Auto accept setting.channel (
Optional[str]) – The channels that agents can handle in the Contact Control Panel (CCP).
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins auto_accept_config_property = connect_mixins.CfnUserPropsMixin.AutoAcceptConfigProperty( agent_first_callback_auto_accept=False, auto_accept=False, channel="channel" )
Attributes
- agent_first_callback_auto_accept
The agent first callback auto accept setting.
- auto_accept
The Auto accept setting.
- channel
The channels that agents can handle in the Contact Control Panel (CCP).
PersistentConnectionConfigProperty
- class CfnUserPropsMixin.PersistentConnectionConfigProperty(*, channel=None, persistent_connection=None)
Bases:
objectPersistent Connection configuration per channel.
- Parameters:
channel (
Optional[str]) – The channels that agents can handle in the Contact Control Panel (CCP).persistent_connection (
Union[bool,IResolvable,None]) – The Persistent Connection setting.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins persistent_connection_config_property = connect_mixins.CfnUserPropsMixin.PersistentConnectionConfigProperty( channel="channel", persistent_connection=False )
Attributes
- channel
The channels that agents can handle in the Contact Control Panel (CCP).
- persistent_connection
The Persistent Connection setting.
PhoneNumberConfigProperty
- class CfnUserPropsMixin.PhoneNumberConfigProperty(*, channel=None, phone_number=None, phone_type=None)
Bases:
objectPhone Number configuration per channel.
- Parameters:
channel (
Optional[str]) – The channels that agents can handle in the Contact Control Panel (CCP).phone_number (
Optional[str]) – The phone number for the user’s desk phone.phone_type (
Optional[str]) – The phone type.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins phone_number_config_property = connect_mixins.CfnUserPropsMixin.PhoneNumberConfigProperty( channel="channel", phone_number="phoneNumber", phone_type="phoneType" )
Attributes
- channel
The channels that agents can handle in the Contact Control Panel (CCP).
- phone_number
The phone number for the user’s desk phone.
UserIdentityInfoProperty
- class CfnUserPropsMixin.UserIdentityInfoProperty(*, email=None, first_name=None, last_name=None, mobile=None, secondary_email=None)
Bases:
objectContains information about the identity of a user.
For Amazon Connect instances that are created with the
EXISTING_DIRECTORYidentity management type,FirstName,LastName, andEmailcannot be updated from within Amazon Connect because they are managed by the directory. > TheFirstNameandLastNamelength constraints below apply only to instances using SAML for identity management. If you are using Amazon Connect for identity management, the length constraints are 1-255 forFirstName, and 1-256 forLastName.- Parameters:
email (
Optional[str]) – The email address. If you are using SAML for identity management and include this parameter, an error is returned.first_name (
Optional[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 (
Optional[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 (
Optional[str]) – The user’s mobile number.secondary_email (
Optional[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}
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins user_identity_info_property = connect_mixins.CfnUserPropsMixin.UserIdentityInfoProperty( email="email", first_name="firstName", last_name="lastName", mobile="mobile", secondary_email="secondaryEmail" )
Attributes
- email
The email address.
If you are using SAML for identity management and include this parameter, an error is returned.
- first_name
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
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
The user’s mobile number.
- secondary_email
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}
UserPhoneConfigProperty
- class CfnUserPropsMixin.UserPhoneConfigProperty(*, after_contact_work_time_limit=None, auto_accept=None, desk_phone_number=None, persistent_connection=None, phone_type=None)
Bases:
objectContains information about the phone configuration settings for a user.
- Parameters:
after_contact_work_time_limit (
Union[int,float,None]) – 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. .. epigraph:: When returned by aSearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.auto_accept (
Union[bool,IResolvable,None]) – The Auto accept setting.desk_phone_number (
Optional[str]) – The phone number for the user’s desk phone.persistent_connection (
Union[bool,IResolvable,None]) – The persistent connection setting for the user.phone_type (
Optional[str]) – The phone type.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins user_phone_config_property = connect_mixins.CfnUserPropsMixin.UserPhoneConfigProperty( after_contact_work_time_limit=123, auto_accept=False, desk_phone_number="deskPhoneNumber", persistent_connection=False, phone_type="phoneType" )
Attributes
- after_contact_work_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. .. epigraph:
When returned by a ``SearchUsers`` call, ``AfterContactWorkTimeLimit`` is returned in milliseconds.
- auto_accept
The Auto accept setting.
- desk_phone_number
The phone number for the user’s desk phone.
- persistent_connection
The persistent connection setting for the user.
UserProficiencyProperty
- class CfnUserPropsMixin.UserProficiencyProperty(*, attribute_name=None, attribute_value=None, level=None)
Bases:
objectA predefined attribute must be created before using
UserProficienciesin the Cloudformation User template.For more information, see Predefined attributes .
Proficiency of a user.
Attributes
- attribute_name
The name of user’s proficiency.
You must use a predefined attribute name that is present in the Amazon Connect instance.
- attribute_value
The value of user’s proficiency.
You must use a predefined attribute value that is present in the Amazon Connect instance.
- level
The level of the proficiency.
The valid values are 1, 2, 3, 4 and 5.
VoiceEnhancementConfigProperty
- class CfnUserPropsMixin.VoiceEnhancementConfigProperty(*, channel=None, voice_enhancement_mode=None)
Bases:
objectVoice Enhancement configuration per channel.
- Parameters:
channel (
Optional[str]) – The channels that agents can handle in the Contact Control Panel (CCP).voice_enhancement_mode (
Optional[str]) – The Voice Enhancement Mode setting.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins voice_enhancement_config_property = connect_mixins.CfnUserPropsMixin.VoiceEnhancementConfigProperty( channel="channel", voice_enhancement_mode="voiceEnhancementMode" )
Attributes
- channel
The channels that agents can handle in the Contact Control Panel (CCP).
- voice_enhancement_mode
The Voice Enhancement Mode setting.