Documentation ¶
Index ¶
- func LoadbalancerBackend_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func LoadbalancerBackend_IsConstruct(x interface{}) *bool
- func LoadbalancerBackend_IsTerraformElement(x interface{}) *bool
- func LoadbalancerBackend_IsTerraformResource(x interface{}) *bool
- func LoadbalancerBackend_TfResourceType() *string
- func NewLoadbalancerBackendPropertiesList_Override(l LoadbalancerBackendPropertiesList, ...)
- func NewLoadbalancerBackendPropertiesOutputReference_Override(l LoadbalancerBackendPropertiesOutputReference, ...)
- func NewLoadbalancerBackend_Override(l LoadbalancerBackend, scope constructs.Construct, id *string, ...)
- type LoadbalancerBackend
- type LoadbalancerBackendConfig
- type LoadbalancerBackendProperties
- type LoadbalancerBackendPropertiesList
- type LoadbalancerBackendPropertiesOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadbalancerBackend_GenerateConfigForImport ¶
func LoadbalancerBackend_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a LoadbalancerBackend resource upon running "cdktf plan <stack-name>".
func LoadbalancerBackend_IsConstruct ¶
func LoadbalancerBackend_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 LoadbalancerBackend_IsTerraformElement ¶
func LoadbalancerBackend_IsTerraformElement(x interface{}) *bool
Experimental.
func LoadbalancerBackend_IsTerraformResource ¶
func LoadbalancerBackend_IsTerraformResource(x interface{}) *bool
Experimental.
func LoadbalancerBackend_TfResourceType ¶
func LoadbalancerBackend_TfResourceType() *string
func NewLoadbalancerBackendPropertiesList_Override ¶ added in v14.11.0
func NewLoadbalancerBackendPropertiesList_Override(l LoadbalancerBackendPropertiesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadbalancerBackendPropertiesOutputReference_Override ¶
func NewLoadbalancerBackendPropertiesOutputReference_Override(l LoadbalancerBackendPropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadbalancerBackend_Override ¶
func NewLoadbalancerBackend_Override(l LoadbalancerBackend, scope constructs.Construct, id *string, config *LoadbalancerBackendConfig)
Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend upcloud_loadbalancer_backend} Resource.
Types ¶
type LoadbalancerBackend ¶
type LoadbalancerBackend interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Loadbalancer() *string SetLoadbalancer(val *string) LoadbalancerInput() *string Members() *[]*string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Properties() LoadbalancerBackendPropertiesList PropertiesInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} ResolverName() *string SetResolverName(val *string) ResolverNameInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string TlsConfigs() *[]*string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *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. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutProperties(value interface{}) // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProperties() ResetResolverName() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() 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://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend upcloud_loadbalancer_backend}.
func NewLoadbalancerBackend ¶
func NewLoadbalancerBackend(scope constructs.Construct, id *string, config *LoadbalancerBackendConfig) LoadbalancerBackend
Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend upcloud_loadbalancer_backend} Resource.
type LoadbalancerBackendConfig ¶
type LoadbalancerBackendConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `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"` // UUID of the load balancer to which the backend is connected. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#loadbalancer LoadbalancerBackend#loadbalancer} Loadbalancer *string `field:"required" json:"loadbalancer" yaml:"loadbalancer"` // The name of the backend. Must be unique within the load balancer service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#name LoadbalancerBackend#name} Name *string `field:"required" json:"name" yaml:"name"` // properties block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#properties LoadbalancerBackend#properties} Properties interface{} `field:"optional" json:"properties" yaml:"properties"` // Domain name resolver used with dynamic type members. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#resolver_name LoadbalancerBackend#resolver_name} ResolverName *string `field:"optional" json:"resolverName" yaml:"resolverName"` }
type LoadbalancerBackendProperties ¶
type LoadbalancerBackendProperties struct { // Expected HTTP status code returned by the customer application to mark server as healthy. Ignored for `tcp` `health_check_type`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#health_check_expected_status LoadbalancerBackend#health_check_expected_status} HealthCheckExpectedStatus *float64 `field:"optional" json:"healthCheckExpectedStatus" yaml:"healthCheckExpectedStatus"` // Sets how many failed health checks are allowed until the backend member is taken off from the rotation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#health_check_fall LoadbalancerBackend#health_check_fall} HealthCheckFall *float64 `field:"optional" json:"healthCheckFall" yaml:"healthCheckFall"` // Interval between health checks in seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#health_check_interval LoadbalancerBackend#health_check_interval} HealthCheckInterval *float64 `field:"optional" json:"healthCheckInterval" yaml:"healthCheckInterval"` // Sets how many successful health checks are required to put the backend member back into rotation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#health_check_rise LoadbalancerBackend#health_check_rise} HealthCheckRise *float64 `field:"optional" json:"healthCheckRise" yaml:"healthCheckRise"` // Enables certificate verification with the system CA certificate bundle. Works with https scheme in health_check_url, otherwise ignored. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#health_check_tls_verify LoadbalancerBackend#health_check_tls_verify} HealthCheckTlsVerify interface{} `field:"optional" json:"healthCheckTlsVerify" yaml:"healthCheckTlsVerify"` // Health check type. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#health_check_type LoadbalancerBackend#health_check_type} HealthCheckType *string `field:"optional" json:"healthCheckType" yaml:"healthCheckType"` // Target path for health check HTTP GET requests. Ignored for `tcp` `health_check_type`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#health_check_url LoadbalancerBackend#health_check_url} HealthCheckUrl *string `field:"optional" json:"healthCheckUrl" yaml:"healthCheckUrl"` // Allow HTTP/2 connections to backend members by utilizing ALPN extension of TLS protocol, therefore it can only be enabled when tls_enabled is set to true. // // Note: members should support HTTP/2 for this setting to work. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#http2_enabled LoadbalancerBackend#http2_enabled} Http2Enabled interface{} `field:"optional" json:"http2Enabled" yaml:"http2Enabled"` // Enable outbound proxy protocol by setting the desired version. Defaults to empty string. Empty string disables proxy protocol. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#outbound_proxy_protocol LoadbalancerBackend#outbound_proxy_protocol} OutboundProxyProtocol *string `field:"optional" json:"outboundProxyProtocol" yaml:"outboundProxyProtocol"` // Sets sticky session cookie name. Empty string disables sticky session. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#sticky_session_cookie_name LoadbalancerBackend#sticky_session_cookie_name} StickySessionCookieName *string `field:"optional" json:"stickySessionCookieName" yaml:"stickySessionCookieName"` // Backend server timeout in seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#timeout_server LoadbalancerBackend#timeout_server} TimeoutServer *float64 `field:"optional" json:"timeoutServer" yaml:"timeoutServer"` // Maximum inactivity time on the client and server side for tunnels in seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#timeout_tunnel LoadbalancerBackend#timeout_tunnel} TimeoutTunnel *float64 `field:"optional" json:"timeoutTunnel" yaml:"timeoutTunnel"` // Enables TLS connection from the load balancer to backend servers. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#tls_enabled LoadbalancerBackend#tls_enabled} TlsEnabled interface{} `field:"optional" json:"tlsEnabled" yaml:"tlsEnabled"` // If enabled, then the system CA certificate bundle will be used for the certificate verification. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#tls_use_system_ca LoadbalancerBackend#tls_use_system_ca} TlsUseSystemCa interface{} `field:"optional" json:"tlsUseSystemCa" yaml:"tlsUseSystemCa"` // Enables backend servers certificate verification. // // Please make sure that TLS config with the certificate bundle of type authority attached to the backend or `tls_use_system_ca` enabled. Note: `tls_verify` has preference over `health_check_tls_verify` when `tls_enabled` in true. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/loadbalancer_backend#tls_verify LoadbalancerBackend#tls_verify} TlsVerify interface{} `field:"optional" json:"tlsVerify" yaml:"tlsVerify"` }
type LoadbalancerBackendPropertiesList ¶ added in v14.11.0
type LoadbalancerBackendPropertiesList 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) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) LoadbalancerBackendPropertiesOutputReference // 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 NewLoadbalancerBackendPropertiesList ¶ added in v14.11.0
func NewLoadbalancerBackendPropertiesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadbalancerBackendPropertiesList
type LoadbalancerBackendPropertiesOutputReference ¶
type LoadbalancerBackendPropertiesOutputReference 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 HealthCheckExpectedStatus() *float64 SetHealthCheckExpectedStatus(val *float64) HealthCheckExpectedStatusInput() *float64 HealthCheckFall() *float64 SetHealthCheckFall(val *float64) HealthCheckFallInput() *float64 HealthCheckInterval() *float64 SetHealthCheckInterval(val *float64) HealthCheckIntervalInput() *float64 HealthCheckRise() *float64 SetHealthCheckRise(val *float64) HealthCheckRiseInput() *float64 HealthCheckTlsVerify() interface{} SetHealthCheckTlsVerify(val interface{}) HealthCheckTlsVerifyInput() interface{} HealthCheckType() *string SetHealthCheckType(val *string) HealthCheckTypeInput() *string HealthCheckUrl() *string SetHealthCheckUrl(val *string) HealthCheckUrlInput() *string Http2Enabled() interface{} SetHttp2Enabled(val interface{}) Http2EnabledInput() interface{} InternalValue() interface{} SetInternalValue(val interface{}) OutboundProxyProtocol() *string SetOutboundProxyProtocol(val *string) OutboundProxyProtocolInput() *string StickySessionCookieName() *string SetStickySessionCookieName(val *string) StickySessionCookieNameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TimeoutServer() *float64 SetTimeoutServer(val *float64) TimeoutServerInput() *float64 TimeoutTunnel() *float64 SetTimeoutTunnel(val *float64) TimeoutTunnelInput() *float64 TlsEnabled() interface{} SetTlsEnabled(val interface{}) TlsEnabledInput() interface{} TlsUseSystemCa() interface{} SetTlsUseSystemCa(val interface{}) TlsUseSystemCaInput() interface{} TlsVerify() interface{} SetTlsVerify(val interface{}) TlsVerifyInput() interface{} // 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 ResetHealthCheckExpectedStatus() ResetHealthCheckFall() ResetHealthCheckInterval() ResetHealthCheckRise() ResetHealthCheckTlsVerify() ResetHealthCheckType() ResetHealthCheckUrl() ResetHttp2Enabled() ResetOutboundProxyProtocol() ResetStickySessionCookieName() ResetTimeoutServer() ResetTimeoutTunnel() ResetTlsEnabled() ResetTlsUseSystemCa() ResetTlsVerify() // 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 NewLoadbalancerBackendPropertiesOutputReference ¶
func NewLoadbalancerBackendPropertiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadbalancerBackendPropertiesOutputReference
Source Files ¶
- LoadbalancerBackend.go
- LoadbalancerBackendConfig.go
- LoadbalancerBackendProperties.go
- LoadbalancerBackendPropertiesList.go
- LoadbalancerBackendPropertiesList__checks.go
- LoadbalancerBackendPropertiesOutputReference.go
- LoadbalancerBackendPropertiesOutputReference__checks.go
- LoadbalancerBackend__checks.go
- main.go