LoadBalancerRuleOverrideArgs

data class LoadBalancerRuleOverrideArgs(val adaptiveRoutings: Output<List<LoadBalancerRuleOverrideAdaptiveRoutingArgs>>? = null, val countryPools: Output<List<LoadBalancerRuleOverrideCountryPoolArgs>>? = null, val defaultPools: Output<List<String>>? = null, val fallbackPool: Output<String>? = null, val locationStrategies: Output<List<LoadBalancerRuleOverrideLocationStrategyArgs>>? = null, val popPools: Output<List<LoadBalancerRuleOverridePopPoolArgs>>? = null, val randomSteerings: Output<List<LoadBalancerRuleOverrideRandomSteeringArgs>>? = null, val regionPools: Output<List<LoadBalancerRuleOverrideRegionPoolArgs>>? = null, val sessionAffinity: Output<String>? = null, val sessionAffinityAttributes: Output<List<LoadBalancerRuleOverrideSessionAffinityAttributeArgs>>? = null, val sessionAffinityTtl: Output<Int>? = null, val steeringPolicy: Output<String>? = null, val ttl: Output<Int>? = null) : ConvertibleToJava<LoadBalancerRuleOverrideArgs>

Constructors

Link copied to clipboard
constructor(adaptiveRoutings: Output<List<LoadBalancerRuleOverrideAdaptiveRoutingArgs>>? = null, countryPools: Output<List<LoadBalancerRuleOverrideCountryPoolArgs>>? = null, defaultPools: Output<List<String>>? = null, fallbackPool: Output<String>? = null, locationStrategies: Output<List<LoadBalancerRuleOverrideLocationStrategyArgs>>? = null, popPools: Output<List<LoadBalancerRuleOverridePopPoolArgs>>? = null, randomSteerings: Output<List<LoadBalancerRuleOverrideRandomSteeringArgs>>? = null, regionPools: Output<List<LoadBalancerRuleOverrideRegionPoolArgs>>? = null, sessionAffinity: Output<String>? = null, sessionAffinityAttributes: Output<List<LoadBalancerRuleOverrideSessionAffinityAttributeArgs>>? = null, sessionAffinityTtl: Output<Int>? = null, steeringPolicy: Output<String>? = null, ttl: Output<Int>? = null)

Properties

Link copied to clipboard

Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests.

Link copied to clipboard

A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country.

Link copied to clipboard
val defaultPools: Output<List<String>>? = null

A list of pool IDs ordered by their failover priority. Used whenever pop_pools/country_pools/region_pools are not defined.

Link copied to clipboard
val fallbackPool: Output<String>? = null

The pool ID to use when all other pools are detected as unhealthy.

Link copied to clipboard

Controls location-based steering for non-proxied requests.

Link copied to clipboard

A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers.

Link copied to clipboard

Configures pool weights. When steering_policy="random", a random pool is selected with probability proportional to pool weights. When steering_policy="least_outstanding_requests", pool weights are used to scale each pool's outstanding requests. When steering_policy="least_connections", pool weights are used to scale each pool's open connections.

Link copied to clipboard

A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region.

Link copied to clipboard
val sessionAffinity: Output<String>? = null

Configure attributes for session affinity.

Link copied to clipboard

Configure attributes for session affinity. Note that the property drain_duration is not currently supported as a rule override.

Link copied to clipboard
val sessionAffinityTtl: Output<Int>? = null

Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of 82800 (23 hours) will be used unless session_affinity_ttl is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between 1800 and 604800.

Link copied to clipboard
val steeringPolicy: Output<String>? = null

The method the load balancer uses to determine the route to your origin. Value off uses default_pool_ids. Value geo uses pop_pools/country_pools/region_pools. For non-proxied requests, the country for country_pools is determined by location_strategy. Value random selects a pool randomly. Value dynamic_latency uses round trip time to select the closest pool in default_pool_ids (requires pool health checks). Value proximity uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by location_strategy for non-proxied requests. Value least_outstanding_requests selects a pool by taking into consideration random_steering weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value least_connections selects a pool by taking into consideration random_steering weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value "" maps to geo if you use pop_pools/country_pools/region_pools otherwise off. Available values: off, geo, dynamic_latency, random, proximity, least_outstanding_requests, least_connections, "" Defaults to "".

Link copied to clipboard
val ttl: Output<Int>? = null

Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to 30.

Functions

Link copied to clipboard
open override fun toJava(): LoadBalancerRuleOverrideArgs