Interface CfnUserPool.InviteMessageTemplateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPool.InviteMessageTemplateProperty.Jsii$Proxy
- Enclosing class:
CfnUserPool
@Stability(Stable)
public static interface CfnUserPool.InviteMessageTemplateProperty
extends software.amazon.jsii.JsiiSerializable
The template for the welcome message to new users.
This template must include the {####} temporary password placeholder if you are creating users with passwords. If your users don't have passwords, you can omit the placeholder.
See also Customizing User Invitation Messages .
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.*;
InviteMessageTemplateProperty inviteMessageTemplateProperty = InviteMessageTemplateProperty.builder()
.emailMessage("emailMessage")
.emailSubject("emailSubject")
.smsMessage("smsMessage")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPool.InviteMessageTemplatePropertystatic final classAn implementation forCfnUserPool.InviteMessageTemplateProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEmailMessage
The message template for email messages.EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
- See Also:
-
getEmailSubject
The subject line for email messages.EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
- See Also:
-
getSmsMessage
The message template for SMS messages.- See Also:
-
builder
-