CfnUserProps

class aws_cdk.aws_connect.CfnUserProps(*, instance_arn, phone_config, routing_profile_arn, security_profile_arns, username, directory_user_id=None, hierarchy_group_arn=None, identity_info=None, password=None, tags=None, user_proficiencies=None)

Bases: object

Properties for defining a CfnUser.

Parameters:
  • instance_arn (str) – The Amazon Resource Name (ARN) of the instance.

  • phone_config (Union[IResolvable, UserPhoneConfigProperty, Dict[str, Any]]) – Information about the phone configuration for the user.

  • routing_profile_arn (str) – The Amazon Resource Name (ARN) of the user’s routing profile.

  • security_profile_arns (Sequence[str]) – The Amazon Resource Name (ARN) of the user’s security profile.

  • username (str) – The user name assigned to the user account.

  • directory_user_id (Optional[str]) – The identifier of the user account in the directory used for identity management.

  • hierarchy_group_arn (Optional[str]) – The Amazon Resource Name (ARN) of the user’s hierarchy group.

  • identity_info (Union[IResolvable, UserIdentityInfoProperty, Dict[str, Any], None]) – Information about the user identity.

  • password (Optional[str]) – The user’s password.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags.

  • user_proficiencies (Union[IResolvable, Sequence[Union[IResolvable, UserProficiencyProperty, Dict[str, Any]]], None]) – One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

cfn_user_props = connect.CfnUserProps(
    instance_arn="instanceArn",
    phone_config=connect.CfnUser.UserPhoneConfigProperty(
        phone_type="phoneType",

        # the properties below are optional
        after_contact_work_time_limit=123,
        auto_accept=False,
        desk_phone_number="deskPhoneNumber"
    ),
    routing_profile_arn="routingProfileArn",
    security_profile_arns=["securityProfileArns"],
    username="username",

    # the properties below are optional
    directory_user_id="directoryUserId",
    hierarchy_group_arn="hierarchyGroupArn",
    identity_info=connect.CfnUser.UserIdentityInfoProperty(
        email="email",
        first_name="firstName",
        last_name="lastName",
        mobile="mobile",
        secondary_email="secondaryEmail"
    ),
    password="password",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    user_proficiencies=[connect.CfnUser.UserProficiencyProperty(
        attribute_name="attributeName",
        attribute_value="attributeValue",
        level=123
    )]
)

Attributes

directory_user_id

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-directoryuserid

hierarchy_group_arn

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-hierarchygrouparn

identity_info

Information about the user identity.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-identityinfo

instance_arn

The Amazon Resource Name (ARN) of the instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-instancearn

password

The user’s password.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-password

phone_config

Information about the phone configuration for the user.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-phoneconfig

routing_profile_arn

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-routingprofilearn

security_profile_arns

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-securityprofilearns

tags

The tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-tags

user_proficiencies

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-userproficiencies

username

The user name assigned to the user account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-username