Describe the feature
Allow Cognito UserPool to send emails with a Amazon SES verified domain.
Use Case
When sending emails with a verified domain, the email address does not need to be verified.
In that case, the identity of the SourceArn in EmailConfiguration is allow to be set to the domain instead of the email address.
Proposed Solution
Add sesVerifiedDomain to UserPoolSESOptions.
new UserPool(stack, 'Pool', {
email: UserPoolEmail.withSES({
fromEmail: 'mycustomemail@example.com',
fromName: 'My Custom Email',
replyTo: 'reply@example.com',
configurationSetName: 'default',
sesVerifiedDomain: 'example.com',
}),
});
Other Information
relate #18825
Acknowledgements
CDK version used
2.19.0
Environment details (OS name and version, etc.)
macOS
Describe the feature
Allow Cognito UserPool to send emails with a Amazon SES verified domain.
Use Case
When sending emails with a verified domain, the email address does not need to be verified.
In that case, the identity of the
SourceArninEmailConfigurationis allow to be set to the domain instead of the email address.Proposed Solution
Add
sesVerifiedDomaintoUserPoolSESOptions.Other Information
relate #18825
Acknowledgements
CDK version used
2.19.0
Environment details (OS name and version, etc.)
macOS