@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.683Z") @Stability(value=Stable) public interface UserInvitationConfig extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
UserInvitationConfig.Builder
A builder for
UserInvitationConfig |
static class |
UserInvitationConfig.Jsii$Proxy
An implementation for
UserInvitationConfig |
| Modifier and Type | Method and Description |
|---|---|
static UserInvitationConfig.Builder |
builder() |
default String |
getEmailBody()
The template to the email body that is sent to the user when an administrator signs them up to the user pool.
|
default String |
getEmailSubject()
The template to the email subject that is sent to the user when an administrator signs them up to the user pool.
|
default String |
getSmsMessage()
The template to the SMS message that is sent to the user when an administrator signs them up to the user pool.
|
@Stability(value=Stable) @Nullable default String getEmailBody()
Default: 'Your username is {username} and temporary password is {####}.'
@Stability(value=Stable) @Nullable default String getEmailSubject()
Default: 'Your temporary password'
@Stability(value=Stable) @Nullable default String getSmsMessage()
Default: 'Your username is {username} and temporary password is {####}'
@Stability(value=Stable) static UserInvitationConfig.Builder builder()
UserInvitationConfig.Builder of UserInvitationConfigCopyright © 2022. All rights reserved.