
com.pulumi.awsnative.cognito.kotlin.inputs.UserPoolVerificationMessageTemplateArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cognito.kotlin.inputs
import com.pulumi.awsnative.cognito.inputs.UserPoolVerificationMessageTemplateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property defaultEmailOption The default email option.
* @property emailMessage The template for email messages that Amazon Cognito sends to your users. You can set an `EmailMessage` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
* @property emailMessageByLink The email message template for sending a confirmation link to the user. You can set an `EmailMessageByLink` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
* @property emailSubject The subject line for the email message template. You can set an `EmailSubject` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
* @property emailSubjectByLink The subject line for the email message template for sending a confirmation link to the user. You can set an `EmailSubjectByLink` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
* @property smsMessage The template for SMS messages that Amazon Cognito sends to your users.
*/
public data class UserPoolVerificationMessageTemplateArgs(
public val defaultEmailOption: Output? = null,
public val emailMessage: Output? = null,
public val emailMessageByLink: Output? = null,
public val emailSubject: Output? = null,
public val emailSubjectByLink: Output? = null,
public val smsMessage: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cognito.inputs.UserPoolVerificationMessageTemplateArgs = com.pulumi.awsnative.cognito.inputs.UserPoolVerificationMessageTemplateArgs.builder()
.defaultEmailOption(defaultEmailOption?.applyValue({ args0 -> args0 }))
.emailMessage(emailMessage?.applyValue({ args0 -> args0 }))
.emailMessageByLink(emailMessageByLink?.applyValue({ args0 -> args0 }))
.emailSubject(emailSubject?.applyValue({ args0 -> args0 }))
.emailSubjectByLink(emailSubjectByLink?.applyValue({ args0 -> args0 }))
.smsMessage(smsMessage?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserPoolVerificationMessageTemplateArgs].
*/
@PulumiTagMarker
public class UserPoolVerificationMessageTemplateArgsBuilder internal constructor() {
private var defaultEmailOption: Output? = null
private var emailMessage: Output? = null
private var emailMessageByLink: Output? = null
private var emailSubject: Output? = null
private var emailSubjectByLink: Output? = null
private var smsMessage: Output? = null
/**
* @param value The default email option.
*/
@JvmName("gbmmrcmjrlwjamog")
public suspend fun defaultEmailOption(`value`: Output) {
this.defaultEmailOption = value
}
/**
* @param value The template for email messages that Amazon Cognito sends to your users. You can set an `EmailMessage` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
*/
@JvmName("qdvffkhnwspremlt")
public suspend fun emailMessage(`value`: Output) {
this.emailMessage = value
}
/**
* @param value The email message template for sending a confirmation link to the user. You can set an `EmailMessageByLink` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
*/
@JvmName("rkcfurwavktpvoqm")
public suspend fun emailMessageByLink(`value`: Output) {
this.emailMessageByLink = value
}
/**
* @param value The subject line for the email message template. You can set an `EmailSubject` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
*/
@JvmName("gprdauhobrsvkitr")
public suspend fun emailSubject(`value`: Output) {
this.emailSubject = value
}
/**
* @param value The subject line for the email message template for sending a confirmation link to the user. You can set an `EmailSubjectByLink` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
*/
@JvmName("blebnpbemjngyrey")
public suspend fun emailSubjectByLink(`value`: Output) {
this.emailSubjectByLink = value
}
/**
* @param value The template for SMS messages that Amazon Cognito sends to your users.
*/
@JvmName("gjitfncmryrsrxut")
public suspend fun smsMessage(`value`: Output) {
this.smsMessage = value
}
/**
* @param value The default email option.
*/
@JvmName("tmggrchorhswdcxl")
public suspend fun defaultEmailOption(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defaultEmailOption = mapped
}
/**
* @param value The template for email messages that Amazon Cognito sends to your users. You can set an `EmailMessage` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
*/
@JvmName("vgceimttwsnxhlqw")
public suspend fun emailMessage(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailMessage = mapped
}
/**
* @param value The email message template for sending a confirmation link to the user. You can set an `EmailMessageByLink` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
*/
@JvmName("caedplaibpjoklrh")
public suspend fun emailMessageByLink(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailMessageByLink = mapped
}
/**
* @param value The subject line for the email message template. You can set an `EmailSubject` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
*/
@JvmName("ninuccerepkisjsr")
public suspend fun emailSubject(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailSubject = mapped
}
/**
* @param value The subject line for the email message template for sending a confirmation link to the user. You can set an `EmailSubjectByLink` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration.
*/
@JvmName("kumypmgbobyxtwow")
public suspend fun emailSubjectByLink(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailSubjectByLink = mapped
}
/**
* @param value The template for SMS messages that Amazon Cognito sends to your users.
*/
@JvmName("sspedgwllsaqqkcd")
public suspend fun smsMessage(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.smsMessage = mapped
}
internal fun build(): UserPoolVerificationMessageTemplateArgs =
UserPoolVerificationMessageTemplateArgs(
defaultEmailOption = defaultEmailOption,
emailMessage = emailMessage,
emailMessageByLink = emailMessageByLink,
emailSubject = emailSubject,
emailSubjectByLink = emailSubjectByLink,
smsMessage = smsMessage,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy