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