userAttributes

@JvmName(name = "gtwgohgoorpuucgw")
suspend fun userAttributes(value: Output<List<UserPoolUserAttributeTypeArgs>>)
@JvmName(name = "cyirlgmgvvpeslry")
suspend fun userAttributes(value: List<UserPoolUserAttributeTypeArgs>?)

Parameters

value

An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than Username . However, any attributes that you specify as required (when creating a user pool or in the Attributes tab of the console) either you should supply (in your call to AdminCreateUser ) or the user should supply (when they sign up in response to your welcome message). For custom attributes, you must prepend the custom: prefix to the attribute name. To send a message inviting the user to sign up, you must specify the user's email address or phone number. You can do this in your call to AdminCreateUser or in the Users tab of the Amazon Cognito console for managing your user pools. You must also provide an email address or phone number when you expect the user to do passwordless sign-in with an email or SMS OTP. These attributes must be provided when passwordless options are the only available, or when you don't submit a TemporaryPassword . In your call to AdminCreateUser , you can set the email_verified attribute to True , and you can set the phone_number_verified attribute to True .

  • email : The email address of the user to whom the message that contains the code and username will be sent. Required if the email_verified attribute is set to True , or if "EMAIL" is specified in the DesiredDeliveryMediums parameter.

  • phone_number : The phone number of the user to whom the message that contains the code and username will be sent. Required if the phone_number_verified attribute is set to True , or if "SMS" is specified in the DesiredDeliveryMediums parameter.


@JvmName(name = "ssvatlskmnurmtxx")
suspend fun userAttributes(vararg values: Output<UserPoolUserAttributeTypeArgs>)


@JvmName(name = "akusreelkqekxmbs")
suspend fun userAttributes(values: List<Output<UserPoolUserAttributeTypeArgs>>)
@JvmName(name = "vcqyonpmoctdxeci")
suspend fun userAttributes(vararg values: UserPoolUserAttributeTypeArgs)

Parameters

values

An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than Username . However, any attributes that you specify as required (when creating a user pool or in the Attributes tab of the console) either you should supply (in your call to AdminCreateUser ) or the user should supply (when they sign up in response to your welcome message). For custom attributes, you must prepend the custom: prefix to the attribute name. To send a message inviting the user to sign up, you must specify the user's email address or phone number. You can do this in your call to AdminCreateUser or in the Users tab of the Amazon Cognito console for managing your user pools. You must also provide an email address or phone number when you expect the user to do passwordless sign-in with an email or SMS OTP. These attributes must be provided when passwordless options are the only available, or when you don't submit a TemporaryPassword . In your call to AdminCreateUser , you can set the email_verified attribute to True , and you can set the phone_number_verified attribute to True .

  • email : The email address of the user to whom the message that contains the code and username will be sent. Required if the email_verified attribute is set to True , or if "EMAIL" is specified in the DesiredDeliveryMediums parameter.

  • phone_number : The phone number of the user to whom the message that contains the code and username will be sent. Required if the phone_number_verified attribute is set to True , or if "SMS" is specified in the DesiredDeliveryMediums parameter.


@JvmName(name = "hhbppfrnkfsjtxsx")
suspend fun userAttributes(argument: List<suspend UserPoolUserAttributeTypeArgsBuilder.() -> Unit>)
@JvmName(name = "tgxmqqoihoafrubs")
suspend fun userAttributes(vararg argument: suspend UserPoolUserAttributeTypeArgsBuilder.() -> Unit)
@JvmName(name = "hfigdyhttnlluyme")
suspend fun userAttributes(argument: suspend UserPoolUserAttributeTypeArgsBuilder.() -> Unit)

Parameters

argument

An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than Username . However, any attributes that you specify as required (when creating a user pool or in the Attributes tab of the console) either you should supply (in your call to AdminCreateUser ) or the user should supply (when they sign up in response to your welcome message). For custom attributes, you must prepend the custom: prefix to the attribute name. To send a message inviting the user to sign up, you must specify the user's email address or phone number. You can do this in your call to AdminCreateUser or in the Users tab of the Amazon Cognito console for managing your user pools. You must also provide an email address or phone number when you expect the user to do passwordless sign-in with an email or SMS OTP. These attributes must be provided when passwordless options are the only available, or when you don't submit a TemporaryPassword . In your call to AdminCreateUser , you can set the email_verified attribute to True , and you can set the phone_number_verified attribute to True .

  • email : The email address of the user to whom the message that contains the code and username will be sent. Required if the email_verified attribute is set to True , or if "EMAIL" is specified in the DesiredDeliveryMediums parameter.

  • phone_number : The phone number of the user to whom the message that contains the code and username will be sent. Required if the phone_number_verified attribute is set to True , or if "SMS" is specified in the DesiredDeliveryMediums parameter.