Documentation ¶
Index ¶
- func NewTunnelConfigConfigAOutputReference_Override(t TunnelConfigConfigAOutputReference, ...)
- func NewTunnelConfigConfigIngressRuleList_Override(t TunnelConfigConfigIngressRuleList, ...)
- func NewTunnelConfigConfigIngressRuleOutputReference_Override(t TunnelConfigConfigIngressRuleOutputReference, ...)
- func NewTunnelConfigConfigOriginRequestIpRulesList_Override(t TunnelConfigConfigOriginRequestIpRulesList, ...)
- func NewTunnelConfigConfigOriginRequestIpRulesOutputReference_Override(t TunnelConfigConfigOriginRequestIpRulesOutputReference, ...)
- func NewTunnelConfigConfigOriginRequestOutputReference_Override(t TunnelConfigConfigOriginRequestOutputReference, ...)
- func NewTunnelConfigConfigWarpRoutingOutputReference_Override(t TunnelConfigConfigWarpRoutingOutputReference, ...)
- func NewTunnelConfig_Override(t TunnelConfig, scope constructs.Construct, id *string, ...)
- func TunnelConfig_IsConstruct(x interface{}) *bool
- func TunnelConfig_IsTerraformElement(x interface{}) *bool
- func TunnelConfig_IsTerraformResource(x interface{}) *bool
- func TunnelConfig_TfResourceType() *string
- type TunnelConfig
- type TunnelConfigConfig
- type TunnelConfigConfigA
- type TunnelConfigConfigAOutputReference
- type TunnelConfigConfigIngressRule
- type TunnelConfigConfigIngressRuleList
- type TunnelConfigConfigIngressRuleOutputReference
- type TunnelConfigConfigOriginRequest
- type TunnelConfigConfigOriginRequestIpRules
- type TunnelConfigConfigOriginRequestIpRulesList
- type TunnelConfigConfigOriginRequestIpRulesOutputReference
- type TunnelConfigConfigOriginRequestOutputReference
- type TunnelConfigConfigWarpRouting
- type TunnelConfigConfigWarpRoutingOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTunnelConfigConfigAOutputReference_Override ¶
func NewTunnelConfigConfigAOutputReference_Override(t TunnelConfigConfigAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewTunnelConfigConfigIngressRuleList_Override ¶
func NewTunnelConfigConfigIngressRuleList_Override(t TunnelConfigConfigIngressRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewTunnelConfigConfigIngressRuleOutputReference_Override ¶
func NewTunnelConfigConfigIngressRuleOutputReference_Override(t TunnelConfigConfigIngressRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewTunnelConfigConfigOriginRequestIpRulesList_Override ¶
func NewTunnelConfigConfigOriginRequestIpRulesList_Override(t TunnelConfigConfigOriginRequestIpRulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewTunnelConfigConfigOriginRequestIpRulesOutputReference_Override ¶
func NewTunnelConfigConfigOriginRequestIpRulesOutputReference_Override(t TunnelConfigConfigOriginRequestIpRulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewTunnelConfigConfigOriginRequestOutputReference_Override ¶
func NewTunnelConfigConfigOriginRequestOutputReference_Override(t TunnelConfigConfigOriginRequestOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewTunnelConfigConfigWarpRoutingOutputReference_Override ¶
func NewTunnelConfigConfigWarpRoutingOutputReference_Override(t TunnelConfigConfigWarpRoutingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewTunnelConfig_Override ¶
func NewTunnelConfig_Override(t TunnelConfig, scope constructs.Construct, id *string, config *TunnelConfigConfig)
Create a new {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config cloudflare_tunnel_config} Resource.
func TunnelConfig_IsConstruct ¶
func TunnelConfig_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func TunnelConfig_IsTerraformElement ¶
func TunnelConfig_IsTerraformElement(x interface{}) *bool
Experimental.
func TunnelConfig_IsTerraformResource ¶
func TunnelConfig_IsTerraformResource(x interface{}) *bool
Experimental.
func TunnelConfig_TfResourceType ¶
func TunnelConfig_TfResourceType() *string
Types ¶
type TunnelConfig ¶
type TunnelConfig interface { cdktf.TerraformResource AccountId() *string SetAccountId(val *string) AccountIdInput() *string // Experimental. CdktfStack() cdktf.TerraformStack Config() TunnelConfigConfigAOutputReference ConfigInput() *TunnelConfigConfigA // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string TunnelId() *string SetTunnelId(val *string) TunnelIdInput() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutConfig(value *TunnelConfigConfigA) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config cloudflare_tunnel_config}.
func NewTunnelConfig ¶
func NewTunnelConfig(scope constructs.Construct, id *string, config *TunnelConfigConfig) TunnelConfig
Create a new {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config cloudflare_tunnel_config} Resource.
type TunnelConfigConfig ¶
type TunnelConfigConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The account identifier to target for the resource. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#account_id TunnelConfig#account_id} AccountId *string `field:"required" json:"accountId" yaml:"accountId"` // config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#config TunnelConfig#config} Config *TunnelConfigConfigA `field:"required" json:"config" yaml:"config"` // Identifier of the Tunnel to target for this configuration. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#tunnel_id TunnelConfig#tunnel_id} TunnelId *string `field:"required" json:"tunnelId" yaml:"tunnelId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#id TunnelConfig#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` }
type TunnelConfigConfigA ¶
type TunnelConfigConfigA struct { // ingress_rule block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#ingress_rule TunnelConfig#ingress_rule} IngressRule interface{} `field:"required" json:"ingressRule" yaml:"ingressRule"` // origin_request block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#origin_request TunnelConfig#origin_request} OriginRequest *TunnelConfigConfigOriginRequest `field:"optional" json:"originRequest" yaml:"originRequest"` // warp_routing block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#warp_routing TunnelConfig#warp_routing} WarpRouting *TunnelConfigConfigWarpRouting `field:"optional" json:"warpRouting" yaml:"warpRouting"` }
type TunnelConfigConfigAOutputReference ¶
type TunnelConfigConfigAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string IngressRule() TunnelConfigConfigIngressRuleList IngressRuleInput() interface{} InternalValue() *TunnelConfigConfigA SetInternalValue(val *TunnelConfigConfigA) OriginRequest() TunnelConfigConfigOriginRequestOutputReference OriginRequestInput() *TunnelConfigConfigOriginRequest // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) WarpRouting() TunnelConfigConfigWarpRoutingOutputReference WarpRoutingInput() *TunnelConfigConfigWarpRouting // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutIngressRule(value interface{}) PutOriginRequest(value *TunnelConfigConfigOriginRequest) PutWarpRouting(value *TunnelConfigConfigWarpRouting) ResetOriginRequest() ResetWarpRouting() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewTunnelConfigConfigAOutputReference ¶
func NewTunnelConfigConfigAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) TunnelConfigConfigAOutputReference
type TunnelConfigConfigIngressRule ¶
type TunnelConfigConfigIngressRule struct { // Name of the service to which the request will be sent. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#service TunnelConfig#service} Service *string `field:"required" json:"service" yaml:"service"` // Hostname to match the incoming request with. If the hostname matches, the request will be sent to the service. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#hostname TunnelConfig#hostname} Hostname *string `field:"optional" json:"hostname" yaml:"hostname"` // Path of the incoming request. If the path matches, the request will be sent to the local service. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#path TunnelConfig#path} Path *string `field:"optional" json:"path" yaml:"path"` }
type TunnelConfigConfigIngressRuleList ¶
type TunnelConfigConfigIngressRuleList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) TunnelConfigConfigIngressRuleOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewTunnelConfigConfigIngressRuleList ¶
func NewTunnelConfigConfigIngressRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) TunnelConfigConfigIngressRuleList
type TunnelConfigConfigIngressRuleOutputReference ¶
type TunnelConfigConfigIngressRuleOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Hostname() *string SetHostname(val *string) HostnameInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Path() *string SetPath(val *string) PathInput() *string Service() *string SetService(val *string) ServiceInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetHostname() ResetPath() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewTunnelConfigConfigIngressRuleOutputReference ¶
func NewTunnelConfigConfigIngressRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) TunnelConfigConfigIngressRuleOutputReference
type TunnelConfigConfigOriginRequest ¶
type TunnelConfigConfigOriginRequest struct { // Runs as jump host. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#bastion_mode TunnelConfig#bastion_mode} BastionMode interface{} `field:"optional" json:"bastionMode" yaml:"bastionMode"` // 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 `""`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#ca_pool TunnelConfig#ca_pool} CaPool *string `field:"optional" json:"caPool" yaml:"caPool"` // 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`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#connect_timeout TunnelConfig#connect_timeout} ConnectTimeout *string `field:"optional" json:"connectTimeout" yaml:"connectTimeout"` // Disables chunked transfer encoding. Useful if you are running a Web Server Gateway Interface (WSGI) server. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#disable_chunked_encoding TunnelConfig#disable_chunked_encoding} DisableChunkedEncoding interface{} `field:"optional" json:"disableChunkedEncoding" yaml:"disableChunkedEncoding"` // Sets the HTTP Host header on requests sent to the local service. Defaults to `""`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#http_host_header TunnelConfig#http_host_header} HttpHostHeader *string `field:"optional" json:"httpHostHeader" yaml:"httpHostHeader"` // ip_rules block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#ip_rules TunnelConfig#ip_rules} IpRules interface{} `field:"optional" json:"ipRules" yaml:"ipRules"` // Maximum number of idle keepalive connections between Tunnel and your origin. // // This does not restrict the total number of concurrent connections. Defaults to `100`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#keep_alive_connections TunnelConfig#keep_alive_connections} KeepAliveConnections *float64 `field:"optional" json:"keepAliveConnections" yaml:"keepAliveConnections"` // Timeout after which an idle keepalive connection can be discarded. Defaults to `1m30s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#keep_alive_timeout TunnelConfig#keep_alive_timeout} KeepAliveTimeout *string `field:"optional" json:"keepAliveTimeout" yaml:"keepAliveTimeout"` // Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols. // // Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#no_happy_eyeballs TunnelConfig#no_happy_eyeballs} NoHappyEyeballs interface{} `field:"optional" json:"noHappyEyeballs" yaml:"noHappyEyeballs"` // Disables TLS verification of the certificate presented by your origin. // // Will allow any certificate from the origin to be accepted. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#no_tls_verify TunnelConfig#no_tls_verify} NoTlsVerify interface{} `field:"optional" json:"noTlsVerify" yaml:"noTlsVerify"` // Hostname that cloudflared should expect from your origin server certificate. Defaults to `""`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#origin_server_name TunnelConfig#origin_server_name} OriginServerName *string `field:"optional" json:"originServerName" yaml:"originServerName"` // 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`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#proxy_address TunnelConfig#proxy_address} ProxyAddress *string `field:"optional" json:"proxyAddress" yaml:"proxyAddress"` // 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`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#proxy_port TunnelConfig#proxy_port} ProxyPort *float64 `field:"optional" json:"proxyPort" yaml:"proxyPort"` // 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 `""`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#proxy_type TunnelConfig#proxy_type} ProxyType *string `field:"optional" json:"proxyType" yaml:"proxyType"` // The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server. // // Defaults to `30s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#tcp_keep_alive TunnelConfig#tcp_keep_alive} TcpKeepAlive *string `field:"optional" json:"tcpKeepAlive" yaml:"tcpKeepAlive"` // Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server. // // Defaults to `10s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#tls_timeout TunnelConfig#tls_timeout} TlsTimeout *string `field:"optional" json:"tlsTimeout" yaml:"tlsTimeout"` }
type TunnelConfigConfigOriginRequestIpRules ¶
type TunnelConfigConfigOriginRequestIpRules struct { // Whether to allow the IP prefix. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#allow TunnelConfig#allow} Allow interface{} `field:"optional" json:"allow" yaml:"allow"` // Ports to use within the IP rule. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#ports TunnelConfig#ports} Ports *[]*float64 `field:"optional" json:"ports" yaml:"ports"` // IP rule prefix. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#prefix TunnelConfig#prefix} Prefix *string `field:"optional" json:"prefix" yaml:"prefix"` }
type TunnelConfigConfigOriginRequestIpRulesList ¶
type TunnelConfigConfigOriginRequestIpRulesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) TunnelConfigConfigOriginRequestIpRulesOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewTunnelConfigConfigOriginRequestIpRulesList ¶
func NewTunnelConfigConfigOriginRequestIpRulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) TunnelConfigConfigOriginRequestIpRulesList
type TunnelConfigConfigOriginRequestIpRulesOutputReference ¶
type TunnelConfigConfigOriginRequestIpRulesOutputReference interface { cdktf.ComplexObject Allow() interface{} SetAllow(val interface{}) AllowInput() interface{} // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Ports() *[]*float64 SetPorts(val *[]*float64) PortsInput() *[]*float64 Prefix() *string SetPrefix(val *string) PrefixInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetAllow() ResetPorts() ResetPrefix() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewTunnelConfigConfigOriginRequestIpRulesOutputReference ¶
func NewTunnelConfigConfigOriginRequestIpRulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) TunnelConfigConfigOriginRequestIpRulesOutputReference
type TunnelConfigConfigOriginRequestOutputReference ¶
type TunnelConfigConfigOriginRequestOutputReference interface { cdktf.ComplexObject BastionMode() interface{} SetBastionMode(val interface{}) BastionModeInput() interface{} CaPool() *string SetCaPool(val *string) CaPoolInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) ConnectTimeout() *string SetConnectTimeout(val *string) ConnectTimeoutInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DisableChunkedEncoding() interface{} SetDisableChunkedEncoding(val interface{}) DisableChunkedEncodingInput() interface{} // Experimental. Fqn() *string HttpHostHeader() *string SetHttpHostHeader(val *string) HttpHostHeaderInput() *string InternalValue() *TunnelConfigConfigOriginRequest SetInternalValue(val *TunnelConfigConfigOriginRequest) IpRules() TunnelConfigConfigOriginRequestIpRulesList IpRulesInput() interface{} KeepAliveConnections() *float64 SetKeepAliveConnections(val *float64) KeepAliveConnectionsInput() *float64 KeepAliveTimeout() *string SetKeepAliveTimeout(val *string) KeepAliveTimeoutInput() *string NoHappyEyeballs() interface{} SetNoHappyEyeballs(val interface{}) NoHappyEyeballsInput() interface{} NoTlsVerify() interface{} SetNoTlsVerify(val interface{}) NoTlsVerifyInput() interface{} OriginServerName() *string SetOriginServerName(val *string) OriginServerNameInput() *string ProxyAddress() *string SetProxyAddress(val *string) ProxyAddressInput() *string ProxyPort() *float64 SetProxyPort(val *float64) ProxyPortInput() *float64 ProxyType() *string SetProxyType(val *string) ProxyTypeInput() *string TcpKeepAlive() *string SetTcpKeepAlive(val *string) TcpKeepAliveInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TlsTimeout() *string SetTlsTimeout(val *string) TlsTimeoutInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutIpRules(value interface{}) ResetBastionMode() ResetCaPool() ResetConnectTimeout() ResetDisableChunkedEncoding() ResetHttpHostHeader() ResetIpRules() ResetKeepAliveConnections() ResetKeepAliveTimeout() ResetNoHappyEyeballs() ResetNoTlsVerify() ResetOriginServerName() ResetProxyAddress() ResetProxyPort() ResetProxyType() ResetTcpKeepAlive() ResetTlsTimeout() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewTunnelConfigConfigOriginRequestOutputReference ¶
func NewTunnelConfigConfigOriginRequestOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) TunnelConfigConfigOriginRequestOutputReference
type TunnelConfigConfigWarpRouting ¶
type TunnelConfigConfigWarpRouting struct { // Whether WARP routing is enabled. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/tunnel_config#enabled TunnelConfig#enabled} Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` }
type TunnelConfigConfigWarpRoutingOutputReference ¶
type TunnelConfigConfigWarpRoutingOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} // Experimental. Fqn() *string InternalValue() *TunnelConfigConfigWarpRouting SetInternalValue(val *TunnelConfigConfigWarpRouting) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetEnabled() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewTunnelConfigConfigWarpRoutingOutputReference ¶
func NewTunnelConfigConfigWarpRoutingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) TunnelConfigConfigWarpRoutingOutputReference
Source Files ¶
- tunnelconfig.go
- tunnelconfig_TunnelConfig.go
- tunnelconfig_TunnelConfigConfig.go
- tunnelconfig_TunnelConfigConfigA.go
- tunnelconfig_TunnelConfigConfigAOutputReference.go
- tunnelconfig_TunnelConfigConfigAOutputReference__runtime_type_checks.go
- tunnelconfig_TunnelConfigConfigIngressRule.go
- tunnelconfig_TunnelConfigConfigIngressRuleList.go
- tunnelconfig_TunnelConfigConfigIngressRuleList__runtime_type_checks.go
- tunnelconfig_TunnelConfigConfigIngressRuleOutputReference.go
- tunnelconfig_TunnelConfigConfigIngressRuleOutputReference__runtime_type_checks.go
- tunnelconfig_TunnelConfigConfigOriginRequest.go
- tunnelconfig_TunnelConfigConfigOriginRequestIpRules.go
- tunnelconfig_TunnelConfigConfigOriginRequestIpRulesList.go
- tunnelconfig_TunnelConfigConfigOriginRequestIpRulesList__runtime_type_checks.go
- tunnelconfig_TunnelConfigConfigOriginRequestIpRulesOutputReference.go
- tunnelconfig_TunnelConfigConfigOriginRequestIpRulesOutputReference__runtime_type_checks.go
- tunnelconfig_TunnelConfigConfigOriginRequestOutputReference.go
- tunnelconfig_TunnelConfigConfigOriginRequestOutputReference__runtime_type_checks.go
- tunnelconfig_TunnelConfigConfigWarpRouting.go
- tunnelconfig_TunnelConfigConfigWarpRoutingOutputReference.go
- tunnelconfig_TunnelConfigConfigWarpRoutingOutputReference__runtime_type_checks.go
- tunnelconfig_TunnelConfig__runtime_type_checks.go