UserIdentityInfoProperty Struct
Contains information about the identity of a user.
For Amazon Connect instances that are created with the
EXISTING_DIRECTORYidentity management type,FirstName,LastName, andFirstNameandLastNamelength 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.
| Source | |
|---|---|
| Type last changed |
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',
};
# 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
user_identity_info_property = connect.CfnUser.UserIdentityInfoProperty(
email="email",
first_name="firstName",
last_name="lastName",
mobile="mobile",
secondary_email="secondaryEmail"
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
UserIdentityInfoProperty userIdentityInfoProperty = UserIdentityInfoProperty.builder()
.email("email")
.firstName("firstName")
.lastName("lastName")
.mobile("mobile")
.secondaryEmail("secondaryEmail")
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var userIdentityInfoProperty = new UserIdentityInfoProperty {
Email = "email",
FirstName = "firstName",
LastName = "lastName",
Mobile = "mobile",
SecondaryEmail = "secondaryEmail"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
userIdentityInfoProperty := &UserIdentityInfoProperty{
Email: jsii.String("email"),
FirstName: jsii.String("firstName"),
LastName: jsii.String("lastName"),
Mobile: jsii.String("mobile"),
SecondaryEmail: jsii.String("secondaryEmail"),
}
Properties
If you are using SAML for identity management and include this parameter, an error is returned.
firstNameoptionalstringfirst_nameoptionalstrfirstNameoptionalStringFirstNameoptionalstringFirstNameoptional*string #notes
This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
lastNameoptionalstringlast_nameoptionalstrlastNameoptionalStringLastNameoptionalstringLastNameoptional*string #notes
This is required if you are using Amazon Connect or SAML for identity management. Inputs must be in Unicode Normalization Form C (NFC). Text containing characters in a non-NFC form (for example, decomposed characters or combining marks) are not accepted.
mobileoptionalstringmobileoptionalstrmobileoptionalStringMobileoptionalstringMobileoptional*string #secondaryEmailoptionalstringsecondary_emailoptionalstrsecondaryEmailoptionalStringSecondaryEmailoptionalstringSecondaryEmailoptional*string #notes
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}