Interface UserInvitationConfig
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- UserInvitationConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:44.062Z")
@Stability(Stable)
public interface UserInvitationConfig
extends software.amazon.jsii.JsiiSerializable
User pool configuration when administrators sign users up.
 
Example:
 UserPool.Builder.create(this, "myuserpool")
         // ...
         .userInvitation(UserInvitationConfig.builder()
                 .emailSubject("Invite to join our awesome app!")
                 .emailBody("Hello {username}, you have been invited to join our awesome app! Your temporary password is {####}")
                 .smsMessage("Hello {username}, your temporary password for our awesome app is {####}")
                 .build())
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forUserInvitationConfigstatic final classAn implementation forUserInvitationConfig
- 
Method SummaryModifier and TypeMethodDescriptionstatic UserInvitationConfig.Builderbuilder()default StringThe template to the email body that is sent to the user when an administrator signs them up to the user pool.default StringThe template to the email subject that is sent to the user when an administrator signs them up to the user pool.default StringThe template to the SMS message that is sent to the user when an administrator signs them up to the user pool.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getEmailBodyThe template to the email body that is sent to the user when an administrator signs them up to the user pool.Default: 'Your username is {username} and temporary password is {####}.' 
- 
getEmailSubjectThe template to the email subject that is sent to the user when an administrator signs them up to the user pool.Default: 'Your temporary password' 
- 
getSmsMessageThe template to the SMS message that is sent to the user when an administrator signs them up to the user pool.Default: 'Your username is {username} and temporary password is {####}' 
- 
builder- Returns:
- a UserInvitationConfig.BuilderofUserInvitationConfig
 
 
-