Documentation ¶
Index ¶
- func ComputeBackendService_IsConstruct(x interface{}) *bool
- func ComputeBackendService_IsTerraformElement(x interface{}) *bool
- func ComputeBackendService_IsTerraformResource(x interface{}) *bool
- func ComputeBackendService_TfResourceType() *string
- func NewComputeBackendServiceBackendList_Override(c ComputeBackendServiceBackendList, ...)
- func NewComputeBackendServiceBackendOutputReference_Override(c ComputeBackendServiceBackendOutputReference, ...)
- func NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList_Override(c ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList, ...)
- func NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override(c ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference, ...)
- func NewComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override(c ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference, ...)
- func NewComputeBackendServiceCdnPolicyNegativeCachingPolicyList_Override(c ComputeBackendServiceCdnPolicyNegativeCachingPolicyList, ...)
- func NewComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override(c ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference, ...)
- func NewComputeBackendServiceCdnPolicyOutputReference_Override(c ComputeBackendServiceCdnPolicyOutputReference, ...)
- func NewComputeBackendServiceCircuitBreakersOutputReference_Override(c ComputeBackendServiceCircuitBreakersOutputReference, ...)
- func NewComputeBackendServiceConsistentHashHttpCookieOutputReference_Override(c ComputeBackendServiceConsistentHashHttpCookieOutputReference, ...)
- func NewComputeBackendServiceConsistentHashHttpCookieTtlOutputReference_Override(c ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference, ...)
- func NewComputeBackendServiceConsistentHashOutputReference_Override(c ComputeBackendServiceConsistentHashOutputReference, ...)
- func NewComputeBackendServiceIapOutputReference_Override(c ComputeBackendServiceIapOutputReference, ...)
- func NewComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference_Override(c ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference, ...)
- func NewComputeBackendServiceLocalityLbPoliciesList_Override(c ComputeBackendServiceLocalityLbPoliciesList, ...)
- func NewComputeBackendServiceLocalityLbPoliciesOutputReference_Override(c ComputeBackendServiceLocalityLbPoliciesOutputReference, ...)
- func NewComputeBackendServiceLocalityLbPoliciesPolicyOutputReference_Override(c ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference, ...)
- func NewComputeBackendServiceLogConfigOutputReference_Override(c ComputeBackendServiceLogConfigOutputReference, ...)
- func NewComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override(c ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference, ...)
- func NewComputeBackendServiceOutlierDetectionIntervalOutputReference_Override(c ComputeBackendServiceOutlierDetectionIntervalOutputReference, ...)
- func NewComputeBackendServiceOutlierDetectionOutputReference_Override(c ComputeBackendServiceOutlierDetectionOutputReference, ...)
- func NewComputeBackendServiceSecuritySettingsOutputReference_Override(c ComputeBackendServiceSecuritySettingsOutputReference, ...)
- func NewComputeBackendServiceTimeoutsOutputReference_Override(c ComputeBackendServiceTimeoutsOutputReference, ...)
- func NewComputeBackendService_Override(c ComputeBackendService, scope constructs.Construct, id *string, ...)
- type ComputeBackendService
- type ComputeBackendServiceBackend
- type ComputeBackendServiceBackendList
- type ComputeBackendServiceBackendOutputReference
- type ComputeBackendServiceCdnPolicy
- type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeaders
- type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList
- type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference
- type ComputeBackendServiceCdnPolicyCacheKeyPolicy
- type ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference
- type ComputeBackendServiceCdnPolicyNegativeCachingPolicy
- type ComputeBackendServiceCdnPolicyNegativeCachingPolicyList
- type ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference
- type ComputeBackendServiceCdnPolicyOutputReference
- type ComputeBackendServiceCircuitBreakers
- type ComputeBackendServiceCircuitBreakersOutputReference
- type ComputeBackendServiceConfig
- type ComputeBackendServiceConsistentHash
- type ComputeBackendServiceConsistentHashHttpCookie
- type ComputeBackendServiceConsistentHashHttpCookieOutputReference
- type ComputeBackendServiceConsistentHashHttpCookieTtl
- type ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference
- type ComputeBackendServiceConsistentHashOutputReference
- type ComputeBackendServiceIap
- type ComputeBackendServiceIapOutputReference
- type ComputeBackendServiceLocalityLbPolicies
- type ComputeBackendServiceLocalityLbPoliciesCustomPolicy
- type ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference
- type ComputeBackendServiceLocalityLbPoliciesList
- type ComputeBackendServiceLocalityLbPoliciesOutputReference
- type ComputeBackendServiceLocalityLbPoliciesPolicy
- type ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference
- type ComputeBackendServiceLogConfig
- type ComputeBackendServiceLogConfigOutputReference
- type ComputeBackendServiceOutlierDetection
- type ComputeBackendServiceOutlierDetectionBaseEjectionTime
- type ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference
- type ComputeBackendServiceOutlierDetectionInterval
- type ComputeBackendServiceOutlierDetectionIntervalOutputReference
- type ComputeBackendServiceOutlierDetectionOutputReference
- type ComputeBackendServiceSecuritySettings
- type ComputeBackendServiceSecuritySettingsOutputReference
- type ComputeBackendServiceTimeouts
- type ComputeBackendServiceTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeBackendService_IsConstruct ¶
func ComputeBackendService_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 ComputeBackendService_IsTerraformElement ¶
func ComputeBackendService_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeBackendService_IsTerraformResource ¶
func ComputeBackendService_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeBackendService_TfResourceType ¶
func ComputeBackendService_TfResourceType() *string
func NewComputeBackendServiceBackendList_Override ¶
func NewComputeBackendServiceBackendList_Override(c ComputeBackendServiceBackendList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeBackendServiceBackendOutputReference_Override ¶
func NewComputeBackendServiceBackendOutputReference_Override(c ComputeBackendServiceBackendOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList_Override ¶
func NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList_Override(c ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override ¶
func NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override(c ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override ¶
func NewComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override(c ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceCdnPolicyNegativeCachingPolicyList_Override ¶
func NewComputeBackendServiceCdnPolicyNegativeCachingPolicyList_Override(c ComputeBackendServiceCdnPolicyNegativeCachingPolicyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override ¶
func NewComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override(c ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeBackendServiceCdnPolicyOutputReference_Override ¶
func NewComputeBackendServiceCdnPolicyOutputReference_Override(c ComputeBackendServiceCdnPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceCircuitBreakersOutputReference_Override ¶
func NewComputeBackendServiceCircuitBreakersOutputReference_Override(c ComputeBackendServiceCircuitBreakersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceConsistentHashHttpCookieOutputReference_Override ¶
func NewComputeBackendServiceConsistentHashHttpCookieOutputReference_Override(c ComputeBackendServiceConsistentHashHttpCookieOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceConsistentHashHttpCookieTtlOutputReference_Override ¶
func NewComputeBackendServiceConsistentHashHttpCookieTtlOutputReference_Override(c ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceConsistentHashOutputReference_Override ¶
func NewComputeBackendServiceConsistentHashOutputReference_Override(c ComputeBackendServiceConsistentHashOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceIapOutputReference_Override ¶
func NewComputeBackendServiceIapOutputReference_Override(c ComputeBackendServiceIapOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference_Override ¶
func NewComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference_Override(c ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceLocalityLbPoliciesList_Override ¶
func NewComputeBackendServiceLocalityLbPoliciesList_Override(c ComputeBackendServiceLocalityLbPoliciesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeBackendServiceLocalityLbPoliciesOutputReference_Override ¶
func NewComputeBackendServiceLocalityLbPoliciesOutputReference_Override(c ComputeBackendServiceLocalityLbPoliciesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeBackendServiceLocalityLbPoliciesPolicyOutputReference_Override ¶
func NewComputeBackendServiceLocalityLbPoliciesPolicyOutputReference_Override(c ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceLogConfigOutputReference_Override ¶
func NewComputeBackendServiceLogConfigOutputReference_Override(c ComputeBackendServiceLogConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override ¶
func NewComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override(c ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceOutlierDetectionIntervalOutputReference_Override ¶
func NewComputeBackendServiceOutlierDetectionIntervalOutputReference_Override(c ComputeBackendServiceOutlierDetectionIntervalOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceOutlierDetectionOutputReference_Override ¶
func NewComputeBackendServiceOutlierDetectionOutputReference_Override(c ComputeBackendServiceOutlierDetectionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceSecuritySettingsOutputReference_Override ¶
func NewComputeBackendServiceSecuritySettingsOutputReference_Override(c ComputeBackendServiceSecuritySettingsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendServiceTimeoutsOutputReference_Override ¶
func NewComputeBackendServiceTimeoutsOutputReference_Override(c ComputeBackendServiceTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendService_Override ¶
func NewComputeBackendService_Override(c ComputeBackendService, scope constructs.Construct, id *string, config *ComputeBackendServiceConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service google_compute_backend_service} Resource.
Types ¶
type ComputeBackendService ¶
type ComputeBackendService interface { cdktf.TerraformResource AffinityCookieTtlSec() *float64 SetAffinityCookieTtlSec(val *float64) AffinityCookieTtlSecInput() *float64 Backend() ComputeBackendServiceBackendList BackendInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack CdnPolicy() ComputeBackendServiceCdnPolicyOutputReference CdnPolicyInput() *ComputeBackendServiceCdnPolicy CircuitBreakers() ComputeBackendServiceCircuitBreakersOutputReference CircuitBreakersInput() *ComputeBackendServiceCircuitBreakers CompressionMode() *string SetCompressionMode(val *string) CompressionModeInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) ConnectionDrainingTimeoutSec() *float64 SetConnectionDrainingTimeoutSec(val *float64) ConnectionDrainingTimeoutSecInput() *float64 ConsistentHash() ComputeBackendServiceConsistentHashOutputReference ConsistentHashInput() *ComputeBackendServiceConsistentHash // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreationTimestamp() *string CustomRequestHeaders() *[]*string SetCustomRequestHeaders(val *[]*string) CustomRequestHeadersInput() *[]*string CustomResponseHeaders() *[]*string SetCustomResponseHeaders(val *[]*string) CustomResponseHeadersInput() *[]*string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string EdgeSecurityPolicy() *string SetEdgeSecurityPolicy(val *string) EdgeSecurityPolicyInput() *string EnableCdn() interface{} SetEnableCdn(val interface{}) EnableCdnInput() interface{} 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() ComputeBackendServiceIapOutputReference IapInput() *ComputeBackendServiceIap Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LoadBalancingScheme() *string SetLoadBalancingScheme(val *string) LoadBalancingSchemeInput() *string LocalityLbPolicies() ComputeBackendServiceLocalityLbPoliciesList LocalityLbPoliciesInput() interface{} LocalityLbPolicy() *string SetLocalityLbPolicy(val *string) LocalityLbPolicyInput() *string LogConfig() ComputeBackendServiceLogConfigOutputReference LogConfigInput() *ComputeBackendServiceLogConfig Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node OutlierDetection() ComputeBackendServiceOutlierDetectionOutputReference OutlierDetectionInput() *ComputeBackendServiceOutlierDetection 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{} SecurityPolicy() *string SetSecurityPolicy(val *string) SecurityPolicyInput() *string SecuritySettings() ComputeBackendServiceSecuritySettingsOutputReference SecuritySettingsInput() *ComputeBackendServiceSecuritySettings SelfLink() *string SessionAffinity() *string SetSessionAffinity(val *string) SessionAffinityInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeBackendServiceTimeoutsOutputReference TimeoutSec() *float64 SetTimeoutSec(val *float64) TimeoutSecInput() *float64 TimeoutsInput() interface{} // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutBackend(value interface{}) PutCdnPolicy(value *ComputeBackendServiceCdnPolicy) PutCircuitBreakers(value *ComputeBackendServiceCircuitBreakers) PutConsistentHash(value *ComputeBackendServiceConsistentHash) PutIap(value *ComputeBackendServiceIap) PutLocalityLbPolicies(value interface{}) PutLogConfig(value *ComputeBackendServiceLogConfig) PutOutlierDetection(value *ComputeBackendServiceOutlierDetection) PutSecuritySettings(value *ComputeBackendServiceSecuritySettings) PutTimeouts(value *ComputeBackendServiceTimeouts) ResetAffinityCookieTtlSec() ResetBackend() ResetCdnPolicy() ResetCircuitBreakers() ResetCompressionMode() ResetConnectionDrainingTimeoutSec() ResetConsistentHash() ResetCustomRequestHeaders() ResetCustomResponseHeaders() ResetDescription() ResetEdgeSecurityPolicy() ResetEnableCdn() ResetHealthChecks() ResetIap() ResetId() ResetLoadBalancingScheme() ResetLocalityLbPolicies() ResetLocalityLbPolicy() ResetLogConfig() ResetOutlierDetection() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPortName() ResetProject() ResetProtocol() ResetSecurityPolicy() ResetSecuritySettings() ResetSessionAffinity() ResetTimeouts() ResetTimeoutSec() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service google_compute_backend_service}.
func NewComputeBackendService ¶
func NewComputeBackendService(scope constructs.Construct, id *string, config *ComputeBackendServiceConfig) ComputeBackendService
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service google_compute_backend_service} Resource.
type ComputeBackendServiceBackend ¶
type ComputeBackendServiceBackend 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. // // 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/4.78.0/docs/resources/compute_backend_service#group ComputeBackendService#group} Group *string `field:"required" json:"group" yaml:"group"` // Specifies the balancing mode for this backend. // // For global HTTP(S) or TCP/SSL load balancing, the default is // UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) // and CONNECTION (for TCP/SSL). // // 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/4.78.0/docs/resources/compute_backend_service#balancing_mode ComputeBackendService#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). // // Default value is 1, which means the group will serve up to 100% // of its configured capacity (depending on balancingMode). 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/4.78.0/docs/resources/compute_backend_service#capacity_scaler ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#description ComputeBackendService#description} Description *string `field:"optional" json:"description" yaml:"description"` // The max number of simultaneous connections for the group. Can be used with either CONNECTION or UTILIZATION balancing modes. // // 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/4.78.0/docs/resources/compute_backend_service#max_connections ComputeBackendService#max_connections} MaxConnections *float64 `field:"optional" json:"maxConnections" yaml:"maxConnections"` // The max number of simultaneous connections that a single backend network endpoint can handle. // // 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/4.78.0/docs/resources/compute_backend_service#max_connections_per_endpoint ComputeBackendService#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. // // 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/4.78.0/docs/resources/compute_backend_service#max_connections_per_instance ComputeBackendService#max_connections_per_instance} MaxConnectionsPerInstance *float64 `field:"optional" json:"maxConnectionsPerInstance" yaml:"maxConnectionsPerInstance"` // The max requests per second (RPS) of the group. // // Can be used with either RATE or UTILIZATION balancing modes, // but required if RATE mode. For 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/4.78.0/docs/resources/compute_backend_service#max_rate ComputeBackendService#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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#max_rate_per_endpoint ComputeBackendService#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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#max_rate_per_instance ComputeBackendService#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]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#max_utilization ComputeBackendService#max_utilization} MaxUtilization *float64 `field:"optional" json:"maxUtilization" yaml:"maxUtilization"` }
type ComputeBackendServiceBackendList ¶
type ComputeBackendServiceBackendList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ComputeBackendServiceBackendOutputReference // 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 NewComputeBackendServiceBackendList ¶
func NewComputeBackendServiceBackendList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeBackendServiceBackendList
type ComputeBackendServiceBackendOutputReference ¶
type ComputeBackendServiceBackendOutputReference 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 // 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() 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 NewComputeBackendServiceBackendOutputReference ¶
func NewComputeBackendServiceBackendOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeBackendServiceBackendOutputReference
type ComputeBackendServiceCdnPolicy ¶
type ComputeBackendServiceCdnPolicy struct { // bypass_cache_on_request_headers block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#bypass_cache_on_request_headers ComputeBackendService#bypass_cache_on_request_headers} BypassCacheOnRequestHeaders interface{} `field:"optional" json:"bypassCacheOnRequestHeaders" yaml:"bypassCacheOnRequestHeaders"` // cache_key_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#cache_key_policy ComputeBackendService#cache_key_policy} CacheKeyPolicy *ComputeBackendServiceCdnPolicyCacheKeyPolicy `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/4.78.0/docs/resources/compute_backend_service#cache_mode ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#client_ttl ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#default_ttl ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#max_ttl ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#negative_caching ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#negative_caching_policy ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#serve_while_stale ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#signed_url_cache_max_age_sec ComputeBackendService#signed_url_cache_max_age_sec} SignedUrlCacheMaxAgeSec *float64 `field:"optional" json:"signedUrlCacheMaxAgeSec" yaml:"signedUrlCacheMaxAgeSec"` }
type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeaders ¶
type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeaders struct { // The header field name to match on when bypassing cache. Values are case-insensitive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#header_name ComputeBackendService#header_name} HeaderName *string `field:"required" json:"headerName" yaml:"headerName"` }
type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList ¶
type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference // 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 NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList ¶
func NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList
type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference ¶
type ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference 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 HeaderName() *string SetHeaderName(val *string) HeaderNameInput() *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 // 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 NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference ¶
func NewComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference
type ComputeBackendServiceCdnPolicyCacheKeyPolicy ¶
type ComputeBackendServiceCdnPolicyCacheKeyPolicy struct { // If true requests to different hosts will be cached separately. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#include_host ComputeBackendService#include_host} IncludeHost interface{} `field:"optional" json:"includeHost" yaml:"includeHost"` // Allows HTTP request headers (by name) to be used in the cache key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#include_http_headers ComputeBackendService#include_http_headers} IncludeHttpHeaders *[]*string `field:"optional" json:"includeHttpHeaders" yaml:"includeHttpHeaders"` // Names of cookies to include in cache keys. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#include_named_cookies ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#include_protocol ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#include_query_string ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#query_string_blacklist ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#query_string_whitelist ComputeBackendService#query_string_whitelist} QueryStringWhitelist *[]*string `field:"optional" json:"queryStringWhitelist" yaml:"queryStringWhitelist"` }
type ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference ¶
type ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference 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{} IncludeHttpHeaders() *[]*string SetIncludeHttpHeaders(val *[]*string) IncludeHttpHeadersInput() *[]*string IncludeNamedCookies() *[]*string SetIncludeNamedCookies(val *[]*string) IncludeNamedCookiesInput() *[]*string IncludeProtocol() interface{} SetIncludeProtocol(val interface{}) IncludeProtocolInput() interface{} IncludeQueryString() interface{} SetIncludeQueryString(val interface{}) IncludeQueryStringInput() interface{} InternalValue() *ComputeBackendServiceCdnPolicyCacheKeyPolicy SetInternalValue(val *ComputeBackendServiceCdnPolicyCacheKeyPolicy) 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() ResetIncludeHttpHeaders() 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 NewComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference ¶
func NewComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference
type ComputeBackendServiceCdnPolicyNegativeCachingPolicy ¶
type ComputeBackendServiceCdnPolicyNegativeCachingPolicy 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/4.78.0/docs/resources/compute_backend_service#code ComputeBackendService#code} Code *float64 `field:"optional" json:"code" yaml:"code"` // The TTL (in seconds) for which to cache responses with the corresponding status code. // // The maximum allowed value is 1800s // (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#ttl ComputeBackendService#ttl} Ttl *float64 `field:"optional" json:"ttl" yaml:"ttl"` }
type ComputeBackendServiceCdnPolicyNegativeCachingPolicyList ¶
type ComputeBackendServiceCdnPolicyNegativeCachingPolicyList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference // 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 NewComputeBackendServiceCdnPolicyNegativeCachingPolicyList ¶
func NewComputeBackendServiceCdnPolicyNegativeCachingPolicyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeBackendServiceCdnPolicyNegativeCachingPolicyList
type ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference ¶
type ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference 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) Ttl() *float64 SetTtl(val *float64) TtlInput() *float64 // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCode() 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 NewComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference ¶
func NewComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference
type ComputeBackendServiceCdnPolicyOutputReference ¶
type ComputeBackendServiceCdnPolicyOutputReference interface { cdktf.ComplexObject BypassCacheOnRequestHeaders() ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList BypassCacheOnRequestHeadersInput() interface{} CacheKeyPolicy() ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference CacheKeyPolicyInput() *ComputeBackendServiceCdnPolicyCacheKeyPolicy 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() *ComputeBackendServiceCdnPolicy SetInternalValue(val *ComputeBackendServiceCdnPolicy) MaxTtl() *float64 SetMaxTtl(val *float64) MaxTtlInput() *float64 NegativeCaching() interface{} SetNegativeCaching(val interface{}) NegativeCachingInput() interface{} NegativeCachingPolicy() ComputeBackendServiceCdnPolicyNegativeCachingPolicyList 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 PutBypassCacheOnRequestHeaders(value interface{}) PutCacheKeyPolicy(value *ComputeBackendServiceCdnPolicyCacheKeyPolicy) PutNegativeCachingPolicy(value interface{}) ResetBypassCacheOnRequestHeaders() 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 NewComputeBackendServiceCdnPolicyOutputReference ¶
func NewComputeBackendServiceCdnPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceCdnPolicyOutputReference
type ComputeBackendServiceCircuitBreakers ¶
type ComputeBackendServiceCircuitBreakers 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/4.78.0/docs/resources/compute_backend_service#max_connections ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#max_pending_requests ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#max_requests ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#max_requests_per_connection ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#max_retries ComputeBackendService#max_retries} MaxRetries *float64 `field:"optional" json:"maxRetries" yaml:"maxRetries"` }
type ComputeBackendServiceCircuitBreakersOutputReference ¶
type ComputeBackendServiceCircuitBreakersOutputReference 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() *ComputeBackendServiceCircuitBreakers SetInternalValue(val *ComputeBackendServiceCircuitBreakers) 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 NewComputeBackendServiceCircuitBreakersOutputReference ¶
func NewComputeBackendServiceCircuitBreakersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceCircuitBreakersOutputReference
type ComputeBackendServiceConfig ¶
type ComputeBackendServiceConfig 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/4.78.0/docs/resources/compute_backend_service#name ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#affinity_cookie_ttl_sec ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#backend ComputeBackendService#backend} Backend interface{} `field:"optional" json:"backend" yaml:"backend"` // cdn_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#cdn_policy ComputeBackendService#cdn_policy} CdnPolicy *ComputeBackendServiceCdnPolicy `field:"optional" json:"cdnPolicy" yaml:"cdnPolicy"` // circuit_breakers block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#circuit_breakers ComputeBackendService#circuit_breakers} CircuitBreakers *ComputeBackendServiceCircuitBreakers `field:"optional" json:"circuitBreakers" yaml:"circuitBreakers"` // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Possible values: ["AUTOMATIC", "DISABLED"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#compression_mode ComputeBackendService#compression_mode} CompressionMode *string `field:"optional" json:"compressionMode" yaml:"compressionMode"` // 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/4.78.0/docs/resources/compute_backend_service#connection_draining_timeout_sec ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#consistent_hash ComputeBackendService#consistent_hash} ConsistentHash *ComputeBackendServiceConsistentHash `field:"optional" json:"consistentHash" yaml:"consistentHash"` // Headers that the HTTP/S load balancer should add to proxied requests. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#custom_request_headers ComputeBackendService#custom_request_headers} CustomRequestHeaders *[]*string `field:"optional" json:"customRequestHeaders" yaml:"customRequestHeaders"` // Headers that the HTTP/S load balancer should add to proxied responses. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#custom_response_headers ComputeBackendService#custom_response_headers} CustomResponseHeaders *[]*string `field:"optional" json:"customResponseHeaders" yaml:"customResponseHeaders"` // An optional description of this resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#description ComputeBackendService#description} Description *string `field:"optional" json:"description" yaml:"description"` // The resource URL for the edge security policy associated with this backend service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#edge_security_policy ComputeBackendService#edge_security_policy} EdgeSecurityPolicy *string `field:"optional" json:"edgeSecurityPolicy" yaml:"edgeSecurityPolicy"` // If true, enable Cloud CDN for this BackendService. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#enable_cdn ComputeBackendService#enable_cdn} EnableCdn interface{} `field:"optional" json:"enableCdn" yaml:"enableCdn"` // The set of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this BackendService. // // 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. // // For internal load balancing, a URL to a HealthCheck resource must be specified instead. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#health_checks ComputeBackendService#health_checks} HealthChecks *[]*string `field:"optional" json:"healthChecks" yaml:"healthChecks"` // iap block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#iap ComputeBackendService#iap} Iap *ComputeBackendServiceIap `field:"optional" json:"iap" yaml:"iap"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#id ComputeBackendService#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"` // Indicates whether the backend service will be used with internal or external load balancing. // // A backend service created for one type of // load balancing cannot be used with the other. For more information, refer to // [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service). Default value: "EXTERNAL" Possible values: ["EXTERNAL", "INTERNAL_SELF_MANAGED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#load_balancing_scheme ComputeBackendService#load_balancing_scheme} LoadBalancingScheme *string `field:"optional" json:"loadBalancingScheme" yaml:"loadBalancingScheme"` // locality_lb_policies block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#locality_lb_policies ComputeBackendService#locality_lb_policies} LocalityLbPolicies interface{} `field:"optional" json:"localityLbPolicies" yaml:"localityLbPolicies"` // 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. 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. // // // This field 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 this field 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/4.78.0/docs/resources/compute_backend_service#locality_lb_policy ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#log_config ComputeBackendService#log_config} LogConfig *ComputeBackendServiceLogConfig `field:"optional" json:"logConfig" yaml:"logConfig"` // outlier_detection block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#outlier_detection ComputeBackendService#outlier_detection} OutlierDetection *ComputeBackendServiceOutlierDetection `field:"optional" json:"outlierDetection" yaml:"outlierDetection"` // Name of backend port. // // The same name should appear in the instance // groups referenced by this service. Required when the load balancing // scheme is EXTERNAL. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#port_name ComputeBackendService#port_name} PortName *string `field:"optional" json:"portName" yaml:"portName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#project ComputeBackendService#project}. Project *string `field:"optional" json:"project" yaml:"project"` // The protocol this BackendService 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. **NOTE**: With protocol “UNSPECIFIED”, // the backend service can be used by Layer 4 Internal Load Balancing or Network Load Balancing // with TCP/UDP/L3_DEFAULT Forwarding Rule protocol. Possible values: ["HTTP", "HTTPS", "HTTP2", "TCP", "SSL", "GRPC", "UNSPECIFIED"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#protocol ComputeBackendService#protocol} Protocol *string `field:"optional" json:"protocol" yaml:"protocol"` // The security policy associated with this backend service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#security_policy ComputeBackendService#security_policy} SecurityPolicy *string `field:"optional" json:"securityPolicy" yaml:"securityPolicy"` // security_settings block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#security_settings ComputeBackendService#security_settings} SecuritySettings *ComputeBackendServiceSecuritySettings `field:"optional" json:"securitySettings" yaml:"securitySettings"` // 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"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#session_affinity ComputeBackendService#session_affinity} SessionAffinity *string `field:"optional" json:"sessionAffinity" yaml:"sessionAffinity"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#timeouts ComputeBackendService#timeouts} Timeouts *ComputeBackendServiceTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // How many seconds to wait for the backend before considering it a failed request. // // Default is 30 seconds. Valid range is [1, 86400]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#timeout_sec ComputeBackendService#timeout_sec} TimeoutSec *float64 `field:"optional" json:"timeoutSec" yaml:"timeoutSec"` }
type ComputeBackendServiceConsistentHash ¶
type ComputeBackendServiceConsistentHash struct { // http_cookie block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#http_cookie ComputeBackendService#http_cookie} HttpCookie *ComputeBackendServiceConsistentHashHttpCookie `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/4.78.0/docs/resources/compute_backend_service#http_header_name ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#minimum_ring_size ComputeBackendService#minimum_ring_size} MinimumRingSize *float64 `field:"optional" json:"minimumRingSize" yaml:"minimumRingSize"` }
type ComputeBackendServiceConsistentHashHttpCookie ¶
type ComputeBackendServiceConsistentHashHttpCookie struct { // Name of the cookie. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#name ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#path ComputeBackendService#path} Path *string `field:"optional" json:"path" yaml:"path"` // ttl block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#ttl ComputeBackendService#ttl} Ttl *ComputeBackendServiceConsistentHashHttpCookieTtl `field:"optional" json:"ttl" yaml:"ttl"` }
type ComputeBackendServiceConsistentHashHttpCookieOutputReference ¶
type ComputeBackendServiceConsistentHashHttpCookieOutputReference 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() *ComputeBackendServiceConsistentHashHttpCookie SetInternalValue(val *ComputeBackendServiceConsistentHashHttpCookie) 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() ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference TtlInput() *ComputeBackendServiceConsistentHashHttpCookieTtl // 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 *ComputeBackendServiceConsistentHashHttpCookieTtl) 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 NewComputeBackendServiceConsistentHashHttpCookieOutputReference ¶
func NewComputeBackendServiceConsistentHashHttpCookieOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceConsistentHashHttpCookieOutputReference
type ComputeBackendServiceConsistentHashHttpCookieTtl ¶
type ComputeBackendServiceConsistentHashHttpCookieTtl 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/4.78.0/docs/resources/compute_backend_service#seconds ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#nanos ComputeBackendService#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference ¶
type ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference 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() *ComputeBackendServiceConsistentHashHttpCookieTtl SetInternalValue(val *ComputeBackendServiceConsistentHashHttpCookieTtl) 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 NewComputeBackendServiceConsistentHashHttpCookieTtlOutputReference ¶
func NewComputeBackendServiceConsistentHashHttpCookieTtlOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference
type ComputeBackendServiceConsistentHashOutputReference ¶
type ComputeBackendServiceConsistentHashOutputReference 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() ComputeBackendServiceConsistentHashHttpCookieOutputReference HttpCookieInput() *ComputeBackendServiceConsistentHashHttpCookie HttpHeaderName() *string SetHttpHeaderName(val *string) HttpHeaderNameInput() *string InternalValue() *ComputeBackendServiceConsistentHash SetInternalValue(val *ComputeBackendServiceConsistentHash) 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 *ComputeBackendServiceConsistentHashHttpCookie) 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 NewComputeBackendServiceConsistentHashOutputReference ¶
func NewComputeBackendServiceConsistentHashOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceConsistentHashOutputReference
type ComputeBackendServiceIap ¶
type ComputeBackendServiceIap struct { // OAuth2 Client ID for IAP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#oauth2_client_id ComputeBackendService#oauth2_client_id} Oauth2ClientId *string `field:"required" json:"oauth2ClientId" yaml:"oauth2ClientId"` // OAuth2 Client Secret for IAP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#oauth2_client_secret ComputeBackendService#oauth2_client_secret} Oauth2ClientSecret *string `field:"required" json:"oauth2ClientSecret" yaml:"oauth2ClientSecret"` }
type ComputeBackendServiceIapOutputReference ¶
type ComputeBackendServiceIapOutputReference 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() *ComputeBackendServiceIap SetInternalValue(val *ComputeBackendServiceIap) 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 // 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 NewComputeBackendServiceIapOutputReference ¶
func NewComputeBackendServiceIapOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceIapOutputReference
type ComputeBackendServiceLocalityLbPolicies ¶
type ComputeBackendServiceLocalityLbPolicies struct { // custom_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#custom_policy ComputeBackendService#custom_policy} CustomPolicy *ComputeBackendServiceLocalityLbPoliciesCustomPolicy `field:"optional" json:"customPolicy" yaml:"customPolicy"` // policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#policy ComputeBackendService#policy} Policy *ComputeBackendServiceLocalityLbPoliciesPolicy `field:"optional" json:"policy" yaml:"policy"` }
type ComputeBackendServiceLocalityLbPoliciesCustomPolicy ¶
type ComputeBackendServiceLocalityLbPoliciesCustomPolicy struct { // Identifies the custom policy. // // The value should match the type the custom implementation is registered // with on the gRPC clients. It should follow protocol buffer // message naming conventions and include the full path (e.g. // myorg.CustomLbPolicy). The maximum length is 256 characters. // // Note that specifying the same custom policy more than once for a // backend is not a valid configuration and will be rejected. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#name ComputeBackendService#name} Name *string `field:"required" json:"name" yaml:"name"` // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#data ComputeBackendService#data} Data *string `field:"optional" json:"data" yaml:"data"` }
type ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference ¶
type ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference 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 Data() *string SetData(val *string) DataInput() *string // Experimental. Fqn() *string InternalValue() *ComputeBackendServiceLocalityLbPoliciesCustomPolicy SetInternalValue(val *ComputeBackendServiceLocalityLbPoliciesCustomPolicy) Name() *string SetName(val *string) NameInput() *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 ResetData() // 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 NewComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference ¶
func NewComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference
type ComputeBackendServiceLocalityLbPoliciesList ¶
type ComputeBackendServiceLocalityLbPoliciesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ComputeBackendServiceLocalityLbPoliciesOutputReference // 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 NewComputeBackendServiceLocalityLbPoliciesList ¶
func NewComputeBackendServiceLocalityLbPoliciesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeBackendServiceLocalityLbPoliciesList
type ComputeBackendServiceLocalityLbPoliciesOutputReference ¶
type ComputeBackendServiceLocalityLbPoliciesOutputReference 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 CustomPolicy() ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference CustomPolicyInput() *ComputeBackendServiceLocalityLbPoliciesCustomPolicy // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Policy() ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference PolicyInput() *ComputeBackendServiceLocalityLbPoliciesPolicy // 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 PutCustomPolicy(value *ComputeBackendServiceLocalityLbPoliciesCustomPolicy) PutPolicy(value *ComputeBackendServiceLocalityLbPoliciesPolicy) ResetCustomPolicy() ResetPolicy() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendServiceLocalityLbPoliciesOutputReference ¶
func NewComputeBackendServiceLocalityLbPoliciesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeBackendServiceLocalityLbPoliciesOutputReference
type ComputeBackendServiceLocalityLbPoliciesPolicy ¶
type ComputeBackendServiceLocalityLbPoliciesPolicy struct { // The name of a locality load balancer policy to be used. // // The value // should be one of the predefined ones as supported by localityLbPolicy, // although at the moment only ROUND_ROBIN is supported. // // This field should only be populated when the customPolicy field is not // used. // // Note that specifying the same policy more than once for a backend is // not a valid configuration and will be rejected. // // 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 Possible values: ["ROUND_ROBIN", "LEAST_REQUEST", "RING_HASH", "RANDOM", "ORIGINAL_DESTINATION", "MAGLEV"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#name ComputeBackendService#name} Name *string `field:"required" json:"name" yaml:"name"` }
type ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference ¶
type ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference 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() *ComputeBackendServiceLocalityLbPoliciesPolicy SetInternalValue(val *ComputeBackendServiceLocalityLbPoliciesPolicy) Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendServiceLocalityLbPoliciesPolicyOutputReference ¶
func NewComputeBackendServiceLocalityLbPoliciesPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference
type ComputeBackendServiceLogConfig ¶
type ComputeBackendServiceLogConfig 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/4.78.0/docs/resources/compute_backend_service#enable ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#sample_rate ComputeBackendService#sample_rate} SampleRate *float64 `field:"optional" json:"sampleRate" yaml:"sampleRate"` }
type ComputeBackendServiceLogConfigOutputReference ¶
type ComputeBackendServiceLogConfigOutputReference 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() *ComputeBackendServiceLogConfig SetInternalValue(val *ComputeBackendServiceLogConfig) 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 NewComputeBackendServiceLogConfigOutputReference ¶
func NewComputeBackendServiceLogConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceLogConfigOutputReference
type ComputeBackendServiceOutlierDetection ¶
type ComputeBackendServiceOutlierDetection struct { // base_ejection_time block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#base_ejection_time ComputeBackendService#base_ejection_time} BaseEjectionTime *ComputeBackendServiceOutlierDetectionBaseEjectionTime `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/4.78.0/docs/resources/compute_backend_service#consecutive_errors ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#consecutive_gateway_failure ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#enforcing_consecutive_errors ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#enforcing_consecutive_gateway_failure ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#enforcing_success_rate ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#interval ComputeBackendService#interval} Interval *ComputeBackendServiceOutlierDetectionInterval `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/4.78.0/docs/resources/compute_backend_service#max_ejection_percent ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#success_rate_minimum_hosts ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#success_rate_request_volume ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#success_rate_stdev_factor ComputeBackendService#success_rate_stdev_factor} SuccessRateStdevFactor *float64 `field:"optional" json:"successRateStdevFactor" yaml:"successRateStdevFactor"` }
type ComputeBackendServiceOutlierDetectionBaseEjectionTime ¶
type ComputeBackendServiceOutlierDetectionBaseEjectionTime 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/4.78.0/docs/resources/compute_backend_service#seconds ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#nanos ComputeBackendService#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference ¶
type ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference 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() *ComputeBackendServiceOutlierDetectionBaseEjectionTime SetInternalValue(val *ComputeBackendServiceOutlierDetectionBaseEjectionTime) 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 NewComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference ¶
func NewComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference
type ComputeBackendServiceOutlierDetectionInterval ¶
type ComputeBackendServiceOutlierDetectionInterval 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/4.78.0/docs/resources/compute_backend_service#seconds ComputeBackendService#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/4.78.0/docs/resources/compute_backend_service#nanos ComputeBackendService#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeBackendServiceOutlierDetectionIntervalOutputReference ¶
type ComputeBackendServiceOutlierDetectionIntervalOutputReference 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() *ComputeBackendServiceOutlierDetectionInterval SetInternalValue(val *ComputeBackendServiceOutlierDetectionInterval) 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 NewComputeBackendServiceOutlierDetectionIntervalOutputReference ¶
func NewComputeBackendServiceOutlierDetectionIntervalOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceOutlierDetectionIntervalOutputReference
type ComputeBackendServiceOutlierDetectionOutputReference ¶
type ComputeBackendServiceOutlierDetectionOutputReference interface { cdktf.ComplexObject BaseEjectionTime() ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference BaseEjectionTimeInput() *ComputeBackendServiceOutlierDetectionBaseEjectionTime // 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() *ComputeBackendServiceOutlierDetection SetInternalValue(val *ComputeBackendServiceOutlierDetection) Interval() ComputeBackendServiceOutlierDetectionIntervalOutputReference IntervalInput() *ComputeBackendServiceOutlierDetectionInterval 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 *ComputeBackendServiceOutlierDetectionBaseEjectionTime) PutInterval(value *ComputeBackendServiceOutlierDetectionInterval) 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 NewComputeBackendServiceOutlierDetectionOutputReference ¶
func NewComputeBackendServiceOutlierDetectionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceOutlierDetectionOutputReference
type ComputeBackendServiceSecuritySettings ¶
type ComputeBackendServiceSecuritySettings struct { // ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service. // // This resource itself does not affect // configuration unless it is attached to a backend service resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#client_tls_policy ComputeBackendService#client_tls_policy} ClientTlsPolicy *string `field:"required" json:"clientTlsPolicy" yaml:"clientTlsPolicy"` // A list of alternate names to verify the subject identity in the certificate. // // If specified, the client will verify that the server certificate's subject // alt name matches one of the specified values. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#subject_alt_names ComputeBackendService#subject_alt_names} SubjectAltNames *[]*string `field:"required" json:"subjectAltNames" yaml:"subjectAltNames"` }
type ComputeBackendServiceSecuritySettingsOutputReference ¶
type ComputeBackendServiceSecuritySettingsOutputReference interface { cdktf.ComplexObject ClientTlsPolicy() *string SetClientTlsPolicy(val *string) ClientTlsPolicyInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeBackendServiceSecuritySettings SetInternalValue(val *ComputeBackendServiceSecuritySettings) SubjectAltNames() *[]*string SetSubjectAltNames(val *[]*string) SubjectAltNamesInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendServiceSecuritySettingsOutputReference ¶
func NewComputeBackendServiceSecuritySettingsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceSecuritySettingsOutputReference
type ComputeBackendServiceTimeouts ¶
type ComputeBackendServiceTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#create ComputeBackendService#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#delete ComputeBackendService#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_backend_service#update ComputeBackendService#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeBackendServiceTimeoutsOutputReference ¶
type ComputeBackendServiceTimeoutsOutputReference 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 NewComputeBackendServiceTimeoutsOutputReference ¶
func NewComputeBackendServiceTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendServiceTimeoutsOutputReference
Source Files ¶
- ComputeBackendService.go
- ComputeBackendServiceBackend.go
- ComputeBackendServiceBackendList.go
- ComputeBackendServiceBackendList__checks.go
- ComputeBackendServiceBackendOutputReference.go
- ComputeBackendServiceBackendOutputReference__checks.go
- ComputeBackendServiceCdnPolicy.go
- ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeaders.go
- ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList.go
- ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList__checks.go
- ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference.go
- ComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference__checks.go
- ComputeBackendServiceCdnPolicyCacheKeyPolicy.go
- ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference.go
- ComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference__checks.go
- ComputeBackendServiceCdnPolicyNegativeCachingPolicy.go
- ComputeBackendServiceCdnPolicyNegativeCachingPolicyList.go
- ComputeBackendServiceCdnPolicyNegativeCachingPolicyList__checks.go
- ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference.go
- ComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference__checks.go
- ComputeBackendServiceCdnPolicyOutputReference.go
- ComputeBackendServiceCdnPolicyOutputReference__checks.go
- ComputeBackendServiceCircuitBreakers.go
- ComputeBackendServiceCircuitBreakersOutputReference.go
- ComputeBackendServiceCircuitBreakersOutputReference__checks.go
- ComputeBackendServiceConfig.go
- ComputeBackendServiceConsistentHash.go
- ComputeBackendServiceConsistentHashHttpCookie.go
- ComputeBackendServiceConsistentHashHttpCookieOutputReference.go
- ComputeBackendServiceConsistentHashHttpCookieOutputReference__checks.go
- ComputeBackendServiceConsistentHashHttpCookieTtl.go
- ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference.go
- ComputeBackendServiceConsistentHashHttpCookieTtlOutputReference__checks.go
- ComputeBackendServiceConsistentHashOutputReference.go
- ComputeBackendServiceConsistentHashOutputReference__checks.go
- ComputeBackendServiceIap.go
- ComputeBackendServiceIapOutputReference.go
- ComputeBackendServiceIapOutputReference__checks.go
- ComputeBackendServiceLocalityLbPolicies.go
- ComputeBackendServiceLocalityLbPoliciesCustomPolicy.go
- ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference.go
- ComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference__checks.go
- ComputeBackendServiceLocalityLbPoliciesList.go
- ComputeBackendServiceLocalityLbPoliciesList__checks.go
- ComputeBackendServiceLocalityLbPoliciesOutputReference.go
- ComputeBackendServiceLocalityLbPoliciesOutputReference__checks.go
- ComputeBackendServiceLocalityLbPoliciesPolicy.go
- ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference.go
- ComputeBackendServiceLocalityLbPoliciesPolicyOutputReference__checks.go
- ComputeBackendServiceLogConfig.go
- ComputeBackendServiceLogConfigOutputReference.go
- ComputeBackendServiceLogConfigOutputReference__checks.go
- ComputeBackendServiceOutlierDetection.go
- ComputeBackendServiceOutlierDetectionBaseEjectionTime.go
- ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference.go
- ComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference__checks.go
- ComputeBackendServiceOutlierDetectionInterval.go
- ComputeBackendServiceOutlierDetectionIntervalOutputReference.go
- ComputeBackendServiceOutlierDetectionIntervalOutputReference__checks.go
- ComputeBackendServiceOutlierDetectionOutputReference.go
- ComputeBackendServiceOutlierDetectionOutputReference__checks.go
- ComputeBackendServiceSecuritySettings.go
- ComputeBackendServiceSecuritySettingsOutputReference.go
- ComputeBackendServiceSecuritySettingsOutputReference__checks.go
- ComputeBackendServiceTimeouts.go
- ComputeBackendServiceTimeoutsOutputReference.go
- ComputeBackendServiceTimeoutsOutputReference__checks.go
- ComputeBackendService__checks.go
- main.go