Documentation ¶
Index ¶
- func ComputeRegionBackendService_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeRegionBackendService_IsConstruct(x interface{}) *bool
- func ComputeRegionBackendService_IsTerraformElement(x interface{}) *bool
- func ComputeRegionBackendService_IsTerraformResource(x interface{}) *bool
- func ComputeRegionBackendService_TfResourceType() *string
- func NewComputeRegionBackendServiceBackendList_Override(c ComputeRegionBackendServiceBackendList, ...)
- func NewComputeRegionBackendServiceBackendOutputReference_Override(c ComputeRegionBackendServiceBackendOutputReference, ...)
- func NewComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override(c ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference, ...)
- func NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList_Override(c ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList, ...)
- func NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override(c ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference, ...)
- func NewComputeRegionBackendServiceCdnPolicyOutputReference_Override(c ComputeRegionBackendServiceCdnPolicyOutputReference, ...)
- func NewComputeRegionBackendServiceCircuitBreakersOutputReference_Override(c ComputeRegionBackendServiceCircuitBreakersOutputReference, ...)
- func NewComputeRegionBackendServiceConsistentHashHttpCookieOutputReference_Override(c ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference, ...)
- func NewComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference_Override(c ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference, ...)
- func NewComputeRegionBackendServiceConsistentHashOutputReference_Override(c ComputeRegionBackendServiceConsistentHashOutputReference, ...)
- func NewComputeRegionBackendServiceFailoverPolicyOutputReference_Override(c ComputeRegionBackendServiceFailoverPolicyOutputReference, ...)
- func NewComputeRegionBackendServiceIapOutputReference_Override(c ComputeRegionBackendServiceIapOutputReference, ...)
- func NewComputeRegionBackendServiceLogConfigOutputReference_Override(c ComputeRegionBackendServiceLogConfigOutputReference, ...)
- func NewComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override(c ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference, ...)
- func NewComputeRegionBackendServiceOutlierDetectionIntervalOutputReference_Override(c ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference, ...)
- func NewComputeRegionBackendServiceOutlierDetectionOutputReference_Override(c ComputeRegionBackendServiceOutlierDetectionOutputReference, ...)
- func NewComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference_Override(c ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference, ...)
- func NewComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference_Override(c ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference, ...)
- func NewComputeRegionBackendServiceTimeoutsOutputReference_Override(c ComputeRegionBackendServiceTimeoutsOutputReference, ...)
- func NewComputeRegionBackendService_Override(c ComputeRegionBackendService, scope constructs.Construct, id *string, ...)
- type ComputeRegionBackendService
- type ComputeRegionBackendServiceBackend
- type ComputeRegionBackendServiceBackendList
- type ComputeRegionBackendServiceBackendOutputReference
- type ComputeRegionBackendServiceCdnPolicy
- type ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy
- type ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference
- type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicy
- type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList
- type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference
- type ComputeRegionBackendServiceCdnPolicyOutputReference
- type ComputeRegionBackendServiceCircuitBreakers
- type ComputeRegionBackendServiceCircuitBreakersOutputReference
- type ComputeRegionBackendServiceConfig
- type ComputeRegionBackendServiceConsistentHash
- type ComputeRegionBackendServiceConsistentHashHttpCookie
- type ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference
- type ComputeRegionBackendServiceConsistentHashHttpCookieTtl
- type ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference
- type ComputeRegionBackendServiceConsistentHashOutputReference
- type ComputeRegionBackendServiceFailoverPolicy
- type ComputeRegionBackendServiceFailoverPolicyOutputReference
- type ComputeRegionBackendServiceIap
- type ComputeRegionBackendServiceIapOutputReference
- type ComputeRegionBackendServiceLogConfig
- type ComputeRegionBackendServiceLogConfigOutputReference
- type ComputeRegionBackendServiceOutlierDetection
- type ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime
- type ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference
- type ComputeRegionBackendServiceOutlierDetectionInterval
- type ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference
- type ComputeRegionBackendServiceOutlierDetectionOutputReference
- type ComputeRegionBackendServiceStrongSessionAffinityCookie
- type ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference
- type ComputeRegionBackendServiceStrongSessionAffinityCookieTtl
- type ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference
- type ComputeRegionBackendServiceTimeouts
- type ComputeRegionBackendServiceTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeRegionBackendService_GenerateConfigForImport ¶
func ComputeRegionBackendService_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeRegionBackendService resource upon running "cdktf plan <stack-name>".
func ComputeRegionBackendService_IsConstruct ¶
func ComputeRegionBackendService_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 ComputeRegionBackendService_IsTerraformElement ¶
func ComputeRegionBackendService_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeRegionBackendService_IsTerraformResource ¶
func ComputeRegionBackendService_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeRegionBackendService_TfResourceType ¶
func ComputeRegionBackendService_TfResourceType() *string
func NewComputeRegionBackendServiceBackendList_Override ¶
func NewComputeRegionBackendServiceBackendList_Override(c ComputeRegionBackendServiceBackendList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeRegionBackendServiceBackendOutputReference_Override ¶
func NewComputeRegionBackendServiceBackendOutputReference_Override(c ComputeRegionBackendServiceBackendOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override ¶
func NewComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override(c ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList_Override ¶
func NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList_Override(c ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override ¶
func NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override(c ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeRegionBackendServiceCdnPolicyOutputReference_Override ¶
func NewComputeRegionBackendServiceCdnPolicyOutputReference_Override(c ComputeRegionBackendServiceCdnPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceCircuitBreakersOutputReference_Override ¶
func NewComputeRegionBackendServiceCircuitBreakersOutputReference_Override(c ComputeRegionBackendServiceCircuitBreakersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceConsistentHashHttpCookieOutputReference_Override ¶
func NewComputeRegionBackendServiceConsistentHashHttpCookieOutputReference_Override(c ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference_Override ¶
func NewComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference_Override(c ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceConsistentHashOutputReference_Override ¶
func NewComputeRegionBackendServiceConsistentHashOutputReference_Override(c ComputeRegionBackendServiceConsistentHashOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceFailoverPolicyOutputReference_Override ¶
func NewComputeRegionBackendServiceFailoverPolicyOutputReference_Override(c ComputeRegionBackendServiceFailoverPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceIapOutputReference_Override ¶
func NewComputeRegionBackendServiceIapOutputReference_Override(c ComputeRegionBackendServiceIapOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceLogConfigOutputReference_Override ¶
func NewComputeRegionBackendServiceLogConfigOutputReference_Override(c ComputeRegionBackendServiceLogConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override ¶
func NewComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override(c ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceOutlierDetectionIntervalOutputReference_Override ¶
func NewComputeRegionBackendServiceOutlierDetectionIntervalOutputReference_Override(c ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceOutlierDetectionOutputReference_Override ¶
func NewComputeRegionBackendServiceOutlierDetectionOutputReference_Override(c ComputeRegionBackendServiceOutlierDetectionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference_Override ¶ added in v14.5.0
func NewComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference_Override(c ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference_Override ¶ added in v14.5.0
func NewComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference_Override(c ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendServiceTimeoutsOutputReference_Override ¶
func NewComputeRegionBackendServiceTimeoutsOutputReference_Override(c ComputeRegionBackendServiceTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeRegionBackendService_Override ¶
func NewComputeRegionBackendService_Override(c ComputeRegionBackendService, scope constructs.Construct, id *string, config *ComputeRegionBackendServiceConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service google_compute_region_backend_service} Resource.
Types ¶
type ComputeRegionBackendService ¶
type ComputeRegionBackendService interface { cdktf.TerraformResource AffinityCookieTtlSec() *float64 SetAffinityCookieTtlSec(val *float64) AffinityCookieTtlSecInput() *float64 Backend() ComputeRegionBackendServiceBackendList BackendInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack CdnPolicy() ComputeRegionBackendServiceCdnPolicyOutputReference CdnPolicyInput() *ComputeRegionBackendServiceCdnPolicy CircuitBreakers() ComputeRegionBackendServiceCircuitBreakersOutputReference CircuitBreakersInput() *ComputeRegionBackendServiceCircuitBreakers // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) ConnectionDrainingTimeoutSec() *float64 SetConnectionDrainingTimeoutSec(val *float64) ConnectionDrainingTimeoutSecInput() *float64 ConsistentHash() ComputeRegionBackendServiceConsistentHashOutputReference ConsistentHashInput() *ComputeRegionBackendServiceConsistentHash // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreationTimestamp() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string EnableCdn() interface{} SetEnableCdn(val interface{}) EnableCdnInput() interface{} FailoverPolicy() ComputeRegionBackendServiceFailoverPolicyOutputReference FailoverPolicyInput() *ComputeRegionBackendServiceFailoverPolicy Fingerprint() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GeneratedId() *float64 HealthChecks() *[]*string SetHealthChecks(val *[]*string) HealthChecksInput() *[]*string Iap() ComputeRegionBackendServiceIapOutputReference IapInput() *ComputeRegionBackendServiceIap Id() *string SetId(val *string) IdInput() *string IpAddressSelectionPolicy() *string SetIpAddressSelectionPolicy(val *string) IpAddressSelectionPolicyInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LoadBalancingScheme() *string SetLoadBalancingScheme(val *string) LoadBalancingSchemeInput() *string LocalityLbPolicy() *string SetLocalityLbPolicy(val *string) LocalityLbPolicyInput() *string LogConfig() ComputeRegionBackendServiceLogConfigOutputReference LogConfigInput() *ComputeRegionBackendServiceLogConfig Name() *string SetName(val *string) NameInput() *string Network() *string SetNetwork(val *string) NetworkInput() *string // The tree node. Node() constructs.Node OutlierDetection() ComputeRegionBackendServiceOutlierDetectionOutputReference OutlierDetectionInput() *ComputeRegionBackendServiceOutlierDetection PortName() *string SetPortName(val *string) PortNameInput() *string Project() *string SetProject(val *string) ProjectInput() *string Protocol() *string SetProtocol(val *string) ProtocolInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string SelfLink() *string SessionAffinity() *string SetSessionAffinity(val *string) SessionAffinityInput() *string StrongSessionAffinityCookie() ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference StrongSessionAffinityCookieInput() *ComputeRegionBackendServiceStrongSessionAffinityCookie // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeRegionBackendServiceTimeoutsOutputReference TimeoutSec() *float64 SetTimeoutSec(val *float64) TimeoutSecInput() *float64 TimeoutsInput() interface{} // 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) PutBackend(value interface{}) PutCdnPolicy(value *ComputeRegionBackendServiceCdnPolicy) PutCircuitBreakers(value *ComputeRegionBackendServiceCircuitBreakers) PutConsistentHash(value *ComputeRegionBackendServiceConsistentHash) PutFailoverPolicy(value *ComputeRegionBackendServiceFailoverPolicy) PutIap(value *ComputeRegionBackendServiceIap) PutLogConfig(value *ComputeRegionBackendServiceLogConfig) PutOutlierDetection(value *ComputeRegionBackendServiceOutlierDetection) PutStrongSessionAffinityCookie(value *ComputeRegionBackendServiceStrongSessionAffinityCookie) PutTimeouts(value *ComputeRegionBackendServiceTimeouts) ResetAffinityCookieTtlSec() ResetBackend() ResetCdnPolicy() ResetCircuitBreakers() ResetConnectionDrainingTimeoutSec() ResetConsistentHash() ResetDescription() ResetEnableCdn() ResetFailoverPolicy() ResetHealthChecks() ResetIap() ResetId() ResetIpAddressSelectionPolicy() ResetLoadBalancingScheme() ResetLocalityLbPolicy() ResetLogConfig() ResetNetwork() ResetOutlierDetection() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPortName() ResetProject() ResetProtocol() ResetRegion() ResetSessionAffinity() ResetStrongSessionAffinityCookie() ResetTimeouts() ResetTimeoutSec() 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/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service google_compute_region_backend_service}.
func NewComputeRegionBackendService ¶
func NewComputeRegionBackendService(scope constructs.Construct, id *string, config *ComputeRegionBackendServiceConfig) ComputeRegionBackendService
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service google_compute_region_backend_service} Resource.
type ComputeRegionBackendServiceBackend ¶
type ComputeRegionBackendServiceBackend struct { // The fully-qualified URL of an Instance Group or Network Endpoint Group resource. // // In case of instance group this defines the list // of instances that serve traffic. Member virtual machine // instances from each instance group must live in the same zone as // the instance group itself. No two backends in a backend service // are allowed to use same Instance Group resource. // // For Network Endpoint Groups this defines list of endpoints. All // endpoints of Network Endpoint Group must be hosted on instances // located in the same zone as the Network Endpoint Group. // // Backend services cannot mix Instance Group and // Network Endpoint Group backends. // // When the 'load_balancing_scheme' is INTERNAL, only instance groups // are supported. // // Note that you must specify an Instance Group or Network Endpoint // Group resource using the fully-qualified URL, rather than a // partial URL. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#group ComputeRegionBackendService#group} Group *string `field:"required" json:"group" yaml:"group"` // Specifies the balancing mode for this backend. // // See the [Backend Services Overview](https://cloud.google.com/load-balancing/docs/backend-service#balancing-mode) // for an explanation of load balancing modes. Default value: "UTILIZATION" Possible values: ["UTILIZATION", "RATE", "CONNECTION"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#balancing_mode ComputeRegionBackendService#balancing_mode} BalancingMode *string `field:"optional" json:"balancingMode" yaml:"balancingMode"` // A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). // // ~>**NOTE**: This field cannot be set for // INTERNAL region backend services (default loadBalancingScheme), // but is required for non-INTERNAL backend service. The total // capacity_scaler for all backends must be non-zero. // // A setting of 0 means the group is completely drained, offering // 0% of its available Capacity. Valid range is [0.0,1.0]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#capacity_scaler ComputeRegionBackendService#capacity_scaler} CapacityScaler *float64 `field:"optional" json:"capacityScaler" yaml:"capacityScaler"` // An optional description of this resource. Provide this property when you create the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#description ComputeRegionBackendService#description} Description *string `field:"optional" json:"description" yaml:"description"` // This field designates whether this is a failover backend. // // More // than one failover backend can be configured for a given RegionBackendService. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#failover ComputeRegionBackendService#failover} Failover interface{} `field:"optional" json:"failover" yaml:"failover"` // The max number of simultaneous connections for the group. // // Can // be used with either CONNECTION or UTILIZATION balancing modes. // Cannot be set for INTERNAL backend services. // // For CONNECTION mode, either maxConnections or one // of maxConnectionsPerInstance or maxConnectionsPerEndpoint, // as appropriate for group type, must be set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_connections ComputeRegionBackendService#max_connections} MaxConnections *float64 `field:"optional" json:"maxConnections" yaml:"maxConnections"` // The max number of simultaneous connections that a single backend network endpoint can handle. Cannot be set for INTERNAL backend services. // // This is used to calculate the capacity of the group. Can be // used in either CONNECTION or UTILIZATION balancing modes. For // CONNECTION mode, either maxConnections or // maxConnectionsPerEndpoint must be set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_connections_per_endpoint ComputeRegionBackendService#max_connections_per_endpoint} MaxConnectionsPerEndpoint *float64 `field:"optional" json:"maxConnectionsPerEndpoint" yaml:"maxConnectionsPerEndpoint"` // The max number of simultaneous connections that a single backend instance can handle. Cannot be set for INTERNAL backend services. // // This is used to calculate the capacity of the group. // Can be used in either CONNECTION or UTILIZATION balancing modes. // For CONNECTION mode, either maxConnections or // maxConnectionsPerInstance must be set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_connections_per_instance ComputeRegionBackendService#max_connections_per_instance} MaxConnectionsPerInstance *float64 `field:"optional" json:"maxConnectionsPerInstance" yaml:"maxConnectionsPerInstance"` // The max requests per second (RPS) of the group. Cannot be set for INTERNAL backend services. // // Can be used with either RATE or UTILIZATION balancing modes, // but required if RATE mode. Either maxRate or one // of maxRatePerInstance or maxRatePerEndpoint, as appropriate for // group type, must be set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_rate ComputeRegionBackendService#max_rate} MaxRate *float64 `field:"optional" json:"maxRate" yaml:"maxRate"` // The max requests per second (RPS) that a single backend network endpoint can handle. // // This is used to calculate the capacity of // the group. Can be used in either balancing mode. For RATE mode, // either maxRate or maxRatePerEndpoint must be set. Cannot be set // for INTERNAL backend services. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_rate_per_endpoint ComputeRegionBackendService#max_rate_per_endpoint} MaxRatePerEndpoint *float64 `field:"optional" json:"maxRatePerEndpoint" yaml:"maxRatePerEndpoint"` // The max requests per second (RPS) that a single backend instance can handle. // // This is used to calculate the capacity of // the group. Can be used in either balancing mode. For RATE mode, // either maxRate or maxRatePerInstance must be set. Cannot be set // for INTERNAL backend services. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_rate_per_instance ComputeRegionBackendService#max_rate_per_instance} MaxRatePerInstance *float64 `field:"optional" json:"maxRatePerInstance" yaml:"maxRatePerInstance"` // Used when balancingMode is UTILIZATION. // // This ratio defines the // CPU utilization target for the group. Valid range is [0.0, 1.0]. // Cannot be set for INTERNAL backend services. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_utilization ComputeRegionBackendService#max_utilization} MaxUtilization *float64 `field:"optional" json:"maxUtilization" yaml:"maxUtilization"` }
type ComputeRegionBackendServiceBackendList ¶
type ComputeRegionBackendServiceBackendList 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) ComputeRegionBackendServiceBackendOutputReference // 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 NewComputeRegionBackendServiceBackendList ¶
func NewComputeRegionBackendServiceBackendList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeRegionBackendServiceBackendList
type ComputeRegionBackendServiceBackendOutputReference ¶
type ComputeRegionBackendServiceBackendOutputReference interface { cdktf.ComplexObject BalancingMode() *string SetBalancingMode(val *string) BalancingModeInput() *string CapacityScaler() *float64 SetCapacityScaler(val *float64) CapacityScalerInput() *float64 // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Description() *string SetDescription(val *string) DescriptionInput() *string Failover() interface{} SetFailover(val interface{}) FailoverInput() interface{} // Experimental. Fqn() *string Group() *string SetGroup(val *string) GroupInput() *string InternalValue() interface{} SetInternalValue(val interface{}) MaxConnections() *float64 SetMaxConnections(val *float64) MaxConnectionsInput() *float64 MaxConnectionsPerEndpoint() *float64 SetMaxConnectionsPerEndpoint(val *float64) MaxConnectionsPerEndpointInput() *float64 MaxConnectionsPerInstance() *float64 SetMaxConnectionsPerInstance(val *float64) MaxConnectionsPerInstanceInput() *float64 MaxRate() *float64 SetMaxRate(val *float64) MaxRateInput() *float64 MaxRatePerEndpoint() *float64 SetMaxRatePerEndpoint(val *float64) MaxRatePerEndpointInput() *float64 MaxRatePerInstance() *float64 SetMaxRatePerInstance(val *float64) MaxRatePerInstanceInput() *float64 MaxUtilization() *float64 SetMaxUtilization(val *float64) MaxUtilizationInput() *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 ResetBalancingMode() ResetCapacityScaler() ResetDescription() ResetFailover() ResetMaxConnections() ResetMaxConnectionsPerEndpoint() ResetMaxConnectionsPerInstance() ResetMaxRate() ResetMaxRatePerEndpoint() ResetMaxRatePerInstance() ResetMaxUtilization() // 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 NewComputeRegionBackendServiceBackendOutputReference ¶
func NewComputeRegionBackendServiceBackendOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeRegionBackendServiceBackendOutputReference
type ComputeRegionBackendServiceCdnPolicy ¶
type ComputeRegionBackendServiceCdnPolicy struct { // cache_key_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#cache_key_policy ComputeRegionBackendService#cache_key_policy} CacheKeyPolicy *ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy `field:"optional" json:"cacheKeyPolicy" yaml:"cacheKeyPolicy"` // Specifies the cache setting for all responses from this backend. // // The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC Possible values: ["USE_ORIGIN_HEADERS", "FORCE_CACHE_ALL", "CACHE_ALL_STATIC"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#cache_mode ComputeRegionBackendService#cache_mode} CacheMode *string `field:"optional" json:"cacheMode" yaml:"cacheMode"` // Specifies the maximum allowed TTL for cached content served by this origin. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#client_ttl ComputeRegionBackendService#client_ttl} ClientTtl *float64 `field:"optional" json:"clientTtl" yaml:"clientTtl"` // Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#default_ttl ComputeRegionBackendService#default_ttl} DefaultTtl *float64 `field:"optional" json:"defaultTtl" yaml:"defaultTtl"` // Specifies the maximum allowed TTL for cached content served by this origin. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_ttl ComputeRegionBackendService#max_ttl} MaxTtl *float64 `field:"optional" json:"maxTtl" yaml:"maxTtl"` // Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#negative_caching ComputeRegionBackendService#negative_caching} NegativeCaching interface{} `field:"optional" json:"negativeCaching" yaml:"negativeCaching"` // negative_caching_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#negative_caching_policy ComputeRegionBackendService#negative_caching_policy} NegativeCachingPolicy interface{} `field:"optional" json:"negativeCachingPolicy" yaml:"negativeCachingPolicy"` // Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#serve_while_stale ComputeRegionBackendService#serve_while_stale} ServeWhileStale *float64 `field:"optional" json:"serveWhileStale" yaml:"serveWhileStale"` // Maximum number of seconds the response to a signed URL request will be considered fresh, defaults to 1hr (3600s). // // After this // time period, the response will be revalidated before // being served. // // When serving responses to signed URL requests, Cloud CDN will // internally behave as though all responses from this backend had a // "Cache-Control: public, max-age=[TTL]" header, regardless of any // existing Cache-Control header. The actual headers served in // responses will not be altered. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#signed_url_cache_max_age_sec ComputeRegionBackendService#signed_url_cache_max_age_sec} SignedUrlCacheMaxAgeSec *float64 `field:"optional" json:"signedUrlCacheMaxAgeSec" yaml:"signedUrlCacheMaxAgeSec"` }
type ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy ¶
type ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy struct { // If true requests to different hosts will be cached separately. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#include_host ComputeRegionBackendService#include_host} IncludeHost interface{} `field:"optional" json:"includeHost" yaml:"includeHost"` // Names of cookies to include in cache keys. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#include_named_cookies ComputeRegionBackendService#include_named_cookies} IncludeNamedCookies *[]*string `field:"optional" json:"includeNamedCookies" yaml:"includeNamedCookies"` // If true, http and https requests will be cached separately. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#include_protocol ComputeRegionBackendService#include_protocol} IncludeProtocol interface{} `field:"optional" json:"includeProtocol" yaml:"includeProtocol"` // If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. // // If neither is set, the entire query // string will be included. // // If false, the query string will be excluded from the cache // key entirely. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#include_query_string ComputeRegionBackendService#include_query_string} IncludeQueryString interface{} `field:"optional" json:"includeQueryString" yaml:"includeQueryString"` // Names of query string parameters to exclude in cache keys. // // All other parameters will be included. Either specify // query_string_whitelist or query_string_blacklist, not both. // '&' and '=' will be percent encoded and not treated as // delimiters. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#query_string_blacklist ComputeRegionBackendService#query_string_blacklist} QueryStringBlacklist *[]*string `field:"optional" json:"queryStringBlacklist" yaml:"queryStringBlacklist"` // Names of query string parameters to include in cache keys. // // All other parameters will be excluded. Either specify // query_string_whitelist or query_string_blacklist, not both. // '&' and '=' will be percent encoded and not treated as // delimiters. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#query_string_whitelist ComputeRegionBackendService#query_string_whitelist} QueryStringWhitelist *[]*string `field:"optional" json:"queryStringWhitelist" yaml:"queryStringWhitelist"` }
type ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference ¶
type ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference 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 IncludeHost() interface{} SetIncludeHost(val interface{}) IncludeHostInput() interface{} IncludeNamedCookies() *[]*string SetIncludeNamedCookies(val *[]*string) IncludeNamedCookiesInput() *[]*string IncludeProtocol() interface{} SetIncludeProtocol(val interface{}) IncludeProtocolInput() interface{} IncludeQueryString() interface{} SetIncludeQueryString(val interface{}) IncludeQueryStringInput() interface{} InternalValue() *ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy SetInternalValue(val *ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy) QueryStringBlacklist() *[]*string SetQueryStringBlacklist(val *[]*string) QueryStringBlacklistInput() *[]*string QueryStringWhitelist() *[]*string SetQueryStringWhitelist(val *[]*string) QueryStringWhitelistInput() *[]*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 ResetIncludeHost() ResetIncludeNamedCookies() ResetIncludeProtocol() ResetIncludeQueryString() ResetQueryStringBlacklist() ResetQueryStringWhitelist() // 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 NewComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference ¶
func NewComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference
type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicy ¶
type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicy struct { // The HTTP status code to define a TTL against. // // Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501 // can be specified as values, and you cannot specify a status code more than once. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#code ComputeRegionBackendService#code} Code *float64 `field:"optional" json:"code" yaml:"code"` }
type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList ¶
type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList 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) ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference // 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 NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList ¶
func NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList
type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference ¶
type ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference interface { cdktf.ComplexObject Code() *float64 SetCode(val *float64) CodeInput() *float64 // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string 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 ResetCode() // 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 NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference ¶
func NewComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference
type ComputeRegionBackendServiceCdnPolicyOutputReference ¶
type ComputeRegionBackendServiceCdnPolicyOutputReference interface { cdktf.ComplexObject CacheKeyPolicy() ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference CacheKeyPolicyInput() *ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy CacheMode() *string SetCacheMode(val *string) CacheModeInput() *string ClientTtl() *float64 SetClientTtl(val *float64) ClientTtlInput() *float64 // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DefaultTtl() *float64 SetDefaultTtl(val *float64) DefaultTtlInput() *float64 // Experimental. Fqn() *string InternalValue() *ComputeRegionBackendServiceCdnPolicy SetInternalValue(val *ComputeRegionBackendServiceCdnPolicy) MaxTtl() *float64 SetMaxTtl(val *float64) MaxTtlInput() *float64 NegativeCaching() interface{} SetNegativeCaching(val interface{}) NegativeCachingInput() interface{} NegativeCachingPolicy() ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList NegativeCachingPolicyInput() interface{} ServeWhileStale() *float64 SetServeWhileStale(val *float64) ServeWhileStaleInput() *float64 SignedUrlCacheMaxAgeSec() *float64 SetSignedUrlCacheMaxAgeSec(val *float64) SignedUrlCacheMaxAgeSecInput() *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 PutCacheKeyPolicy(value *ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy) PutNegativeCachingPolicy(value interface{}) ResetCacheKeyPolicy() ResetCacheMode() ResetClientTtl() ResetDefaultTtl() ResetMaxTtl() ResetNegativeCaching() ResetNegativeCachingPolicy() ResetServeWhileStale() ResetSignedUrlCacheMaxAgeSec() // 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 NewComputeRegionBackendServiceCdnPolicyOutputReference ¶
func NewComputeRegionBackendServiceCdnPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceCdnPolicyOutputReference
type ComputeRegionBackendServiceCircuitBreakers ¶
type ComputeRegionBackendServiceCircuitBreakers struct { // The maximum number of connections to the backend cluster. Defaults to 1024. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_connections ComputeRegionBackendService#max_connections} MaxConnections *float64 `field:"optional" json:"maxConnections" yaml:"maxConnections"` // The maximum number of pending requests to the backend cluster. Defaults to 1024. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_pending_requests ComputeRegionBackendService#max_pending_requests} MaxPendingRequests *float64 `field:"optional" json:"maxPendingRequests" yaml:"maxPendingRequests"` // The maximum number of parallel requests to the backend cluster. Defaults to 1024. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_requests ComputeRegionBackendService#max_requests} MaxRequests *float64 `field:"optional" json:"maxRequests" yaml:"maxRequests"` // Maximum requests for a single backend connection. // // This parameter // is respected by both the HTTP/1.1 and HTTP/2 implementations. If // not specified, there is no limit. Setting this parameter to 1 // will effectively disable keep alive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_requests_per_connection ComputeRegionBackendService#max_requests_per_connection} MaxRequestsPerConnection *float64 `field:"optional" json:"maxRequestsPerConnection" yaml:"maxRequestsPerConnection"` // The maximum number of parallel retries to the backend cluster. Defaults to 3. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_retries ComputeRegionBackendService#max_retries} MaxRetries *float64 `field:"optional" json:"maxRetries" yaml:"maxRetries"` }
type ComputeRegionBackendServiceCircuitBreakersOutputReference ¶
type ComputeRegionBackendServiceCircuitBreakersOutputReference 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() *ComputeRegionBackendServiceCircuitBreakers SetInternalValue(val *ComputeRegionBackendServiceCircuitBreakers) MaxConnections() *float64 SetMaxConnections(val *float64) MaxConnectionsInput() *float64 MaxPendingRequests() *float64 SetMaxPendingRequests(val *float64) MaxPendingRequestsInput() *float64 MaxRequests() *float64 SetMaxRequests(val *float64) MaxRequestsInput() *float64 MaxRequestsPerConnection() *float64 SetMaxRequestsPerConnection(val *float64) MaxRequestsPerConnectionInput() *float64 MaxRetries() *float64 SetMaxRetries(val *float64) MaxRetriesInput() *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 ResetMaxConnections() ResetMaxPendingRequests() ResetMaxRequests() ResetMaxRequestsPerConnection() ResetMaxRetries() // 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 NewComputeRegionBackendServiceCircuitBreakersOutputReference ¶
func NewComputeRegionBackendServiceCircuitBreakersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceCircuitBreakersOutputReference
type ComputeRegionBackendServiceConfig ¶
type ComputeRegionBackendServiceConfig 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"` // Name of the resource. // // Provided by the client when the resource is // created. The name must be 1-63 characters long, and comply with // RFC1035. Specifically, the name must be 1-63 characters long and match // the regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' which means the // first character must be a lowercase letter, and all following // characters must be a dash, lowercase letter, or digit, except the last // character, which cannot be a dash. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#name ComputeRegionBackendService#name} Name *string `field:"required" json:"name" yaml:"name"` // Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. // // If set to 0, the cookie is non-persistent and lasts // only until the end of the browser session (or equivalent). The // maximum allowed value for TTL is one day. // // When the load balancing scheme is INTERNAL, this field is not used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#affinity_cookie_ttl_sec ComputeRegionBackendService#affinity_cookie_ttl_sec} AffinityCookieTtlSec *float64 `field:"optional" json:"affinityCookieTtlSec" yaml:"affinityCookieTtlSec"` // backend block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#backend ComputeRegionBackendService#backend} Backend interface{} `field:"optional" json:"backend" yaml:"backend"` // cdn_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#cdn_policy ComputeRegionBackendService#cdn_policy} CdnPolicy *ComputeRegionBackendServiceCdnPolicy `field:"optional" json:"cdnPolicy" yaml:"cdnPolicy"` // circuit_breakers block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#circuit_breakers ComputeRegionBackendService#circuit_breakers} CircuitBreakers *ComputeRegionBackendServiceCircuitBreakers `field:"optional" json:"circuitBreakers" yaml:"circuitBreakers"` // Time for which instance will be drained (not accept new connections, but still work to finish started). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#connection_draining_timeout_sec ComputeRegionBackendService#connection_draining_timeout_sec} ConnectionDrainingTimeoutSec *float64 `field:"optional" json:"connectionDrainingTimeoutSec" yaml:"connectionDrainingTimeoutSec"` // consistent_hash block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#consistent_hash ComputeRegionBackendService#consistent_hash} ConsistentHash *ComputeRegionBackendServiceConsistentHash `field:"optional" json:"consistentHash" yaml:"consistentHash"` // An optional description of this resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#description ComputeRegionBackendService#description} Description *string `field:"optional" json:"description" yaml:"description"` // If true, enable Cloud CDN for this RegionBackendService. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#enable_cdn ComputeRegionBackendService#enable_cdn} EnableCdn interface{} `field:"optional" json:"enableCdn" yaml:"enableCdn"` // failover_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#failover_policy ComputeRegionBackendService#failover_policy} FailoverPolicy *ComputeRegionBackendServiceFailoverPolicy `field:"optional" json:"failoverPolicy" yaml:"failoverPolicy"` // The set of URLs to HealthCheck resources for health checking this RegionBackendService. Currently at most one health check can be specified. // // A health check must be specified unless the backend service uses an internet // or serverless NEG as a backend. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#health_checks ComputeRegionBackendService#health_checks} HealthChecks *[]*string `field:"optional" json:"healthChecks" yaml:"healthChecks"` // iap block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#iap ComputeRegionBackendService#iap} Iap *ComputeRegionBackendServiceIap `field:"optional" json:"iap" yaml:"iap"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#id ComputeRegionBackendService#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"` // Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). // // Possible values: ["IPV4_ONLY", "PREFER_IPV6", "IPV6_ONLY"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#ip_address_selection_policy ComputeRegionBackendService#ip_address_selection_policy} IpAddressSelectionPolicy *string `field:"optional" json:"ipAddressSelectionPolicy" yaml:"ipAddressSelectionPolicy"` // Indicates what kind of load balancing this regional backend service will be used for. // // A backend service created for one type of load // balancing cannot be used with the other(s). For more information, refer to // [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service). Default value: "INTERNAL" Possible values: ["EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL", "INTERNAL_MANAGED"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#load_balancing_scheme ComputeRegionBackendService#load_balancing_scheme} LoadBalancingScheme *string `field:"optional" json:"loadBalancingScheme" yaml:"loadBalancingScheme"` // The load balancing algorithm used within the scope of the locality. The possible values are:. // // * 'ROUND_ROBIN': This is a simple policy in which each healthy backend // is selected in round robin order. // // * 'LEAST_REQUEST': An O(1) algorithm which selects two random healthy // hosts and picks the host which has fewer active requests. // // * 'RING_HASH': The ring/modulo hash load balancer implements consistent // hashing to backends. The algorithm has the property that the // addition/removal of a host from a set of N hosts only affects // 1/N of the requests. // // * 'RANDOM': The load balancer selects a random healthy host. // // * 'ORIGINAL_DESTINATION': Backend host is selected based on the client // connection metadata, i.e., connections are opened // to the same address as the destination address of // the incoming connection before the connection // was redirected to the load balancer. // // * 'MAGLEV': used as a drop in replacement for the ring hash load balancer. // Maglev is not as stable as ring hash but has faster table lookup // build times and host selection times. For more information about // Maglev, refer to https://ai.google/research/pubs/pub44824 // // * 'WEIGHTED_MAGLEV': Per-instance weighted Load Balancing via health check // reported weights. Only applicable to loadBalancingScheme // EXTERNAL. If set, the Backend Service must // configure a non legacy HTTP-based Health Check, and // health check replies are expected to contain // non-standard HTTP response header field // X-Load-Balancing-Endpoint-Weight to specify the // per-instance weights. If set, Load Balancing is weight // based on the per-instance weights reported in the last // processed health check replies, as long as every // instance either reported a valid weight or had // UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains // equal-weight. // // locality_lb_policy is applicable to either: // // * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, // and loadBalancingScheme set to INTERNAL_MANAGED. // * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. // * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network // Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External // Network Load Balancing. The default is MAGLEV. // // If session_affinity is not NONE, and locality_lb_policy is not set to MAGLEV, WEIGHTED_MAGLEV, // or RING_HASH, session affinity settings will not take effect. // // Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced // by a URL map that is bound to target gRPC proxy that has validate_for_proxyless // field set to true. Possible values: ["ROUND_ROBIN", "LEAST_REQUEST", "RING_HASH", "RANDOM", "ORIGINAL_DESTINATION", "MAGLEV", "WEIGHTED_MAGLEV"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#locality_lb_policy ComputeRegionBackendService#locality_lb_policy} LocalityLbPolicy *string `field:"optional" json:"localityLbPolicy" yaml:"localityLbPolicy"` // log_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#log_config ComputeRegionBackendService#log_config} LogConfig *ComputeRegionBackendServiceLogConfig `field:"optional" json:"logConfig" yaml:"logConfig"` // The URL of the network to which this backend service belongs. // // This field can only be specified when the load balancing scheme is set to INTERNAL. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#network ComputeRegionBackendService#network} Network *string `field:"optional" json:"network" yaml:"network"` // outlier_detection block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#outlier_detection ComputeRegionBackendService#outlier_detection} OutlierDetection *ComputeRegionBackendServiceOutlierDetection `field:"optional" json:"outlierDetection" yaml:"outlierDetection"` // A named port on a backend instance group representing the port for communication to the backend VMs in that group. // // Required when the // loadBalancingScheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED // and the backends are instance groups. The named port must be defined on each // backend instance group. This parameter has no meaning if the backends are NEGs. API sets a // default of "http" if not given. // Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Balancing). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#port_name ComputeRegionBackendService#port_name} PortName *string `field:"optional" json:"portName" yaml:"portName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#project ComputeRegionBackendService#project}. Project *string `field:"optional" json:"project" yaml:"project"` // The protocol this RegionBackendService uses to communicate with backends. // // The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer // types and may result in errors if used with the GA API. Possible values: ["HTTP", "HTTPS", "HTTP2", "SSL", "TCP", "UDP", "GRPC", "UNSPECIFIED"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#protocol ComputeRegionBackendService#protocol} Protocol *string `field:"optional" json:"protocol" yaml:"protocol"` // The Region in which the created backend service should reside. If it is not provided, the provider region is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#region ComputeRegionBackendService#region} Region *string `field:"optional" json:"region" yaml:"region"` // Type of session affinity to use. // // The default is NONE. Session affinity is // not applicable if the protocol is UDP. Possible values: ["NONE", "CLIENT_IP", "CLIENT_IP_PORT_PROTO", "CLIENT_IP_PROTO", "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", "CLIENT_IP_NO_DESTINATION", "STRONG_COOKIE_AFFINITY"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#session_affinity ComputeRegionBackendService#session_affinity} SessionAffinity *string `field:"optional" json:"sessionAffinity" yaml:"sessionAffinity"` // strong_session_affinity_cookie block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#strong_session_affinity_cookie ComputeRegionBackendService#strong_session_affinity_cookie} StrongSessionAffinityCookie *ComputeRegionBackendServiceStrongSessionAffinityCookie `field:"optional" json:"strongSessionAffinityCookie" yaml:"strongSessionAffinityCookie"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#timeouts ComputeRegionBackendService#timeouts} Timeouts *ComputeRegionBackendServiceTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // The backend service timeout has a different meaning depending on the type of load balancer. // // For more information see, [Backend service settings](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices). // The default is 30 seconds. // The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#timeout_sec ComputeRegionBackendService#timeout_sec} TimeoutSec *float64 `field:"optional" json:"timeoutSec" yaml:"timeoutSec"` }
type ComputeRegionBackendServiceConsistentHash ¶
type ComputeRegionBackendServiceConsistentHash struct { // http_cookie block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#http_cookie ComputeRegionBackendService#http_cookie} HttpCookie *ComputeRegionBackendServiceConsistentHashHttpCookie `field:"optional" json:"httpCookie" yaml:"httpCookie"` // The hash based on the value of the specified header field. // // This field is applicable if the sessionAffinity is set to HEADER_FIELD. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#http_header_name ComputeRegionBackendService#http_header_name} HttpHeaderName *string `field:"optional" json:"httpHeaderName" yaml:"httpHeaderName"` // The minimum number of virtual nodes to use for the hash ring. // // Larger ring sizes result in more granular load // distributions. If the number of hosts in the load balancing pool // is larger than the ring size, each host will be assigned a single // virtual node. // Defaults to 1024. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#minimum_ring_size ComputeRegionBackendService#minimum_ring_size} MinimumRingSize *float64 `field:"optional" json:"minimumRingSize" yaml:"minimumRingSize"` }
type ComputeRegionBackendServiceConsistentHashHttpCookie ¶
type ComputeRegionBackendServiceConsistentHashHttpCookie struct { // Name of the cookie. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#name ComputeRegionBackendService#name} Name *string `field:"optional" json:"name" yaml:"name"` // Path to set for the cookie. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#path ComputeRegionBackendService#path} Path *string `field:"optional" json:"path" yaml:"path"` // ttl block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#ttl ComputeRegionBackendService#ttl} Ttl *ComputeRegionBackendServiceConsistentHashHttpCookieTtl `field:"optional" json:"ttl" yaml:"ttl"` }
type ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference ¶
type ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference 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() *ComputeRegionBackendServiceConsistentHashHttpCookie SetInternalValue(val *ComputeRegionBackendServiceConsistentHashHttpCookie) Name() *string SetName(val *string) NameInput() *string Path() *string SetPath(val *string) PathInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Ttl() ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference TtlInput() *ComputeRegionBackendServiceConsistentHashHttpCookieTtl // 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 PutTtl(value *ComputeRegionBackendServiceConsistentHashHttpCookieTtl) ResetName() ResetPath() 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 NewComputeRegionBackendServiceConsistentHashHttpCookieOutputReference ¶
func NewComputeRegionBackendServiceConsistentHashHttpCookieOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference
type ComputeRegionBackendServiceConsistentHashHttpCookieTtl ¶
type ComputeRegionBackendServiceConsistentHashHttpCookieTtl struct { // Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#seconds ComputeRegionBackendService#seconds} Seconds *float64 `field:"required" json:"seconds" yaml:"seconds"` // Span of time that's a fraction of a second at nanosecond resolution. // // Durations less than one second are represented // with a 0 seconds field and a positive nanos field. Must // be from 0 to 999,999,999 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#nanos ComputeRegionBackendService#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference ¶
type ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference 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() *ComputeRegionBackendServiceConsistentHashHttpCookieTtl SetInternalValue(val *ComputeRegionBackendServiceConsistentHashHttpCookieTtl) Nanos() *float64 SetNanos(val *float64) NanosInput() *float64 Seconds() *float64 SetSeconds(val *float64) SecondsInput() *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 ResetNanos() // 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 NewComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference ¶
func NewComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference
type ComputeRegionBackendServiceConsistentHashOutputReference ¶
type ComputeRegionBackendServiceConsistentHashOutputReference 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 HttpCookie() ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference HttpCookieInput() *ComputeRegionBackendServiceConsistentHashHttpCookie HttpHeaderName() *string SetHttpHeaderName(val *string) HttpHeaderNameInput() *string InternalValue() *ComputeRegionBackendServiceConsistentHash SetInternalValue(val *ComputeRegionBackendServiceConsistentHash) MinimumRingSize() *float64 SetMinimumRingSize(val *float64) MinimumRingSizeInput() *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 PutHttpCookie(value *ComputeRegionBackendServiceConsistentHashHttpCookie) ResetHttpCookie() ResetHttpHeaderName() ResetMinimumRingSize() // 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 NewComputeRegionBackendServiceConsistentHashOutputReference ¶
func NewComputeRegionBackendServiceConsistentHashOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceConsistentHashOutputReference
type ComputeRegionBackendServiceFailoverPolicy ¶
type ComputeRegionBackendServiceFailoverPolicy struct { // On failover or failback, this field indicates whether connection drain will be honored. // // Setting this to true has the following effect: connections // to the old active pool are not drained. Connections to the new active pool // use the timeout of 10 min (currently fixed). Setting to false has the // following effect: both old and new connections will have a drain timeout // of 10 min. // This can be set to true only if the protocol is TCP. // The default is false. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#disable_connection_drain_on_failover ComputeRegionBackendService#disable_connection_drain_on_failover} DisableConnectionDrainOnFailover interface{} `field:"optional" json:"disableConnectionDrainOnFailover" yaml:"disableConnectionDrainOnFailover"` // This option is used only when no healthy VMs are detected in the primary and backup instance groups. // // When set to true, traffic is dropped. When // set to false, new connections are sent across all VMs in the primary group. // The default is false. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#drop_traffic_if_unhealthy ComputeRegionBackendService#drop_traffic_if_unhealthy} DropTrafficIfUnhealthy interface{} `field:"optional" json:"dropTrafficIfUnhealthy" yaml:"dropTrafficIfUnhealthy"` // The value of the field must be in [0, 1]. // // If the ratio of the healthy // VMs in the primary backend is at or below this number, traffic arriving // at the load-balanced IP will be directed to the failover backend. // In case where 'failoverRatio' is not set or all the VMs in the backup // backend are unhealthy, the traffic will be directed back to the primary // backend in the "force" mode, where traffic will be spread to the healthy // VMs with the best effort, or to all VMs when no VM is healthy. // This field is only used with l4 load balancing. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#failover_ratio ComputeRegionBackendService#failover_ratio} FailoverRatio *float64 `field:"optional" json:"failoverRatio" yaml:"failoverRatio"` }
type ComputeRegionBackendServiceFailoverPolicyOutputReference ¶
type ComputeRegionBackendServiceFailoverPolicyOutputReference 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 DisableConnectionDrainOnFailover() interface{} SetDisableConnectionDrainOnFailover(val interface{}) DisableConnectionDrainOnFailoverInput() interface{} DropTrafficIfUnhealthy() interface{} SetDropTrafficIfUnhealthy(val interface{}) DropTrafficIfUnhealthyInput() interface{} FailoverRatio() *float64 SetFailoverRatio(val *float64) FailoverRatioInput() *float64 // Experimental. Fqn() *string InternalValue() *ComputeRegionBackendServiceFailoverPolicy SetInternalValue(val *ComputeRegionBackendServiceFailoverPolicy) // 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 ResetDisableConnectionDrainOnFailover() ResetDropTrafficIfUnhealthy() ResetFailoverRatio() // 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 NewComputeRegionBackendServiceFailoverPolicyOutputReference ¶
func NewComputeRegionBackendServiceFailoverPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceFailoverPolicyOutputReference
type ComputeRegionBackendServiceIap ¶
type ComputeRegionBackendServiceIap struct { // Whether the serving infrastructure will authenticate and authorize all incoming requests. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#enabled ComputeRegionBackendService#enabled} Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` // OAuth2 Client ID for IAP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#oauth2_client_id ComputeRegionBackendService#oauth2_client_id} Oauth2ClientId *string `field:"optional" json:"oauth2ClientId" yaml:"oauth2ClientId"` // OAuth2 Client Secret for IAP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#oauth2_client_secret ComputeRegionBackendService#oauth2_client_secret} Oauth2ClientSecret *string `field:"optional" json:"oauth2ClientSecret" yaml:"oauth2ClientSecret"` }
type ComputeRegionBackendServiceIapOutputReference ¶
type ComputeRegionBackendServiceIapOutputReference 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 Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeRegionBackendServiceIap SetInternalValue(val *ComputeRegionBackendServiceIap) Oauth2ClientId() *string SetOauth2ClientId(val *string) Oauth2ClientIdInput() *string Oauth2ClientSecret() *string SetOauth2ClientSecret(val *string) Oauth2ClientSecretInput() *string Oauth2ClientSecretSha256() *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 ResetOauth2ClientId() ResetOauth2ClientSecret() // 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 NewComputeRegionBackendServiceIapOutputReference ¶
func NewComputeRegionBackendServiceIapOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceIapOutputReference
type ComputeRegionBackendServiceLogConfig ¶
type ComputeRegionBackendServiceLogConfig struct { // Whether to enable logging for the load balancer traffic served by this backend service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#enable ComputeRegionBackendService#enable} Enable interface{} `field:"optional" json:"enable" yaml:"enable"` // This field can only be specified if logging is enabled for this backend service. // // The value of // the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer // where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. // The default value is 1.0. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#sample_rate ComputeRegionBackendService#sample_rate} SampleRate *float64 `field:"optional" json:"sampleRate" yaml:"sampleRate"` }
type ComputeRegionBackendServiceLogConfigOutputReference ¶
type ComputeRegionBackendServiceLogConfigOutputReference 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 Enable() interface{} SetEnable(val interface{}) EnableInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeRegionBackendServiceLogConfig SetInternalValue(val *ComputeRegionBackendServiceLogConfig) SampleRate() *float64 SetSampleRate(val *float64) SampleRateInput() *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 ResetEnable() ResetSampleRate() // 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 NewComputeRegionBackendServiceLogConfigOutputReference ¶
func NewComputeRegionBackendServiceLogConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceLogConfigOutputReference
type ComputeRegionBackendServiceOutlierDetection ¶
type ComputeRegionBackendServiceOutlierDetection struct { // base_ejection_time block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#base_ejection_time ComputeRegionBackendService#base_ejection_time} BaseEjectionTime *ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime `field:"optional" json:"baseEjectionTime" yaml:"baseEjectionTime"` // Number of errors before a host is ejected from the connection pool. // // When the // backend host is accessed over HTTP, a 5xx return code qualifies as an error. // Defaults to 5. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#consecutive_errors ComputeRegionBackendService#consecutive_errors} ConsecutiveErrors *float64 `field:"optional" json:"consecutiveErrors" yaml:"consecutiveErrors"` // The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. // // Defaults to 5. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#consecutive_gateway_failure ComputeRegionBackendService#consecutive_gateway_failure} ConsecutiveGatewayFailure *float64 `field:"optional" json:"consecutiveGatewayFailure" yaml:"consecutiveGatewayFailure"` // The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. // // This setting can be used to disable // ejection or to ramp it up slowly. Defaults to 100. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#enforcing_consecutive_errors ComputeRegionBackendService#enforcing_consecutive_errors} EnforcingConsecutiveErrors *float64 `field:"optional" json:"enforcingConsecutiveErrors" yaml:"enforcingConsecutiveErrors"` // The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. // // This setting can be // used to disable ejection or to ramp it up slowly. Defaults to 0. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#enforcing_consecutive_gateway_failure ComputeRegionBackendService#enforcing_consecutive_gateway_failure} EnforcingConsecutiveGatewayFailure *float64 `field:"optional" json:"enforcingConsecutiveGatewayFailure" yaml:"enforcingConsecutiveGatewayFailure"` // The percentage chance that a host will be actually ejected when an outlier status is detected through success rate statistics. // // This setting can be used to // disable ejection or to ramp it up slowly. Defaults to 100. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#enforcing_success_rate ComputeRegionBackendService#enforcing_success_rate} EnforcingSuccessRate *float64 `field:"optional" json:"enforcingSuccessRate" yaml:"enforcingSuccessRate"` // interval block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#interval ComputeRegionBackendService#interval} Interval *ComputeRegionBackendServiceOutlierDetectionInterval `field:"optional" json:"interval" yaml:"interval"` // Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 10%. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#max_ejection_percent ComputeRegionBackendService#max_ejection_percent} MaxEjectionPercent *float64 `field:"optional" json:"maxEjectionPercent" yaml:"maxEjectionPercent"` // The number of hosts in a cluster that must have enough request volume to detect success rate outliers. // // If the number of hosts is less than this setting, outlier // detection via success rate statistics is not performed for any host in the // cluster. Defaults to 5. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#success_rate_minimum_hosts ComputeRegionBackendService#success_rate_minimum_hosts} SuccessRateMinimumHosts *float64 `field:"optional" json:"successRateMinimumHosts" yaml:"successRateMinimumHosts"` // The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. // // If the volume is lower than this setting, outlier // detection via success rate statistics is not performed for that host. Defaults // to 100. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#success_rate_request_volume ComputeRegionBackendService#success_rate_request_volume} SuccessRateRequestVolume *float64 `field:"optional" json:"successRateRequestVolume" yaml:"successRateRequestVolume"` // This factor is used to determine the ejection threshold for success rate outlier ejection. // // The ejection threshold is the difference between the mean success // rate, and the product of this factor and the standard deviation of the mean // success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided // by a thousand to get a double. That is, if the desired factor is 1.9, the // runtime value should be 1900. Defaults to 1900. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#success_rate_stdev_factor ComputeRegionBackendService#success_rate_stdev_factor} SuccessRateStdevFactor *float64 `field:"optional" json:"successRateStdevFactor" yaml:"successRateStdevFactor"` }
type ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime ¶
type ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime struct { // Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#seconds ComputeRegionBackendService#seconds} Seconds *float64 `field:"required" json:"seconds" yaml:"seconds"` // Span of time that's a fraction of a second at nanosecond resolution. // // Durations // less than one second are represented with a 0 'seconds' field and a positive // 'nanos' field. Must be from 0 to 999,999,999 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#nanos ComputeRegionBackendService#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference ¶
type ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference 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() *ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime SetInternalValue(val *ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime) Nanos() *float64 SetNanos(val *float64) NanosInput() *float64 Seconds() *float64 SetSeconds(val *float64) SecondsInput() *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 ResetNanos() // 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 NewComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference ¶
func NewComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference
type ComputeRegionBackendServiceOutlierDetectionInterval ¶
type ComputeRegionBackendServiceOutlierDetectionInterval struct { // Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#seconds ComputeRegionBackendService#seconds} Seconds *float64 `field:"required" json:"seconds" yaml:"seconds"` // Span of time that's a fraction of a second at nanosecond resolution. // // Durations // less than one second are represented with a 0 'seconds' field and a positive // 'nanos' field. Must be from 0 to 999,999,999 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#nanos ComputeRegionBackendService#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference ¶
type ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference 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() *ComputeRegionBackendServiceOutlierDetectionInterval SetInternalValue(val *ComputeRegionBackendServiceOutlierDetectionInterval) Nanos() *float64 SetNanos(val *float64) NanosInput() *float64 Seconds() *float64 SetSeconds(val *float64) SecondsInput() *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 ResetNanos() // 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 NewComputeRegionBackendServiceOutlierDetectionIntervalOutputReference ¶
func NewComputeRegionBackendServiceOutlierDetectionIntervalOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference
type ComputeRegionBackendServiceOutlierDetectionOutputReference ¶
type ComputeRegionBackendServiceOutlierDetectionOutputReference interface { cdktf.ComplexObject BaseEjectionTime() ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference BaseEjectionTimeInput() *ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime // 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) ConsecutiveErrors() *float64 SetConsecutiveErrors(val *float64) ConsecutiveErrorsInput() *float64 ConsecutiveGatewayFailure() *float64 SetConsecutiveGatewayFailure(val *float64) ConsecutiveGatewayFailureInput() *float64 // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string EnforcingConsecutiveErrors() *float64 SetEnforcingConsecutiveErrors(val *float64) EnforcingConsecutiveErrorsInput() *float64 EnforcingConsecutiveGatewayFailure() *float64 SetEnforcingConsecutiveGatewayFailure(val *float64) EnforcingConsecutiveGatewayFailureInput() *float64 EnforcingSuccessRate() *float64 SetEnforcingSuccessRate(val *float64) EnforcingSuccessRateInput() *float64 // Experimental. Fqn() *string InternalValue() *ComputeRegionBackendServiceOutlierDetection SetInternalValue(val *ComputeRegionBackendServiceOutlierDetection) Interval() ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference IntervalInput() *ComputeRegionBackendServiceOutlierDetectionInterval MaxEjectionPercent() *float64 SetMaxEjectionPercent(val *float64) MaxEjectionPercentInput() *float64 SuccessRateMinimumHosts() *float64 SetSuccessRateMinimumHosts(val *float64) SuccessRateMinimumHostsInput() *float64 SuccessRateRequestVolume() *float64 SetSuccessRateRequestVolume(val *float64) SuccessRateRequestVolumeInput() *float64 SuccessRateStdevFactor() *float64 SetSuccessRateStdevFactor(val *float64) SuccessRateStdevFactorInput() *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 PutBaseEjectionTime(value *ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime) PutInterval(value *ComputeRegionBackendServiceOutlierDetectionInterval) ResetBaseEjectionTime() ResetConsecutiveErrors() ResetConsecutiveGatewayFailure() ResetEnforcingConsecutiveErrors() ResetEnforcingConsecutiveGatewayFailure() ResetEnforcingSuccessRate() ResetInterval() ResetMaxEjectionPercent() ResetSuccessRateMinimumHosts() ResetSuccessRateRequestVolume() ResetSuccessRateStdevFactor() // 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 NewComputeRegionBackendServiceOutlierDetectionOutputReference ¶
func NewComputeRegionBackendServiceOutlierDetectionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceOutlierDetectionOutputReference
type ComputeRegionBackendServiceStrongSessionAffinityCookie ¶ added in v14.5.0
type ComputeRegionBackendServiceStrongSessionAffinityCookie struct { // Name of the cookie. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#name ComputeRegionBackendService#name} Name *string `field:"optional" json:"name" yaml:"name"` // Path to set for the cookie. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#path ComputeRegionBackendService#path} Path *string `field:"optional" json:"path" yaml:"path"` // ttl block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#ttl ComputeRegionBackendService#ttl} Ttl *ComputeRegionBackendServiceStrongSessionAffinityCookieTtl `field:"optional" json:"ttl" yaml:"ttl"` }
type ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference ¶ added in v14.5.0
type ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference 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() *ComputeRegionBackendServiceStrongSessionAffinityCookie SetInternalValue(val *ComputeRegionBackendServiceStrongSessionAffinityCookie) Name() *string SetName(val *string) NameInput() *string Path() *string SetPath(val *string) PathInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Ttl() ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference TtlInput() *ComputeRegionBackendServiceStrongSessionAffinityCookieTtl // 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 PutTtl(value *ComputeRegionBackendServiceStrongSessionAffinityCookieTtl) ResetName() ResetPath() 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 NewComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference ¶ added in v14.5.0
func NewComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference
type ComputeRegionBackendServiceStrongSessionAffinityCookieTtl ¶ added in v14.5.0
type ComputeRegionBackendServiceStrongSessionAffinityCookieTtl struct { // Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#seconds ComputeRegionBackendService#seconds} Seconds *float64 `field:"required" json:"seconds" yaml:"seconds"` // Span of time that's a fraction of a second at nanosecond resolution. // // Durations less than one second are represented // with a 0 seconds field and a positive nanos field. Must // be from 0 to 999,999,999 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#nanos ComputeRegionBackendService#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference ¶ added in v14.5.0
type ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference 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() *ComputeRegionBackendServiceStrongSessionAffinityCookieTtl SetInternalValue(val *ComputeRegionBackendServiceStrongSessionAffinityCookieTtl) Nanos() *float64 SetNanos(val *float64) NanosInput() *float64 Seconds() *float64 SetSeconds(val *float64) SecondsInput() *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 ResetNanos() // 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 NewComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference ¶ added in v14.5.0
func NewComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference
type ComputeRegionBackendServiceTimeouts ¶
type ComputeRegionBackendServiceTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#create ComputeRegionBackendService#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#delete ComputeRegionBackendService#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/compute_region_backend_service#update ComputeRegionBackendService#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeRegionBackendServiceTimeoutsOutputReference ¶
type ComputeRegionBackendServiceTimeoutsOutputReference 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) Create() *string SetCreate(val *string) CreateInput() *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 Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *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 ResetCreate() ResetDelete() ResetUpdate() // 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 NewComputeRegionBackendServiceTimeoutsOutputReference ¶
func NewComputeRegionBackendServiceTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeRegionBackendServiceTimeoutsOutputReference
Source Files ¶
- ComputeRegionBackendService.go
- ComputeRegionBackendServiceBackend.go
- ComputeRegionBackendServiceBackendList.go
- ComputeRegionBackendServiceBackendList__checks.go
- ComputeRegionBackendServiceBackendOutputReference.go
- ComputeRegionBackendServiceBackendOutputReference__checks.go
- ComputeRegionBackendServiceCdnPolicy.go
- ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy.go
- ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference.go
- ComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference__checks.go
- ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicy.go
- ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList.go
- ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList__checks.go
- ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference.go
- ComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference__checks.go
- ComputeRegionBackendServiceCdnPolicyOutputReference.go
- ComputeRegionBackendServiceCdnPolicyOutputReference__checks.go
- ComputeRegionBackendServiceCircuitBreakers.go
- ComputeRegionBackendServiceCircuitBreakersOutputReference.go
- ComputeRegionBackendServiceCircuitBreakersOutputReference__checks.go
- ComputeRegionBackendServiceConfig.go
- ComputeRegionBackendServiceConsistentHash.go
- ComputeRegionBackendServiceConsistentHashHttpCookie.go
- ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference.go
- ComputeRegionBackendServiceConsistentHashHttpCookieOutputReference__checks.go
- ComputeRegionBackendServiceConsistentHashHttpCookieTtl.go
- ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference.go
- ComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference__checks.go
- ComputeRegionBackendServiceConsistentHashOutputReference.go
- ComputeRegionBackendServiceConsistentHashOutputReference__checks.go
- ComputeRegionBackendServiceFailoverPolicy.go
- ComputeRegionBackendServiceFailoverPolicyOutputReference.go
- ComputeRegionBackendServiceFailoverPolicyOutputReference__checks.go
- ComputeRegionBackendServiceIap.go
- ComputeRegionBackendServiceIapOutputReference.go
- ComputeRegionBackendServiceIapOutputReference__checks.go
- ComputeRegionBackendServiceLogConfig.go
- ComputeRegionBackendServiceLogConfigOutputReference.go
- ComputeRegionBackendServiceLogConfigOutputReference__checks.go
- ComputeRegionBackendServiceOutlierDetection.go
- ComputeRegionBackendServiceOutlierDetectionBaseEjectionTime.go
- ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference.go
- ComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference__checks.go
- ComputeRegionBackendServiceOutlierDetectionInterval.go
- ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference.go
- ComputeRegionBackendServiceOutlierDetectionIntervalOutputReference__checks.go
- ComputeRegionBackendServiceOutlierDetectionOutputReference.go
- ComputeRegionBackendServiceOutlierDetectionOutputReference__checks.go
- ComputeRegionBackendServiceStrongSessionAffinityCookie.go
- ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference.go
- ComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference__checks.go
- ComputeRegionBackendServiceStrongSessionAffinityCookieTtl.go
- ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference.go
- ComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference__checks.go
- ComputeRegionBackendServiceTimeouts.go
- ComputeRegionBackendServiceTimeoutsOutputReference.go
- ComputeRegionBackendServiceTimeoutsOutputReference__checks.go
- ComputeRegionBackendService__checks.go
- main.go