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

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

The newest version!
package io.burkard.cdk.services.cognito

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

  def apply(
    custom: Option[Boolean] = None,
    userPassword: Option[Boolean] = None,
    userSrp: Option[Boolean] = None,
    adminUserPassword: Option[Boolean] = None
  ): software.amazon.awscdk.services.cognito.AuthFlow =
    (new software.amazon.awscdk.services.cognito.AuthFlow.Builder)
      .custom(custom.map(Boolean.box).orNull)
      .userPassword(userPassword.map(Boolean.box).orNull)
      .userSrp(userSrp.map(Boolean.box).orNull)
      .adminUserPassword(adminUserPassword.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy