Documentation ¶
Index ¶
- func Loadbalancer_IsConstruct(x interface{}) *bool
- func Loadbalancer_IsTerraformElement(x interface{}) *bool
- func Loadbalancer_IsTerraformResource(x interface{}) *bool
- func Loadbalancer_TfResourceType() *string
- func NewLoadbalancerFirewallOutputReference_Override(l LoadbalancerFirewallOutputReference, ...)
- func NewLoadbalancerForwardingRuleList_Override(l LoadbalancerForwardingRuleList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLoadbalancerForwardingRuleOutputReference_Override(l LoadbalancerForwardingRuleOutputReference, ...)
- func NewLoadbalancerHealthcheckOutputReference_Override(l LoadbalancerHealthcheckOutputReference, ...)
- func NewLoadbalancerStickySessionsOutputReference_Override(l LoadbalancerStickySessionsOutputReference, ...)
- func NewLoadbalancer_Override(l Loadbalancer, scope constructs.Construct, id *string, ...)
- type Loadbalancer
- type LoadbalancerConfig
- type LoadbalancerFirewall
- type LoadbalancerFirewallOutputReference
- type LoadbalancerForwardingRule
- type LoadbalancerForwardingRuleList
- type LoadbalancerForwardingRuleOutputReference
- type LoadbalancerHealthcheck
- type LoadbalancerHealthcheckOutputReference
- type LoadbalancerStickySessions
- type LoadbalancerStickySessionsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Loadbalancer_IsConstruct ¶
func Loadbalancer_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 Loadbalancer_IsTerraformElement ¶
func Loadbalancer_IsTerraformElement(x interface{}) *bool
Experimental.
func Loadbalancer_IsTerraformResource ¶
func Loadbalancer_IsTerraformResource(x interface{}) *bool
Experimental.
func Loadbalancer_TfResourceType ¶
func Loadbalancer_TfResourceType() *string
func NewLoadbalancerFirewallOutputReference_Override ¶
func NewLoadbalancerFirewallOutputReference_Override(l LoadbalancerFirewallOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoadbalancerForwardingRuleList_Override ¶
func NewLoadbalancerForwardingRuleList_Override(l LoadbalancerForwardingRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadbalancerForwardingRuleOutputReference_Override ¶
func NewLoadbalancerForwardingRuleOutputReference_Override(l LoadbalancerForwardingRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadbalancerHealthcheckOutputReference_Override ¶
func NewLoadbalancerHealthcheckOutputReference_Override(l LoadbalancerHealthcheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoadbalancerStickySessionsOutputReference_Override ¶
func NewLoadbalancerStickySessionsOutputReference_Override(l LoadbalancerStickySessionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoadbalancer_Override ¶
func NewLoadbalancer_Override(l Loadbalancer, scope constructs.Construct, id *string, config *LoadbalancerConfig)
Create a new {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer digitalocean_loadbalancer} Resource.
Types ¶
type Loadbalancer ¶
type Loadbalancer interface { cdktf.TerraformResource Algorithm() *string SetAlgorithm(val *string) AlgorithmInput() *string // 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) DisableLetsEncryptDnsRecords() interface{} SetDisableLetsEncryptDnsRecords(val interface{}) DisableLetsEncryptDnsRecordsInput() interface{} DropletIds() *[]*float64 SetDropletIds(val *[]*float64) DropletIdsInput() *[]*float64 DropletTag() *string SetDropletTag(val *string) DropletTagInput() *string EnableBackendKeepalive() interface{} SetEnableBackendKeepalive(val interface{}) EnableBackendKeepaliveInput() interface{} EnableProxyProtocol() interface{} SetEnableProxyProtocol(val interface{}) EnableProxyProtocolInput() interface{} Firewall() LoadbalancerFirewallOutputReference FirewallInput() *LoadbalancerFirewall // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) ForwardingRule() LoadbalancerForwardingRuleList ForwardingRuleInput() interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Healthcheck() LoadbalancerHealthcheckOutputReference HealthcheckInput() *LoadbalancerHealthcheck HttpIdleTimeoutSeconds() *float64 SetHttpIdleTimeoutSeconds(val *float64) HttpIdleTimeoutSecondsInput() *float64 Id() *string SetId(val *string) IdInput() *string Ip() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node ProjectId() *string SetProjectId(val *string) ProjectIdInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RedirectHttpToHttps() interface{} SetRedirectHttpToHttps(val interface{}) RedirectHttpToHttpsInput() interface{} Region() *string SetRegion(val *string) RegionInput() *string Size() *string SetSize(val *string) SizeInput() *string SizeUnit() *float64 SetSizeUnit(val *float64) SizeUnitInput() *float64 Status() *string StickySessions() LoadbalancerStickySessionsOutputReference StickySessionsInput() *LoadbalancerStickySessions // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Urn() *string VpcUuid() *string SetVpcUuid(val *string) VpcUuidInput() *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) PutFirewall(value *LoadbalancerFirewall) PutForwardingRule(value interface{}) PutHealthcheck(value *LoadbalancerHealthcheck) PutStickySessions(value *LoadbalancerStickySessions) ResetAlgorithm() ResetDisableLetsEncryptDnsRecords() ResetDropletIds() ResetDropletTag() ResetEnableBackendKeepalive() ResetEnableProxyProtocol() ResetFirewall() ResetHealthcheck() ResetHttpIdleTimeoutSeconds() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProjectId() ResetRedirectHttpToHttps() ResetSize() ResetSizeUnit() ResetStickySessions() ResetVpcUuid() 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://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer digitalocean_loadbalancer}.
func NewLoadbalancer ¶
func NewLoadbalancer(scope constructs.Construct, id *string, config *LoadbalancerConfig) Loadbalancer
Create a new {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer digitalocean_loadbalancer} Resource.
type LoadbalancerConfig ¶
type LoadbalancerConfig 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"` // forwarding_rule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#forwarding_rule Loadbalancer#forwarding_rule} ForwardingRule interface{} `field:"required" json:"forwardingRule" yaml:"forwardingRule"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#name Loadbalancer#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#region Loadbalancer#region}. Region *string `field:"required" json:"region" yaml:"region"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#algorithm Loadbalancer#algorithm}. Algorithm *string `field:"optional" json:"algorithm" yaml:"algorithm"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#disable_lets_encrypt_dns_records Loadbalancer#disable_lets_encrypt_dns_records}. DisableLetsEncryptDnsRecords interface{} `field:"optional" json:"disableLetsEncryptDnsRecords" yaml:"disableLetsEncryptDnsRecords"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#droplet_ids Loadbalancer#droplet_ids}. DropletIds *[]*float64 `field:"optional" json:"dropletIds" yaml:"dropletIds"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#droplet_tag Loadbalancer#droplet_tag}. DropletTag *string `field:"optional" json:"dropletTag" yaml:"dropletTag"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#enable_backend_keepalive Loadbalancer#enable_backend_keepalive}. EnableBackendKeepalive interface{} `field:"optional" json:"enableBackendKeepalive" yaml:"enableBackendKeepalive"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#enable_proxy_protocol Loadbalancer#enable_proxy_protocol}. EnableProxyProtocol interface{} `field:"optional" json:"enableProxyProtocol" yaml:"enableProxyProtocol"` // firewall block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#firewall Loadbalancer#firewall} Firewall *LoadbalancerFirewall `field:"optional" json:"firewall" yaml:"firewall"` // healthcheck block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#healthcheck Loadbalancer#healthcheck} Healthcheck *LoadbalancerHealthcheck `field:"optional" json:"healthcheck" yaml:"healthcheck"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#http_idle_timeout_seconds Loadbalancer#http_idle_timeout_seconds}. HttpIdleTimeoutSeconds *float64 `field:"optional" json:"httpIdleTimeoutSeconds" yaml:"httpIdleTimeoutSeconds"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#id Loadbalancer#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"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#project_id Loadbalancer#project_id}. ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#redirect_http_to_https Loadbalancer#redirect_http_to_https}. RedirectHttpToHttps interface{} `field:"optional" json:"redirectHttpToHttps" yaml:"redirectHttpToHttps"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#size Loadbalancer#size}. Size *string `field:"optional" json:"size" yaml:"size"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#size_unit Loadbalancer#size_unit}. SizeUnit *float64 `field:"optional" json:"sizeUnit" yaml:"sizeUnit"` // sticky_sessions block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#sticky_sessions Loadbalancer#sticky_sessions} StickySessions *LoadbalancerStickySessions `field:"optional" json:"stickySessions" yaml:"stickySessions"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#vpc_uuid Loadbalancer#vpc_uuid}. VpcUuid *string `field:"optional" json:"vpcUuid" yaml:"vpcUuid"` }
type LoadbalancerFirewall ¶
type LoadbalancerFirewall struct { // the rules for ALLOWING traffic to the LB (strings in the form: 'ip:1.2.3.4' or 'cidr:1.2.0.0/16'). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#allow Loadbalancer#allow} Allow *[]*string `field:"optional" json:"allow" yaml:"allow"` // the rules for DENYING traffic to the LB (strings in the form: 'ip:1.2.3.4' or 'cidr:1.2.0.0/16'). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#deny Loadbalancer#deny} Deny *[]*string `field:"optional" json:"deny" yaml:"deny"` }
type LoadbalancerFirewallOutputReference ¶
type LoadbalancerFirewallOutputReference interface { cdktf.ComplexObject Allow() *[]*string SetAllow(val *[]*string) AllowInput() *[]*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) // 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 Deny() *[]*string SetDeny(val *[]*string) DenyInput() *[]*string // Experimental. Fqn() *string InternalValue() *LoadbalancerFirewall SetInternalValue(val *LoadbalancerFirewall) // 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() ResetDeny() // 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 NewLoadbalancerFirewallOutputReference ¶
func NewLoadbalancerFirewallOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoadbalancerFirewallOutputReference
type LoadbalancerForwardingRule ¶
type LoadbalancerForwardingRule struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#entry_port Loadbalancer#entry_port}. EntryPort *float64 `field:"required" json:"entryPort" yaml:"entryPort"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#entry_protocol Loadbalancer#entry_protocol}. EntryProtocol *string `field:"required" json:"entryProtocol" yaml:"entryProtocol"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#target_port Loadbalancer#target_port}. TargetPort *float64 `field:"required" json:"targetPort" yaml:"targetPort"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#target_protocol Loadbalancer#target_protocol}. TargetProtocol *string `field:"required" json:"targetProtocol" yaml:"targetProtocol"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#certificate_id Loadbalancer#certificate_id}. CertificateId *string `field:"optional" json:"certificateId" yaml:"certificateId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#certificate_name Loadbalancer#certificate_name}. CertificateName *string `field:"optional" json:"certificateName" yaml:"certificateName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#tls_passthrough Loadbalancer#tls_passthrough}. TlsPassthrough interface{} `field:"optional" json:"tlsPassthrough" yaml:"tlsPassthrough"` }
type LoadbalancerForwardingRuleList ¶
type LoadbalancerForwardingRuleList 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) LoadbalancerForwardingRuleOutputReference // 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 NewLoadbalancerForwardingRuleList ¶
func NewLoadbalancerForwardingRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadbalancerForwardingRuleList
type LoadbalancerForwardingRuleOutputReference ¶
type LoadbalancerForwardingRuleOutputReference interface { cdktf.ComplexObject CertificateId() *string SetCertificateId(val *string) CertificateIdInput() *string CertificateName() *string SetCertificateName(val *string) CertificateNameInput() *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) // 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 EntryPort() *float64 SetEntryPort(val *float64) EntryPortInput() *float64 EntryProtocol() *string SetEntryProtocol(val *string) EntryProtocolInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) TargetPort() *float64 SetTargetPort(val *float64) TargetPortInput() *float64 TargetProtocol() *string SetTargetProtocol(val *string) TargetProtocolInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TlsPassthrough() interface{} SetTlsPassthrough(val interface{}) TlsPassthroughInput() 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 ResetCertificateId() ResetCertificateName() ResetTlsPassthrough() // 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 NewLoadbalancerForwardingRuleOutputReference ¶
func NewLoadbalancerForwardingRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadbalancerForwardingRuleOutputReference
type LoadbalancerHealthcheck ¶
type LoadbalancerHealthcheck struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#port Loadbalancer#port}. Port *float64 `field:"required" json:"port" yaml:"port"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#protocol Loadbalancer#protocol}. Protocol *string `field:"required" json:"protocol" yaml:"protocol"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#check_interval_seconds Loadbalancer#check_interval_seconds}. CheckIntervalSeconds *float64 `field:"optional" json:"checkIntervalSeconds" yaml:"checkIntervalSeconds"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#healthy_threshold Loadbalancer#healthy_threshold}. HealthyThreshold *float64 `field:"optional" json:"healthyThreshold" yaml:"healthyThreshold"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#path Loadbalancer#path}. Path *string `field:"optional" json:"path" yaml:"path"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#response_timeout_seconds Loadbalancer#response_timeout_seconds}. ResponseTimeoutSeconds *float64 `field:"optional" json:"responseTimeoutSeconds" yaml:"responseTimeoutSeconds"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#unhealthy_threshold Loadbalancer#unhealthy_threshold}. UnhealthyThreshold *float64 `field:"optional" json:"unhealthyThreshold" yaml:"unhealthyThreshold"` }
type LoadbalancerHealthcheckOutputReference ¶
type LoadbalancerHealthcheckOutputReference interface { cdktf.ComplexObject CheckIntervalSeconds() *float64 SetCheckIntervalSeconds(val *float64) CheckIntervalSecondsInput() *float64 // 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 HealthyThreshold() *float64 SetHealthyThreshold(val *float64) HealthyThresholdInput() *float64 InternalValue() *LoadbalancerHealthcheck SetInternalValue(val *LoadbalancerHealthcheck) Path() *string SetPath(val *string) PathInput() *string Port() *float64 SetPort(val *float64) PortInput() *float64 Protocol() *string SetProtocol(val *string) ProtocolInput() *string ResponseTimeoutSeconds() *float64 SetResponseTimeoutSeconds(val *float64) ResponseTimeoutSecondsInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) UnhealthyThreshold() *float64 SetUnhealthyThreshold(val *float64) UnhealthyThresholdInput() *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 ResetCheckIntervalSeconds() ResetHealthyThreshold() ResetPath() ResetResponseTimeoutSeconds() ResetUnhealthyThreshold() // 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 NewLoadbalancerHealthcheckOutputReference ¶
func NewLoadbalancerHealthcheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoadbalancerHealthcheckOutputReference
type LoadbalancerStickySessions ¶
type LoadbalancerStickySessions struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#cookie_name Loadbalancer#cookie_name}. CookieName *string `field:"optional" json:"cookieName" yaml:"cookieName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#cookie_ttl_seconds Loadbalancer#cookie_ttl_seconds}. CookieTtlSeconds *float64 `field:"optional" json:"cookieTtlSeconds" yaml:"cookieTtlSeconds"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.1/docs/resources/loadbalancer#type Loadbalancer#type}. Type *string `field:"optional" json:"type" yaml:"type"` }
type LoadbalancerStickySessionsOutputReference ¶
type LoadbalancerStickySessionsOutputReference 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) CookieName() *string SetCookieName(val *string) CookieNameInput() *string CookieTtlSeconds() *float64 SetCookieTtlSeconds(val *float64) CookieTtlSecondsInput() *float64 // 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() *LoadbalancerStickySessions SetInternalValue(val *LoadbalancerStickySessions) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *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 ResetCookieName() ResetCookieTtlSeconds() ResetType() // 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 NewLoadbalancerStickySessionsOutputReference ¶
func NewLoadbalancerStickySessionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoadbalancerStickySessionsOutputReference
Source Files ¶
- Loadbalancer.go
- LoadbalancerConfig.go
- LoadbalancerFirewall.go
- LoadbalancerFirewallOutputReference.go
- LoadbalancerFirewallOutputReference__checks.go
- LoadbalancerForwardingRule.go
- LoadbalancerForwardingRuleList.go
- LoadbalancerForwardingRuleList__checks.go
- LoadbalancerForwardingRuleOutputReference.go
- LoadbalancerForwardingRuleOutputReference__checks.go
- LoadbalancerHealthcheck.go
- LoadbalancerHealthcheckOutputReference.go
- LoadbalancerHealthcheckOutputReference__checks.go
- LoadbalancerStickySessions.go
- LoadbalancerStickySessionsOutputReference.go
- LoadbalancerStickySessionsOutputReference__checks.go
- Loadbalancer__checks.go
- main.go