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
configurationSetstringconfiguration_setstrconfigurationSetStringConfigurationSetstringConfigurationSet*string= none#The name of the configuration set in SES.
emailSendingAccountstringemail_sending_accountstremailSendingAccountStringEmailSendingAccountstringEmailSendingAccount*string= Cognito built in email functiona…#Specifies whether to use Cognito's built in email functionality or SES.
default
Default: Cognito built in email functionality
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.
replyToEmailAddressstringreply_to_email_addressstrreplyToEmailAddressStringReplyToEmailAddressstringReplyToEmailAddress*string= same as `from`#The destination to which the receiver of the email should reply to.
The ARN of a verified email address in Amazon SES.
required if emailSendingAccount is DEVELOPER or if 'from' is provided.