![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.amplify.kotlin.outputs.BranchBasicAuthConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.amplify.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enableBasicAuth Enables basic authorization for the branch.
* @property password The password for basic authorization.
* @property username
*/
public data class BranchBasicAuthConfig(
public val enableBasicAuth: Boolean? = null,
public val password: String,
public val username: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.amplify.outputs.BranchBasicAuthConfig): BranchBasicAuthConfig = BranchBasicAuthConfig(
enableBasicAuth = javaType.enableBasicAuth().map({ args0 -> args0 }).orElse(null),
password = javaType.password(),
username = javaType.username(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy