interface UserIdentityInfoProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Connect.CfnUser.UserIdentityInfoProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnUser_UserIdentityInfoProperty |
Java | software.amazon.awscdk.services.connect.CfnUser.UserIdentityInfoProperty |
Python | aws_cdk.aws_connect.CfnUser.UserIdentityInfoProperty |
TypeScript | aws-cdk-lib » aws_connect » CfnUser » UserIdentityInfoProperty |
Contains information about the identity of a user.
For Amazon Connect instances that are created with the
EXISTING_DIRECTORY
identity management type,FirstName
,LastName
, andFirstName
andLastName
length constraints below apply only to instances using SAML for identity management. If you are using Amazon Connect for identity management, the length constraints are 1-255 forFirstName
, and 1-256 forLastName
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const userIdentityInfoProperty: connect.CfnUser.UserIdentityInfoProperty = {
email: 'email',
firstName: 'firstName',
lastName: 'lastName',
mobile: 'mobile',
secondaryEmail: 'secondaryEmail',
};
Properties
Name | Type | Description |
---|---|---|
email? | string | The email address. |
first | string | The first name. |
last | string | The last name. |
mobile? | string | The user's mobile number. |
secondary | string | The user's secondary email address. |
email?
Type:
string
(optional)
The email address.
If you are using SAML for identity management and include this parameter, an error is returned.
firstName?
Type:
string
(optional)
The first name.
This is required if you are using Amazon Connect or SAML for identity management.
lastName?
Type:
string
(optional)
The last name.
This is required if you are using Amazon Connect or SAML for identity management.
mobile?
Type:
string
(optional)
The user's mobile number.
secondaryEmail?
Type:
string
(optional)
The user's secondary email address.
If you provide a secondary email, the user receives email notifications -- other than password reset notifications -- to this email address instead of to their primary email address.
Pattern : (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}