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

com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolPreTokenGenerationConfig.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.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property lambdaArn The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
 * This parameter and the `PreTokenGeneration` property of `LambdaConfig` have the same value. For new instances of pre token generation triggers, set `LambdaArn` .
 * @property lambdaVersion The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
 */
public data class UserPoolPreTokenGenerationConfig(
    public val lambdaArn: String? = null,
    public val lambdaVersion: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cognito.outputs.UserPoolPreTokenGenerationConfig): UserPoolPreTokenGenerationConfig = UserPoolPreTokenGenerationConfig(
            lambdaArn = javaType.lambdaArn().map({ args0 -> args0 }).orElse(null),
            lambdaVersion = javaType.lambdaVersion().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy