Documentation ¶
Index ¶
- func LoadBalancerPool_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func LoadBalancerPool_IsConstruct(x interface{}) *bool
- func LoadBalancerPool_IsTerraformElement(x interface{}) *bool
- func LoadBalancerPool_IsTerraformResource(x interface{}) *bool
- func LoadBalancerPool_TfResourceType() *string
- func NewLoadBalancerPoolLoadSheddingList_Override(l LoadBalancerPoolLoadSheddingList, ...)
- func NewLoadBalancerPoolLoadSheddingOutputReference_Override(l LoadBalancerPoolLoadSheddingOutputReference, ...)
- func NewLoadBalancerPoolOriginSteeringList_Override(l LoadBalancerPoolOriginSteeringList, ...)
- func NewLoadBalancerPoolOriginSteeringOutputReference_Override(l LoadBalancerPoolOriginSteeringOutputReference, ...)
- func NewLoadBalancerPoolOriginsHeaderList_Override(l LoadBalancerPoolOriginsHeaderList, ...)
- func NewLoadBalancerPoolOriginsHeaderOutputReference_Override(l LoadBalancerPoolOriginsHeaderOutputReference, ...)
- func NewLoadBalancerPoolOriginsList_Override(l LoadBalancerPoolOriginsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLoadBalancerPoolOriginsOutputReference_Override(l LoadBalancerPoolOriginsOutputReference, ...)
- func NewLoadBalancerPool_Override(l LoadBalancerPool, scope constructs.Construct, id *string, ...)
- type LoadBalancerPool
- type LoadBalancerPoolConfig
- type LoadBalancerPoolLoadShedding
- type LoadBalancerPoolLoadSheddingList
- type LoadBalancerPoolLoadSheddingOutputReference
- type LoadBalancerPoolOriginSteering
- type LoadBalancerPoolOriginSteeringList
- type LoadBalancerPoolOriginSteeringOutputReference
- type LoadBalancerPoolOrigins
- type LoadBalancerPoolOriginsHeader
- type LoadBalancerPoolOriginsHeaderList
- type LoadBalancerPoolOriginsHeaderOutputReference
- type LoadBalancerPoolOriginsList
- type LoadBalancerPoolOriginsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadBalancerPool_GenerateConfigForImport ¶
func LoadBalancerPool_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a LoadBalancerPool resource upon running "cdktf plan <stack-name>".
func LoadBalancerPool_IsConstruct ¶
func LoadBalancerPool_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 LoadBalancerPool_IsTerraformElement ¶
func LoadBalancerPool_IsTerraformElement(x interface{}) *bool
Experimental.
func LoadBalancerPool_IsTerraformResource ¶
func LoadBalancerPool_IsTerraformResource(x interface{}) *bool
Experimental.
func LoadBalancerPool_TfResourceType ¶
func LoadBalancerPool_TfResourceType() *string
func NewLoadBalancerPoolLoadSheddingList_Override ¶
func NewLoadBalancerPoolLoadSheddingList_Override(l LoadBalancerPoolLoadSheddingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerPoolLoadSheddingOutputReference_Override ¶
func NewLoadBalancerPoolLoadSheddingOutputReference_Override(l LoadBalancerPoolLoadSheddingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerPoolOriginSteeringList_Override ¶
func NewLoadBalancerPoolOriginSteeringList_Override(l LoadBalancerPoolOriginSteeringList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerPoolOriginSteeringOutputReference_Override ¶
func NewLoadBalancerPoolOriginSteeringOutputReference_Override(l LoadBalancerPoolOriginSteeringOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerPoolOriginsHeaderList_Override ¶
func NewLoadBalancerPoolOriginsHeaderList_Override(l LoadBalancerPoolOriginsHeaderList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerPoolOriginsHeaderOutputReference_Override ¶
func NewLoadBalancerPoolOriginsHeaderOutputReference_Override(l LoadBalancerPoolOriginsHeaderOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerPoolOriginsList_Override ¶
func NewLoadBalancerPoolOriginsList_Override(l LoadBalancerPoolOriginsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerPoolOriginsOutputReference_Override ¶
func NewLoadBalancerPoolOriginsOutputReference_Override(l LoadBalancerPoolOriginsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerPool_Override ¶
func NewLoadBalancerPool_Override(l LoadBalancerPool, scope constructs.Construct, id *string, config *LoadBalancerPoolConfig)
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool cloudflare_load_balancer_pool} Resource.
Types ¶
type LoadBalancerPool ¶
type LoadBalancerPool interface { cdktf.TerraformResource AccountId() *string SetAccountId(val *string) AccountIdInput() *string // Experimental. CdktfStack() cdktf.TerraformStack CheckRegions() *[]*string SetCheckRegions(val *[]*string) CheckRegionsInput() *[]*string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreatedOn() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Latitude() *float64 SetLatitude(val *float64) LatitudeInput() *float64 // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LoadShedding() LoadBalancerPoolLoadSheddingList LoadSheddingInput() interface{} Longitude() *float64 SetLongitude(val *float64) LongitudeInput() *float64 MinimumOrigins() *float64 SetMinimumOrigins(val *float64) MinimumOriginsInput() *float64 ModifiedOn() *string Monitor() *string SetMonitor(val *string) MonitorInput() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node NotificationEmail() *string SetNotificationEmail(val *string) NotificationEmailInput() *string Origins() LoadBalancerPoolOriginsList OriginsInput() interface{} OriginSteering() LoadBalancerPoolOriginSteeringList OriginSteeringInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // 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) PutLoadShedding(value interface{}) PutOrigins(value interface{}) PutOriginSteering(value interface{}) ResetCheckRegions() ResetDescription() ResetEnabled() ResetId() ResetLatitude() ResetLoadShedding() ResetLongitude() ResetMinimumOrigins() ResetMonitor() ResetNotificationEmail() ResetOriginSteering() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() 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/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool cloudflare_load_balancer_pool}.
func NewLoadBalancerPool ¶
func NewLoadBalancerPool(scope constructs.Construct, id *string, config *LoadBalancerPoolConfig) LoadBalancerPool
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool cloudflare_load_balancer_pool} Resource.
type LoadBalancerPoolConfig ¶
type LoadBalancerPoolConfig 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 account identifier to target for the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#account_id LoadBalancerPool#account_id} AccountId *string `field:"required" json:"accountId" yaml:"accountId"` // A short name (tag) for the pool. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#name LoadBalancerPool#name} Name *string `field:"required" json:"name" yaml:"name"` // origins block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#origins LoadBalancerPool#origins} Origins interface{} `field:"required" json:"origins" yaml:"origins"` // A list of regions (specified by region code) from which to run health checks. // // Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#check_regions LoadBalancerPool#check_regions} CheckRegions *[]*string `field:"optional" json:"checkRegions" yaml:"checkRegions"` // Free text description. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#description LoadBalancerPool#description} Description *string `field:"optional" json:"description" yaml:"description"` // Whether to enable (the default) this pool. // // Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to `true`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#enabled LoadBalancerPool#enabled} Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#id LoadBalancerPool#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"` // The latitude this pool is physically located at; used for proximity steering. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#latitude LoadBalancerPool#latitude} Latitude *float64 `field:"optional" json:"latitude" yaml:"latitude"` // load_shedding block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#load_shedding LoadBalancerPool#load_shedding} LoadShedding interface{} `field:"optional" json:"loadShedding" yaml:"loadShedding"` // The longitude this pool is physically located at; used for proximity steering. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#longitude LoadBalancerPool#longitude} Longitude *float64 `field:"optional" json:"longitude" yaml:"longitude"` // The minimum number of origins that must be healthy for this pool to serve traffic. // // If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Defaults to `1`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#minimum_origins LoadBalancerPool#minimum_origins} MinimumOrigins *float64 `field:"optional" json:"minimumOrigins" yaml:"minimumOrigins"` // The ID of the Monitor to use for health checking origins within this pool. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#monitor LoadBalancerPool#monitor} Monitor *string `field:"optional" json:"monitor" yaml:"monitor"` // The email address to send health status notifications to. // // This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#notification_email LoadBalancerPool#notification_email} NotificationEmail *string `field:"optional" json:"notificationEmail" yaml:"notificationEmail"` // origin_steering block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#origin_steering LoadBalancerPool#origin_steering} OriginSteering interface{} `field:"optional" json:"originSteering" yaml:"originSteering"` }
type LoadBalancerPoolLoadShedding ¶
type LoadBalancerPoolLoadShedding struct { // Percent of traffic to shed 0 - 100. Defaults to `0`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#default_percent LoadBalancerPool#default_percent} DefaultPercent *float64 `field:"optional" json:"defaultPercent" yaml:"defaultPercent"` // Method of shedding traffic. Available values: `""`, `hash`, `random`. Defaults to `""`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#default_policy LoadBalancerPool#default_policy} DefaultPolicy *string `field:"optional" json:"defaultPolicy" yaml:"defaultPolicy"` // Percent of session traffic to shed 0 - 100. Defaults to `0`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#session_percent LoadBalancerPool#session_percent} SessionPercent *float64 `field:"optional" json:"sessionPercent" yaml:"sessionPercent"` // Method of shedding traffic. Available values: `""`, `hash`. Defaults to `""`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#session_policy LoadBalancerPool#session_policy} SessionPolicy *string `field:"optional" json:"sessionPolicy" yaml:"sessionPolicy"` }
type LoadBalancerPoolLoadSheddingList ¶
type LoadBalancerPoolLoadSheddingList 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) LoadBalancerPoolLoadSheddingOutputReference // 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 NewLoadBalancerPoolLoadSheddingList ¶
func NewLoadBalancerPoolLoadSheddingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerPoolLoadSheddingList
type LoadBalancerPoolLoadSheddingOutputReference ¶
type LoadBalancerPoolLoadSheddingOutputReference 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 DefaultPercent() *float64 SetDefaultPercent(val *float64) DefaultPercentInput() *float64 DefaultPolicy() *string SetDefaultPolicy(val *string) DefaultPolicyInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) SessionPercent() *float64 SetSessionPercent(val *float64) SessionPercentInput() *float64 SessionPolicy() *string SetSessionPolicy(val *string) SessionPolicyInput() *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 ResetDefaultPercent() ResetDefaultPolicy() ResetSessionPercent() ResetSessionPolicy() // 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 NewLoadBalancerPoolLoadSheddingOutputReference ¶
func NewLoadBalancerPoolLoadSheddingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerPoolLoadSheddingOutputReference
type LoadBalancerPoolOriginSteering ¶
type LoadBalancerPoolOriginSteering struct { // Origin steering policy to be used. // // Value `random` selects an origin randomly. Value `hash` selects an origin by computing a hash over the CF-Connecting-IP address. Value `least_outstanding_requests` selects an origin by taking into consideration origin weights, as well as each origin's number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects an origin by taking into consideration origin weights, as well as each origin's number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Available values: `""`, `hash`, `random`, `least_outstanding_requests`, `least_connections`. Defaults to `random`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#policy LoadBalancerPool#policy} Policy *string `field:"optional" json:"policy" yaml:"policy"` }
type LoadBalancerPoolOriginSteeringList ¶
type LoadBalancerPoolOriginSteeringList 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) LoadBalancerPoolOriginSteeringOutputReference // 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 NewLoadBalancerPoolOriginSteeringList ¶
func NewLoadBalancerPoolOriginSteeringList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerPoolOriginSteeringList
type LoadBalancerPoolOriginSteeringOutputReference ¶
type LoadBalancerPoolOriginSteeringOutputReference 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{}) Policy() *string SetPolicy(val *string) PolicyInput() *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 ResetPolicy() // 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 NewLoadBalancerPoolOriginSteeringOutputReference ¶
func NewLoadBalancerPoolOriginSteeringOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerPoolOriginSteeringOutputReference
type LoadBalancerPoolOrigins ¶
type LoadBalancerPoolOrigins struct { // The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#address LoadBalancerPool#address} Address *string `field:"required" json:"address" yaml:"address"` // A human-identifiable name for the origin. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#name LoadBalancerPool#name} Name *string `field:"required" json:"name" yaml:"name"` // Whether this origin is enabled. // // Disabled origins will not receive traffic and are excluded from health checks. Defaults to `true`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#enabled LoadBalancerPool#enabled} Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // header block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#header LoadBalancerPool#header} Header interface{} `field:"optional" json:"header" yaml:"header"` // The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#virtual_network_id LoadBalancerPool#virtual_network_id} VirtualNetworkId *string `field:"optional" json:"virtualNetworkId" yaml:"virtualNetworkId"` // The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When [`origin_steering.policy="least_outstanding_requests"`](#policy), weight is used to scale the origin's outstanding requests. When [`origin_steering.policy="least_connections"`](#policy), weight is used to scale the origin's open connections. Defaults to `1`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#weight LoadBalancerPool#weight} Weight *float64 `field:"optional" json:"weight" yaml:"weight"` }
type LoadBalancerPoolOriginsHeader ¶
type LoadBalancerPoolOriginsHeader struct { // HTTP Header name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#header LoadBalancerPool#header} Header *string `field:"required" json:"header" yaml:"header"` // Values for the HTTP headers. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.50.0/docs/resources/load_balancer_pool#values LoadBalancerPool#values} Values *[]*string `field:"required" json:"values" yaml:"values"` }
type LoadBalancerPoolOriginsHeaderList ¶
type LoadBalancerPoolOriginsHeaderList 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) LoadBalancerPoolOriginsHeaderOutputReference // 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 NewLoadBalancerPoolOriginsHeaderList ¶
func NewLoadBalancerPoolOriginsHeaderList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerPoolOriginsHeaderList
type LoadBalancerPoolOriginsHeaderOutputReference ¶
type LoadBalancerPoolOriginsHeaderOutputReference 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 Header() *string SetHeader(val *string) HeaderInput() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 // 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 NewLoadBalancerPoolOriginsHeaderOutputReference ¶
func NewLoadBalancerPoolOriginsHeaderOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerPoolOriginsHeaderOutputReference
type LoadBalancerPoolOriginsList ¶
type LoadBalancerPoolOriginsList 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) LoadBalancerPoolOriginsOutputReference // 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 NewLoadBalancerPoolOriginsList ¶
func NewLoadBalancerPoolOriginsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerPoolOriginsList
type LoadBalancerPoolOriginsOutputReference ¶
type LoadBalancerPoolOriginsOutputReference interface { cdktf.ComplexObject Address() *string SetAddress(val *string) AddressInput() *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 Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} // Experimental. Fqn() *string Header() LoadBalancerPoolOriginsHeaderList HeaderInput() interface{} 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) VirtualNetworkId() *string SetVirtualNetworkId(val *string) VirtualNetworkIdInput() *string Weight() *float64 SetWeight(val *float64) WeightInput() *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 PutHeader(value interface{}) ResetEnabled() ResetHeader() ResetVirtualNetworkId() ResetWeight() // 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 NewLoadBalancerPoolOriginsOutputReference ¶
func NewLoadBalancerPoolOriginsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerPoolOriginsOutputReference
Source Files ¶
- LoadBalancerPool.go
- LoadBalancerPoolConfig.go
- LoadBalancerPoolLoadShedding.go
- LoadBalancerPoolLoadSheddingList.go
- LoadBalancerPoolLoadSheddingList__checks.go
- LoadBalancerPoolLoadSheddingOutputReference.go
- LoadBalancerPoolLoadSheddingOutputReference__checks.go
- LoadBalancerPoolOriginSteering.go
- LoadBalancerPoolOriginSteeringList.go
- LoadBalancerPoolOriginSteeringList__checks.go
- LoadBalancerPoolOriginSteeringOutputReference.go
- LoadBalancerPoolOriginSteeringOutputReference__checks.go
- LoadBalancerPoolOrigins.go
- LoadBalancerPoolOriginsHeader.go
- LoadBalancerPoolOriginsHeaderList.go
- LoadBalancerPoolOriginsHeaderList__checks.go
- LoadBalancerPoolOriginsHeaderOutputReference.go
- LoadBalancerPoolOriginsHeaderOutputReference__checks.go
- LoadBalancerPoolOriginsList.go
- LoadBalancerPoolOriginsList__checks.go
- LoadBalancerPoolOriginsOutputReference.go
- LoadBalancerPoolOriginsOutputReference__checks.go
- LoadBalancerPool__checks.go
- main.go