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

io.burkard.cdk.services.amplify.cfnApp.BasicAuthConfigProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.amplify.cfnApp

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

  def apply(
    enableBasicAuth: Option[Boolean] = None,
    password: Option[String] = None,
    username: Option[String] = None
  ): software.amazon.awscdk.services.amplify.CfnApp.BasicAuthConfigProperty =
    (new software.amazon.awscdk.services.amplify.CfnApp.BasicAuthConfigProperty.Builder)
      .enableBasicAuth(enableBasicAuth.map(Boolean.box).orNull)
      .password(password.orNull)
      .username(username.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy