Interface CfnUserProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:37.589Z")
@Stability(Stable)
public interface CfnUserProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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")
.phoneConfig(UserPhoneConfigProperty.builder()
.phoneType("phoneType")
// the properties below are optional
.afterContactWorkTimeLimit(123)
.autoAccept(false)
.deskPhoneNumber("deskPhoneNumber")
.persistentConnection(false)
.build())
.routingProfileArn("routingProfileArn")
.securityProfileArns(List.of("securityProfileArns"))
.username("username")
// the properties below are optional
.directoryUserId("directoryUserId")
.hierarchyGroupArn("hierarchyGroupArn")
.identityInfo(UserIdentityInfoProperty.builder()
.email("email")
.firstName("firstName")
.lastName("lastName")
.mobile("mobile")
.secondaryEmail("secondaryEmail")
.build())
.password("password")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userProficiencies(List.of(UserProficiencyProperty.builder()
.attributeName("attributeName")
.attributeValue("attributeValue")
.level(123)
.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 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.Information about the phone configuration for the 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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceArn
The Amazon Resource Name (ARN) of the instance.- See Also:
-
getPhoneConfig
Information about the phone configuration for the user.Returns union: either
IResolvableorCfnUser.UserPhoneConfigProperty- 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:
-
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:
-
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:
-
builder
- Returns:
- a
CfnUserProps.BuilderofCfnUserProps
-