UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

863 lines 273 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataGoogleComputeRegionBackendService = exports.DataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieList = exports.DataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieOutputReference = exports.DataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieTtlList = exports.DataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieTtlOutputReference = exports.DataGoogleComputeRegionBackendServiceOutlierDetectionList = exports.DataGoogleComputeRegionBackendServiceOutlierDetectionOutputReference = exports.DataGoogleComputeRegionBackendServiceOutlierDetectionIntervalList = exports.DataGoogleComputeRegionBackendServiceOutlierDetectionIntervalOutputReference = exports.DataGoogleComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeList = exports.DataGoogleComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeOutputReference = exports.DataGoogleComputeRegionBackendServiceLogConfigList = exports.DataGoogleComputeRegionBackendServiceLogConfigOutputReference = exports.DataGoogleComputeRegionBackendServiceIapList = exports.DataGoogleComputeRegionBackendServiceIapOutputReference = exports.DataGoogleComputeRegionBackendServiceFailoverPolicyList = exports.DataGoogleComputeRegionBackendServiceFailoverPolicyOutputReference = exports.DataGoogleComputeRegionBackendServiceCustomMetricsList = exports.DataGoogleComputeRegionBackendServiceCustomMetricsOutputReference = exports.DataGoogleComputeRegionBackendServiceConsistentHashList = exports.DataGoogleComputeRegionBackendServiceConsistentHashOutputReference = exports.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieList = exports.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieOutputReference = exports.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlList = exports.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference = exports.DataGoogleComputeRegionBackendServiceCircuitBreakersList = exports.DataGoogleComputeRegionBackendServiceCircuitBreakersOutputReference = exports.DataGoogleComputeRegionBackendServiceCdnPolicyList = exports.DataGoogleComputeRegionBackendServiceCdnPolicyOutputReference = exports.DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList = exports.DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference = exports.DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyList = exports.DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference = exports.DataGoogleComputeRegionBackendServiceBackendList = exports.DataGoogleComputeRegionBackendServiceBackendOutputReference = exports.DataGoogleComputeRegionBackendServiceBackendCustomMetricsList = exports.DataGoogleComputeRegionBackendServiceBackendCustomMetricsOutputReference = void 0; exports.dataGoogleComputeRegionBackendServiceBackendCustomMetricsToTerraform = dataGoogleComputeRegionBackendServiceBackendCustomMetricsToTerraform; exports.dataGoogleComputeRegionBackendServiceBackendCustomMetricsToHclTerraform = dataGoogleComputeRegionBackendServiceBackendCustomMetricsToHclTerraform; exports.dataGoogleComputeRegionBackendServiceBackendToTerraform = dataGoogleComputeRegionBackendServiceBackendToTerraform; exports.dataGoogleComputeRegionBackendServiceBackendToHclTerraform = dataGoogleComputeRegionBackendServiceBackendToHclTerraform; exports.dataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyToTerraform = dataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyToTerraform; exports.dataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform = dataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform; exports.dataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyToTerraform = dataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyToTerraform; exports.dataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform = dataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform; exports.dataGoogleComputeRegionBackendServiceCdnPolicyToTerraform = dataGoogleComputeRegionBackendServiceCdnPolicyToTerraform; exports.dataGoogleComputeRegionBackendServiceCdnPolicyToHclTerraform = dataGoogleComputeRegionBackendServiceCdnPolicyToHclTerraform; exports.dataGoogleComputeRegionBackendServiceCircuitBreakersToTerraform = dataGoogleComputeRegionBackendServiceCircuitBreakersToTerraform; exports.dataGoogleComputeRegionBackendServiceCircuitBreakersToHclTerraform = dataGoogleComputeRegionBackendServiceCircuitBreakersToHclTerraform; exports.dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlToTerraform = dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlToTerraform; exports.dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlToHclTerraform = dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlToHclTerraform; exports.dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieToTerraform = dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieToTerraform; exports.dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieToHclTerraform = dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieToHclTerraform; exports.dataGoogleComputeRegionBackendServiceConsistentHashToTerraform = dataGoogleComputeRegionBackendServiceConsistentHashToTerraform; exports.dataGoogleComputeRegionBackendServiceConsistentHashToHclTerraform = dataGoogleComputeRegionBackendServiceConsistentHashToHclTerraform; exports.dataGoogleComputeRegionBackendServiceCustomMetricsToTerraform = dataGoogleComputeRegionBackendServiceCustomMetricsToTerraform; exports.dataGoogleComputeRegionBackendServiceCustomMetricsToHclTerraform = dataGoogleComputeRegionBackendServiceCustomMetricsToHclTerraform; exports.dataGoogleComputeRegionBackendServiceFailoverPolicyToTerraform = dataGoogleComputeRegionBackendServiceFailoverPolicyToTerraform; exports.dataGoogleComputeRegionBackendServiceFailoverPolicyToHclTerraform = dataGoogleComputeRegionBackendServiceFailoverPolicyToHclTerraform; exports.dataGoogleComputeRegionBackendServiceIapToTerraform = dataGoogleComputeRegionBackendServiceIapToTerraform; exports.dataGoogleComputeRegionBackendServiceIapToHclTerraform = dataGoogleComputeRegionBackendServiceIapToHclTerraform; exports.dataGoogleComputeRegionBackendServiceLogConfigToTerraform = dataGoogleComputeRegionBackendServiceLogConfigToTerraform; exports.dataGoogleComputeRegionBackendServiceLogConfigToHclTerraform = dataGoogleComputeRegionBackendServiceLogConfigToHclTerraform; exports.dataGoogleComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeToTerraform = dataGoogleComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeToTerraform; exports.dataGoogleComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeToHclTerraform = dataGoogleComputeRegionBackendServiceOutlierDetectionBaseEjectionTimeToHclTerraform; exports.dataGoogleComputeRegionBackendServiceOutlierDetectionIntervalToTerraform = dataGoogleComputeRegionBackendServiceOutlierDetectionIntervalToTerraform; exports.dataGoogleComputeRegionBackendServiceOutlierDetectionIntervalToHclTerraform = dataGoogleComputeRegionBackendServiceOutlierDetectionIntervalToHclTerraform; exports.dataGoogleComputeRegionBackendServiceOutlierDetectionToTerraform = dataGoogleComputeRegionBackendServiceOutlierDetectionToTerraform; exports.dataGoogleComputeRegionBackendServiceOutlierDetectionToHclTerraform = dataGoogleComputeRegionBackendServiceOutlierDetectionToHclTerraform; exports.dataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieTtlToTerraform = dataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieTtlToTerraform; exports.dataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieTtlToHclTerraform = dataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieTtlToHclTerraform; exports.dataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieToTerraform = dataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieToTerraform; exports.dataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieToHclTerraform = dataGoogleComputeRegionBackendServiceStrongSessionAffinityCookieToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleComputeRegionBackendServiceBackendCustomMetricsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceBackendCustomMetricsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceBackendCustomMetricsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // dry_run - computed: true, optional: false, required: false get dryRun() { return this.getBooleanAttribute('dry_run'); } // max_utilization - computed: true, optional: false, required: false get maxUtilization() { return this.getNumberAttribute('max_utilization'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } } exports.DataGoogleComputeRegionBackendServiceBackendCustomMetricsOutputReference = DataGoogleComputeRegionBackendServiceBackendCustomMetricsOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceBackendCustomMetricsOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceBackendCustomMetricsOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceBackendCustomMetricsList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceBackendCustomMetricsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceBackendCustomMetricsList = DataGoogleComputeRegionBackendServiceBackendCustomMetricsList; _b = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceBackendCustomMetricsList[_b] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceBackendCustomMetricsList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceBackendToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceBackendToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceBackendOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // custom_metrics - computed: true, optional: false, required: false this._customMetrics = new DataGoogleComputeRegionBackendServiceBackendCustomMetricsList(this, "custom_metrics", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // balancing_mode - computed: true, optional: false, required: false get balancingMode() { return this.getStringAttribute('balancing_mode'); } // capacity_scaler - computed: true, optional: false, required: false get capacityScaler() { return this.getNumberAttribute('capacity_scaler'); } get customMetrics() { return this._customMetrics; } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // failover - computed: true, optional: false, required: false get failover() { return this.getBooleanAttribute('failover'); } // group - computed: true, optional: false, required: false get group() { return this.getStringAttribute('group'); } // max_connections - computed: true, optional: false, required: false get maxConnections() { return this.getNumberAttribute('max_connections'); } // max_connections_per_endpoint - computed: true, optional: false, required: false get maxConnectionsPerEndpoint() { return this.getNumberAttribute('max_connections_per_endpoint'); } // max_connections_per_instance - computed: true, optional: false, required: false get maxConnectionsPerInstance() { return this.getNumberAttribute('max_connections_per_instance'); } // max_rate - computed: true, optional: false, required: false get maxRate() { return this.getNumberAttribute('max_rate'); } // max_rate_per_endpoint - computed: true, optional: false, required: false get maxRatePerEndpoint() { return this.getNumberAttribute('max_rate_per_endpoint'); } // max_rate_per_instance - computed: true, optional: false, required: false get maxRatePerInstance() { return this.getNumberAttribute('max_rate_per_instance'); } // max_utilization - computed: true, optional: false, required: false get maxUtilization() { return this.getNumberAttribute('max_utilization'); } } exports.DataGoogleComputeRegionBackendServiceBackendOutputReference = DataGoogleComputeRegionBackendServiceBackendOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceBackendOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceBackendOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceBackendList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceBackendOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceBackendList = DataGoogleComputeRegionBackendServiceBackendList; _d = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceBackendList[_d] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceBackendList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // include_host - computed: true, optional: false, required: false get includeHost() { return this.getBooleanAttribute('include_host'); } // include_named_cookies - computed: true, optional: false, required: false get includeNamedCookies() { return this.getListAttribute('include_named_cookies'); } // include_protocol - computed: true, optional: false, required: false get includeProtocol() { return this.getBooleanAttribute('include_protocol'); } // include_query_string - computed: true, optional: false, required: false get includeQueryString() { return this.getBooleanAttribute('include_query_string'); } // query_string_blacklist - computed: true, optional: false, required: false get queryStringBlacklist() { return cdktf.Fn.tolist(this.getListAttribute('query_string_blacklist')); } // query_string_whitelist - computed: true, optional: false, required: false get queryStringWhitelist() { return cdktf.Fn.tolist(this.getListAttribute('query_string_whitelist')); } } exports.DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference = DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyList = DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyList; _f = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // code - computed: true, optional: false, required: false get code() { return this.getNumberAttribute('code'); } } exports.DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference = DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList = DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList; _h = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceCdnPolicyToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceCdnPolicyToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceCdnPolicyOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // cache_key_policy - computed: true, optional: false, required: false this._cacheKeyPolicy = new DataGoogleComputeRegionBackendServiceCdnPolicyCacheKeyPolicyList(this, "cache_key_policy", false); // negative_caching_policy - computed: true, optional: false, required: false this._negativeCachingPolicy = new DataGoogleComputeRegionBackendServiceCdnPolicyNegativeCachingPolicyList(this, "negative_caching_policy", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } get cacheKeyPolicy() { return this._cacheKeyPolicy; } // cache_mode - computed: true, optional: false, required: false get cacheMode() { return this.getStringAttribute('cache_mode'); } // client_ttl - computed: true, optional: false, required: false get clientTtl() { return this.getNumberAttribute('client_ttl'); } // default_ttl - computed: true, optional: false, required: false get defaultTtl() { return this.getNumberAttribute('default_ttl'); } // max_ttl - computed: true, optional: false, required: false get maxTtl() { return this.getNumberAttribute('max_ttl'); } // negative_caching - computed: true, optional: false, required: false get negativeCaching() { return this.getBooleanAttribute('negative_caching'); } get negativeCachingPolicy() { return this._negativeCachingPolicy; } // serve_while_stale - computed: true, optional: false, required: false get serveWhileStale() { return this.getNumberAttribute('serve_while_stale'); } // signed_url_cache_max_age_sec - computed: true, optional: false, required: false get signedUrlCacheMaxAgeSec() { return this.getNumberAttribute('signed_url_cache_max_age_sec'); } } exports.DataGoogleComputeRegionBackendServiceCdnPolicyOutputReference = DataGoogleComputeRegionBackendServiceCdnPolicyOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceCdnPolicyOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceCdnPolicyOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceCdnPolicyList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceCdnPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceCdnPolicyList = DataGoogleComputeRegionBackendServiceCdnPolicyList; _k = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceCdnPolicyList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceCdnPolicyList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceCircuitBreakersToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceCircuitBreakersToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceCircuitBreakersOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // max_connections - computed: true, optional: false, required: false get maxConnections() { return this.getNumberAttribute('max_connections'); } // max_pending_requests - computed: true, optional: false, required: false get maxPendingRequests() { return this.getNumberAttribute('max_pending_requests'); } // max_requests - computed: true, optional: false, required: false get maxRequests() { return this.getNumberAttribute('max_requests'); } // max_requests_per_connection - computed: true, optional: false, required: false get maxRequestsPerConnection() { return this.getNumberAttribute('max_requests_per_connection'); } // max_retries - computed: true, optional: false, required: false get maxRetries() { return this.getNumberAttribute('max_retries'); } } exports.DataGoogleComputeRegionBackendServiceCircuitBreakersOutputReference = DataGoogleComputeRegionBackendServiceCircuitBreakersOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceCircuitBreakersOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceCircuitBreakersOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceCircuitBreakersList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceCircuitBreakersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceCircuitBreakersList = DataGoogleComputeRegionBackendServiceCircuitBreakersList; _m = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceCircuitBreakersList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceCircuitBreakersList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // nanos - computed: true, optional: false, required: false get nanos() { return this.getNumberAttribute('nanos'); } // seconds - computed: true, optional: false, required: false get seconds() { return this.getNumberAttribute('seconds'); } } exports.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference = DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlList = DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlList; _p = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceConsistentHashHttpCookieToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // ttl - computed: true, optional: false, required: false this._ttl = new DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieTtlList(this, "ttl", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // path - computed: true, optional: false, required: false get path() { return this.getStringAttribute('path'); } get ttl() { return this._ttl; } } exports.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieOutputReference = DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieList = DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieList; _r = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceConsistentHashToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceConsistentHashToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeRegionBackendServiceConsistentHashOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // http_cookie - computed: true, optional: false, required: false this._httpCookie = new DataGoogleComputeRegionBackendServiceConsistentHashHttpCookieList(this, "http_cookie", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } get httpCookie() { return this._httpCookie; } // http_header_name - computed: true, optional: false, required: false get httpHeaderName() { return this.getStringAttribute('http_header_name'); } // minimum_ring_size - computed: true, optional: false, required: false get minimumRingSize() { return this.getNumberAttribute('minimum_ring_size'); } } exports.DataGoogleComputeRegionBackendServiceConsistentHashOutputReference = DataGoogleComputeRegionBackendServiceConsistentHashOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceConsistentHashOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceConsistentHashOutputReference", version: "14.35.0" }; class DataGoogleComputeRegionBackendServiceConsistentHashList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataGoogleComputeRegionBackendServiceConsistentHashOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeRegionBackendServiceConsistentHashList = DataGoogleComputeRegionBackendServiceConsistentHashList; _t = JSII_RTTI_SYMBOL_1; DataGoogleComputeRegionBackendServiceConsistentHashList[_t] = { fqn: "@cdktf/provider-google.dataGoogleComputeRegionBackendService.DataGoogleComputeRegionBackendServiceConsistentHashList", version: "14.35.0" }; function dataGoogleComputeRegionBackendServiceCustomMetricsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeRegionBackendServiceCustomMetricsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https: