Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequestArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property access Access rules for the ingress service.
* @property bastionMode Runs as jump host.
* @property caPool Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare. Defaults to `""`.
* @property connectTimeout Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by `tlsTimeout`. Defaults to `30s`.
* @property disableChunkedEncoding Disables chunked transfer encoding. Useful if you are running a Web Server Gateway Interface (WSGI) server. Defaults to `false`.
* @property http2Origin Enables HTTP/2 support for the origin connection. Defaults to `false`.
* @property httpHostHeader Sets the HTTP Host header on requests sent to the local service. Defaults to `""`.
* @property ipRules IP rules for the proxy service.
* @property keepAliveConnections Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections. Defaults to `100`.
* @property keepAliveTimeout Timeout after which an idle keepalive connection can be discarded. Defaults to `1m30s`.
* @property noHappyEyeballs Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols. Defaults to `false`.
* @property noTlsVerify Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted. Defaults to `false`.
* @property originServerName Hostname that cloudflared should expect from your origin server certificate. Defaults to `""`.
* @property proxyAddress cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen address for that proxy. Defaults to `127.0.0.1`.
* @property proxyPort cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen port for that proxy. If set to zero, an unused port will randomly be chosen. Defaults to `0`.
* @property proxyType cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Available values: `""`, `socks`. Defaults to `""`.
* @property tcpKeepAlive The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server. Defaults to `30s`.
* @property tlsTimeout Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server. Defaults to `10s`.
*/
public data class ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequestArgs(
public val access: Output? = null,
public val bastionMode: Output? = null,
public val caPool: Output? = null,
public val connectTimeout: Output? = null,
public val disableChunkedEncoding: Output? = null,
public val http2Origin: Output? = null,
public val httpHostHeader: Output? = null,
public val ipRules: Output>? =
null,
public val keepAliveConnections: Output? = null,
public val keepAliveTimeout: Output? = null,
public val noHappyEyeballs: Output? = null,
public val noTlsVerify: Output? = null,
public val originServerName: Output? = null,
public val proxyAddress: Output? = null,
public val proxyPort: Output? = null,
public val proxyType: Output? = null,
public val tcpKeepAlive: Output? = null,
public val tlsTimeout: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequestArgs =
com.pulumi.cloudflare.inputs.ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequestArgs.builder()
.access(access?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.bastionMode(bastionMode?.applyValue({ args0 -> args0 }))
.caPool(caPool?.applyValue({ args0 -> args0 }))
.connectTimeout(connectTimeout?.applyValue({ args0 -> args0 }))
.disableChunkedEncoding(disableChunkedEncoding?.applyValue({ args0 -> args0 }))
.http2Origin(http2Origin?.applyValue({ args0 -> args0 }))
.httpHostHeader(httpHostHeader?.applyValue({ args0 -> args0 }))
.ipRules(
ipRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.keepAliveConnections(keepAliveConnections?.applyValue({ args0 -> args0 }))
.keepAliveTimeout(keepAliveTimeout?.applyValue({ args0 -> args0 }))
.noHappyEyeballs(noHappyEyeballs?.applyValue({ args0 -> args0 }))
.noTlsVerify(noTlsVerify?.applyValue({ args0 -> args0 }))
.originServerName(originServerName?.applyValue({ args0 -> args0 }))
.proxyAddress(proxyAddress?.applyValue({ args0 -> args0 }))
.proxyPort(proxyPort?.applyValue({ args0 -> args0 }))
.proxyType(proxyType?.applyValue({ args0 -> args0 }))
.tcpKeepAlive(tcpKeepAlive?.applyValue({ args0 -> args0 }))
.tlsTimeout(tlsTimeout?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequestArgs].
*/
@PulumiTagMarker
public class ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequestArgsBuilder internal constructor() {
private var access:
Output? = null
private var bastionMode: Output? = null
private var caPool: Output? = null
private var connectTimeout: Output? = null
private var disableChunkedEncoding: Output? = null
private var http2Origin: Output? = null
private var httpHostHeader: Output? = null
private var ipRules:
Output>? = null
private var keepAliveConnections: Output? = null
private var keepAliveTimeout: Output? = null
private var noHappyEyeballs: Output? = null
private var noTlsVerify: Output? = null
private var originServerName: Output? = null
private var proxyAddress: Output? = null
private var proxyPort: Output? = null
private var proxyType: Output? = null
private var tcpKeepAlive: Output? = null
private var tlsTimeout: Output? = null
/**
* @param value Access rules for the ingress service.
*/
@JvmName("ixlhherjknvrljpu")
public suspend fun access(`value`: Output) {
this.access = value
}
/**
* @param value Runs as jump host.
*/
@JvmName("qwmtrawkbujnghfv")
public suspend fun bastionMode(`value`: Output) {
this.bastionMode = value
}
/**
* @param value Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare. Defaults to `""`.
*/
@JvmName("dpfefjmxyuddudur")
public suspend fun caPool(`value`: Output) {
this.caPool = value
}
/**
* @param value Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by `tlsTimeout`. Defaults to `30s`.
*/
@JvmName("kjarnumjgtjdqbbq")
public suspend fun connectTimeout(`value`: Output) {
this.connectTimeout = value
}
/**
* @param value Disables chunked transfer encoding. Useful if you are running a Web Server Gateway Interface (WSGI) server. Defaults to `false`.
*/
@JvmName("bphggaxlpahllynk")
public suspend fun disableChunkedEncoding(`value`: Output) {
this.disableChunkedEncoding = value
}
/**
* @param value Enables HTTP/2 support for the origin connection. Defaults to `false`.
*/
@JvmName("dxtvqvmrieqaaeop")
public suspend fun http2Origin(`value`: Output) {
this.http2Origin = value
}
/**
* @param value Sets the HTTP Host header on requests sent to the local service. Defaults to `""`.
*/
@JvmName("kcqwrrfaqavkpxkc")
public suspend fun httpHostHeader(`value`: Output) {
this.httpHostHeader = value
}
/**
* @param value IP rules for the proxy service.
*/
@JvmName("vcxmbtwgtgvihvvg")
public suspend fun ipRules(`value`: Output>) {
this.ipRules = value
}
@JvmName("pkmdnhatyulqbcru")
public suspend fun ipRules(vararg values: Output) {
this.ipRules = Output.all(values.asList())
}
/**
* @param values IP rules for the proxy service.
*/
@JvmName("qnwmrumrsebicoqu")
public suspend fun ipRules(values: List