Class CfnUserPool.InviteMessageTemplateProperty
The message template to be used for the welcome message to new users.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public class InviteMessageTemplateProperty : Object, CfnUserPool.IInviteMessageTemplateProperty
Syntax (vb)
Public Class InviteMessageTemplateProperty
Inherits Object
Implements CfnUserPool.IInviteMessageTemplateProperty
Remarks
See also Customizing User Invitation Messages .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var inviteMessageTemplateProperty = new InviteMessageTemplateProperty {
EmailMessage = "emailMessage",
EmailSubject = "emailSubject",
SmsMessage = "smsMessage"
};
Synopsis
Constructors
Invite |
Properties
Email |
The message template for email messages. |
Email |
The subject line for email messages. |
Sms |
The message template for SMS messages. |
Constructors
InviteMessageTemplateProperty()
public InviteMessageTemplateProperty()
Properties
EmailMessage
The message template for email messages.
public string EmailMessage { get; set; }
Property Value
System.
Remarks
EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
EmailSubject
The subject line for email messages.
public string EmailSubject { get; set; }
Property Value
System.
Remarks
EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
SmsMessage
The message template for SMS messages.
public string SmsMessage { get; set; }
Property Value
System.