UserPoolEmailConfig Struct
Result of binding email settings with a user pool.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const userPoolEmailConfig: cognito.UserPoolEmailConfig = {
configurationSet: 'configurationSet',
emailSendingAccount: 'emailSendingAccount',
from: 'from',
replyToEmailAddress: 'replyToEmailAddress',
sourceArn: 'sourceArn',
};
Properties
configurationSetoptionalstringconfiguration_setoptionalstrconfigurationSetoptionalStringConfigurationSetoptionalstringConfigurationSetoptional*string= none#The name of the configuration set in SES.
emailSendingAccountoptionalstringemail_sending_accountoptionalstremailSendingAccountoptionalStringEmailSendingAccountoptionalstringEmailSendingAccountoptional*string#Specifies whether to use Cognito's built in email functionality or SES.
Default: Cognito built in email functionality
fromoptionalstringfromoptionalstrfromoptionalStringFromoptionalstringFromoptional*string= 'no-reply@verificationemail.com'#Identifies either the sender's email address or the sender's name with their email address.
If emailSendingAccount is DEVELOPER then this cannot be specified.
replyToEmailAddressoptionalstringreply_to_email_addressoptionalstrreplyToEmailAddressoptionalStringReplyToEmailAddressoptionalstringReplyToEmailAddressoptional*string#The destination to which the receiver of the email should reply to.
Default: same as from
sourceArnoptionalstringsource_arnoptionalstrsourceArnoptionalStringSourceArnoptionalstringSourceArnoptional*string= none#The ARN of a verified email address in Amazon SES.
required if emailSendingAccount is DEVELOPER or if 'from' is provided.