Interface UserPoolEmailConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
UserPoolEmailConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:16.696Z")
@Stability(Stable)
public interface UserPoolEmailConfig
extends software.amazon.jsii.JsiiSerializable
Result of binding email settings with a user pool.
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.*; UserPoolEmailConfig userPoolEmailConfig = UserPoolEmailConfig.builder() .configurationSet("configurationSet") .emailSendingAccount("emailSendingAccount") .from("from") .replyToEmailAddress("replyToEmailAddress") .sourceArn("sourceArn") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forUserPoolEmailConfig
static final class
An implementation forUserPoolEmailConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserPoolEmailConfig.Builder
builder()
default String
The name of the configuration set in SES.default String
Specifies whether to use Cognito's built in email functionality or SES.default String
getFrom()
Identifies either the sender's email address or the sender's name with their email address.default String
The destination to which the receiver of the email should reply to.default String
The ARN of a verified email address in Amazon SES.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationSet
The name of the configuration set in SES.Default: - none
-
getEmailSendingAccount
Specifies whether to use Cognito's built in email functionality or SES.Default: - Cognito built in email functionality
-
getFrom
Identifies either the sender's email address or the sender's name with their email address.If emailSendingAccount is DEVELOPER then this cannot be specified.
Default: 'no-reply@verificationemail.com'
-
getReplyToEmailAddress
The destination to which the receiver of the email should reply to.Default: - same as `from`
-
getSourceArn
The ARN of a verified email address in Amazon SES.required if emailSendingAccount is DEVELOPER or if 'from' is provided.
Default: - none
-
builder
- Returns:
- a
UserPoolEmailConfig.Builder
ofUserPoolEmailConfig
-