@@ -1297,8 +1297,33 @@ Resources:
12971297 AllowAdminCreateUserOnly : !If [
12981298 InviteAccountRegistrationMode, 'true', 'false',
12991299 ]
1300+ InviteMessageTemplate :
1301+ EmailSubject : ' Developer Portal - Invitation'
1302+ EmailMessage : !Join [ '', [
1303+ ' <h2>Developer Portal</h2><p>You have been invited to access the developer portal at <a href="' ,
1304+ !If [ 'DevelopmentMode',
1305+ !Join [ '', [ 'https://', !GetAtt DevPortalSiteS3Bucket.RegionalDomainName, '/index.html' ]],
1306+ !If [
1307+ ' UseCustomDomainName' ,
1308+ !Join [ '', [ 'https://', !Ref CustomDomainName ]],
1309+ !Join [ '', [ 'https://', !GetAtt DefaultCloudfrontDistribution.DomainName ]]
1310+ ]
1311+ ],
1312+ ' ">' ,
1313+ !If [ 'DevelopmentMode',
1314+ !Join [ '', [ 'https://', !GetAtt DevPortalSiteS3Bucket.RegionalDomainName, '/index.html' ]],
1315+ !If [
1316+ ' UseCustomDomainName' ,
1317+ !Join [ '', [ 'https://', !Ref CustomDomainName ]],
1318+ !Join [ '', [ 'https://', !GetAtt DefaultCloudfrontDistribution.DomainName ]]
1319+ ]
1320+ ],
1321+ ' </a>.</p><p><b>Username:</b> {username}<br><b>Temporary password:</b> {####}</p>'
1322+ ] ]
13001323 AutoVerifiedAttributes : ['email']
13011324 UsernameAttributes : ['email']
1325+ EmailVerificationSubject : ' Developer Portal - Verification Code'
1326+ EmailVerificationMessage : ' <h2>Developer Portal</h2><p>Your verification code is <b>{####}</b></p>'
13021327
13031328 CognitoUserPoolClient :
13041329 Type : AWS::Cognito::UserPoolClient
0 commit comments