All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.outputs.ZeroTrustTunnelCloudflaredConfigConfigIngressRule.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 5.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property hostname Hostname to match the incoming request with. If the hostname matches, the request will be sent to the service.
 * @property originRequest
 * @property path Path of the incoming request. If the path matches, the request will be sent to the local service.
 * @property service Name of the service to which the request will be sent.
 */
public data class ZeroTrustTunnelCloudflaredConfigConfigIngressRule(
    public val hostname: String? = null,
    public val originRequest: ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequest? = null,
    public val path: String? = null,
    public val service: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustTunnelCloudflaredConfigConfigIngressRule): ZeroTrustTunnelCloudflaredConfigConfigIngressRule =
            ZeroTrustTunnelCloudflaredConfigConfigIngressRule(
                hostname = javaType.hostname().map({ args0 -> args0 }).orElse(null),
                originRequest = javaType.originRequest().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.cloudflare.kotlin.outputs.ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequest.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                path = javaType.path().map({ args0 -> args0 }).orElse(null),
                service = javaType.service(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy