Creates a user within the specified identity store¶
Description¶
Creates a user within the specified identity store.
Usage¶
identitystore_create_user(IdentityStoreId, UserName, Name, DisplayName,
NickName, ProfileUrl, Emails, Addresses, PhoneNumbers, UserType, Title,
PreferredLanguage, Locale, Timezone, Photos, Website, Birthdate, Roles,
Extensions)
Arguments¶
-
IdentityStoreId[required] The globally unique identifier for the identity store.
You can specify the identity store by ID or by Amazon Resource Name (ARN). For example, identity store ID
d-1234567890or identity store ARNarn:aws:identitystore::111122223333:identitystore/d-1234567890. -
UserNameA unique string used to identify the user. The length limit is 128 characters. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store.
AdministratorandAWSAdministratorsare reserved names and can't be used for users or groups. -
NameAn object containing the name of the user. When used in IAM Identity Center, this parameter is required.
-
DisplayNameA string containing the name of the user. This value is typically formatted for display when the user is referenced. For example, "John Doe." When used in IAM Identity Center, this parameter is required.
-
NickNameA string containing an alternate name for the user.
-
ProfileUrlA string containing a URL that might be associated with the user.
-
EmailsA list of
Emailobjects containing email addresses associated with the user. -
AddressesA list of
Addressobjects containing addresses associated with the user. -
PhoneNumbersA list of
PhoneNumberobjects containing phone numbers associated with the user. -
UserTypeA string indicating the type of user. Possible values are left unspecified. The value can vary based on your specific use case.
-
TitleA string containing the title of the user. Possible values are left unspecified. The value can vary based on your specific use case.
-
PreferredLanguageA string containing the preferred language of the user. For example, "American English" or "en-us."
-
LocaleA string containing the geographical region or location of the user.
-
TimezoneA string containing the time zone of the user.
-
PhotosA list of photos associated with the user. You can add up to 3 photos per user. Each photo can include a value, type, display name, and primary designation.
-
WebsiteThe user's personal website or blog URL. This field allows users to provide a link to their personal or professional website.
-
BirthdateThe user's birthdate in YYYY-MM-DD format. This field supports standard date format for storing personal information.
-
RolesA list of
Roleobjects containing roles associated with the user. -
ExtensionsA map with additional attribute extensions for the user. Each map key corresponds to an extension name, while map values represent extension data in
Documenttype (not supported by Java V1, Go V1 and older versions of the CLI).aws:identitystore:enterpriseis the only supported extension name.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_user(
IdentityStoreId = "string",
UserName = "string",
Name = list(
Formatted = "string",
FamilyName = "string",
GivenName = "string",
MiddleName = "string",
HonorificPrefix = "string",
HonorificSuffix = "string"
),
DisplayName = "string",
NickName = "string",
ProfileUrl = "string",
Emails = list(
list(
Value = "string",
Type = "string",
Primary = TRUE|FALSE
)
),
Addresses = list(
list(
StreetAddress = "string",
Locality = "string",
Region = "string",
PostalCode = "string",
Country = "string",
Formatted = "string",
Type = "string",
Primary = TRUE|FALSE
)
),
PhoneNumbers = list(
list(
Value = "string",
Type = "string",
Primary = TRUE|FALSE
)
),
UserType = "string",
Title = "string",
PreferredLanguage = "string",
Locale = "string",
Timezone = "string",
Photos = list(
list(
Value = "string",
Type = "string",
Display = "string",
Primary = TRUE|FALSE
)
),
Website = "string",
Birthdate = "string",
Roles = list(
list(
Value = "string",
Type = "string",
Primary = TRUE|FALSE
)
),
Extensions = list(
list()
)
)