![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cognito.kotlin.inputs.UserPoolInviteMessageTemplateArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cognito.kotlin.inputs
import com.pulumi.awsnative.cognito.inputs.UserPoolInviteMessageTemplateArgs.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 emailMessage The message template for email messages. EmailMessage is allowed only if [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is DEVELOPER.
* @property emailSubject The subject line for email messages. EmailSubject is allowed only if [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is DEVELOPER.
* @property smsMessage The message template for SMS messages.
*/
public data class UserPoolInviteMessageTemplateArgs(
public val emailMessage: Output? = null,
public val emailSubject: Output? = null,
public val smsMessage: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cognito.inputs.UserPoolInviteMessageTemplateArgs =
com.pulumi.awsnative.cognito.inputs.UserPoolInviteMessageTemplateArgs.builder()
.emailMessage(emailMessage?.applyValue({ args0 -> args0 }))
.emailSubject(emailSubject?.applyValue({ args0 -> args0 }))
.smsMessage(smsMessage?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserPoolInviteMessageTemplateArgs].
*/
@PulumiTagMarker
public class UserPoolInviteMessageTemplateArgsBuilder internal constructor() {
private var emailMessage: Output? = null
private var emailSubject: Output? = null
private var smsMessage: Output? = null
/**
* @param value The message template for email messages. EmailMessage is allowed only if [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is DEVELOPER.
*/
@JvmName("kypxuvosmpjmkfim")
public suspend fun emailMessage(`value`: Output) {
this.emailMessage = value
}
/**
* @param value The subject line for email messages. EmailSubject is allowed only if [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is DEVELOPER.
*/
@JvmName("ousmmfaasuhaayre")
public suspend fun emailSubject(`value`: Output) {
this.emailSubject = value
}
/**
* @param value The message template for SMS messages.
*/
@JvmName("twxcejtaqqyncygc")
public suspend fun smsMessage(`value`: Output) {
this.smsMessage = value
}
/**
* @param value The message template for email messages. EmailMessage is allowed only if [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is DEVELOPER.
*/
@JvmName("ouetopmycrepsjbv")
public suspend fun emailMessage(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailMessage = mapped
}
/**
* @param value The subject line for email messages. EmailSubject is allowed only if [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is DEVELOPER.
*/
@JvmName("rkmhyukggvveclkx")
public suspend fun emailSubject(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailSubject = mapped
}
/**
* @param value The message template for SMS messages.
*/
@JvmName("haxfytfdymvmennv")
public suspend fun smsMessage(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.smsMessage = mapped
}
internal fun build(): UserPoolInviteMessageTemplateArgs = UserPoolInviteMessageTemplateArgs(
emailMessage = emailMessage,
emailSubject = emailSubject,
smsMessage = smsMessage,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy