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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnUser
.static interface
Contains information about the identity of a user.static interface
Contains information about the phone configuration settings for a user.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
-
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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDirectoryUserId
(String value) The identifier of the user account in the directory used for identity management.void
setHierarchyGroupArn
(String value) The Amazon Resource Name (ARN) of the user's hierarchy group.void
setIdentityInfo
(IResolvable value) Information about the user identity.void
Information about the user identity.void
setInstanceArn
(String value) The Amazon Resource Name (ARN) of the instance.void
setPassword
(String value) The user's password.void
setPhoneConfig
(IResolvable value) Information about the phone configuration for the user.void
Information about the phone configuration for the user.void
setRoutingProfileArn
(String value) The Amazon Resource Name (ARN) of the user's routing profile.void
setSecurityProfileArns
(List<String> value) The Amazon Resource Name (ARN) of the user's security profile.void
setUsername
(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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrUserArn
The Amazon Resource Name (ARN) of the user. -
getCfnProperties
- Overrides:
getCfnProperties
in 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.
-