TunnelConfigArgs

data class TunnelConfigArgs constructor(val accountId: Output<String>? = null, val config: Output<TunnelConfigConfigArgs>? = null, val source: Output<String>? = null, val tunnelId: Output<String>? = null) : ConvertibleToJava<TunnelConfigArgs>

Example Usage

resources:
exampleZeroTrustTunnelCloudflaredConfig:
type: cloudflare:ZeroTrustTunnelCloudflaredConfig
name: example_zero_trust_tunnel_cloudflared_config
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
tunnelId: f70ff985-a4ef-4643-bbbc-4a0ed4fc8415
config:
ingress:
- hostname: tunnel.example.com
service: https://localhost:8001
originRequest:
access:
audTag:
- string
teamName: teamName
required: true
caPool: caPool
connectTimeout: 0
disableChunkedEncoding: true
http2Origin: true
httpHostHeader: httpHostHeader
keepAliveConnections: 0
keepAliveTimeout: 0
noHappyEyeballs: true
noTlsVerify: true
originServerName: originServerName
proxyType: proxyType
tcpKeepAlive: 0
tlsTimeout: 0
path: subpath
origin_request:
access:
audTag:
- string
teamName: teamName
required: true
caPool: caPool
connectTimeout: 0
disableChunkedEncoding: true
http2Origin: true
httpHostHeader: httpHostHeader
keepAliveConnections: 0
keepAliveTimeout: 0
noHappyEyeballs: true
noTlsVerify: true
originServerName: originServerName
proxyType: proxyType
tcpKeepAlive: 0
tlsTimeout: 0

Import

$ pulumi import cloudflare:index/tunnelConfig:TunnelConfig example '<account_id>/<tunnel_id>'

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, config: Output<TunnelConfigConfigArgs>? = null, source: Output<String>? = null, tunnelId: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

Identifier

Link copied to clipboard
val config: Output<TunnelConfigConfigArgs>? = null

The tunnel configuration and ingress rules.

Link copied to clipboard
val source: Output<String>? = null

Indicates if this is a locally or remotely configured tunnel. If local, manage the tunnel using a YAML file on the origin machine. If cloudflare, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare".

Link copied to clipboard
val tunnelId: Output<String>? = null

UUID of the tunnel.

Functions

Link copied to clipboard
open override fun toJava(): TunnelConfigArgs