Class: Aws::Connect::Types::CreateUserRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:password]

Instance Attribute Summary collapse

Instance Attribute Details

#directory_user_idString

The identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory.

This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.

Returns:

  • (String)


3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#hierarchy_group_idString

The identifier of the hierarchy group for the user.

Returns:

  • (String)


3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#identity_infoTypes::UserIdentityInfo

The information about the identity of the user.



3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#instance_idString

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Returns:

  • (String)


3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#passwordString

The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.

Returns:

  • (String)


3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#phone_configTypes::UserPhoneConfig

The phone settings for the user.



3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#routing_profile_idString

The identifier of the routing profile for the user.

Returns:

  • (String)


3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#security_profile_idsArray<String>

The identifier of the security profile for the user.

Returns:

  • (Array<String>)


3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#tagsHash<String,String>

The tags used to organize, track, or control access for this resource. For example, \{ "Tags": {"key1":"value1", "key2":"value2"\} \}.

Returns:

  • (Hash<String,String>)


3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#usernameString

The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+.

Username can include @ only if used in an email format. For example:

Returns:

  • (String)


3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 3909

class CreateUserRequest < Struct.new(
  :username,
  :password,
  :identity_info,
  :phone_config,
  :directory_user_id,
  :security_profile_ids,
  :routing_profile_id,
  :hierarchy_group_id,
  :instance_id,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end