Documentation ¶
Index ¶
- func LoadBalancer_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func LoadBalancer_IsConstruct(x interface{}) *bool
- func LoadBalancer_IsTerraformElement(x interface{}) *bool
- func LoadBalancer_IsTerraformResource(x interface{}) *bool
- func LoadBalancer_TfResourceType() *string
- func NewLoadBalancerAdaptiveRoutingList_Override(l LoadBalancerAdaptiveRoutingList, ...)
- func NewLoadBalancerAdaptiveRoutingOutputReference_Override(l LoadBalancerAdaptiveRoutingOutputReference, ...)
- func NewLoadBalancerCountryPoolsList_Override(l LoadBalancerCountryPoolsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLoadBalancerCountryPoolsOutputReference_Override(l LoadBalancerCountryPoolsOutputReference, ...)
- func NewLoadBalancerLocationStrategyList_Override(l LoadBalancerLocationStrategyList, ...)
- func NewLoadBalancerLocationStrategyOutputReference_Override(l LoadBalancerLocationStrategyOutputReference, ...)
- func NewLoadBalancerPopPoolsList_Override(l LoadBalancerPopPoolsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLoadBalancerPopPoolsOutputReference_Override(l LoadBalancerPopPoolsOutputReference, ...)
- func NewLoadBalancerRandomSteeringList_Override(l LoadBalancerRandomSteeringList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLoadBalancerRandomSteeringOutputReference_Override(l LoadBalancerRandomSteeringOutputReference, ...)
- func NewLoadBalancerRegionPoolsList_Override(l LoadBalancerRegionPoolsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLoadBalancerRegionPoolsOutputReference_Override(l LoadBalancerRegionPoolsOutputReference, ...)
- func NewLoadBalancerRulesFixedResponseOutputReference_Override(l LoadBalancerRulesFixedResponseOutputReference, ...)
- func NewLoadBalancerRulesList_Override(l LoadBalancerRulesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLoadBalancerRulesOutputReference_Override(l LoadBalancerRulesOutputReference, ...)
- func NewLoadBalancerRulesOverridesAdaptiveRoutingList_Override(l LoadBalancerRulesOverridesAdaptiveRoutingList, ...)
- func NewLoadBalancerRulesOverridesAdaptiveRoutingOutputReference_Override(l LoadBalancerRulesOverridesAdaptiveRoutingOutputReference, ...)
- func NewLoadBalancerRulesOverridesCountryPoolsList_Override(l LoadBalancerRulesOverridesCountryPoolsList, ...)
- func NewLoadBalancerRulesOverridesCountryPoolsOutputReference_Override(l LoadBalancerRulesOverridesCountryPoolsOutputReference, ...)
- func NewLoadBalancerRulesOverridesList_Override(l LoadBalancerRulesOverridesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewLoadBalancerRulesOverridesLocationStrategyList_Override(l LoadBalancerRulesOverridesLocationStrategyList, ...)
- func NewLoadBalancerRulesOverridesLocationStrategyOutputReference_Override(l LoadBalancerRulesOverridesLocationStrategyOutputReference, ...)
- func NewLoadBalancerRulesOverridesOutputReference_Override(l LoadBalancerRulesOverridesOutputReference, ...)
- func NewLoadBalancerRulesOverridesPopPoolsList_Override(l LoadBalancerRulesOverridesPopPoolsList, ...)
- func NewLoadBalancerRulesOverridesPopPoolsOutputReference_Override(l LoadBalancerRulesOverridesPopPoolsOutputReference, ...)
- func NewLoadBalancerRulesOverridesRandomSteeringList_Override(l LoadBalancerRulesOverridesRandomSteeringList, ...)
- func NewLoadBalancerRulesOverridesRandomSteeringOutputReference_Override(l LoadBalancerRulesOverridesRandomSteeringOutputReference, ...)
- func NewLoadBalancerRulesOverridesRegionPoolsList_Override(l LoadBalancerRulesOverridesRegionPoolsList, ...)
- func NewLoadBalancerRulesOverridesRegionPoolsOutputReference_Override(l LoadBalancerRulesOverridesRegionPoolsOutputReference, ...)
- func NewLoadBalancerRulesOverridesSessionAffinityAttributesList_Override(l LoadBalancerRulesOverridesSessionAffinityAttributesList, ...)
- func NewLoadBalancerRulesOverridesSessionAffinityAttributesOutputReference_Override(l LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference, ...)
- func NewLoadBalancerSessionAffinityAttributesList_Override(l LoadBalancerSessionAffinityAttributesList, ...)
- func NewLoadBalancerSessionAffinityAttributesOutputReference_Override(l LoadBalancerSessionAffinityAttributesOutputReference, ...)
- func NewLoadBalancer_Override(l LoadBalancer, scope constructs.Construct, id *string, ...)
- type LoadBalancer
- type LoadBalancerAdaptiveRouting
- type LoadBalancerAdaptiveRoutingList
- type LoadBalancerAdaptiveRoutingOutputReference
- type LoadBalancerConfig
- type LoadBalancerCountryPools
- type LoadBalancerCountryPoolsList
- type LoadBalancerCountryPoolsOutputReference
- type LoadBalancerLocationStrategy
- type LoadBalancerLocationStrategyList
- type LoadBalancerLocationStrategyOutputReference
- type LoadBalancerPopPools
- type LoadBalancerPopPoolsList
- type LoadBalancerPopPoolsOutputReference
- type LoadBalancerRandomSteering
- type LoadBalancerRandomSteeringList
- type LoadBalancerRandomSteeringOutputReference
- type LoadBalancerRegionPools
- type LoadBalancerRegionPoolsList
- type LoadBalancerRegionPoolsOutputReference
- type LoadBalancerRules
- type LoadBalancerRulesFixedResponse
- type LoadBalancerRulesFixedResponseOutputReference
- type LoadBalancerRulesList
- type LoadBalancerRulesOutputReference
- type LoadBalancerRulesOverrides
- type LoadBalancerRulesOverridesAdaptiveRouting
- type LoadBalancerRulesOverridesAdaptiveRoutingList
- type LoadBalancerRulesOverridesAdaptiveRoutingOutputReference
- type LoadBalancerRulesOverridesCountryPools
- type LoadBalancerRulesOverridesCountryPoolsList
- type LoadBalancerRulesOverridesCountryPoolsOutputReference
- type LoadBalancerRulesOverridesList
- type LoadBalancerRulesOverridesLocationStrategy
- type LoadBalancerRulesOverridesLocationStrategyList
- type LoadBalancerRulesOverridesLocationStrategyOutputReference
- type LoadBalancerRulesOverridesOutputReference
- type LoadBalancerRulesOverridesPopPools
- type LoadBalancerRulesOverridesPopPoolsList
- type LoadBalancerRulesOverridesPopPoolsOutputReference
- type LoadBalancerRulesOverridesRandomSteering
- type LoadBalancerRulesOverridesRandomSteeringList
- type LoadBalancerRulesOverridesRandomSteeringOutputReference
- type LoadBalancerRulesOverridesRegionPools
- type LoadBalancerRulesOverridesRegionPoolsList
- type LoadBalancerRulesOverridesRegionPoolsOutputReference
- type LoadBalancerRulesOverridesSessionAffinityAttributes
- type LoadBalancerRulesOverridesSessionAffinityAttributesList
- type LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference
- type LoadBalancerSessionAffinityAttributes
- type LoadBalancerSessionAffinityAttributesList
- type LoadBalancerSessionAffinityAttributesOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadBalancer_GenerateConfigForImport ¶
func LoadBalancer_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a LoadBalancer resource upon running "cdktf plan <stack-name>".
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 NewLoadBalancerAdaptiveRoutingList_Override ¶
func NewLoadBalancerAdaptiveRoutingList_Override(l LoadBalancerAdaptiveRoutingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerAdaptiveRoutingOutputReference_Override ¶
func NewLoadBalancerAdaptiveRoutingOutputReference_Override(l LoadBalancerAdaptiveRoutingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerCountryPoolsList_Override ¶
func NewLoadBalancerCountryPoolsList_Override(l LoadBalancerCountryPoolsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerCountryPoolsOutputReference_Override ¶
func NewLoadBalancerCountryPoolsOutputReference_Override(l LoadBalancerCountryPoolsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerLocationStrategyList_Override ¶
func NewLoadBalancerLocationStrategyList_Override(l LoadBalancerLocationStrategyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerLocationStrategyOutputReference_Override ¶
func NewLoadBalancerLocationStrategyOutputReference_Override(l LoadBalancerLocationStrategyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerPopPoolsList_Override ¶
func NewLoadBalancerPopPoolsList_Override(l LoadBalancerPopPoolsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerPopPoolsOutputReference_Override ¶
func NewLoadBalancerPopPoolsOutputReference_Override(l LoadBalancerPopPoolsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRandomSteeringList_Override ¶
func NewLoadBalancerRandomSteeringList_Override(l LoadBalancerRandomSteeringList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRandomSteeringOutputReference_Override ¶
func NewLoadBalancerRandomSteeringOutputReference_Override(l LoadBalancerRandomSteeringOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRegionPoolsList_Override ¶
func NewLoadBalancerRegionPoolsList_Override(l LoadBalancerRegionPoolsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRegionPoolsOutputReference_Override ¶
func NewLoadBalancerRegionPoolsOutputReference_Override(l LoadBalancerRegionPoolsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesFixedResponseOutputReference_Override ¶
func NewLoadBalancerRulesFixedResponseOutputReference_Override(l LoadBalancerRulesFixedResponseOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewLoadBalancerRulesList_Override ¶
func NewLoadBalancerRulesList_Override(l LoadBalancerRulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOutputReference_Override ¶
func NewLoadBalancerRulesOutputReference_Override(l LoadBalancerRulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesOverridesAdaptiveRoutingList_Override ¶
func NewLoadBalancerRulesOverridesAdaptiveRoutingList_Override(l LoadBalancerRulesOverridesAdaptiveRoutingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOverridesAdaptiveRoutingOutputReference_Override ¶
func NewLoadBalancerRulesOverridesAdaptiveRoutingOutputReference_Override(l LoadBalancerRulesOverridesAdaptiveRoutingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesOverridesCountryPoolsList_Override ¶
func NewLoadBalancerRulesOverridesCountryPoolsList_Override(l LoadBalancerRulesOverridesCountryPoolsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOverridesCountryPoolsOutputReference_Override ¶
func NewLoadBalancerRulesOverridesCountryPoolsOutputReference_Override(l LoadBalancerRulesOverridesCountryPoolsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesOverridesList_Override ¶
func NewLoadBalancerRulesOverridesList_Override(l LoadBalancerRulesOverridesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOverridesLocationStrategyList_Override ¶
func NewLoadBalancerRulesOverridesLocationStrategyList_Override(l LoadBalancerRulesOverridesLocationStrategyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOverridesLocationStrategyOutputReference_Override ¶
func NewLoadBalancerRulesOverridesLocationStrategyOutputReference_Override(l LoadBalancerRulesOverridesLocationStrategyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesOverridesOutputReference_Override ¶
func NewLoadBalancerRulesOverridesOutputReference_Override(l LoadBalancerRulesOverridesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesOverridesPopPoolsList_Override ¶
func NewLoadBalancerRulesOverridesPopPoolsList_Override(l LoadBalancerRulesOverridesPopPoolsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOverridesPopPoolsOutputReference_Override ¶
func NewLoadBalancerRulesOverridesPopPoolsOutputReference_Override(l LoadBalancerRulesOverridesPopPoolsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesOverridesRandomSteeringList_Override ¶
func NewLoadBalancerRulesOverridesRandomSteeringList_Override(l LoadBalancerRulesOverridesRandomSteeringList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOverridesRandomSteeringOutputReference_Override ¶
func NewLoadBalancerRulesOverridesRandomSteeringOutputReference_Override(l LoadBalancerRulesOverridesRandomSteeringOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesOverridesRegionPoolsList_Override ¶
func NewLoadBalancerRulesOverridesRegionPoolsList_Override(l LoadBalancerRulesOverridesRegionPoolsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOverridesRegionPoolsOutputReference_Override ¶
func NewLoadBalancerRulesOverridesRegionPoolsOutputReference_Override(l LoadBalancerRulesOverridesRegionPoolsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerRulesOverridesSessionAffinityAttributesList_Override ¶
func NewLoadBalancerRulesOverridesSessionAffinityAttributesList_Override(l LoadBalancerRulesOverridesSessionAffinityAttributesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerRulesOverridesSessionAffinityAttributesOutputReference_Override ¶
func NewLoadBalancerRulesOverridesSessionAffinityAttributesOutputReference_Override(l LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancerSessionAffinityAttributesList_Override ¶
func NewLoadBalancerSessionAffinityAttributesList_Override(l LoadBalancerSessionAffinityAttributesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewLoadBalancerSessionAffinityAttributesOutputReference_Override ¶
func NewLoadBalancerSessionAffinityAttributesOutputReference_Override(l LoadBalancerSessionAffinityAttributesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewLoadBalancer_Override ¶
func NewLoadBalancer_Override(l LoadBalancer, scope constructs.Construct, id *string, config *LoadBalancerConfig)
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer cloudflare_load_balancer} Resource.
Types ¶
type LoadBalancer ¶
type LoadBalancer interface { cdktf.TerraformResource AdaptiveRouting() LoadBalancerAdaptiveRoutingList AdaptiveRoutingInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CountryPools() LoadBalancerCountryPoolsList CountryPoolsInput() interface{} CreatedOn() *string DefaultPoolIds() *[]*string SetDefaultPoolIds(val *[]*string) DefaultPoolIdsInput() *[]*string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} FallbackPoolId() *string SetFallbackPoolId(val *string) FallbackPoolIdInput() *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) LocationStrategy() LoadBalancerLocationStrategyList LocationStrategyInput() interface{} ModifiedOn() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node PopPools() LoadBalancerPopPoolsList PopPoolsInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) Proxied() interface{} SetProxied(val interface{}) ProxiedInput() interface{} RandomSteering() LoadBalancerRandomSteeringList RandomSteeringInput() interface{} // Experimental. RawOverrides() interface{} RegionPools() LoadBalancerRegionPoolsList RegionPoolsInput() interface{} Rules() LoadBalancerRulesList RulesInput() interface{} SessionAffinity() *string SetSessionAffinity(val *string) SessionAffinityAttributes() LoadBalancerSessionAffinityAttributesList SessionAffinityAttributesInput() interface{} SessionAffinityInput() *string SessionAffinityTtl() *float64 SetSessionAffinityTtl(val *float64) SessionAffinityTtlInput() *float64 SteeringPolicy() *string SetSteeringPolicy(val *string) SteeringPolicyInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Ttl() *float64 SetTtl(val *float64) TtlInput() *float64 ZoneId() *string SetZoneId(val *string) ZoneIdInput() *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) PutAdaptiveRouting(value interface{}) PutCountryPools(value interface{}) PutLocationStrategy(value interface{}) PutPopPools(value interface{}) PutRandomSteering(value interface{}) PutRegionPools(value interface{}) PutRules(value interface{}) PutSessionAffinityAttributes(value interface{}) ResetAdaptiveRouting() ResetCountryPools() ResetDescription() ResetEnabled() ResetId() ResetLocationStrategy() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPopPools() ResetProxied() ResetRandomSteering() ResetRegionPools() ResetRules() ResetSessionAffinity() ResetSessionAffinityAttributes() ResetSessionAffinityTtl() ResetSteeringPolicy() ResetTtl() 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.49.0/docs/resources/load_balancer cloudflare_load_balancer}.
func NewLoadBalancer ¶
func NewLoadBalancer(scope constructs.Construct, id *string, config *LoadBalancerConfig) LoadBalancer
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer cloudflare_load_balancer} Resource.
type LoadBalancerAdaptiveRouting ¶
type LoadBalancerAdaptiveRouting struct { // Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. // // When set `false`, zero-downtime failover will only occur between origins within the same pool. Defaults to `false`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#failover_across_pools LoadBalancer#failover_across_pools} FailoverAcrossPools interface{} `field:"optional" json:"failoverAcrossPools" yaml:"failoverAcrossPools"` }
type LoadBalancerAdaptiveRoutingList ¶
type LoadBalancerAdaptiveRoutingList 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) LoadBalancerAdaptiveRoutingOutputReference // 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 NewLoadBalancerAdaptiveRoutingList ¶
func NewLoadBalancerAdaptiveRoutingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerAdaptiveRoutingList
type LoadBalancerAdaptiveRoutingOutputReference ¶
type LoadBalancerAdaptiveRoutingOutputReference 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 FailoverAcrossPools() interface{} SetFailoverAcrossPools(val interface{}) FailoverAcrossPoolsInput() interface{} // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // 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 ResetFailoverAcrossPools() // 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 NewLoadBalancerAdaptiveRoutingOutputReference ¶
func NewLoadBalancerAdaptiveRoutingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerAdaptiveRoutingOutputReference
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"` // A list of pool IDs ordered by their failover priority. Used whenever [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) are not defined. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#default_pool_ids LoadBalancer#default_pool_ids} DefaultPoolIds *[]*string `field:"required" json:"defaultPoolIds" yaml:"defaultPoolIds"` // The pool ID to use when all other pools are detected as unhealthy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#fallback_pool_id LoadBalancer#fallback_pool_id} FallbackPoolId *string `field:"required" json:"fallbackPoolId" yaml:"fallbackPoolId"` // The DNS hostname to associate with your load balancer. // // If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#name LoadBalancer#name} Name *string `field:"required" json:"name" yaml:"name"` // The zone ID to add the load balancer to. **Modifying this attribute will force creation of a new resource.**. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#zone_id LoadBalancer#zone_id} ZoneId *string `field:"required" json:"zoneId" yaml:"zoneId"` // adaptive_routing block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#adaptive_routing LoadBalancer#adaptive_routing} AdaptiveRouting interface{} `field:"optional" json:"adaptiveRouting" yaml:"adaptiveRouting"` // country_pools block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#country_pools LoadBalancer#country_pools} CountryPools interface{} `field:"optional" json:"countryPools" yaml:"countryPools"` // Free text description. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#description LoadBalancer#description} Description *string `field:"optional" json:"description" yaml:"description"` // Enable or disable the load balancer. Defaults to `true`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#enabled LoadBalancer#enabled} Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#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"` // location_strategy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#location_strategy LoadBalancer#location_strategy} LocationStrategy interface{} `field:"optional" json:"locationStrategy" yaml:"locationStrategy"` // pop_pools block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pop_pools LoadBalancer#pop_pools} PopPools interface{} `field:"optional" json:"popPools" yaml:"popPools"` // Whether the hostname gets Cloudflare's origin protection. Defaults to `false`. Conflicts with `ttl`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#proxied LoadBalancer#proxied} Proxied interface{} `field:"optional" json:"proxied" yaml:"proxied"` // random_steering block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#random_steering LoadBalancer#random_steering} RandomSteering interface{} `field:"optional" json:"randomSteering" yaml:"randomSteering"` // region_pools block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#region_pools LoadBalancer#region_pools} RegionPools interface{} `field:"optional" json:"regionPools" yaml:"regionPools"` // rules block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#rules LoadBalancer#rules} Rules interface{} `field:"optional" json:"rules" yaml:"rules"` // Specifies the type of session affinity the load balancer should use unless specified as `none` or `""` (default). // // With value `cookie`, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value `ip_cookie` behaves the same as `cookie` except the initial origin selection is stable and based on the client's IP address. Available values: `""`, `none`, `cookie`, `ip_cookie`, `header`. Defaults to `none`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#session_affinity LoadBalancer#session_affinity} SessionAffinity *string `field:"optional" json:"sessionAffinity" yaml:"sessionAffinity"` // session_affinity_attributes block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#session_affinity_attributes LoadBalancer#session_affinity_attributes} SessionAffinityAttributes interface{} `field:"optional" json:"sessionAffinityAttributes" yaml:"sessionAffinityAttributes"` // 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`](#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`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#session_affinity_ttl LoadBalancer#session_affinity_ttl} SessionAffinityTtl *float64 `field:"optional" json:"sessionAffinityTtl" yaml:"sessionAffinityTtl"` // The method the load balancer uses to determine the route to your origin. // // Value `off` uses [`default_pool_ids`](#default_pool_ids). Value `geo` uses [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools). For non-proxied requests, the [`country`](#country) for [`country_pools`](#country_pools) is determined by [`location_strategy`](#location_strategy). Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in [`default_pool_ids`](#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`](#location_strategy) for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration [`random_steering`](#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`](#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`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#steering_policy LoadBalancer#steering_policy} SteeringPolicy *string `field:"optional" json:"steeringPolicy" yaml:"steeringPolicy"` // 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`. Conflicts with `proxied`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#ttl LoadBalancer#ttl} Ttl *float64 `field:"optional" json:"ttl" yaml:"ttl"` }
type LoadBalancerCountryPools ¶
type LoadBalancerCountryPools struct { // A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#country LoadBalancer#country} Country *string `field:"required" json:"country" yaml:"country"` // A list of pool IDs in failover priority to use in the given country. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pool_ids LoadBalancer#pool_ids} PoolIds *[]*string `field:"required" json:"poolIds" yaml:"poolIds"` }
type LoadBalancerCountryPoolsList ¶
type LoadBalancerCountryPoolsList 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) LoadBalancerCountryPoolsOutputReference // 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 NewLoadBalancerCountryPoolsList ¶
func NewLoadBalancerCountryPoolsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerCountryPoolsList
type LoadBalancerCountryPoolsOutputReference ¶
type LoadBalancerCountryPoolsOutputReference 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) Country() *string SetCountry(val *string) CountryInput() *string // 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{}) PoolIds() *[]*string SetPoolIds(val *[]*string) PoolIdsInput() *[]*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 NewLoadBalancerCountryPoolsOutputReference ¶
func NewLoadBalancerCountryPoolsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerCountryPoolsOutputReference
type LoadBalancerLocationStrategy ¶
type LoadBalancerLocationStrategy struct { // Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. // // Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. Defaults to `pop`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#mode LoadBalancer#mode} Mode *string `field:"optional" json:"mode" yaml:"mode"` // Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. // // Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when [`steering_policy="proximity"`](#steering_policy), and `geo` will prefer ECS only when [`steering_policy="geo"`](#steering_policy). Available values: `always`, `never`, `proximity`, `geo`. Defaults to `proximity`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#prefer_ecs LoadBalancer#prefer_ecs} PreferEcs *string `field:"optional" json:"preferEcs" yaml:"preferEcs"` }
type LoadBalancerLocationStrategyList ¶
type LoadBalancerLocationStrategyList 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) LoadBalancerLocationStrategyOutputReference // 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 NewLoadBalancerLocationStrategyList ¶
func NewLoadBalancerLocationStrategyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerLocationStrategyList
type LoadBalancerLocationStrategyOutputReference ¶
type LoadBalancerLocationStrategyOutputReference 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{}) Mode() *string SetMode(val *string) ModeInput() *string PreferEcs() *string SetPreferEcs(val *string) PreferEcsInput() *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 ResetMode() ResetPreferEcs() // 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 NewLoadBalancerLocationStrategyOutputReference ¶
func NewLoadBalancerLocationStrategyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerLocationStrategyOutputReference
type LoadBalancerPopPools ¶
type LoadBalancerPopPools struct { // A list of pool IDs in failover priority to use for traffic reaching the given PoP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pool_ids LoadBalancer#pool_ids} PoolIds *[]*string `field:"required" json:"poolIds" yaml:"poolIds"` // A 3-letter code for the Point-of-Presence. // // Allowed values can be found in the list of datacenters on the [status page](https://www.cloudflarestatus.com/). Multiple entries should not be specified with the same PoP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pop LoadBalancer#pop} Pop *string `field:"required" json:"pop" yaml:"pop"` }
type LoadBalancerPopPoolsList ¶
type LoadBalancerPopPoolsList 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) LoadBalancerPopPoolsOutputReference // 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 NewLoadBalancerPopPoolsList ¶
func NewLoadBalancerPopPoolsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerPopPoolsList
type LoadBalancerPopPoolsOutputReference ¶
type LoadBalancerPopPoolsOutputReference 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{}) PoolIds() *[]*string SetPoolIds(val *[]*string) PoolIdsInput() *[]*string Pop() *string SetPop(val *string) PopInput() *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 NewLoadBalancerPopPoolsOutputReference ¶
func NewLoadBalancerPopPoolsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerPopPoolsOutputReference
type LoadBalancerRandomSteering ¶
type LoadBalancerRandomSteering struct { // The default weight for pools in the load balancer that are not specified in the [`pool_weights`](#pool_weights) map. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#default_weight LoadBalancer#default_weight} DefaultWeight *float64 `field:"optional" json:"defaultWeight" yaml:"defaultWeight"` // A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pool_weights LoadBalancer#pool_weights} PoolWeights *map[string]*float64 `field:"optional" json:"poolWeights" yaml:"poolWeights"` }
type LoadBalancerRandomSteeringList ¶
type LoadBalancerRandomSteeringList 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) LoadBalancerRandomSteeringOutputReference // 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 NewLoadBalancerRandomSteeringList ¶
func NewLoadBalancerRandomSteeringList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRandomSteeringList
type LoadBalancerRandomSteeringOutputReference ¶
type LoadBalancerRandomSteeringOutputReference 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 DefaultWeight() *float64 SetDefaultWeight(val *float64) DefaultWeightInput() *float64 // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) PoolWeights() *map[string]*float64 SetPoolWeights(val *map[string]*float64) PoolWeightsInput() *map[string]*float64 // 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 ResetDefaultWeight() ResetPoolWeights() // 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 NewLoadBalancerRandomSteeringOutputReference ¶
func NewLoadBalancerRandomSteeringOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRandomSteeringOutputReference
type LoadBalancerRegionPools ¶
type LoadBalancerRegionPools struct { // A list of pool IDs in failover priority to use in the given region. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pool_ids LoadBalancer#pool_ids} PoolIds *[]*string `field:"required" json:"poolIds" yaml:"poolIds"` // A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#region LoadBalancer#region} Region *string `field:"required" json:"region" yaml:"region"` }
type LoadBalancerRegionPoolsList ¶
type LoadBalancerRegionPoolsList 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) LoadBalancerRegionPoolsOutputReference // 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 NewLoadBalancerRegionPoolsList ¶
func NewLoadBalancerRegionPoolsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRegionPoolsList
type LoadBalancerRegionPoolsOutputReference ¶
type LoadBalancerRegionPoolsOutputReference 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{}) PoolIds() *[]*string SetPoolIds(val *[]*string) PoolIdsInput() *[]*string Region() *string SetRegion(val *string) RegionInput() *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 NewLoadBalancerRegionPoolsOutputReference ¶
func NewLoadBalancerRegionPoolsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRegionPoolsOutputReference
type LoadBalancerRules ¶
type LoadBalancerRules struct { // Human readable name for this rule. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#name LoadBalancer#name} Name *string `field:"required" json:"name" yaml:"name"` // The statement to evaluate to determine if this rule's effects should be applied. // // An empty condition is always true. See [load balancing rules](https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#condition LoadBalancer#condition} Condition *string `field:"optional" json:"condition" yaml:"condition"` // A disabled rule will not be executed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#disabled LoadBalancer#disabled} Disabled interface{} `field:"optional" json:"disabled" yaml:"disabled"` // fixed_response block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#fixed_response LoadBalancer#fixed_response} FixedResponse *LoadBalancerRulesFixedResponse `field:"optional" json:"fixedResponse" yaml:"fixedResponse"` // overrides block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#overrides LoadBalancer#overrides} Overrides interface{} `field:"optional" json:"overrides" yaml:"overrides"` // Priority used when determining the order of rule execution. // // Lower values are executed first. If not provided, the list order will be used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#priority LoadBalancer#priority} Priority *float64 `field:"optional" json:"priority" yaml:"priority"` // Terminates indicates that if this rule is true no further rules should be executed. // // Note: setting a [`fixed_response`](#fixed_response) forces this field to `true`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#terminates LoadBalancer#terminates} Terminates interface{} `field:"optional" json:"terminates" yaml:"terminates"` }
type LoadBalancerRulesFixedResponse ¶
type LoadBalancerRulesFixedResponse struct { // The value of the HTTP context-type header for this fixed response. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#content_type LoadBalancer#content_type} ContentType *string `field:"optional" json:"contentType" yaml:"contentType"` // The value of the HTTP location header for this fixed response. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#location LoadBalancer#location} Location *string `field:"optional" json:"location" yaml:"location"` // The text used as the html body for this fixed response. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#message_body LoadBalancer#message_body} MessageBody *string `field:"optional" json:"messageBody" yaml:"messageBody"` // The HTTP status code used for this fixed response. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#status_code LoadBalancer#status_code} StatusCode *float64 `field:"optional" json:"statusCode" yaml:"statusCode"` }
type LoadBalancerRulesFixedResponseOutputReference ¶
type LoadBalancerRulesFixedResponseOutputReference 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) ContentType() *string SetContentType(val *string) ContentTypeInput() *string // 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() *LoadBalancerRulesFixedResponse SetInternalValue(val *LoadBalancerRulesFixedResponse) Location() *string SetLocation(val *string) LocationInput() *string MessageBody() *string SetMessageBody(val *string) MessageBodyInput() *string StatusCode() *float64 SetStatusCode(val *float64) StatusCodeInput() *float64 // 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 ResetContentType() ResetLocation() ResetMessageBody() ResetStatusCode() // 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 NewLoadBalancerRulesFixedResponseOutputReference ¶
func NewLoadBalancerRulesFixedResponseOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LoadBalancerRulesFixedResponseOutputReference
type LoadBalancerRulesList ¶
type LoadBalancerRulesList 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) LoadBalancerRulesOutputReference // 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 NewLoadBalancerRulesList ¶
func NewLoadBalancerRulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesList
type LoadBalancerRulesOutputReference ¶
type LoadBalancerRulesOutputReference 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) Condition() *string SetCondition(val *string) ConditionInput() *string // 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 Disabled() interface{} SetDisabled(val interface{}) DisabledInput() interface{} FixedResponse() LoadBalancerRulesFixedResponseOutputReference FixedResponseInput() *LoadBalancerRulesFixedResponse // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Overrides() LoadBalancerRulesOverridesList OverridesInput() interface{} Priority() *float64 SetPriority(val *float64) PriorityInput() *float64 Terminates() interface{} SetTerminates(val interface{}) TerminatesInput() interface{} // 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 PutFixedResponse(value *LoadBalancerRulesFixedResponse) PutOverrides(value interface{}) ResetCondition() ResetDisabled() ResetFixedResponse() ResetOverrides() ResetPriority() ResetTerminates() // 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 NewLoadBalancerRulesOutputReference ¶
func NewLoadBalancerRulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOutputReference
type LoadBalancerRulesOverrides ¶
type LoadBalancerRulesOverrides struct { // adaptive_routing block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#adaptive_routing LoadBalancer#adaptive_routing} AdaptiveRouting interface{} `field:"optional" json:"adaptiveRouting" yaml:"adaptiveRouting"` // country_pools block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#country_pools LoadBalancer#country_pools} CountryPools interface{} `field:"optional" json:"countryPools" yaml:"countryPools"` // A list of pool IDs ordered by their failover priority. Used whenever [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) are not defined. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#default_pools LoadBalancer#default_pools} DefaultPools *[]*string `field:"optional" json:"defaultPools" yaml:"defaultPools"` // The pool ID to use when all other pools are detected as unhealthy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#fallback_pool LoadBalancer#fallback_pool} FallbackPool *string `field:"optional" json:"fallbackPool" yaml:"fallbackPool"` // location_strategy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#location_strategy LoadBalancer#location_strategy} LocationStrategy interface{} `field:"optional" json:"locationStrategy" yaml:"locationStrategy"` // pop_pools block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pop_pools LoadBalancer#pop_pools} PopPools interface{} `field:"optional" json:"popPools" yaml:"popPools"` // random_steering block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#random_steering LoadBalancer#random_steering} RandomSteering interface{} `field:"optional" json:"randomSteering" yaml:"randomSteering"` // region_pools block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#region_pools LoadBalancer#region_pools} RegionPools interface{} `field:"optional" json:"regionPools" yaml:"regionPools"` // Configure attributes for session affinity. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#session_affinity LoadBalancer#session_affinity} SessionAffinity *string `field:"optional" json:"sessionAffinity" yaml:"sessionAffinity"` // session_affinity_attributes block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#session_affinity_attributes LoadBalancer#session_affinity_attributes} SessionAffinityAttributes interface{} `field:"optional" json:"sessionAffinityAttributes" yaml:"sessionAffinityAttributes"` // 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`](#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`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#session_affinity_ttl LoadBalancer#session_affinity_ttl} SessionAffinityTtl *float64 `field:"optional" json:"sessionAffinityTtl" yaml:"sessionAffinityTtl"` // The method the load balancer uses to determine the route to your origin. // // Value `off` uses [`default_pool_ids`](#default_pool_ids). Value `geo` uses [`pop_pools`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools). For non-proxied requests, the [`country`](#country) for [`country_pools`](#country_pools) is determined by [`location_strategy`](#location_strategy). Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in [`default_pool_ids`](#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`](#location_strategy) for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration [`random_steering`](#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`](#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`](#pop_pools)/[`country_pools`](#country_pools)/[`region_pools`](#region_pools) otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#steering_policy LoadBalancer#steering_policy} SteeringPolicy *string `field:"optional" json:"steeringPolicy" yaml:"steeringPolicy"` // 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`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#ttl LoadBalancer#ttl} Ttl *float64 `field:"optional" json:"ttl" yaml:"ttl"` }
type LoadBalancerRulesOverridesAdaptiveRouting ¶
type LoadBalancerRulesOverridesAdaptiveRouting struct { // Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. // // When set `false`, zero-downtime failover will only occur between origins within the same pool. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#failover_across_pools LoadBalancer#failover_across_pools} FailoverAcrossPools interface{} `field:"optional" json:"failoverAcrossPools" yaml:"failoverAcrossPools"` }
type LoadBalancerRulesOverridesAdaptiveRoutingList ¶
type LoadBalancerRulesOverridesAdaptiveRoutingList 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) LoadBalancerRulesOverridesAdaptiveRoutingOutputReference // 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 NewLoadBalancerRulesOverridesAdaptiveRoutingList ¶
func NewLoadBalancerRulesOverridesAdaptiveRoutingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesOverridesAdaptiveRoutingList
type LoadBalancerRulesOverridesAdaptiveRoutingOutputReference ¶
type LoadBalancerRulesOverridesAdaptiveRoutingOutputReference 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 FailoverAcrossPools() interface{} SetFailoverAcrossPools(val interface{}) FailoverAcrossPoolsInput() interface{} // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // 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 ResetFailoverAcrossPools() // 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 NewLoadBalancerRulesOverridesAdaptiveRoutingOutputReference ¶
func NewLoadBalancerRulesOverridesAdaptiveRoutingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOverridesAdaptiveRoutingOutputReference
type LoadBalancerRulesOverridesCountryPools ¶
type LoadBalancerRulesOverridesCountryPools struct { // A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#country LoadBalancer#country} Country *string `field:"required" json:"country" yaml:"country"` // A list of pool IDs in failover priority to use in the given country. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pool_ids LoadBalancer#pool_ids} PoolIds *[]*string `field:"required" json:"poolIds" yaml:"poolIds"` }
type LoadBalancerRulesOverridesCountryPoolsList ¶
type LoadBalancerRulesOverridesCountryPoolsList 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) LoadBalancerRulesOverridesCountryPoolsOutputReference // 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 NewLoadBalancerRulesOverridesCountryPoolsList ¶
func NewLoadBalancerRulesOverridesCountryPoolsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesOverridesCountryPoolsList
type LoadBalancerRulesOverridesCountryPoolsOutputReference ¶
type LoadBalancerRulesOverridesCountryPoolsOutputReference 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) Country() *string SetCountry(val *string) CountryInput() *string // 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{}) PoolIds() *[]*string SetPoolIds(val *[]*string) PoolIdsInput() *[]*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 NewLoadBalancerRulesOverridesCountryPoolsOutputReference ¶
func NewLoadBalancerRulesOverridesCountryPoolsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOverridesCountryPoolsOutputReference
type LoadBalancerRulesOverridesList ¶
type LoadBalancerRulesOverridesList 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) LoadBalancerRulesOverridesOutputReference // 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 NewLoadBalancerRulesOverridesList ¶
func NewLoadBalancerRulesOverridesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesOverridesList
type LoadBalancerRulesOverridesLocationStrategy ¶
type LoadBalancerRulesOverridesLocationStrategy struct { // Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. // // Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#mode LoadBalancer#mode} Mode *string `field:"optional" json:"mode" yaml:"mode"` // Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. // // Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when [`steering_policy="proximity"`](#steering_policy), and `geo` will prefer ECS only when [`steering_policy="geo"`](#steering_policy). Available values: `always`, `never`, `proximity`, `geo`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#prefer_ecs LoadBalancer#prefer_ecs} PreferEcs *string `field:"optional" json:"preferEcs" yaml:"preferEcs"` }
type LoadBalancerRulesOverridesLocationStrategyList ¶
type LoadBalancerRulesOverridesLocationStrategyList 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) LoadBalancerRulesOverridesLocationStrategyOutputReference // 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 NewLoadBalancerRulesOverridesLocationStrategyList ¶
func NewLoadBalancerRulesOverridesLocationStrategyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesOverridesLocationStrategyList
type LoadBalancerRulesOverridesLocationStrategyOutputReference ¶
type LoadBalancerRulesOverridesLocationStrategyOutputReference 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{}) Mode() *string SetMode(val *string) ModeInput() *string PreferEcs() *string SetPreferEcs(val *string) PreferEcsInput() *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 ResetMode() ResetPreferEcs() // 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 NewLoadBalancerRulesOverridesLocationStrategyOutputReference ¶
func NewLoadBalancerRulesOverridesLocationStrategyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOverridesLocationStrategyOutputReference
type LoadBalancerRulesOverridesOutputReference ¶
type LoadBalancerRulesOverridesOutputReference interface { cdktf.ComplexObject AdaptiveRouting() LoadBalancerRulesOverridesAdaptiveRoutingList AdaptiveRoutingInput() interface{} // 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) CountryPools() LoadBalancerRulesOverridesCountryPoolsList CountryPoolsInput() interface{} // 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 DefaultPools() *[]*string SetDefaultPools(val *[]*string) DefaultPoolsInput() *[]*string FallbackPool() *string SetFallbackPool(val *string) FallbackPoolInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) LocationStrategy() LoadBalancerRulesOverridesLocationStrategyList LocationStrategyInput() interface{} PopPools() LoadBalancerRulesOverridesPopPoolsList PopPoolsInput() interface{} RandomSteering() LoadBalancerRulesOverridesRandomSteeringList RandomSteeringInput() interface{} RegionPools() LoadBalancerRulesOverridesRegionPoolsList RegionPoolsInput() interface{} SessionAffinity() *string SetSessionAffinity(val *string) SessionAffinityAttributes() LoadBalancerRulesOverridesSessionAffinityAttributesList SessionAffinityAttributesInput() interface{} SessionAffinityInput() *string SessionAffinityTtl() *float64 SetSessionAffinityTtl(val *float64) SessionAffinityTtlInput() *float64 SteeringPolicy() *string SetSteeringPolicy(val *string) SteeringPolicyInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Ttl() *float64 SetTtl(val *float64) TtlInput() *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 PutAdaptiveRouting(value interface{}) PutCountryPools(value interface{}) PutLocationStrategy(value interface{}) PutPopPools(value interface{}) PutRandomSteering(value interface{}) PutRegionPools(value interface{}) PutSessionAffinityAttributes(value interface{}) ResetAdaptiveRouting() ResetCountryPools() ResetDefaultPools() ResetFallbackPool() ResetLocationStrategy() ResetPopPools() ResetRandomSteering() ResetRegionPools() ResetSessionAffinity() ResetSessionAffinityAttributes() ResetSessionAffinityTtl() ResetSteeringPolicy() ResetTtl() // 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 NewLoadBalancerRulesOverridesOutputReference ¶
func NewLoadBalancerRulesOverridesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOverridesOutputReference
type LoadBalancerRulesOverridesPopPools ¶
type LoadBalancerRulesOverridesPopPools struct { // A list of pool IDs in failover priority to use for traffic reaching the given PoP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pool_ids LoadBalancer#pool_ids} PoolIds *[]*string `field:"required" json:"poolIds" yaml:"poolIds"` // A 3-letter code for the Point-of-Presence. // // Allowed values can be found in the list of datacenters on the [status page](https://www.cloudflarestatus.com/). Multiple entries should not be specified with the same PoP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pop LoadBalancer#pop} Pop *string `field:"required" json:"pop" yaml:"pop"` }
type LoadBalancerRulesOverridesPopPoolsList ¶
type LoadBalancerRulesOverridesPopPoolsList 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) LoadBalancerRulesOverridesPopPoolsOutputReference // 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 NewLoadBalancerRulesOverridesPopPoolsList ¶
func NewLoadBalancerRulesOverridesPopPoolsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesOverridesPopPoolsList
type LoadBalancerRulesOverridesPopPoolsOutputReference ¶
type LoadBalancerRulesOverridesPopPoolsOutputReference 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{}) PoolIds() *[]*string SetPoolIds(val *[]*string) PoolIdsInput() *[]*string Pop() *string SetPop(val *string) PopInput() *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 NewLoadBalancerRulesOverridesPopPoolsOutputReference ¶
func NewLoadBalancerRulesOverridesPopPoolsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOverridesPopPoolsOutputReference
type LoadBalancerRulesOverridesRandomSteering ¶
type LoadBalancerRulesOverridesRandomSteering struct { // The default weight for pools in the load balancer that are not specified in the [`pool_weights`](#pool_weights) map. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#default_weight LoadBalancer#default_weight} DefaultWeight *float64 `field:"optional" json:"defaultWeight" yaml:"defaultWeight"` // A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pool_weights LoadBalancer#pool_weights} PoolWeights *map[string]*float64 `field:"optional" json:"poolWeights" yaml:"poolWeights"` }
type LoadBalancerRulesOverridesRandomSteeringList ¶
type LoadBalancerRulesOverridesRandomSteeringList 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) LoadBalancerRulesOverridesRandomSteeringOutputReference // 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 NewLoadBalancerRulesOverridesRandomSteeringList ¶
func NewLoadBalancerRulesOverridesRandomSteeringList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesOverridesRandomSteeringList
type LoadBalancerRulesOverridesRandomSteeringOutputReference ¶
type LoadBalancerRulesOverridesRandomSteeringOutputReference 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 DefaultWeight() *float64 SetDefaultWeight(val *float64) DefaultWeightInput() *float64 // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) PoolWeights() *map[string]*float64 SetPoolWeights(val *map[string]*float64) PoolWeightsInput() *map[string]*float64 // 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 ResetDefaultWeight() ResetPoolWeights() // 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 NewLoadBalancerRulesOverridesRandomSteeringOutputReference ¶
func NewLoadBalancerRulesOverridesRandomSteeringOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOverridesRandomSteeringOutputReference
type LoadBalancerRulesOverridesRegionPools ¶
type LoadBalancerRulesOverridesRegionPools struct { // A list of pool IDs in failover priority to use in the given region. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#pool_ids LoadBalancer#pool_ids} PoolIds *[]*string `field:"required" json:"poolIds" yaml:"poolIds"` // A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#region LoadBalancer#region} Region *string `field:"required" json:"region" yaml:"region"` }
type LoadBalancerRulesOverridesRegionPoolsList ¶
type LoadBalancerRulesOverridesRegionPoolsList 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) LoadBalancerRulesOverridesRegionPoolsOutputReference // 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 NewLoadBalancerRulesOverridesRegionPoolsList ¶
func NewLoadBalancerRulesOverridesRegionPoolsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesOverridesRegionPoolsList
type LoadBalancerRulesOverridesRegionPoolsOutputReference ¶
type LoadBalancerRulesOverridesRegionPoolsOutputReference 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{}) PoolIds() *[]*string SetPoolIds(val *[]*string) PoolIdsInput() *[]*string Region() *string SetRegion(val *string) RegionInput() *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 NewLoadBalancerRulesOverridesRegionPoolsOutputReference ¶
func NewLoadBalancerRulesOverridesRegionPoolsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOverridesRegionPoolsOutputReference
type LoadBalancerRulesOverridesSessionAffinityAttributes ¶
type LoadBalancerRulesOverridesSessionAffinityAttributes struct { // Configures the HTTP header names to use when header session affinity is enabled. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#headers LoadBalancer#headers} Headers *[]*string `field:"optional" json:"headers" yaml:"headers"` // Configures how headers are used when header session affinity is enabled. // // Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#require_all_headers LoadBalancer#require_all_headers} RequireAllHeaders interface{} `field:"optional" json:"requireAllHeaders" yaml:"requireAllHeaders"` // Configures the SameSite attribute on session affinity cookie. // // Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set [`secure="Never"`](#secure). Available values: `Auto`, `Lax`, `None`, `Strict`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#samesite LoadBalancer#samesite} Samesite *string `field:"optional" json:"samesite" yaml:"samesite"` // Configures the Secure attribute on session affinity cookie. // // Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#secure LoadBalancer#secure} Secure *string `field:"optional" json:"secure" yaml:"secure"` // Configures the zero-downtime failover between origins within a pool when session affinity is enabled. // // Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#zero_downtime_failover LoadBalancer#zero_downtime_failover} ZeroDowntimeFailover *string `field:"optional" json:"zeroDowntimeFailover" yaml:"zeroDowntimeFailover"` }
type LoadBalancerRulesOverridesSessionAffinityAttributesList ¶
type LoadBalancerRulesOverridesSessionAffinityAttributesList 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) LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference // 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 NewLoadBalancerRulesOverridesSessionAffinityAttributesList ¶
func NewLoadBalancerRulesOverridesSessionAffinityAttributesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerRulesOverridesSessionAffinityAttributesList
type LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference ¶
type LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference 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 Headers() *[]*string SetHeaders(val *[]*string) HeadersInput() *[]*string InternalValue() interface{} SetInternalValue(val interface{}) RequireAllHeaders() interface{} SetRequireAllHeaders(val interface{}) RequireAllHeadersInput() interface{} Samesite() *string SetSamesite(val *string) SamesiteInput() *string Secure() *string SetSecure(val *string) SecureInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) ZeroDowntimeFailover() *string SetZeroDowntimeFailover(val *string) ZeroDowntimeFailoverInput() *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 ResetHeaders() ResetRequireAllHeaders() ResetSamesite() ResetSecure() ResetZeroDowntimeFailover() // 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 NewLoadBalancerRulesOverridesSessionAffinityAttributesOutputReference ¶
func NewLoadBalancerRulesOverridesSessionAffinityAttributesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference
type LoadBalancerSessionAffinityAttributes ¶
type LoadBalancerSessionAffinityAttributes struct { // Configures the drain duration in seconds. // // This field is only used when session affinity is enabled on the load balancer. Defaults to `0`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#drain_duration LoadBalancer#drain_duration} DrainDuration *float64 `field:"optional" json:"drainDuration" yaml:"drainDuration"` // Configures the HTTP header names to use when header session affinity is enabled. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#headers LoadBalancer#headers} Headers *[]*string `field:"optional" json:"headers" yaml:"headers"` // Configures how headers are used when header session affinity is enabled. // // Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#require_all_headers LoadBalancer#require_all_headers} RequireAllHeaders interface{} `field:"optional" json:"requireAllHeaders" yaml:"requireAllHeaders"` // Configures the SameSite attribute on session affinity cookie. // // Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set [`secure="Never"`](#secure). Available values: `Auto`, `Lax`, `None`, `Strict`. Defaults to `Auto`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#samesite LoadBalancer#samesite} Samesite *string `field:"optional" json:"samesite" yaml:"samesite"` // Configures the Secure attribute on session affinity cookie. // // Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. Defaults to `Auto`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#secure LoadBalancer#secure} Secure *string `field:"optional" json:"secure" yaml:"secure"` // Configures the zero-downtime failover between origins within a pool when session affinity is enabled. // // Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. Defaults to `none`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.49.0/docs/resources/load_balancer#zero_downtime_failover LoadBalancer#zero_downtime_failover} ZeroDowntimeFailover *string `field:"optional" json:"zeroDowntimeFailover" yaml:"zeroDowntimeFailover"` }
type LoadBalancerSessionAffinityAttributesList ¶
type LoadBalancerSessionAffinityAttributesList 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) LoadBalancerSessionAffinityAttributesOutputReference // 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 NewLoadBalancerSessionAffinityAttributesList ¶
func NewLoadBalancerSessionAffinityAttributesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) LoadBalancerSessionAffinityAttributesList
type LoadBalancerSessionAffinityAttributesOutputReference ¶
type LoadBalancerSessionAffinityAttributesOutputReference 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 DrainDuration() *float64 SetDrainDuration(val *float64) DrainDurationInput() *float64 // Experimental. Fqn() *string Headers() *[]*string SetHeaders(val *[]*string) HeadersInput() *[]*string InternalValue() interface{} SetInternalValue(val interface{}) RequireAllHeaders() interface{} SetRequireAllHeaders(val interface{}) RequireAllHeadersInput() interface{} Samesite() *string SetSamesite(val *string) SamesiteInput() *string Secure() *string SetSecure(val *string) SecureInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) ZeroDowntimeFailover() *string SetZeroDowntimeFailover(val *string) ZeroDowntimeFailoverInput() *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 ResetDrainDuration() ResetHeaders() ResetRequireAllHeaders() ResetSamesite() ResetSecure() ResetZeroDowntimeFailover() // 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 NewLoadBalancerSessionAffinityAttributesOutputReference ¶
func NewLoadBalancerSessionAffinityAttributesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) LoadBalancerSessionAffinityAttributesOutputReference
Source Files ¶
- LoadBalancer.go
- LoadBalancerAdaptiveRouting.go
- LoadBalancerAdaptiveRoutingList.go
- LoadBalancerAdaptiveRoutingList__checks.go
- LoadBalancerAdaptiveRoutingOutputReference.go
- LoadBalancerAdaptiveRoutingOutputReference__checks.go
- LoadBalancerConfig.go
- LoadBalancerCountryPools.go
- LoadBalancerCountryPoolsList.go
- LoadBalancerCountryPoolsList__checks.go
- LoadBalancerCountryPoolsOutputReference.go
- LoadBalancerCountryPoolsOutputReference__checks.go
- LoadBalancerLocationStrategy.go
- LoadBalancerLocationStrategyList.go
- LoadBalancerLocationStrategyList__checks.go
- LoadBalancerLocationStrategyOutputReference.go
- LoadBalancerLocationStrategyOutputReference__checks.go
- LoadBalancerPopPools.go
- LoadBalancerPopPoolsList.go
- LoadBalancerPopPoolsList__checks.go
- LoadBalancerPopPoolsOutputReference.go
- LoadBalancerPopPoolsOutputReference__checks.go
- LoadBalancerRandomSteering.go
- LoadBalancerRandomSteeringList.go
- LoadBalancerRandomSteeringList__checks.go
- LoadBalancerRandomSteeringOutputReference.go
- LoadBalancerRandomSteeringOutputReference__checks.go
- LoadBalancerRegionPools.go
- LoadBalancerRegionPoolsList.go
- LoadBalancerRegionPoolsList__checks.go
- LoadBalancerRegionPoolsOutputReference.go
- LoadBalancerRegionPoolsOutputReference__checks.go
- LoadBalancerRules.go
- LoadBalancerRulesFixedResponse.go
- LoadBalancerRulesFixedResponseOutputReference.go
- LoadBalancerRulesFixedResponseOutputReference__checks.go
- LoadBalancerRulesList.go
- LoadBalancerRulesList__checks.go
- LoadBalancerRulesOutputReference.go
- LoadBalancerRulesOutputReference__checks.go
- LoadBalancerRulesOverrides.go
- LoadBalancerRulesOverridesAdaptiveRouting.go
- LoadBalancerRulesOverridesAdaptiveRoutingList.go
- LoadBalancerRulesOverridesAdaptiveRoutingList__checks.go
- LoadBalancerRulesOverridesAdaptiveRoutingOutputReference.go
- LoadBalancerRulesOverridesAdaptiveRoutingOutputReference__checks.go
- LoadBalancerRulesOverridesCountryPools.go
- LoadBalancerRulesOverridesCountryPoolsList.go
- LoadBalancerRulesOverridesCountryPoolsList__checks.go
- LoadBalancerRulesOverridesCountryPoolsOutputReference.go
- LoadBalancerRulesOverridesCountryPoolsOutputReference__checks.go
- LoadBalancerRulesOverridesList.go
- LoadBalancerRulesOverridesList__checks.go
- LoadBalancerRulesOverridesLocationStrategy.go
- LoadBalancerRulesOverridesLocationStrategyList.go
- LoadBalancerRulesOverridesLocationStrategyList__checks.go
- LoadBalancerRulesOverridesLocationStrategyOutputReference.go
- LoadBalancerRulesOverridesLocationStrategyOutputReference__checks.go
- LoadBalancerRulesOverridesOutputReference.go
- LoadBalancerRulesOverridesOutputReference__checks.go
- LoadBalancerRulesOverridesPopPools.go
- LoadBalancerRulesOverridesPopPoolsList.go
- LoadBalancerRulesOverridesPopPoolsList__checks.go
- LoadBalancerRulesOverridesPopPoolsOutputReference.go
- LoadBalancerRulesOverridesPopPoolsOutputReference__checks.go
- LoadBalancerRulesOverridesRandomSteering.go
- LoadBalancerRulesOverridesRandomSteeringList.go
- LoadBalancerRulesOverridesRandomSteeringList__checks.go
- LoadBalancerRulesOverridesRandomSteeringOutputReference.go
- LoadBalancerRulesOverridesRandomSteeringOutputReference__checks.go
- LoadBalancerRulesOverridesRegionPools.go
- LoadBalancerRulesOverridesRegionPoolsList.go
- LoadBalancerRulesOverridesRegionPoolsList__checks.go
- LoadBalancerRulesOverridesRegionPoolsOutputReference.go
- LoadBalancerRulesOverridesRegionPoolsOutputReference__checks.go
- LoadBalancerRulesOverridesSessionAffinityAttributes.go
- LoadBalancerRulesOverridesSessionAffinityAttributesList.go
- LoadBalancerRulesOverridesSessionAffinityAttributesList__checks.go
- LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference.go
- LoadBalancerRulesOverridesSessionAffinityAttributesOutputReference__checks.go
- LoadBalancerSessionAffinityAttributes.go
- LoadBalancerSessionAffinityAttributesList.go
- LoadBalancerSessionAffinityAttributesList__checks.go
- LoadBalancerSessionAffinityAttributesOutputReference.go
- LoadBalancerSessionAffinityAttributesOutputReference__checks.go
- LoadBalancer__checks.go
- main.go