All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.cognito.kotlin.inputs.UserPoolCustomSmsSenderArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cognito.kotlin.inputs

import com.pulumi.awsnative.cognito.inputs.UserPoolCustomSmsSenderArgs.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 SMS notifications to users.
 * @property lambdaVersion The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is `V1_0` .
 */
public data class UserPoolCustomSmsSenderArgs(
    public val lambdaArn: Output? = null,
    public val lambdaVersion: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cognito.inputs.UserPoolCustomSmsSenderArgs =
        com.pulumi.awsnative.cognito.inputs.UserPoolCustomSmsSenderArgs.builder()
            .lambdaArn(lambdaArn?.applyValue({ args0 -> args0 }))
            .lambdaVersion(lambdaVersion?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserPoolCustomSmsSenderArgs].
 */
@PulumiTagMarker
public class UserPoolCustomSmsSenderArgsBuilder 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 SMS notifications to users.
     */
    @JvmName("pwhgmhugvmeobqsd")
    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 Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is `V1_0` .
     */
    @JvmName("jfgthhjxwkyygqkq")
    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 SMS notifications to users.
     */
    @JvmName("qqqpvrsptlpggssw")
    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 Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is `V1_0` .
     */
    @JvmName("qtatkcfbhsfcfayl")
    public suspend fun lambdaVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lambdaVersion = mapped
    }

    internal fun build(): UserPoolCustomSmsSenderArgs = UserPoolCustomSmsSenderArgs(
        lambdaArn = lambdaArn,
        lambdaVersion = lambdaVersion,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy