Class CfnUser
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.connect.CfnUser
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.023Z")
@Stability(Stable)
public class CfnUser
extends CfnResource
implements IInspectable
A CloudFormation
AWS::Connect::User.
Specifies 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 .
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.*;
CfnUser cfnUser = CfnUser.Builder.create(this, "MyCfnUser")
.instanceArn("instanceArn")
.phoneConfig(UserPhoneConfigProperty.builder()
.phoneType("phoneType")
// the properties below are optional
.afterContactWorkTimeLimit(123)
.autoAccept(false)
.deskPhoneNumber("deskPhoneNumber")
.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()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnUser.static interfaceContains information about the identity of a user.static interfaceContains information about the phone configuration settings for a user.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the user.The identifier of the user account in the directory used for identity management.The Amazon Resource Name (ARN) of the user's hierarchy group.Information about the user identity.The Amazon Resource Name (ARN) of the instance.The 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDirectoryUserId(String value) The identifier of the user account in the directory used for identity management.voidsetHierarchyGroupArn(String value) The Amazon Resource Name (ARN) of the user's hierarchy group.voidsetIdentityInfo(IResolvable value) Information about the user identity.voidInformation about the user identity.voidsetInstanceArn(String value) The Amazon Resource Name (ARN) of the instance.voidsetPassword(String value) The user's password.voidsetPhoneConfig(IResolvable value) Information about the phone configuration for the user.voidInformation about the phone configuration for the user.voidsetRoutingProfileArn(String value) The Amazon Resource Name (ARN) of the user's routing profile.voidsetSecurityProfileArns(List<String> value) The Amazon Resource Name (ARN) of the user's security profile.voidsetUsername(String value) The user name assigned to the user account.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnUser
protected CfnUser(software.amazon.jsii.JsiiObjectRef objRef) -
CfnUser
protected CfnUser(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnUser
@Stability(Stable) public CfnUser(@NotNull Construct scope, @NotNull String id, @NotNull CfnUserProps props) Create a newAWS::Connect::User.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrUserArn
The Amazon Resource Name (ARN) of the user. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
The tags. -
getInstanceArn
The Amazon Resource Name (ARN) of the instance. -
setInstanceArn
The Amazon Resource Name (ARN) of the instance. -
getPhoneConfig
Information about the phone configuration for the user. -
setPhoneConfig
Information about the phone configuration for the user. -
setPhoneConfig
Information about the phone configuration for the user. -
getRoutingProfileArn
The Amazon Resource Name (ARN) of the user's routing profile. -
setRoutingProfileArn
The Amazon Resource Name (ARN) of the user's routing profile. -
getSecurityProfileArns
The Amazon Resource Name (ARN) of the user's security profile. -
setSecurityProfileArns
The Amazon Resource Name (ARN) of the user's security profile. -
getUsername
The user name assigned to the user account. -
setUsername
The user name assigned to the user account. -
getDirectoryUserId
The identifier of the user account in the directory used for identity management. -
setDirectoryUserId
The identifier of the user account in the directory used for identity management. -
getHierarchyGroupArn
The Amazon Resource Name (ARN) of the user's hierarchy group. -
setHierarchyGroupArn
The Amazon Resource Name (ARN) of the user's hierarchy group. -
getIdentityInfo
Information about the user identity. -
setIdentityInfo
Information about the user identity. -
setIdentityInfo
Information about the user identity. -
getPassword
The user's password. -
setPassword
The user's password.
-