Skip to content

Commit

Permalink
chore: updated docs for configuring SES email sender
Browse files Browse the repository at this point in the history
  • Loading branch information
Vieltojarvi committed Aug 19, 2024
1 parent 0c818ae commit 073e20e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/auth-construct/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,14 @@ export type AuthProps = {
externalProviders?: ExternalProviderOptions;
};
/**
* Configure how Cognito sends emails
* Configure sending behaviors for Emails or SMS messages sent from your auth resource
* @see https://docs.amplify.aws/react/build-a-backend/auth/customize-auth-lifecycle/email-customization/#custom-senders
*/
senders?: {
/**
* Configure Cognito to send emails from SES
* SES configurations enable the use of customized email sender addresses and names
* @see https://docs.amplify.aws/react/build-a-backend/auth/moving-to-production/#email
*/
email: Pick<UserPoolSESOptions, 'fromEmail' | 'fromName' | 'replyTo'>;
};
Expand Down

0 comments on commit 073e20e

Please sign in to comment.