
com.pulumi.awsnative.pipes.kotlin.inputs.PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.pipes.kotlin.inputs
import com.pulumi.awsnative.pipes.inputs.PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property basicAuth Optional SecretManager ARN which stores the database credentials
*/
public data class PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs(
public val basicAuth: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs =
com.pulumi.awsnative.pipes.inputs.PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs.builder()
.basicAuth(basicAuth.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs].
*/
@PulumiTagMarker
public class PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgsBuilder internal constructor() {
private var basicAuth: Output? = null
/**
* @param value Optional SecretManager ARN which stores the database credentials
*/
@JvmName("ldyjwpyqrlggboot")
public suspend fun basicAuth(`value`: Output) {
this.basicAuth = value
}
/**
* @param value Optional SecretManager ARN which stores the database credentials
*/
@JvmName("qjysounyguxgsimi")
public suspend fun basicAuth(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.basicAuth = mapped
}
internal fun build(): PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs =
PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs(
basicAuth = basicAuth ?: throw PulumiNullFieldException("basicAuth"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy