Documentation ¶
Index ¶
- func LoadbalancerFrontend_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func LoadbalancerFrontend_IsConstruct(x interface{}) *bool
- func LoadbalancerFrontend_IsTerraformElement(x interface{}) *bool
- func LoadbalancerFrontend_IsTerraformResource(x interface{}) *bool
- func LoadbalancerFrontend_TfResourceType() *string
- func NewLoadbalancerFrontendNetworksList_Override(l LoadbalancerFrontendNetworksList, ...)
- func NewLoadbalancerFrontendNetworksOutputReference_Override(l LoadbalancerFrontendNetworksOutputReference, ...)
- func NewLoadbalancerFrontendPropertiesList_Override(l LoadbalancerFrontendPropertiesList, ...)
- func NewLoadbalancerFrontendPropertiesOutputReference_Override(l LoadbalancerFrontendPropertiesOutputReference, ...)
- func NewLoadbalancerFrontend_Override(l LoadbalancerFrontend, scope constructs.Construct, id *string, ...)
- type LoadbalancerFrontend
- type LoadbalancerFrontendConfig
- type LoadbalancerFrontendNetworks
- type LoadbalancerFrontendNetworksList
- type LoadbalancerFrontendNetworksOutputReference
- type LoadbalancerFrontendProperties
- type LoadbalancerFrontendPropertiesList
- type LoadbalancerFrontendPropertiesOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadbalancerFrontend_GenerateConfigForImport ¶
func LoadbalancerFrontend_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a LoadbalancerFrontend resource upon running "cdktf plan <stack-name>".
func LoadbalancerFrontend_IsConstruct ¶
func LoadbalancerFrontend_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 LoadbalancerFrontend_IsTerraformElement ¶
func LoadbalancerFrontend_IsTerraformElement(x interface{}) *bool
Experimental.
func LoadbalancerFrontend_IsTerraformResource ¶
func LoadbalancerFrontend_IsTerraformResource(x interface{}) *bool
Experimental.
func LoadbalancerFrontend_TfResourceType ¶
func LoadbalancerFrontend_TfResourceType() *string
func NewLoadbalancerFrontendNetworksList_Override ¶
func NewLoadbalancerFrontendNetworksList_Override(l LoadbalancerFrontendNetworksList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadbalancerFrontendNetworksOutputReference_Override ¶
func NewLoadbalancerFrontendNetworksOutputReference_Override(l LoadbalancerFrontendNetworksOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadbalancerFrontendPropertiesList_Override ¶ added in v14.8.0
func NewLoadbalancerFrontendPropertiesList_Override(l LoadbalancerFrontendPropertiesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadbalancerFrontendPropertiesOutputReference_Override ¶
func NewLoadbalancerFrontendPropertiesOutputReference_Override(l LoadbalancerFrontendPropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadbalancerFrontend_Override ¶
func NewLoadbalancerFrontend_Override(l LoadbalancerFrontend, scope constructs.Construct, id *string, config *LoadbalancerFrontendConfig)
Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend upcloud_loadbalancer_frontend} Resource.
Types ¶
type LoadbalancerFrontend ¶
type LoadbalancerFrontend 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{}) DefaultBackendName() *string SetDefaultBackendName(val *string) DefaultBackendNameInput() *string // 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 Mode() *string SetMode(val *string) ModeInput() *string Name() *string SetName(val *string) NameInput() *string Networks() LoadbalancerFrontendNetworksList NetworksInput() interface{} // The tree node. Node() constructs.Node Port() *float64 SetPort(val *float64) PortInput() *float64 Properties() LoadbalancerFrontendPropertiesList PropertiesInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Rules() *[]*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) PutNetworks(value interface{}) PutProperties(value interface{}) ResetNetworks() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProperties() 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.14.0/docs/resources/loadbalancer_frontend upcloud_loadbalancer_frontend}.
func NewLoadbalancerFrontend ¶
func NewLoadbalancerFrontend(scope constructs.Construct, id *string, config *LoadbalancerFrontendConfig) LoadbalancerFrontend
Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend upcloud_loadbalancer_frontend} Resource.
type LoadbalancerFrontendConfig ¶
type LoadbalancerFrontendConfig 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"` // The name of the default backend where traffic will be routed. // // Note, default backend can be overwritten in frontend rules. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#default_backend_name LoadbalancerFrontend#default_backend_name} DefaultBackendName *string `field:"required" json:"defaultBackendName" yaml:"defaultBackendName"` // UUID of the load balancer to which the frontend is connected. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#loadbalancer LoadbalancerFrontend#loadbalancer} Loadbalancer *string `field:"required" json:"loadbalancer" yaml:"loadbalancer"` // When load balancer operating in `tcp` mode it acts as a layer 4 proxy. // // In `http` mode it acts as a layer 7 proxy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#mode LoadbalancerFrontend#mode} Mode *string `field:"required" json:"mode" yaml:"mode"` // The name of the frontend. Must be unique within the load balancer service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#name LoadbalancerFrontend#name} Name *string `field:"required" json:"name" yaml:"name"` // Port to listen for incoming requests. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#port LoadbalancerFrontend#port} Port *float64 `field:"required" json:"port" yaml:"port"` // networks block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#networks LoadbalancerFrontend#networks} Networks interface{} `field:"optional" json:"networks" yaml:"networks"` // properties block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#properties LoadbalancerFrontend#properties} Properties interface{} `field:"optional" json:"properties" yaml:"properties"` }
type LoadbalancerFrontendNetworks ¶
type LoadbalancerFrontendNetworks struct { // Name of the load balancer network. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#name LoadbalancerFrontend#name} Name *string `field:"required" json:"name" yaml:"name"` }
type LoadbalancerFrontendNetworksList ¶
type LoadbalancerFrontendNetworksList 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) LoadbalancerFrontendNetworksOutputReference // 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 NewLoadbalancerFrontendNetworksList ¶
func NewLoadbalancerFrontendNetworksList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadbalancerFrontendNetworksList
type LoadbalancerFrontendNetworksOutputReference ¶
type LoadbalancerFrontendNetworksOutputReference 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 InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *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 // 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 NewLoadbalancerFrontendNetworksOutputReference ¶
func NewLoadbalancerFrontendNetworksOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadbalancerFrontendNetworksOutputReference
type LoadbalancerFrontendProperties ¶
type LoadbalancerFrontendProperties struct { // Enable or disable HTTP/2 support. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#http2_enabled LoadbalancerFrontend#http2_enabled} Http2Enabled interface{} `field:"optional" json:"http2Enabled" yaml:"http2Enabled"` // Enable or disable inbound proxy protocol support. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#inbound_proxy_protocol LoadbalancerFrontend#inbound_proxy_protocol} InboundProxyProtocol interface{} `field:"optional" json:"inboundProxyProtocol" yaml:"inboundProxyProtocol"` // Client request timeout in seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.14.0/docs/resources/loadbalancer_frontend#timeout_client LoadbalancerFrontend#timeout_client} TimeoutClient *float64 `field:"optional" json:"timeoutClient" yaml:"timeoutClient"` }
type LoadbalancerFrontendPropertiesList ¶ added in v14.8.0
type LoadbalancerFrontendPropertiesList 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) LoadbalancerFrontendPropertiesOutputReference // 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 NewLoadbalancerFrontendPropertiesList ¶ added in v14.8.0
func NewLoadbalancerFrontendPropertiesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadbalancerFrontendPropertiesList
type LoadbalancerFrontendPropertiesOutputReference ¶
type LoadbalancerFrontendPropertiesOutputReference 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 Http2Enabled() interface{} SetHttp2Enabled(val interface{}) Http2EnabledInput() interface{} InboundProxyProtocol() interface{} SetInboundProxyProtocol(val interface{}) InboundProxyProtocolInput() interface{} InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TimeoutClient() *float64 SetTimeoutClient(val *float64) TimeoutClientInput() *float64 // 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 ResetHttp2Enabled() ResetInboundProxyProtocol() ResetTimeoutClient() // 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 NewLoadbalancerFrontendPropertiesOutputReference ¶
func NewLoadbalancerFrontendPropertiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadbalancerFrontendPropertiesOutputReference
Source Files ¶
- LoadbalancerFrontend.go
- LoadbalancerFrontendConfig.go
- LoadbalancerFrontendNetworks.go
- LoadbalancerFrontendNetworksList.go
- LoadbalancerFrontendNetworksList__checks.go
- LoadbalancerFrontendNetworksOutputReference.go
- LoadbalancerFrontendNetworksOutputReference__checks.go
- LoadbalancerFrontendProperties.go
- LoadbalancerFrontendPropertiesList.go
- LoadbalancerFrontendPropertiesList__checks.go
- LoadbalancerFrontendPropertiesOutputReference.go
- LoadbalancerFrontendPropertiesOutputReference__checks.go
- LoadbalancerFrontend__checks.go
- main.go