com.pulumi.gcp.integrationconnectors.kotlin.inputs.ConnectionSslConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.integrationconnectors.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionSslConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property additionalVariables Additional SSL related field values.
* Structure is documented below.
* @property clientCertType Type of Client Cert (PEM/JKS/.. etc.)
* Possible values are: `PEM`.
* @property clientCertificate Client Certificate
* Structure is documented below.
* @property clientPrivateKey Client Private Key
* Structure is documented below.
* @property clientPrivateKeyPass Secret containing the passphrase protecting the Client Private Key
* Structure is documented below.
* @property privateServerCertificate Private Server Certificate. Needs to be specified if trust model is PRIVATE.
* Structure is documented below.
* @property serverCertType Type of Server Cert (PEM/JKS/.. etc.)
* Possible values are: `PEM`.
* @property trustModel Enum for Trust Model
* Possible values are: `PUBLIC`, `PRIVATE`, `INSECURE`.
* @property type Enum for controlling the SSL Type (TLS/MTLS)
* Possible values are: `TLS`, `MTLS`.
* @property useSsl Bool for enabling SSL
*/
public data class ConnectionSslConfigArgs(
public val additionalVariables: Output>? = null,
public val clientCertType: Output? = null,
public val clientCertificate: Output? = null,
public val clientPrivateKey: Output? = null,
public val clientPrivateKeyPass: Output? = null,
public val privateServerCertificate: Output? =
null,
public val serverCertType: Output? = null,
public val trustModel: Output? = null,
public val type: Output,
public val useSsl: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.integrationconnectors.inputs.ConnectionSslConfigArgs =
com.pulumi.gcp.integrationconnectors.inputs.ConnectionSslConfigArgs.builder()
.additionalVariables(
additionalVariables?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.clientCertType(clientCertType?.applyValue({ args0 -> args0 }))
.clientCertificate(clientCertificate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.clientPrivateKey(clientPrivateKey?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.clientPrivateKeyPass(
clientPrivateKeyPass?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.privateServerCertificate(
privateServerCertificate?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.serverCertType(serverCertType?.applyValue({ args0 -> args0 }))
.trustModel(trustModel?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.useSsl(useSsl?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionSslConfigArgs].
*/
@PulumiTagMarker
public class ConnectionSslConfigArgsBuilder internal constructor() {
private var additionalVariables: Output>? = null
private var clientCertType: Output? = null
private var clientCertificate: Output? = null
private var clientPrivateKey: Output? = null
private var clientPrivateKeyPass: Output? = null
private var privateServerCertificate: Output? =
null
private var serverCertType: Output? = null
private var trustModel: Output? = null
private var type: Output? = null
private var useSsl: Output? = null
/**
* @param value Additional SSL related field values.
* Structure is documented below.
*/
@JvmName("dkdleyatkmmeuomk")
public suspend fun additionalVariables(`value`: Output>) {
this.additionalVariables = value
}
@JvmName("vmvketmgnnsqyuxi")
public suspend fun additionalVariables(vararg values: Output) {
this.additionalVariables = Output.all(values.asList())
}
/**
* @param values Additional SSL related field values.
* Structure is documented below.
*/
@JvmName("aspqhmkbubnbekdj")
public suspend fun additionalVariables(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy