@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:20.859Z") @Stability(value=Stable) public interface UserPoolSESOptions extends software.amazon.jsii.JsiiSerializable
Example:
UserPool.Builder.create(this, "myuserpool")
.email(UserPoolEmail.withSES(UserPoolSESOptions.builder()
.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.
|
@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.
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html@Stability(value=Stable) @Nullable default String getConfigurationSetName()
Default: - no configuration set
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-emailconfiguration.html#cfn-cognito-userpool-emailconfiguration-configurationset@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) static UserPoolSESOptions.Builder builder()
UserPoolSESOptions.Builder of UserPoolSESOptionsCopyright © 2022. All rights reserved.