Interface UserPoolEmailConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
UserPoolEmailConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:48.149Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forUserPoolEmailConfigstatic final classAn implementation forUserPoolEmailConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic UserPoolEmailConfig.Builderbuilder()default StringThe name of the configuration set in SES.default StringSpecifies whether to use Cognito's built in email functionality or SES.default StringgetFrom()Identifies either the sender's email address or the sender's name with their email address.default StringThe destination to which the receiver of the email should reply to.default StringThe 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.BuilderofUserPoolEmailConfig
-