选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

AWS::Connect::User

聚焦模式
AWS::Connect::User - AWS CloudFormation
此页面尚未翻译为您的语言。 请求翻译
筛选器视图

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Connect::User", "Properties" : { "DirectoryUserId" : String, "HierarchyGroupArn" : String, "IdentityInfo" : UserIdentityInfo, "InstanceArn" : String, "Password" : String, "PhoneConfig" : UserPhoneConfig, "RoutingProfileArn" : String, "SecurityProfileArns" : [ String, ... ], "Tags" : [ Tag, ... ], "Username" : String, "UserProficiencies" : [ UserProficiency, ... ] } }

Properties

DirectoryUserId

The identifier of the user account in the directory used for identity management.

Required: No

Type: String

Update requires: No interruption

HierarchyGroupArn

The Amazon Resource Name (ARN) of the user's hierarchy group.

Required: No

Type: String

Pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/agent-group/[-a-zA-Z0-9]*$

Update requires: No interruption

IdentityInfo

Information about the user identity.

Required: No

Type: UserIdentityInfo

Update requires: No interruption

InstanceArn

The Amazon Resource Name (ARN) of the instance.

Required: Yes

Type: String

Pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$

Update requires: No interruption

Password

The user's password.

Required: No

Type: String

Pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d\S]{8,64}$

Update requires: No interruption

PhoneConfig

Information about the phone configuration for the user.

Required: Yes

Type: UserPhoneConfig

Update requires: No interruption

RoutingProfileArn

The Amazon Resource Name (ARN) of the user's routing profile.

Required: Yes

Type: String

Pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/routing-profile/[-a-zA-Z0-9]*$

Update requires: No interruption

SecurityProfileArns

The Amazon Resource Name (ARN) of the user's security profile.

Required: Yes

Type: Array of String

Minimum: 1

Maximum: 10

Update requires: No interruption

Tags

The tags.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption

Username

The user name assigned to the user account.

Required: Yes

Type: String

Pattern: [a-zA-Z0-9\_\-\.\@]+

Minimum: 1

Maximum: 64

Update requires: No interruption

UserProficiencies

One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area.

Required: No

Type: Array of UserProficiency

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the user. For example:

{ "Ref": "myUser" }

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

UserArn

The Amazon Resource Name (ARN) of the user.

Examples

Specify a user resource

The following example specifies a user resource for an Amazon Connect instance. This example specifies a user under an Amazon Connect instance. We recommend using a dynamic reference to specify a password value or mask the parameter with NoEcho.

YAML

AWSTemplateFormatVersion: 2010-09-09 Description: Specifies a user for an Amazon Connect instance Resources: User: Type: 'AWS::Connect::User' Properties: IdentityInfo: FirstName: 'firstname' LastName: 'lastname' Email: 'example@email.com' PhoneConfig: PhoneType: 'DESK_PHONE' AutoAccept: true DeskPhoneNumber: '+12345678902' AfterContactWorkTimeLimit: 10 Username: 'exampleuser' InstanceArn: 'arn:aws:connect:region-name:aws-account-id:instance/instance-arn' RoutingProfileArn: 'arn:aws:connect:region-name:aws-account-id:instance/instance-arn/routing-profile/routing-arn' SecurityProfileArns: [arn:aws:connect:region-name:aws-account-id:instance/instance-arn/security-profile/security-arn] Password: !Ref password Tags: - Key: 'tagKey' Value: 'tagValue'

下一主题:

Tag

上一主题:

Tag

本页内容

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。