@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.655Z") @Stability(value=Stable) public interface UserPoolSESOptions extends software.amazon.jsii.JsiiSerializable
Example:
UserPool.Builder.create(this, "myuserpool")
.email(UserPoolEmail.withSES(UserPoolSESOptions.builder()
.sesRegion("us-east-1")
.fromEmail("noreply@myawesomeapp.com")
.fromName("Awesome App")
.replyTo("support@myawesomeapp.com")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
UserPoolSESOptions.Builder
A builder for
UserPoolSESOptions |
static class |
UserPoolSESOptions.Jsii$Proxy
An implementation for
UserPoolSESOptions |
| Modifier and Type | Method and Description |
|---|---|
static UserPoolSESOptions.Builder |
builder() |
default String |
getConfigurationSetName()
The name of a configuration set in Amazon SES that should be applied to emails sent via Cognito.
|
String |
getFromEmail()
The verified Amazon SES email address that Cognito should use to send emails.
|
default String |
getFromName()
An optional name that should be used as the sender's name along with the email.
|
default String |
getReplyTo()
The destination to which the receiver of the email should reploy to.
|
default String |
getSesRegion()
Required if the UserPool region is different than the SES region.
|
default String |
getSesVerifiedDomain()
SES Verified custom domain to be used to verify the identity.
|
@Stability(value=Stable) @NotNull String getFromEmail()
The email address used must be a verified email address in Amazon SES and must be configured to allow Cognito to send emails.
@Stability(value=Stable) @Nullable default String getConfigurationSetName()
Default: - no configuration set
@Stability(value=Stable) @Nullable default String getFromName()
Default: - no name
@Stability(value=Stable) @Nullable default String getReplyTo()
Default: - same as the fromEmail
@Stability(value=Stable) @Nullable default String getSesRegion()
If sending emails with a Amazon SES verified email address, and the region that SES is configured is different than the region in which the UserPool is deployed, you must specify that region here.
Must be 'us-east-1', 'us-west-2', or 'eu-west-1'
Default: - The same region as the Cognito UserPool
@Stability(value=Stable) @Nullable default String getSesVerifiedDomain()
Default: - no domain
@Stability(value=Stable) static UserPoolSESOptions.Builder builder()
UserPoolSESOptions.Builder of UserPoolSESOptionsCopyright © 2022. All rights reserved.