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()
}