Documentation
¶
Index ¶
- func GoogleComputeBackendService_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GoogleComputeBackendService_IsConstruct(x interface{}) *bool
- func GoogleComputeBackendService_IsTerraformElement(x interface{}) *bool
- func GoogleComputeBackendService_IsTerraformResource(x interface{}) *bool
- func GoogleComputeBackendService_TfResourceType() *string
- func NewGoogleComputeBackendServiceBackendList_Override(g GoogleComputeBackendServiceBackendList, ...)
- func NewGoogleComputeBackendServiceBackendOutputReference_Override(g GoogleComputeBackendServiceBackendOutputReference, ...)
- func NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList_Override(g GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList, ...)
- func NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override(...)
- func NewGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override(g GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference, ...)
- func NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList_Override(g GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList, ...)
- func NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override(g GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference, ...)
- func NewGoogleComputeBackendServiceCdnPolicyOutputReference_Override(g GoogleComputeBackendServiceCdnPolicyOutputReference, ...)
- func NewGoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference_Override(g GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference, ...)
- func NewGoogleComputeBackendServiceCircuitBreakersOutputReference_Override(g GoogleComputeBackendServiceCircuitBreakersOutputReference, ...)
- func NewGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference_Override(g GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference, ...)
- func NewGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference_Override(g GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference, ...)
- func NewGoogleComputeBackendServiceConsistentHashOutputReference_Override(g GoogleComputeBackendServiceConsistentHashOutputReference, ...)
- func NewGoogleComputeBackendServiceIapOutputReference_Override(g GoogleComputeBackendServiceIapOutputReference, ...)
- func NewGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference_Override(g GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference, ...)
- func NewGoogleComputeBackendServiceLocalityLbPoliciesList_Override(g GoogleComputeBackendServiceLocalityLbPoliciesList, ...)
- func NewGoogleComputeBackendServiceLocalityLbPoliciesOutputReference_Override(g GoogleComputeBackendServiceLocalityLbPoliciesOutputReference, ...)
- func NewGoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference_Override(g GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference, ...)
- func NewGoogleComputeBackendServiceLogConfigOutputReference_Override(g GoogleComputeBackendServiceLogConfigOutputReference, ...)
- func NewGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override(g GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference, ...)
- func NewGoogleComputeBackendServiceOutlierDetectionIntervalOutputReference_Override(g GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference, ...)
- func NewGoogleComputeBackendServiceOutlierDetectionOutputReference_Override(g GoogleComputeBackendServiceOutlierDetectionOutputReference, ...)
- func NewGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference_Override(...)
- func NewGoogleComputeBackendServiceSecuritySettingsOutputReference_Override(g GoogleComputeBackendServiceSecuritySettingsOutputReference, ...)
- func NewGoogleComputeBackendServiceTimeoutsOutputReference_Override(g GoogleComputeBackendServiceTimeoutsOutputReference, ...)
- func NewGoogleComputeBackendService_Override(g GoogleComputeBackendService, scope constructs.Construct, id *string, ...)
- type GoogleComputeBackendService
- type GoogleComputeBackendServiceBackend
- type GoogleComputeBackendServiceBackendList
- type GoogleComputeBackendServiceBackendOutputReference
- type GoogleComputeBackendServiceCdnPolicy
- type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeaders
- type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList
- type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference
- type GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy
- type GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference
- type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicy
- type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList
- type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference
- type GoogleComputeBackendServiceCdnPolicyOutputReference
- type GoogleComputeBackendServiceCircuitBreakers
- type GoogleComputeBackendServiceCircuitBreakersConnectTimeout
- type GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference
- type GoogleComputeBackendServiceCircuitBreakersOutputReference
- type GoogleComputeBackendServiceConfig
- type GoogleComputeBackendServiceConsistentHash
- type GoogleComputeBackendServiceConsistentHashHttpCookie
- type GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference
- type GoogleComputeBackendServiceConsistentHashHttpCookieTtl
- type GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference
- type GoogleComputeBackendServiceConsistentHashOutputReference
- type GoogleComputeBackendServiceIap
- type GoogleComputeBackendServiceIapOutputReference
- type GoogleComputeBackendServiceLocalityLbPolicies
- type GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy
- type GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference
- type GoogleComputeBackendServiceLocalityLbPoliciesList
- type GoogleComputeBackendServiceLocalityLbPoliciesOutputReference
- type GoogleComputeBackendServiceLocalityLbPoliciesPolicy
- type GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference
- type GoogleComputeBackendServiceLogConfig
- type GoogleComputeBackendServiceLogConfigOutputReference
- type GoogleComputeBackendServiceOutlierDetection
- type GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime
- type GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference
- type GoogleComputeBackendServiceOutlierDetectionInterval
- type GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference
- type GoogleComputeBackendServiceOutlierDetectionOutputReference
- type GoogleComputeBackendServiceSecuritySettings
- type GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication
- type GoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference
- type GoogleComputeBackendServiceSecuritySettingsOutputReference
- type GoogleComputeBackendServiceTimeouts
- type GoogleComputeBackendServiceTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleComputeBackendService_GenerateConfigForImport ¶
func GoogleComputeBackendService_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GoogleComputeBackendService resource upon running "cdktf plan <stack-name>".
func GoogleComputeBackendService_IsConstruct ¶
func GoogleComputeBackendService_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 GoogleComputeBackendService_IsTerraformElement ¶
func GoogleComputeBackendService_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleComputeBackendService_IsTerraformResource ¶
func GoogleComputeBackendService_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleComputeBackendService_TfResourceType ¶
func GoogleComputeBackendService_TfResourceType() *string
func NewGoogleComputeBackendServiceBackendList_Override ¶
func NewGoogleComputeBackendServiceBackendList_Override(g GoogleComputeBackendServiceBackendList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeBackendServiceBackendOutputReference_Override ¶
func NewGoogleComputeBackendServiceBackendOutputReference_Override(g GoogleComputeBackendServiceBackendOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList_Override ¶
func NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList_Override(g GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override ¶
func NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override(g GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override ¶
func NewGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference_Override(g GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList_Override ¶
func NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList_Override(g GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override ¶
func NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference_Override(g GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeBackendServiceCdnPolicyOutputReference_Override ¶
func NewGoogleComputeBackendServiceCdnPolicyOutputReference_Override(g GoogleComputeBackendServiceCdnPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference_Override ¶
func NewGoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference_Override(g GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceCircuitBreakersOutputReference_Override ¶
func NewGoogleComputeBackendServiceCircuitBreakersOutputReference_Override(g GoogleComputeBackendServiceCircuitBreakersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference_Override ¶
func NewGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference_Override(g GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference_Override ¶
func NewGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference_Override(g GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceConsistentHashOutputReference_Override ¶
func NewGoogleComputeBackendServiceConsistentHashOutputReference_Override(g GoogleComputeBackendServiceConsistentHashOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceIapOutputReference_Override ¶
func NewGoogleComputeBackendServiceIapOutputReference_Override(g GoogleComputeBackendServiceIapOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference_Override ¶
func NewGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference_Override(g GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceLocalityLbPoliciesList_Override ¶
func NewGoogleComputeBackendServiceLocalityLbPoliciesList_Override(g GoogleComputeBackendServiceLocalityLbPoliciesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeBackendServiceLocalityLbPoliciesOutputReference_Override ¶
func NewGoogleComputeBackendServiceLocalityLbPoliciesOutputReference_Override(g GoogleComputeBackendServiceLocalityLbPoliciesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference_Override ¶
func NewGoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference_Override(g GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceLogConfigOutputReference_Override ¶
func NewGoogleComputeBackendServiceLogConfigOutputReference_Override(g GoogleComputeBackendServiceLogConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override ¶
func NewGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference_Override(g GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceOutlierDetectionIntervalOutputReference_Override ¶
func NewGoogleComputeBackendServiceOutlierDetectionIntervalOutputReference_Override(g GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceOutlierDetectionOutputReference_Override ¶
func NewGoogleComputeBackendServiceOutlierDetectionOutputReference_Override(g GoogleComputeBackendServiceOutlierDetectionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference_Override ¶ added in v13.21.0
func NewGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference_Override(g GoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceSecuritySettingsOutputReference_Override ¶
func NewGoogleComputeBackendServiceSecuritySettingsOutputReference_Override(g GoogleComputeBackendServiceSecuritySettingsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendServiceTimeoutsOutputReference_Override ¶
func NewGoogleComputeBackendServiceTimeoutsOutputReference_Override(g GoogleComputeBackendServiceTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeBackendService_Override ¶
func NewGoogleComputeBackendService_Override(g GoogleComputeBackendService, scope constructs.Construct, id *string, config *GoogleComputeBackendServiceConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service google_compute_backend_service} Resource.
Types ¶
type GoogleComputeBackendService ¶
type GoogleComputeBackendService interface {
cdktf.TerraformResource
AffinityCookieTtlSec() *float64
SetAffinityCookieTtlSec(val *float64)
AffinityCookieTtlSecInput() *float64
Backend() GoogleComputeBackendServiceBackendList
BackendInput() interface{}
// Experimental.
CdktfStack() cdktf.TerraformStack
CdnPolicy() GoogleComputeBackendServiceCdnPolicyOutputReference
CdnPolicyInput() *GoogleComputeBackendServiceCdnPolicy
CircuitBreakers() GoogleComputeBackendServiceCircuitBreakersOutputReference
CircuitBreakersInput() *GoogleComputeBackendServiceCircuitBreakers
CompressionMode() *string
SetCompressionMode(val *string)
CompressionModeInput() *string
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
ConnectionDrainingTimeoutSec() *float64
SetConnectionDrainingTimeoutSec(val *float64)
ConnectionDrainingTimeoutSecInput() *float64
ConsistentHash() GoogleComputeBackendServiceConsistentHashOutputReference
ConsistentHashInput() *GoogleComputeBackendServiceConsistentHash
// 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() GoogleComputeBackendServiceIapOutputReference
IapInput() *GoogleComputeBackendServiceIap
Id() *string
SetId(val *string)
IdInput() *string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
LoadBalancingScheme() *string
SetLoadBalancingScheme(val *string)
LoadBalancingSchemeInput() *string
LocalityLbPolicies() GoogleComputeBackendServiceLocalityLbPoliciesList
LocalityLbPoliciesInput() interface{}
LocalityLbPolicy() *string
SetLocalityLbPolicy(val *string)
LocalityLbPolicyInput() *string
LogConfig() GoogleComputeBackendServiceLogConfigOutputReference
LogConfigInput() *GoogleComputeBackendServiceLogConfig
Name() *string
SetName(val *string)
NameInput() *string
// The tree node.
Node() constructs.Node
OutlierDetection() GoogleComputeBackendServiceOutlierDetectionOutputReference
OutlierDetectionInput() *GoogleComputeBackendServiceOutlierDetection
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() GoogleComputeBackendServiceSecuritySettingsOutputReference
SecuritySettingsInput() *GoogleComputeBackendServiceSecuritySettings
SelfLink() *string
ServiceLbPolicy() *string
SetServiceLbPolicy(val *string)
ServiceLbPolicyInput() *string
SessionAffinity() *string
SetSessionAffinity(val *string)
SessionAffinityInput() *string
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Timeouts() GoogleComputeBackendServiceTimeoutsOutputReference
TimeoutSec() *float64
SetTimeoutSec(val *float64)
TimeoutSecInput() *float64
TimeoutsInput() interface{}
// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
// Experimental.
AddMoveTarget(moveTarget *string)
// Experimental.
AddOverride(path *string, value interface{})
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
HasResourceMove() interface{}
// Experimental.
ImportFrom(id *string, provider cdktf.TerraformProvider)
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// Move the resource corresponding to "id" to this resource.
//
// Note that the resource being moved from must be marked as moved using it's instance function.
// Experimental.
MoveFromId(id *string)
// Moves this resource to the target resource given by moveTarget.
// Experimental.
MoveTo(moveTarget *string, index interface{})
// Moves this resource to the resource corresponding to "id".
// Experimental.
MoveToId(id *string)
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
PutBackend(value interface{})
PutCdnPolicy(value *GoogleComputeBackendServiceCdnPolicy)
PutCircuitBreakers(value *GoogleComputeBackendServiceCircuitBreakers)
PutConsistentHash(value *GoogleComputeBackendServiceConsistentHash)
PutIap(value *GoogleComputeBackendServiceIap)
PutLocalityLbPolicies(value interface{})
PutLogConfig(value *GoogleComputeBackendServiceLogConfig)
PutOutlierDetection(value *GoogleComputeBackendServiceOutlierDetection)
PutSecuritySettings(value *GoogleComputeBackendServiceSecuritySettings)
PutTimeouts(value *GoogleComputeBackendServiceTimeouts)
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()
ResetServiceLbPolicy()
ResetSessionAffinity()
ResetTimeouts()
ResetTimeoutSec()
SynthesizeAttributes() *map[string]interface{}
SynthesizeHclAttributes() *map[string]interface{}
// Experimental.
ToHclTerraform() interface{}
// Experimental.
ToMetadata() interface{}
// Returns a string representation of this construct.
ToString() *string
// Adds this resource to the terraform JSON output.
// Experimental.
ToTerraform() interface{}
}
Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service google_compute_backend_service}.
func NewGoogleComputeBackendService ¶
func NewGoogleComputeBackendService(scope constructs.Construct, id *string, config *GoogleComputeBackendServiceConfig) GoogleComputeBackendService
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service google_compute_backend_service} Resource.
type GoogleComputeBackendServiceBackend ¶
type GoogleComputeBackendServiceBackend 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-beta/5.39.1/docs/resources/google_compute_backend_service#group GoogleComputeBackendService#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.
//
// From version 6.0.0 default value will be UTILIZATION to match default GCP value. Default value: "UTILIZATION" Possible values: ["UTILIZATION", "RATE", "CONNECTION"]
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#balancing_mode GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#capacity_scaler GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#description GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_connections GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_connections_per_endpoint GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_connections_per_instance GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_rate GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_rate_per_endpoint GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_rate_per_instance GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_utilization GoogleComputeBackendService#max_utilization}
MaxUtilization *float64 `field:"optional" json:"maxUtilization" yaml:"maxUtilization"`
}
type GoogleComputeBackendServiceBackendList ¶
type GoogleComputeBackendServiceBackendList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleComputeBackendServiceBackendOutputReference
// 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 NewGoogleComputeBackendServiceBackendList ¶
func NewGoogleComputeBackendServiceBackendList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeBackendServiceBackendList
type GoogleComputeBackendServiceBackendOutputReference ¶
type GoogleComputeBackendServiceBackendOutputReference 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 NewGoogleComputeBackendServiceBackendOutputReference ¶
func NewGoogleComputeBackendServiceBackendOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeBackendServiceBackendOutputReference
type GoogleComputeBackendServiceCdnPolicy ¶
type GoogleComputeBackendServiceCdnPolicy struct {
// bypass_cache_on_request_headers block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#bypass_cache_on_request_headers GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#cache_key_policy GoogleComputeBackendService#cache_key_policy}
CacheKeyPolicy *GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy `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-beta/5.39.1/docs/resources/google_compute_backend_service#cache_mode GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#client_ttl GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#default_ttl GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_ttl GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#negative_caching GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#negative_caching_policy GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#serve_while_stale GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#signed_url_cache_max_age_sec GoogleComputeBackendService#signed_url_cache_max_age_sec}
SignedUrlCacheMaxAgeSec *float64 `field:"optional" json:"signedUrlCacheMaxAgeSec" yaml:"signedUrlCacheMaxAgeSec"`
}
type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeaders ¶
type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeaders 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-beta/5.39.1/docs/resources/google_compute_backend_service#header_name GoogleComputeBackendService#header_name}
HeaderName *string `field:"required" json:"headerName" yaml:"headerName"`
}
type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList ¶
type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference
// 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 NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList ¶
func NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList
type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference ¶
type GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference 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 NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference ¶
func NewGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference
type GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy ¶
type GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy struct {
// If true requests to different hosts will be cached separately.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#include_host GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#include_http_headers GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#include_named_cookies GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#include_protocol GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#include_query_string GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#query_string_blacklist GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#query_string_whitelist GoogleComputeBackendService#query_string_whitelist}
QueryStringWhitelist *[]*string `field:"optional" json:"queryStringWhitelist" yaml:"queryStringWhitelist"`
}
type GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference ¶
type GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference 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() *GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy
SetInternalValue(val *GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy)
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 NewGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference ¶
func NewGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference
type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicy ¶
type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicy 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-beta/5.39.1/docs/resources/google_compute_backend_service#code GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#ttl GoogleComputeBackendService#ttl}
Ttl *float64 `field:"optional" json:"ttl" yaml:"ttl"`
}
type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList ¶
type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference
// 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 NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList ¶
func NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList
type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference ¶
type GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference 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 NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference ¶
func NewGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference
type GoogleComputeBackendServiceCdnPolicyOutputReference ¶
type GoogleComputeBackendServiceCdnPolicyOutputReference interface {
cdktf.ComplexObject
BypassCacheOnRequestHeaders() GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList
BypassCacheOnRequestHeadersInput() interface{}
CacheKeyPolicy() GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference
CacheKeyPolicyInput() *GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy
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() *GoogleComputeBackendServiceCdnPolicy
SetInternalValue(val *GoogleComputeBackendServiceCdnPolicy)
MaxTtl() *float64
SetMaxTtl(val *float64)
MaxTtlInput() *float64
NegativeCaching() interface{}
SetNegativeCaching(val interface{})
NegativeCachingInput() interface{}
NegativeCachingPolicy() GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList
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 *GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy)
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 NewGoogleComputeBackendServiceCdnPolicyOutputReference ¶
func NewGoogleComputeBackendServiceCdnPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceCdnPolicyOutputReference
type GoogleComputeBackendServiceCircuitBreakers ¶
type GoogleComputeBackendServiceCircuitBreakers struct {
// connect_timeout block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#connect_timeout GoogleComputeBackendService#connect_timeout}
ConnectTimeout *GoogleComputeBackendServiceCircuitBreakersConnectTimeout `field:"optional" json:"connectTimeout" yaml:"connectTimeout"`
// The maximum number of connections to the backend cluster. Defaults to 1024.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#max_connections GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_pending_requests GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_requests GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_requests_per_connection GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#max_retries GoogleComputeBackendService#max_retries}
MaxRetries *float64 `field:"optional" json:"maxRetries" yaml:"maxRetries"`
}
type GoogleComputeBackendServiceCircuitBreakersConnectTimeout ¶
type GoogleComputeBackendServiceCircuitBreakersConnectTimeout 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-beta/5.39.1/docs/resources/google_compute_backend_service#seconds GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#nanos GoogleComputeBackendService#nanos}
Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"`
}
type GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference ¶
type GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference 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() *GoogleComputeBackendServiceCircuitBreakersConnectTimeout
SetInternalValue(val *GoogleComputeBackendServiceCircuitBreakersConnectTimeout)
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 NewGoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference ¶
func NewGoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference
type GoogleComputeBackendServiceCircuitBreakersOutputReference ¶
type GoogleComputeBackendServiceCircuitBreakersOutputReference 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)
ConnectTimeout() GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference
ConnectTimeoutInput() *GoogleComputeBackendServiceCircuitBreakersConnectTimeout
// 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() *GoogleComputeBackendServiceCircuitBreakers
SetInternalValue(val *GoogleComputeBackendServiceCircuitBreakers)
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
PutConnectTimeout(value *GoogleComputeBackendServiceCircuitBreakersConnectTimeout)
ResetConnectTimeout()
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 NewGoogleComputeBackendServiceCircuitBreakersOutputReference ¶
func NewGoogleComputeBackendServiceCircuitBreakersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceCircuitBreakersOutputReference
type GoogleComputeBackendServiceConfig ¶
type GoogleComputeBackendServiceConfig 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-beta/5.39.1/docs/resources/google_compute_backend_service#name GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#affinity_cookie_ttl_sec GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#backend GoogleComputeBackendService#backend}
Backend interface{} `field:"optional" json:"backend" yaml:"backend"`
// cdn_policy block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#cdn_policy GoogleComputeBackendService#cdn_policy}
CdnPolicy *GoogleComputeBackendServiceCdnPolicy `field:"optional" json:"cdnPolicy" yaml:"cdnPolicy"`
// circuit_breakers block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#circuit_breakers GoogleComputeBackendService#circuit_breakers}
CircuitBreakers *GoogleComputeBackendServiceCircuitBreakers `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-beta/5.39.1/docs/resources/google_compute_backend_service#compression_mode GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#connection_draining_timeout_sec GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#consistent_hash GoogleComputeBackendService#consistent_hash}
ConsistentHash *GoogleComputeBackendServiceConsistentHash `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-beta/5.39.1/docs/resources/google_compute_backend_service#custom_request_headers GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#custom_response_headers GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#description GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#edge_security_policy GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#enable_cdn GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#health_checks GoogleComputeBackendService#health_checks}
HealthChecks *[]*string `field:"optional" json:"healthChecks" yaml:"healthChecks"`
// iap block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#iap GoogleComputeBackendService#iap}
Iap *GoogleComputeBackendServiceIap `field:"optional" json:"iap" yaml:"iap"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#id GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#load_balancing_scheme GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#locality_lb_policies GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#locality_lb_policy GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#log_config GoogleComputeBackendService#log_config}
LogConfig *GoogleComputeBackendServiceLogConfig `field:"optional" json:"logConfig" yaml:"logConfig"`
// outlier_detection block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#outlier_detection GoogleComputeBackendService#outlier_detection}
OutlierDetection *GoogleComputeBackendServiceOutlierDetection `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-beta/5.39.1/docs/resources/google_compute_backend_service#port_name GoogleComputeBackendService#port_name}
PortName *string `field:"optional" json:"portName" yaml:"portName"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#project GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#protocol GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#security_policy GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#security_settings GoogleComputeBackendService#security_settings}
SecuritySettings *GoogleComputeBackendServiceSecuritySettings `field:"optional" json:"securitySettings" yaml:"securitySettings"`
// URL to networkservices.ServiceLbPolicy resource. Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#service_lb_policy GoogleComputeBackendService#service_lb_policy}
ServiceLbPolicy *string `field:"optional" json:"serviceLbPolicy" yaml:"serviceLbPolicy"`
// 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-beta/5.39.1/docs/resources/google_compute_backend_service#session_affinity GoogleComputeBackendService#session_affinity}
SessionAffinity *string `field:"optional" json:"sessionAffinity" yaml:"sessionAffinity"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#timeouts GoogleComputeBackendService#timeouts}
Timeouts *GoogleComputeBackendServiceTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
// The backend service timeout has a different meaning depending on the type of load balancer.
//
// For more information see, [Backend service settings](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices).
// The default is 30 seconds.
// The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#timeout_sec GoogleComputeBackendService#timeout_sec}
TimeoutSec *float64 `field:"optional" json:"timeoutSec" yaml:"timeoutSec"`
}
type GoogleComputeBackendServiceConsistentHash ¶
type GoogleComputeBackendServiceConsistentHash struct {
// http_cookie block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#http_cookie GoogleComputeBackendService#http_cookie}
HttpCookie *GoogleComputeBackendServiceConsistentHashHttpCookie `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-beta/5.39.1/docs/resources/google_compute_backend_service#http_header_name GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#minimum_ring_size GoogleComputeBackendService#minimum_ring_size}
MinimumRingSize *float64 `field:"optional" json:"minimumRingSize" yaml:"minimumRingSize"`
}
type GoogleComputeBackendServiceConsistentHashHttpCookie ¶
type GoogleComputeBackendServiceConsistentHashHttpCookie struct {
// Name of the cookie.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#name GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#path GoogleComputeBackendService#path}
Path *string `field:"optional" json:"path" yaml:"path"`
// ttl block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#ttl GoogleComputeBackendService#ttl}
Ttl *GoogleComputeBackendServiceConsistentHashHttpCookieTtl `field:"optional" json:"ttl" yaml:"ttl"`
}
type GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference ¶
type GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference 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() *GoogleComputeBackendServiceConsistentHashHttpCookie
SetInternalValue(val *GoogleComputeBackendServiceConsistentHashHttpCookie)
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() GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference
TtlInput() *GoogleComputeBackendServiceConsistentHashHttpCookieTtl
// 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 *GoogleComputeBackendServiceConsistentHashHttpCookieTtl)
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 NewGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference ¶
func NewGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference
type GoogleComputeBackendServiceConsistentHashHttpCookieTtl ¶
type GoogleComputeBackendServiceConsistentHashHttpCookieTtl 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-beta/5.39.1/docs/resources/google_compute_backend_service#seconds GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#nanos GoogleComputeBackendService#nanos}
Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"`
}
type GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference ¶
type GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference 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() *GoogleComputeBackendServiceConsistentHashHttpCookieTtl
SetInternalValue(val *GoogleComputeBackendServiceConsistentHashHttpCookieTtl)
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 NewGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference ¶
func NewGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference
type GoogleComputeBackendServiceConsistentHashOutputReference ¶
type GoogleComputeBackendServiceConsistentHashOutputReference 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() GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference
HttpCookieInput() *GoogleComputeBackendServiceConsistentHashHttpCookie
HttpHeaderName() *string
SetHttpHeaderName(val *string)
HttpHeaderNameInput() *string
InternalValue() *GoogleComputeBackendServiceConsistentHash
SetInternalValue(val *GoogleComputeBackendServiceConsistentHash)
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 *GoogleComputeBackendServiceConsistentHashHttpCookie)
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 NewGoogleComputeBackendServiceConsistentHashOutputReference ¶
func NewGoogleComputeBackendServiceConsistentHashOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceConsistentHashOutputReference
type GoogleComputeBackendServiceIap ¶
type GoogleComputeBackendServiceIap struct {
// OAuth2 Client ID for IAP.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#oauth2_client_id GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#oauth2_client_secret GoogleComputeBackendService#oauth2_client_secret}
Oauth2ClientSecret *string `field:"required" json:"oauth2ClientSecret" yaml:"oauth2ClientSecret"`
}
type GoogleComputeBackendServiceIapOutputReference ¶
type GoogleComputeBackendServiceIapOutputReference 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() *GoogleComputeBackendServiceIap
SetInternalValue(val *GoogleComputeBackendServiceIap)
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 NewGoogleComputeBackendServiceIapOutputReference ¶
func NewGoogleComputeBackendServiceIapOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceIapOutputReference
type GoogleComputeBackendServiceLocalityLbPolicies ¶
type GoogleComputeBackendServiceLocalityLbPolicies struct {
// custom_policy block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#custom_policy GoogleComputeBackendService#custom_policy}
CustomPolicy *GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy `field:"optional" json:"customPolicy" yaml:"customPolicy"`
// policy block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#policy GoogleComputeBackendService#policy}
Policy *GoogleComputeBackendServiceLocalityLbPoliciesPolicy `field:"optional" json:"policy" yaml:"policy"`
}
type GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy ¶
type GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy 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-beta/5.39.1/docs/resources/google_compute_backend_service#name GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#data GoogleComputeBackendService#data}
Data *string `field:"optional" json:"data" yaml:"data"`
}
type GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference ¶
type GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference 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() *GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy
SetInternalValue(val *GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy)
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 NewGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference ¶
func NewGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference
type GoogleComputeBackendServiceLocalityLbPoliciesList ¶
type GoogleComputeBackendServiceLocalityLbPoliciesList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleComputeBackendServiceLocalityLbPoliciesOutputReference
// 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 NewGoogleComputeBackendServiceLocalityLbPoliciesList ¶
func NewGoogleComputeBackendServiceLocalityLbPoliciesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeBackendServiceLocalityLbPoliciesList
type GoogleComputeBackendServiceLocalityLbPoliciesOutputReference ¶
type GoogleComputeBackendServiceLocalityLbPoliciesOutputReference 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() GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference
CustomPolicyInput() *GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
Policy() GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference
PolicyInput() *GoogleComputeBackendServiceLocalityLbPoliciesPolicy
// 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 *GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy)
PutPolicy(value *GoogleComputeBackendServiceLocalityLbPoliciesPolicy)
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 NewGoogleComputeBackendServiceLocalityLbPoliciesOutputReference ¶
func NewGoogleComputeBackendServiceLocalityLbPoliciesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeBackendServiceLocalityLbPoliciesOutputReference
type GoogleComputeBackendServiceLocalityLbPoliciesPolicy ¶
type GoogleComputeBackendServiceLocalityLbPoliciesPolicy 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-beta/5.39.1/docs/resources/google_compute_backend_service#name GoogleComputeBackendService#name}
Name *string `field:"required" json:"name" yaml:"name"`
}
type GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference ¶
type GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference 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() *GoogleComputeBackendServiceLocalityLbPoliciesPolicy
SetInternalValue(val *GoogleComputeBackendServiceLocalityLbPoliciesPolicy)
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 NewGoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference ¶
func NewGoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference
type GoogleComputeBackendServiceLogConfig ¶
type GoogleComputeBackendServiceLogConfig 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-beta/5.39.1/docs/resources/google_compute_backend_service#enable GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#sample_rate GoogleComputeBackendService#sample_rate}
SampleRate *float64 `field:"optional" json:"sampleRate" yaml:"sampleRate"`
}
type GoogleComputeBackendServiceLogConfigOutputReference ¶
type GoogleComputeBackendServiceLogConfigOutputReference 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() *GoogleComputeBackendServiceLogConfig
SetInternalValue(val *GoogleComputeBackendServiceLogConfig)
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 NewGoogleComputeBackendServiceLogConfigOutputReference ¶
func NewGoogleComputeBackendServiceLogConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceLogConfigOutputReference
type GoogleComputeBackendServiceOutlierDetection ¶
type GoogleComputeBackendServiceOutlierDetection struct {
// base_ejection_time block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#base_ejection_time GoogleComputeBackendService#base_ejection_time}
BaseEjectionTime *GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime `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-beta/5.39.1/docs/resources/google_compute_backend_service#consecutive_errors GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#consecutive_gateway_failure GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#enforcing_consecutive_errors GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#enforcing_consecutive_gateway_failure GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#enforcing_success_rate GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#interval GoogleComputeBackendService#interval}
Interval *GoogleComputeBackendServiceOutlierDetectionInterval `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-beta/5.39.1/docs/resources/google_compute_backend_service#max_ejection_percent GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#success_rate_minimum_hosts GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#success_rate_request_volume GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#success_rate_stdev_factor GoogleComputeBackendService#success_rate_stdev_factor}
SuccessRateStdevFactor *float64 `field:"optional" json:"successRateStdevFactor" yaml:"successRateStdevFactor"`
}
type GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime ¶
type GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime 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-beta/5.39.1/docs/resources/google_compute_backend_service#seconds GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#nanos GoogleComputeBackendService#nanos}
Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"`
}
type GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference ¶
type GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference 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() *GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime
SetInternalValue(val *GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime)
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 NewGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference ¶
func NewGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference
type GoogleComputeBackendServiceOutlierDetectionInterval ¶
type GoogleComputeBackendServiceOutlierDetectionInterval 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-beta/5.39.1/docs/resources/google_compute_backend_service#seconds GoogleComputeBackendService#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-beta/5.39.1/docs/resources/google_compute_backend_service#nanos GoogleComputeBackendService#nanos}
Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"`
}
type GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference ¶
type GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference 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() *GoogleComputeBackendServiceOutlierDetectionInterval
SetInternalValue(val *GoogleComputeBackendServiceOutlierDetectionInterval)
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 NewGoogleComputeBackendServiceOutlierDetectionIntervalOutputReference ¶
func NewGoogleComputeBackendServiceOutlierDetectionIntervalOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference
type GoogleComputeBackendServiceOutlierDetectionOutputReference ¶
type GoogleComputeBackendServiceOutlierDetectionOutputReference interface {
cdktf.ComplexObject
BaseEjectionTime() GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference
BaseEjectionTimeInput() *GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime
// 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() *GoogleComputeBackendServiceOutlierDetection
SetInternalValue(val *GoogleComputeBackendServiceOutlierDetection)
Interval() GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference
IntervalInput() *GoogleComputeBackendServiceOutlierDetectionInterval
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 *GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime)
PutInterval(value *GoogleComputeBackendServiceOutlierDetectionInterval)
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 NewGoogleComputeBackendServiceOutlierDetectionOutputReference ¶
func NewGoogleComputeBackendServiceOutlierDetectionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceOutlierDetectionOutputReference
type GoogleComputeBackendServiceSecuritySettings ¶
type GoogleComputeBackendServiceSecuritySettings struct {
// aws_v4_authentication block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#aws_v4_authentication GoogleComputeBackendService#aws_v4_authentication}
AwsV4Authentication *GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication `field:"optional" json:"awsV4Authentication" yaml:"awsV4Authentication"`
// 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-beta/5.39.1/docs/resources/google_compute_backend_service#client_tls_policy GoogleComputeBackendService#client_tls_policy}
ClientTlsPolicy *string `field:"optional" 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-beta/5.39.1/docs/resources/google_compute_backend_service#subject_alt_names GoogleComputeBackendService#subject_alt_names}
SubjectAltNames *[]*string `field:"optional" json:"subjectAltNames" yaml:"subjectAltNames"`
}
type GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication ¶ added in v13.21.0
type GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication struct {
// The access key used for s3 bucket authentication.
//
// Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#access_key GoogleComputeBackendService#access_key}
AccessKey *string `field:"optional" json:"accessKey" yaml:"accessKey"`
// The identifier of an access key used for s3 bucket authentication.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#access_key_id GoogleComputeBackendService#access_key_id}
AccessKeyId *string `field:"optional" json:"accessKeyId" yaml:"accessKeyId"`
// The optional version identifier for the access key.
//
// You can use this to keep track of different iterations of your access key.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#access_key_version GoogleComputeBackendService#access_key_version}
AccessKeyVersion *string `field:"optional" json:"accessKeyVersion" yaml:"accessKeyVersion"`
// The name of the cloud region of your origin.
//
// This is a free-form field with the name of the region your cloud uses to host your origin.
// For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#origin_region GoogleComputeBackendService#origin_region}
OriginRegion *string `field:"optional" json:"originRegion" yaml:"originRegion"`
}
type GoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference ¶ added in v13.21.0
type GoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference interface {
cdktf.ComplexObject
AccessKey() *string
SetAccessKey(val *string)
AccessKeyId() *string
SetAccessKeyId(val *string)
AccessKeyIdInput() *string
AccessKeyInput() *string
AccessKeyVersion() *string
SetAccessKeyVersion(val *string)
AccessKeyVersionInput() *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() *GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication
SetInternalValue(val *GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication)
OriginRegion() *string
SetOriginRegion(val *string)
OriginRegionInput() *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
ResetAccessKey()
ResetAccessKeyId()
ResetAccessKeyVersion()
ResetOriginRegion()
// 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 NewGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference ¶ added in v13.21.0
func NewGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference
type GoogleComputeBackendServiceSecuritySettingsOutputReference ¶
type GoogleComputeBackendServiceSecuritySettingsOutputReference interface {
cdktf.ComplexObject
AwsV4Authentication() GoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference
AwsV4AuthenticationInput() *GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication
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() *GoogleComputeBackendServiceSecuritySettings
SetInternalValue(val *GoogleComputeBackendServiceSecuritySettings)
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
PutAwsV4Authentication(value *GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication)
ResetAwsV4Authentication()
ResetClientTlsPolicy()
ResetSubjectAltNames()
// 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 NewGoogleComputeBackendServiceSecuritySettingsOutputReference ¶
func NewGoogleComputeBackendServiceSecuritySettingsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceSecuritySettingsOutputReference
type GoogleComputeBackendServiceTimeouts ¶
type GoogleComputeBackendServiceTimeouts struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#create GoogleComputeBackendService#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#delete GoogleComputeBackendService#delete}.
Delete *string `field:"optional" json:"delete" yaml:"delete"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.39.1/docs/resources/google_compute_backend_service#update GoogleComputeBackendService#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type GoogleComputeBackendServiceTimeoutsOutputReference ¶
type GoogleComputeBackendServiceTimeoutsOutputReference 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 NewGoogleComputeBackendServiceTimeoutsOutputReference ¶
func NewGoogleComputeBackendServiceTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeBackendServiceTimeoutsOutputReference
Source Files
¶
- GoogleComputeBackendService.go
- GoogleComputeBackendServiceBackend.go
- GoogleComputeBackendServiceBackendList.go
- GoogleComputeBackendServiceBackendList__checks.go
- GoogleComputeBackendServiceBackendOutputReference.go
- GoogleComputeBackendServiceBackendOutputReference__checks.go
- GoogleComputeBackendServiceCdnPolicy.go
- GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeaders.go
- GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList.go
- GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList__checks.go
- GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference.go
- GoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference__checks.go
- GoogleComputeBackendServiceCdnPolicyCacheKeyPolicy.go
- GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference.go
- GoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference__checks.go
- GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicy.go
- GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList.go
- GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList__checks.go
- GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference.go
- GoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference__checks.go
- GoogleComputeBackendServiceCdnPolicyOutputReference.go
- GoogleComputeBackendServiceCdnPolicyOutputReference__checks.go
- GoogleComputeBackendServiceCircuitBreakers.go
- GoogleComputeBackendServiceCircuitBreakersConnectTimeout.go
- GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference.go
- GoogleComputeBackendServiceCircuitBreakersConnectTimeoutOutputReference__checks.go
- GoogleComputeBackendServiceCircuitBreakersOutputReference.go
- GoogleComputeBackendServiceCircuitBreakersOutputReference__checks.go
- GoogleComputeBackendServiceConfig.go
- GoogleComputeBackendServiceConsistentHash.go
- GoogleComputeBackendServiceConsistentHashHttpCookie.go
- GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference.go
- GoogleComputeBackendServiceConsistentHashHttpCookieOutputReference__checks.go
- GoogleComputeBackendServiceConsistentHashHttpCookieTtl.go
- GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference.go
- GoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference__checks.go
- GoogleComputeBackendServiceConsistentHashOutputReference.go
- GoogleComputeBackendServiceConsistentHashOutputReference__checks.go
- GoogleComputeBackendServiceIap.go
- GoogleComputeBackendServiceIapOutputReference.go
- GoogleComputeBackendServiceIapOutputReference__checks.go
- GoogleComputeBackendServiceLocalityLbPolicies.go
- GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicy.go
- GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference.go
- GoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference__checks.go
- GoogleComputeBackendServiceLocalityLbPoliciesList.go
- GoogleComputeBackendServiceLocalityLbPoliciesList__checks.go
- GoogleComputeBackendServiceLocalityLbPoliciesOutputReference.go
- GoogleComputeBackendServiceLocalityLbPoliciesOutputReference__checks.go
- GoogleComputeBackendServiceLocalityLbPoliciesPolicy.go
- GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference.go
- GoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference__checks.go
- GoogleComputeBackendServiceLogConfig.go
- GoogleComputeBackendServiceLogConfigOutputReference.go
- GoogleComputeBackendServiceLogConfigOutputReference__checks.go
- GoogleComputeBackendServiceOutlierDetection.go
- GoogleComputeBackendServiceOutlierDetectionBaseEjectionTime.go
- GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference.go
- GoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference__checks.go
- GoogleComputeBackendServiceOutlierDetectionInterval.go
- GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference.go
- GoogleComputeBackendServiceOutlierDetectionIntervalOutputReference__checks.go
- GoogleComputeBackendServiceOutlierDetectionOutputReference.go
- GoogleComputeBackendServiceOutlierDetectionOutputReference__checks.go
- GoogleComputeBackendServiceSecuritySettings.go
- GoogleComputeBackendServiceSecuritySettingsAwsV4Authentication.go
- GoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference.go
- GoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference__checks.go
- GoogleComputeBackendServiceSecuritySettingsOutputReference.go
- GoogleComputeBackendServiceSecuritySettingsOutputReference__checks.go
- GoogleComputeBackendServiceTimeouts.go
- GoogleComputeBackendServiceTimeoutsOutputReference.go
- GoogleComputeBackendServiceTimeoutsOutputReference__checks.go
- GoogleComputeBackendService__checks.go
- main.go