Class UserPoolEmail
Configure how Cognito sends emails.
public abstract class UserPoolEmail : DeputyBase
- Inheritance
-
UserPoolEmail
Examples
new UserPool(this, "myuserpool", new UserPoolProps {
Email = UserPoolEmail.WithSES(new UserPoolSESOptions {
FromEmail = "noreply@myawesomeapp.com",
FromName = "Awesome App",
ReplyTo = "support@myawesomeapp.com"
})
});
Remarks
ExampleMetadata: infused
Constructors
UserPoolEmail()
protected UserPoolEmail()
Methods
WithCognito(string?)
Send email using Cognito.
public static UserPoolEmail WithCognito(string? replyTo = null)
Parameters
replyTo
string
Returns
WithSES(IUserPoolSESOptions)
Send email using SES.
public static UserPoolEmail WithSES(IUserPoolSESOptions options)
Parameters
options
IUserPoolSESOptions