@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:05.165Z") @Stability(value=Experimental) public interface UserPoolSESOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
UserPoolSESOptions userPoolSESOptions = UserPoolSESOptions.builder()
.fromEmail("fromEmail")
// the properties below are optional
.configurationSetName("configurationSetName")
.fromName("fromName")
.replyTo("replyTo")
.sesRegion("sesRegion")
.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()
(experimental) The name of a configuration set in Amazon SES that should be applied to emails sent via Cognito.
|
String |
getFromEmail()
(experimental) The verified Amazon SES email address that Cognito should use to send emails.
|
default String |
getFromName()
(experimental) An optional name that should be used as the sender's name along with the email.
|
default String |
getReplyTo()
(experimental) The destination to which the receiver of the email should reploy to.
|
default String |
getSesRegion()
(experimental) Required if the UserPool region is different than the SES region.
|
@Stability(value=Experimental) @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=Experimental) @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=Experimental) @Nullable default String getFromName()
Default: - no name
@Stability(value=Experimental) @Nullable default String getReplyTo()
Default: - same as the fromEmail
@Stability(value=Experimental) @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=Experimental) static UserPoolSESOptions.Builder builder()
UserPoolSESOptions.Builder of UserPoolSESOptionsCopyright © 2022. All rights reserved.