interface InviteMessageTemplateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Cognito.CfnUserPoolPropsMixin.InviteMessageTemplateProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscognito#CfnUserPoolPropsMixin_InviteMessageTemplateProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolPropsMixin.InviteMessageTemplateProperty |
Python | aws_cdk.cfn_property_mixins.aws_cognito.CfnUserPoolPropsMixin.InviteMessageTemplateProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cognito » CfnUserPoolPropsMixin » InviteMessageTemplateProperty |
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 { aws_cognito as cognito } from '@aws-cdk/cfn-property-mixins';
const inviteMessageTemplateProperty: cognito.CfnUserPoolPropsMixin.InviteMessageTemplateProperty = {
emailMessage: 'emailMessage',
emailSubject: 'emailSubject',
smsMessage: 'smsMessage',
};
Properties
| Name | Type | Description |
|---|---|---|
| email | string | The message template for email messages. |
| email | string | The subject line for email messages. |
| sms | string | The message template for SMS messages. |
emailMessage?
Type:
string
(optional)
The message template for email messages.
EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.
emailSubject?
Type:
string
(optional)
The subject line for email messages.
EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.
smsMessage?
Type:
string
(optional)
The message template for SMS messages.

.NET
Go
Java
Python
TypeScript