cloudflare.TunnelConfig
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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
Create TunnelConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TunnelConfig(name: string, args: TunnelConfigArgs, opts?: CustomResourceOptions);
@overload
def TunnelConfig(resource_name: str,
args: TunnelConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TunnelConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
config: Optional[TunnelConfigConfigArgs] = None,
source: Optional[str] = None,
tunnel_id: Optional[str] = None)
func NewTunnelConfig(ctx *Context, name string, args TunnelConfigArgs, opts ...ResourceOption) (*TunnelConfig, error)
public TunnelConfig(string name, TunnelConfigArgs args, CustomResourceOptions? opts = null)
public TunnelConfig(String name, TunnelConfigArgs args)
public TunnelConfig(String name, TunnelConfigArgs args, CustomResourceOptions options)
type: cloudflare:TunnelConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TunnelConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TunnelConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TunnelConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TunnelConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TunnelConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TunnelConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TunnelConfig resource accepts the following input properties:
- Account
Id string - Identifier.
- Tunnel
Id string - UUID of the tunnel.
- Config
Tunnel
Config Config - The tunnel configuration and ingress rules.
- Source string
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare".
- Account
Id string - Identifier.
- Tunnel
Id string - UUID of the tunnel.
- Config
Tunnel
Config Config Args - The tunnel configuration and ingress rules.
- Source string
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare".
- account
Id String - Identifier.
- tunnel
Id String - UUID of the tunnel.
- config
Tunnel
Config Config - The tunnel configuration and ingress rules.
- source String
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare".
- account
Id string - Identifier.
- tunnel
Id string - UUID of the tunnel.
- config
Tunnel
Config Config - The tunnel configuration and ingress rules.
- source string
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare".
- account_
id str - Identifier.
- tunnel_
id str - UUID of the tunnel.
- config
Tunnel
Config Config Args - The tunnel configuration and ingress rules.
- source str
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare".
- account
Id String - Identifier.
- tunnel
Id String - UUID of the tunnel.
- config Property Map
- The tunnel configuration and ingress rules.
- source String
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare".
Outputs
All input properties are implicitly available as output properties. Additionally, the TunnelConfig resource produces the following output properties:
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- version int
- The version of the Tunnel Configuration.
Look up Existing TunnelConfig Resource
Get an existing TunnelConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TunnelConfigState, opts?: CustomResourceOptions): TunnelConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
config: Optional[TunnelConfigConfigArgs] = None,
created_at: Optional[str] = None,
source: Optional[str] = None,
tunnel_id: Optional[str] = None,
version: Optional[int] = None) -> TunnelConfig
func GetTunnelConfig(ctx *Context, name string, id IDInput, state *TunnelConfigState, opts ...ResourceOption) (*TunnelConfig, error)
public static TunnelConfig Get(string name, Input<string> id, TunnelConfigState? state, CustomResourceOptions? opts = null)
public static TunnelConfig get(String name, Output<String> id, TunnelConfigState state, CustomResourceOptions options)
resources: _: type: cloudflare:TunnelConfig get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Identifier.
- Config
Tunnel
Config Config - The tunnel configuration and ingress rules.
- Created
At string - Source string
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare". - Tunnel
Id string - UUID of the tunnel.
- Version int
- The version of the Tunnel Configuration.
- Account
Id string - Identifier.
- Config
Tunnel
Config Config Args - The tunnel configuration and ingress rules.
- Created
At string - Source string
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare". - Tunnel
Id string - UUID of the tunnel.
- Version int
- The version of the Tunnel Configuration.
- account
Id String - Identifier.
- config
Tunnel
Config Config - The tunnel configuration and ingress rules.
- created
At String - source String
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare". - tunnel
Id String - UUID of the tunnel.
- version Integer
- The version of the Tunnel Configuration.
- account
Id string - Identifier.
- config
Tunnel
Config Config - The tunnel configuration and ingress rules.
- created
At string - source string
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare". - tunnel
Id string - UUID of the tunnel.
- version number
- The version of the Tunnel Configuration.
- account_
id str - Identifier.
- config
Tunnel
Config Config Args - The tunnel configuration and ingress rules.
- created_
at str - source str
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare". - tunnel_
id str - UUID of the tunnel.
- version int
- The version of the Tunnel Configuration.
- account
Id String - Identifier.
- config Property Map
- The tunnel configuration and ingress rules.
- created
At String - source String
- Indicates if this is a locally or remotely configured tunnel. If
local
, manage the tunnel using a YAML file on the origin machine. Ifcloudflare
, manage the tunnel's configuration on the Zero Trust dashboard. Available values: "local", "cloudflare". - tunnel
Id String - UUID of the tunnel.
- version Number
- The version of the Tunnel Configuration.
Supporting Types
TunnelConfigConfig, TunnelConfigConfigArgs
- Ingresses
List<Tunnel
Config Config Ingress> - List of public hostname definitions. At least one ingress rule needs to be defined for the tunnel.
- Origin
Request TunnelConfig Config Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- Warp
Routing TunnelConfig Config Warp Routing - Enable private network access from WARP users to private network routes. This is enabled if the tunnel has an assigned route.
- Ingresses
[]Tunnel
Config Config Ingress - List of public hostname definitions. At least one ingress rule needs to be defined for the tunnel.
- Origin
Request TunnelConfig Config Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- Warp
Routing TunnelConfig Config Warp Routing - Enable private network access from WARP users to private network routes. This is enabled if the tunnel has an assigned route.
- ingresses
List<Tunnel
Config Config Ingress> - List of public hostname definitions. At least one ingress rule needs to be defined for the tunnel.
- origin
Request TunnelConfig Config Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- warp
Routing TunnelConfig Config Warp Routing - Enable private network access from WARP users to private network routes. This is enabled if the tunnel has an assigned route.
- ingresses
Tunnel
Config Config Ingress[] - List of public hostname definitions. At least one ingress rule needs to be defined for the tunnel.
- origin
Request TunnelConfig Config Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- warp
Routing TunnelConfig Config Warp Routing - Enable private network access from WARP users to private network routes. This is enabled if the tunnel has an assigned route.
- ingresses
Sequence[Tunnel
Config Config Ingress] - List of public hostname definitions. At least one ingress rule needs to be defined for the tunnel.
- origin_
request TunnelConfig Config Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- warp_
routing TunnelConfig Config Warp Routing - Enable private network access from WARP users to private network routes. This is enabled if the tunnel has an assigned route.
- ingresses List<Property Map>
- List of public hostname definitions. At least one ingress rule needs to be defined for the tunnel.
- origin
Request Property Map - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- warp
Routing Property Map - Enable private network access from WARP users to private network routes. This is enabled if the tunnel has an assigned route.
TunnelConfigConfigIngress, TunnelConfigConfigIngressArgs
- Service string
- Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code httpstatus:[code] e.g. 'httpstatus:404'.
- Hostname string
- Public hostname for this service.
- Origin
Request TunnelConfig Config Ingress Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- Path string
- Requests with this path route to this public hostname.
- Service string
- Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code httpstatus:[code] e.g. 'httpstatus:404'.
- Hostname string
- Public hostname for this service.
- Origin
Request TunnelConfig Config Ingress Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- Path string
- Requests with this path route to this public hostname.
- service String
- Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code httpstatus:[code] e.g. 'httpstatus:404'.
- hostname String
- Public hostname for this service.
- origin
Request TunnelConfig Config Ingress Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- path String
- Requests with this path route to this public hostname.
- service string
- Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code httpstatus:[code] e.g. 'httpstatus:404'.
- hostname string
- Public hostname for this service.
- origin
Request TunnelConfig Config Ingress Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- path string
- Requests with this path route to this public hostname.
- service str
- Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code httpstatus:[code] e.g. 'httpstatus:404'.
- hostname str
- Public hostname for this service.
- origin_
request TunnelConfig Config Ingress Origin Request - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- path str
- Requests with this path route to this public hostname.
- service String
- Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code httpstatus:[code] e.g. 'httpstatus:404'.
- hostname String
- Public hostname for this service.
- origin
Request Property Map - Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.
- path String
- Requests with this path route to this public hostname.
TunnelConfigConfigIngressOriginRequest, TunnelConfigConfigIngressOriginRequestArgs
- Access
Tunnel
Config Config Ingress Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- Ca
Pool string - 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.
- Connect
Timeout int - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- Disable
Chunked boolEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- Http2Origin bool
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- Http
Host stringHeader - Sets the HTTP Host header on requests sent to the local service.
- Keep
Alive intConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- Keep
Alive intTimeout - Timeout after which an idle keepalive connection can be discarded.
- No
Happy boolEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- No
Tls boolVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- Origin
Server stringName - Hostname that cloudflared should expect from your origin server certificate.
- Proxy
Type string - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- Tcp
Keep intAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- Tls
Timeout int - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- Access
Tunnel
Config Config Ingress Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- Ca
Pool string - 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.
- Connect
Timeout int - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- Disable
Chunked boolEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- Http2Origin bool
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- Http
Host stringHeader - Sets the HTTP Host header on requests sent to the local service.
- Keep
Alive intConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- Keep
Alive intTimeout - Timeout after which an idle keepalive connection can be discarded.
- No
Happy boolEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- No
Tls boolVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- Origin
Server stringName - Hostname that cloudflared should expect from your origin server certificate.
- Proxy
Type string - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- Tcp
Keep intAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- Tls
Timeout int - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- access
Tunnel
Config Config Ingress Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- ca
Pool String - 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.
- connect
Timeout Integer - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- disable
Chunked BooleanEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- http2Origin Boolean
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- http
Host StringHeader - Sets the HTTP Host header on requests sent to the local service.
- keep
Alive IntegerConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- keep
Alive IntegerTimeout - Timeout after which an idle keepalive connection can be discarded.
- no
Happy BooleanEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- no
Tls BooleanVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- origin
Server StringName - Hostname that cloudflared should expect from your origin server certificate.
- proxy
Type String - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- tcp
Keep IntegerAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- tls
Timeout Integer - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- access
Tunnel
Config Config Ingress Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- ca
Pool string - 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.
- connect
Timeout number - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- disable
Chunked booleanEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- http2Origin boolean
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- http
Host stringHeader - Sets the HTTP Host header on requests sent to the local service.
- keep
Alive numberConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- keep
Alive numberTimeout - Timeout after which an idle keepalive connection can be discarded.
- no
Happy booleanEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- no
Tls booleanVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- origin
Server stringName - Hostname that cloudflared should expect from your origin server certificate.
- proxy
Type string - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- tcp
Keep numberAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- tls
Timeout number - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- access
Tunnel
Config Config Ingress Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- ca_
pool str - 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.
- connect_
timeout int - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- disable_
chunked_ boolencoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- http2_
origin bool - Attempt to connect to origin using HTTP2. Origin must be configured as https.
- http_
host_ strheader - Sets the HTTP Host header on requests sent to the local service.
- keep_
alive_ intconnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- keep_
alive_ inttimeout - Timeout after which an idle keepalive connection can be discarded.
- no_
happy_ booleyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- no_
tls_ boolverify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- origin_
server_ strname - Hostname that cloudflared should expect from your origin server certificate.
- proxy_
type str - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- tcp_
keep_ intalive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- tls_
timeout int - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- access Property Map
- For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- ca
Pool String - 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.
- connect
Timeout Number - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- disable
Chunked BooleanEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- http2Origin Boolean
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- http
Host StringHeader - Sets the HTTP Host header on requests sent to the local service.
- keep
Alive NumberConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- keep
Alive NumberTimeout - Timeout after which an idle keepalive connection can be discarded.
- no
Happy BooleanEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- no
Tls BooleanVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- origin
Server StringName - Hostname that cloudflared should expect from your origin server certificate.
- proxy
Type String - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- tcp
Keep NumberAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- tls
Timeout Number - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
TunnelConfigConfigIngressOriginRequestAccess, TunnelConfigConfigIngressOriginRequestAccessArgs
TunnelConfigConfigOriginRequest, TunnelConfigConfigOriginRequestArgs
- Access
Tunnel
Config Config Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- Ca
Pool string - 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.
- Connect
Timeout int - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- Disable
Chunked boolEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- Http2Origin bool
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- Http
Host stringHeader - Sets the HTTP Host header on requests sent to the local service.
- Keep
Alive intConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- Keep
Alive intTimeout - Timeout after which an idle keepalive connection can be discarded.
- No
Happy boolEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- No
Tls boolVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- Origin
Server stringName - Hostname that cloudflared should expect from your origin server certificate.
- Proxy
Type string - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- Tcp
Keep intAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- Tls
Timeout int - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- Access
Tunnel
Config Config Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- Ca
Pool string - 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.
- Connect
Timeout int - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- Disable
Chunked boolEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- Http2Origin bool
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- Http
Host stringHeader - Sets the HTTP Host header on requests sent to the local service.
- Keep
Alive intConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- Keep
Alive intTimeout - Timeout after which an idle keepalive connection can be discarded.
- No
Happy boolEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- No
Tls boolVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- Origin
Server stringName - Hostname that cloudflared should expect from your origin server certificate.
- Proxy
Type string - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- Tcp
Keep intAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- Tls
Timeout int - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- access
Tunnel
Config Config Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- ca
Pool String - 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.
- connect
Timeout Integer - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- disable
Chunked BooleanEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- http2Origin Boolean
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- http
Host StringHeader - Sets the HTTP Host header on requests sent to the local service.
- keep
Alive IntegerConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- keep
Alive IntegerTimeout - Timeout after which an idle keepalive connection can be discarded.
- no
Happy BooleanEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- no
Tls BooleanVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- origin
Server StringName - Hostname that cloudflared should expect from your origin server certificate.
- proxy
Type String - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- tcp
Keep IntegerAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- tls
Timeout Integer - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- access
Tunnel
Config Config Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- ca
Pool string - 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.
- connect
Timeout number - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- disable
Chunked booleanEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- http2Origin boolean
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- http
Host stringHeader - Sets the HTTP Host header on requests sent to the local service.
- keep
Alive numberConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- keep
Alive numberTimeout - Timeout after which an idle keepalive connection can be discarded.
- no
Happy booleanEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- no
Tls booleanVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- origin
Server stringName - Hostname that cloudflared should expect from your origin server certificate.
- proxy
Type string - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- tcp
Keep numberAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- tls
Timeout number - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- access
Tunnel
Config Config Origin Request Access - For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- ca_
pool str - 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.
- connect_
timeout int - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- disable_
chunked_ boolencoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- http2_
origin bool - Attempt to connect to origin using HTTP2. Origin must be configured as https.
- http_
host_ strheader - Sets the HTTP Host header on requests sent to the local service.
- keep_
alive_ intconnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- keep_
alive_ inttimeout - Timeout after which an idle keepalive connection can be discarded.
- no_
happy_ booleyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- no_
tls_ boolverify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- origin_
server_ strname - Hostname that cloudflared should expect from your origin server certificate.
- proxy_
type str - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- tcp_
keep_ intalive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- tls_
timeout int - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
- access Property Map
- For all L7 requests to this hostname, cloudflared will validate each request's Cf-Access-Jwt-Assertion request header.
- ca
Pool String - 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.
- connect
Timeout Number - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.
- disable
Chunked BooleanEncoding - Disables chunked transfer encoding. Useful if you are running a WSGI server.
- http2Origin Boolean
- Attempt to connect to origin using HTTP2. Origin must be configured as https.
- http
Host StringHeader - Sets the HTTP Host header on requests sent to the local service.
- keep
Alive NumberConnections - Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.
- keep
Alive NumberTimeout - Timeout after which an idle keepalive connection can be discarded.
- no
Happy BooleanEyeballs - Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.
- no
Tls BooleanVerify - Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.
- origin
Server StringName - Hostname that cloudflared should expect from your origin server certificate.
- proxy
Type String - 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. Valid options are: "" for the regular proxy and "socks" for a SOCKS5 proxy.
- tcp
Keep NumberAlive - The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.
- tls
Timeout Number - Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.
TunnelConfigConfigOriginRequestAccess, TunnelConfigConfigOriginRequestAccessArgs
TunnelConfigConfigWarpRouting, TunnelConfigConfigWarpRoutingArgs
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
Import
$ pulumi import cloudflare:index/tunnelConfig:TunnelConfig example '<account_id>/<tunnel_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.