Interface CfnUserProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProps.Jsii$Proxy
CfnUser.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
CfnUserProps cfnUserProps = CfnUserProps.builder()
.instanceArn("instanceArn")
.routingProfileArn("routingProfileArn")
.securityProfileArns(List.of("securityProfileArns"))
.username("username")
// the properties below are optional
.afterContactWorkConfigs(List.of(AfterContactWorkConfigPerChannelProperty.builder()
.afterContactWorkConfig(AfterContactWorkConfigProperty.builder()
.afterContactWorkTimeLimit(123)
.build())
.channel("channel")
// the properties below are optional
.agentFirstCallbackAfterContactWorkConfig(AfterContactWorkConfigProperty.builder()
.afterContactWorkTimeLimit(123)
.build())
.build()))
.autoAcceptConfigs(List.of(AutoAcceptConfigProperty.builder()
.autoAccept(false)
.channel("channel")
// the properties below are optional
.agentFirstCallbackAutoAccept(false)
.build()))
.directoryUserId("directoryUserId")
.hierarchyGroupArn("hierarchyGroupArn")
.identityInfo(UserIdentityInfoProperty.builder()
.email("email")
.firstName("firstName")
.lastName("lastName")
.mobile("mobile")
.secondaryEmail("secondaryEmail")
.build())
.password("password")
.persistentConnectionConfigs(List.of(PersistentConnectionConfigProperty.builder()
.channel("channel")
.persistentConnection(false)
.build()))
.phoneConfig(UserPhoneConfigProperty.builder()
.afterContactWorkTimeLimit(123)
.autoAccept(false)
.deskPhoneNumber("deskPhoneNumber")
.persistentConnection(false)
.phoneType("phoneType")
.build())
.phoneNumberConfigs(List.of(PhoneNumberConfigProperty.builder()
.channel("channel")
.phoneType("phoneType")
// the properties below are optional
.phoneNumber("phoneNumber")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userProficiencies(List.of(UserProficiencyProperty.builder()
.attributeName("attributeName")
.attributeValue("attributeValue")
.level(123)
.build()))
.voiceEnhancementConfigs(List.of(VoiceEnhancementConfigProperty.builder()
.channel("channel")
.voiceEnhancementMode("voiceEnhancementMode")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPropsstatic final classAn implementation forCfnUserProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnUserProps.Builderbuilder()default ObjectAfter Contact Work configurations of a user.default ObjectAuto-accept configurations of a user.default StringThe identifier of the user account in the directory used for identity management.default StringThe Amazon Resource Name (ARN) of the user's hierarchy group.default ObjectInformation about the user identity.The Amazon Resource Name (ARN) of the instance.default StringThe user's password.default ObjectPersistent Connection configurations of a user.default ObjectInformation about the phone configuration for the user.default ObjectPhone Number configurations of a user.The Amazon Resource Name (ARN) of the user's routing profile.The Amazon Resource Name (ARN) of the user's security profile.getTags()The tags.The user name assigned to the user account.default ObjectOne or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area.default ObjectVoice Enhancement configurations of a user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceArn
The Amazon Resource Name (ARN) of the instance.- See Also:
-
getRoutingProfileArn
The Amazon Resource Name (ARN) of the user's routing profile.- See Also:
-
getSecurityProfileArns
The Amazon Resource Name (ARN) of the user's security profile.- See Also:
-
getUsername
The user name assigned to the user account.- See Also:
-
getAfterContactWorkConfigs
After Contact Work configurations of a user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.AfterContactWorkConfigPerChannelProperty>- See Also:
-
getAutoAcceptConfigs
Auto-accept configurations of a user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.AutoAcceptConfigProperty>- See Also:
-
getDirectoryUserId
The identifier of the user account in the directory used for identity management.- See Also:
-
getHierarchyGroupArn
The Amazon Resource Name (ARN) of the user's hierarchy group.- See Also:
-
getIdentityInfo
Information about the user identity.Returns union: either
IResolvableorCfnUser.UserIdentityInfoProperty- See Also:
-
getPassword
The user's password.- See Also:
-
getPersistentConnectionConfigs
Persistent Connection configurations of a user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.PersistentConnectionConfigProperty>- See Also:
-
getPhoneConfig
Information about the phone configuration for the user.Returns union: either
IResolvableorCfnUser.UserPhoneConfigProperty- See Also:
-
getPhoneNumberConfigs
Phone Number configurations of a user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.PhoneNumberConfigProperty>- See Also:
-
getTags
The tags.- See Also:
-
getUserProficiencies
One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.UserProficiencyProperty>- See Also:
-
getVoiceEnhancementConfigs
Voice Enhancement configurations of a user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.VoiceEnhancementConfigProperty>- See Also:
-
builder
- Returns:
- a
CfnUserProps.BuilderofCfnUserProps
-