![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cognito.kotlin.inputs.UserPoolCustomEmailSenderArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cognito.kotlin.inputs
import com.pulumi.awsnative.cognito.inputs.UserPoolCustomEmailSenderArgs.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 lambdaArn The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
* @property lambdaVersion The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is `V1_0` .
*/
public data class UserPoolCustomEmailSenderArgs(
public val lambdaArn: Output? = null,
public val lambdaVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cognito.inputs.UserPoolCustomEmailSenderArgs =
com.pulumi.awsnative.cognito.inputs.UserPoolCustomEmailSenderArgs.builder()
.lambdaArn(lambdaArn?.applyValue({ args0 -> args0 }))
.lambdaVersion(lambdaVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserPoolCustomEmailSenderArgs].
*/
@PulumiTagMarker
public class UserPoolCustomEmailSenderArgsBuilder internal constructor() {
private var lambdaArn: Output? = null
private var lambdaVersion: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
*/
@JvmName("clyhmrdcmblofadd")
public suspend fun lambdaArn(`value`: Output) {
this.lambdaArn = value
}
/**
* @param value The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is `V1_0` .
*/
@JvmName("qlaqvxtatyfntsfa")
public suspend fun lambdaVersion(`value`: Output) {
this.lambdaVersion = value
}
/**
* @param value The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
*/
@JvmName("nwcfdfavmqryghvj")
public suspend fun lambdaArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lambdaArn = mapped
}
/**
* @param value The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is `V1_0` .
*/
@JvmName("uxngdirqigxbavwm")
public suspend fun lambdaVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lambdaVersion = mapped
}
internal fun build(): UserPoolCustomEmailSenderArgs = UserPoolCustomEmailSenderArgs(
lambdaArn = lambdaArn,
lambdaVersion = lambdaVersion,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy