Documentation ¶
Index ¶
- 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 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 LoadbalancerFrontendPropertiesOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶ added in v4.0.1
func NewLoadbalancerFrontendNetworksList_Override(l LoadbalancerFrontendNetworksList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadbalancerFrontendNetworksOutputReference_Override ¶ added in v4.0.1
func NewLoadbalancerFrontendNetworksOutputReference_Override(l LoadbalancerFrontendNetworksOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadbalancerFrontendPropertiesOutputReference_Override ¶
func NewLoadbalancerFrontendPropertiesOutputReference_Override(l LoadbalancerFrontendPropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoadbalancerFrontend_Override ¶
func NewLoadbalancerFrontend_Override(l LoadbalancerFrontend, scope constructs.Construct, id *string, config *LoadbalancerFrontendConfig)
Create a new {@link https://www.terraform.io/docs/providers/upcloud/r/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() *float64 // Experimental. SetCount(val *float64) 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 SetId(val *string) IdInput() *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() LoadbalancerFrontendPropertiesOutputReference PropertiesInput() *LoadbalancerFrontendProperties // 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 // 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) PutNetworks(value interface{}) PutProperties(value *LoadbalancerFrontendProperties) ResetId() ResetNetworks() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProperties() 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/upcloud/r/loadbalancer_frontend upcloud_loadbalancer_frontend}.
func NewLoadbalancerFrontend ¶
func NewLoadbalancerFrontend(scope constructs.Construct, id *string, config *LoadbalancerFrontendConfig) LoadbalancerFrontend
Create a new {@link https://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend upcloud_loadbalancer_frontend} Resource.
type LoadbalancerFrontendConfig ¶
type LoadbalancerFrontendConfig 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 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://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend#default_backend_name LoadbalancerFrontend#default_backend_name} DefaultBackendName *string `field:"required" json:"defaultBackendName" yaml:"defaultBackendName"` // ID of the load balancer to which the frontend is connected. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/upcloud/r/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://www.terraform.io/docs/providers/upcloud/r/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://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend#name LoadbalancerFrontend#name} Name *string `field:"required" json:"name" yaml:"name"` // Port to listen incoming requests. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend#port LoadbalancerFrontend#port} Port *float64 `field:"required" json:"port" yaml:"port"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend#id LoadbalancerFrontend#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"` // networks block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend#networks LoadbalancerFrontend#networks} Networks interface{} `field:"optional" json:"networks" yaml:"networks"` // properties block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend#properties LoadbalancerFrontend#properties} Properties *LoadbalancerFrontendProperties `field:"optional" json:"properties" yaml:"properties"` }
type LoadbalancerFrontendNetworks ¶ added in v4.0.1
type LoadbalancerFrontendNetworks struct { // Name of the load balancer network. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend#name LoadbalancerFrontend#name} Name *string `field:"required" json:"name" yaml:"name"` }
type LoadbalancerFrontendNetworksList ¶ added in v4.0.1
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) // 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 ¶ added in v4.0.1
func NewLoadbalancerFrontendNetworksList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadbalancerFrontendNetworksList
type LoadbalancerFrontendNetworksOutputReference ¶ added in v4.0.1
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 ¶ added in v4.0.1
func NewLoadbalancerFrontendNetworksOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadbalancerFrontendNetworksOutputReference
type LoadbalancerFrontendProperties ¶
type LoadbalancerFrontendProperties struct { // Enable or disable inbound proxy protocol support. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/upcloud/r/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://www.terraform.io/docs/providers/upcloud/r/loadbalancer_frontend#timeout_client LoadbalancerFrontend#timeout_client} TimeoutClient *float64 `field:"optional" json:"timeoutClient" yaml:"timeoutClient"` }
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 InboundProxyProtocol() interface{} SetInboundProxyProtocol(val interface{}) InboundProxyProtocolInput() interface{} InternalValue() *LoadbalancerFrontendProperties SetInternalValue(val *LoadbalancerFrontendProperties) // 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 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) LoadbalancerFrontendPropertiesOutputReference
Source Files ¶
- loadbalancerfrontend.go
- loadbalancerfrontend_LoadbalancerFrontend.go
- loadbalancerfrontend_LoadbalancerFrontendConfig.go
- loadbalancerfrontend_LoadbalancerFrontendNetworks.go
- loadbalancerfrontend_LoadbalancerFrontendNetworksList.go
- loadbalancerfrontend_LoadbalancerFrontendNetworksList__runtime_type_checks.go
- loadbalancerfrontend_LoadbalancerFrontendNetworksOutputReference.go
- loadbalancerfrontend_LoadbalancerFrontendNetworksOutputReference__runtime_type_checks.go
- loadbalancerfrontend_LoadbalancerFrontendProperties.go
- loadbalancerfrontend_LoadbalancerFrontendPropertiesOutputReference.go
- loadbalancerfrontend_LoadbalancerFrontendPropertiesOutputReference__runtime_type_checks.go
- loadbalancerfrontend_LoadbalancerFrontend__runtime_type_checks.go