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

io.burkard.cdk.services.cognito.LambdaConfigProperty.scala Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package io.burkard.cdk.services.cognito

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LambdaConfigProperty {

  def apply(
    defineAuthChallenge: Option[String] = None,
    postConfirmation: Option[String] = None,
    preAuthentication: Option[String] = None,
    customMessage: Option[String] = None,
    preTokenGeneration: Option[String] = None,
    userMigration: Option[String] = None,
    customEmailSender: Option[software.amazon.awscdk.services.cognito.CfnUserPool.CustomEmailSenderProperty] = None,
    kmsKeyId: Option[String] = None,
    createAuthChallenge: Option[String] = None,
    customSmsSender: Option[software.amazon.awscdk.services.cognito.CfnUserPool.CustomSMSSenderProperty] = None,
    postAuthentication: Option[String] = None,
    verifyAuthChallengeResponse: Option[String] = None,
    preSignUp: Option[String] = None
  ): software.amazon.awscdk.services.cognito.CfnUserPool.LambdaConfigProperty =
    (new software.amazon.awscdk.services.cognito.CfnUserPool.LambdaConfigProperty.Builder)
      .defineAuthChallenge(defineAuthChallenge.orNull)
      .postConfirmation(postConfirmation.orNull)
      .preAuthentication(preAuthentication.orNull)
      .customMessage(customMessage.orNull)
      .preTokenGeneration(preTokenGeneration.orNull)
      .userMigration(userMigration.orNull)
      .customEmailSender(customEmailSender.orNull)
      .kmsKeyId(kmsKeyId.orNull)
      .createAuthChallenge(createAuthChallenge.orNull)
      .customSmsSender(customSmsSender.orNull)
      .postAuthentication(postAuthentication.orNull)
      .verifyAuthChallengeResponse(verifyAuthChallengeResponse.orNull)
      .preSignUp(preSignUp.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy