
com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolLambdaConfig.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 createAuthChallenge Creates an authentication challenge.
* @property customEmailSender A custom email sender AWS Lambda trigger.
* @property customMessage A custom Message AWS Lambda trigger.
* @property customSmsSender A custom SMS sender AWS Lambda trigger.
* @property defineAuthChallenge Defines the authentication challenge.
* @property kmsKeyId The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to `CustomEmailSender` and `CustomSMSSender` .
* @property postAuthentication A post-authentication AWS Lambda trigger.
* @property postConfirmation A post-confirmation AWS Lambda trigger.
* @property preAuthentication A pre-authentication AWS Lambda trigger.
* @property preSignUp A pre-registration AWS Lambda trigger.
* @property preTokenGeneration The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
* Set this parameter for legacy purposes. If you also set an ARN in `PreTokenGenerationConfig` , its value must be identical to `PreTokenGeneration` . For new instances of pre token generation triggers, set the `LambdaArn` of `PreTokenGenerationConfig` .
* You can set ``
* @property preTokenGenerationConfig The detailed configuration of a pre token generation trigger. If you also set an ARN in `PreTokenGeneration` , its value must be identical to `PreTokenGenerationConfig` .
* @property userMigration The user migration Lambda config type.
* @property verifyAuthChallengeResponse Verifies the authentication challenge response.
*/
public data class UserPoolLambdaConfig(
public val createAuthChallenge: String? = null,
public val customEmailSender: UserPoolCustomEmailSender? = null,
public val customMessage: String? = null,
public val customSmsSender: UserPoolCustomSmsSender? = null,
public val defineAuthChallenge: String? = null,
public val kmsKeyId: String? = null,
public val postAuthentication: String? = null,
public val postConfirmation: String? = null,
public val preAuthentication: String? = null,
public val preSignUp: String? = null,
public val preTokenGeneration: String? = null,
public val preTokenGenerationConfig: UserPoolPreTokenGenerationConfig? = null,
public val userMigration: String? = null,
public val verifyAuthChallengeResponse: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cognito.outputs.UserPoolLambdaConfig): UserPoolLambdaConfig = UserPoolLambdaConfig(
createAuthChallenge = javaType.createAuthChallenge().map({ args0 -> args0 }).orElse(null),
customEmailSender = javaType.customEmailSender().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolCustomEmailSender.Companion.toKotlin(args0)
})
}).orElse(null),
customMessage = javaType.customMessage().map({ args0 -> args0 }).orElse(null),
customSmsSender = javaType.customSmsSender().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolCustomSmsSender.Companion.toKotlin(args0)
})
}).orElse(null),
defineAuthChallenge = javaType.defineAuthChallenge().map({ args0 -> args0 }).orElse(null),
kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
postAuthentication = javaType.postAuthentication().map({ args0 -> args0 }).orElse(null),
postConfirmation = javaType.postConfirmation().map({ args0 -> args0 }).orElse(null),
preAuthentication = javaType.preAuthentication().map({ args0 -> args0 }).orElse(null),
preSignUp = javaType.preSignUp().map({ args0 -> args0 }).orElse(null),
preTokenGeneration = javaType.preTokenGeneration().map({ args0 -> args0 }).orElse(null),
preTokenGenerationConfig = javaType.preTokenGenerationConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolPreTokenGenerationConfig.Companion.toKotlin(args0)
})
}).orElse(null),
userMigration = javaType.userMigration().map({ args0 -> args0 }).orElse(null),
verifyAuthChallengeResponse = javaType.verifyAuthChallengeResponse().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy