UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

846 lines 345 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, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataGoogleComputeBackendService = exports.DataGoogleComputeBackendServiceStrongSessionAffinityCookieList = exports.DataGoogleComputeBackendServiceStrongSessionAffinityCookieOutputReference = exports.DataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlList = exports.DataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlOutputReference = exports.DataGoogleComputeBackendServiceSecuritySettingsList = exports.DataGoogleComputeBackendServiceSecuritySettingsOutputReference = exports.DataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationList = exports.DataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference = exports.DataGoogleComputeBackendServiceOutlierDetectionList = exports.DataGoogleComputeBackendServiceOutlierDetectionOutputReference = exports.DataGoogleComputeBackendServiceOutlierDetectionIntervalList = exports.DataGoogleComputeBackendServiceOutlierDetectionIntervalOutputReference = exports.DataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeList = exports.DataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference = exports.DataGoogleComputeBackendServiceMaxStreamDurationList = exports.DataGoogleComputeBackendServiceMaxStreamDurationOutputReference = exports.DataGoogleComputeBackendServiceLogConfigList = exports.DataGoogleComputeBackendServiceLogConfigOutputReference = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesList = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesOutputReference = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesPolicyList = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyList = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference = exports.DataGoogleComputeBackendServiceIapList = exports.DataGoogleComputeBackendServiceIapOutputReference = exports.DataGoogleComputeBackendServiceCustomMetricsList = exports.DataGoogleComputeBackendServiceCustomMetricsOutputReference = exports.DataGoogleComputeBackendServiceConsistentHashList = exports.DataGoogleComputeBackendServiceConsistentHashOutputReference = exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieList = exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference = exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList = exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference = exports.DataGoogleComputeBackendServiceCircuitBreakersList = exports.DataGoogleComputeBackendServiceCircuitBreakersOutputReference = exports.DataGoogleComputeBackendServiceCdnPolicyList = exports.DataGoogleComputeBackendServiceCdnPolicyOutputReference = exports.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList = exports.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference = exports.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList = exports.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference = exports.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList = exports.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference = exports.DataGoogleComputeBackendServiceBackendList = exports.DataGoogleComputeBackendServiceBackendOutputReference = exports.DataGoogleComputeBackendServiceBackendCustomMetricsList = exports.DataGoogleComputeBackendServiceBackendCustomMetricsOutputReference = void 0; exports.dataGoogleComputeBackendServiceBackendCustomMetricsToTerraform = dataGoogleComputeBackendServiceBackendCustomMetricsToTerraform; exports.dataGoogleComputeBackendServiceBackendCustomMetricsToHclTerraform = dataGoogleComputeBackendServiceBackendCustomMetricsToHclTerraform; exports.dataGoogleComputeBackendServiceBackendToTerraform = dataGoogleComputeBackendServiceBackendToTerraform; exports.dataGoogleComputeBackendServiceBackendToHclTerraform = dataGoogleComputeBackendServiceBackendToHclTerraform; exports.dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToTerraform = dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToTerraform; exports.dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToHclTerraform = dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToHclTerraform; exports.dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToTerraform = dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToTerraform; exports.dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform = dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform; exports.dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToTerraform = dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToTerraform; exports.dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform = dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform; exports.dataGoogleComputeBackendServiceCdnPolicyToTerraform = dataGoogleComputeBackendServiceCdnPolicyToTerraform; exports.dataGoogleComputeBackendServiceCdnPolicyToHclTerraform = dataGoogleComputeBackendServiceCdnPolicyToHclTerraform; exports.dataGoogleComputeBackendServiceCircuitBreakersToTerraform = dataGoogleComputeBackendServiceCircuitBreakersToTerraform; exports.dataGoogleComputeBackendServiceCircuitBreakersToHclTerraform = dataGoogleComputeBackendServiceCircuitBreakersToHclTerraform; exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToTerraform = dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToTerraform; exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToHclTerraform = dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToHclTerraform; exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieToTerraform = dataGoogleComputeBackendServiceConsistentHashHttpCookieToTerraform; exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieToHclTerraform = dataGoogleComputeBackendServiceConsistentHashHttpCookieToHclTerraform; exports.dataGoogleComputeBackendServiceConsistentHashToTerraform = dataGoogleComputeBackendServiceConsistentHashToTerraform; exports.dataGoogleComputeBackendServiceConsistentHashToHclTerraform = dataGoogleComputeBackendServiceConsistentHashToHclTerraform; exports.dataGoogleComputeBackendServiceCustomMetricsToTerraform = dataGoogleComputeBackendServiceCustomMetricsToTerraform; exports.dataGoogleComputeBackendServiceCustomMetricsToHclTerraform = dataGoogleComputeBackendServiceCustomMetricsToHclTerraform; exports.dataGoogleComputeBackendServiceIapToTerraform = dataGoogleComputeBackendServiceIapToTerraform; exports.dataGoogleComputeBackendServiceIapToHclTerraform = dataGoogleComputeBackendServiceIapToHclTerraform; exports.dataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyToTerraform = dataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyToTerraform; exports.dataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyToHclTerraform = dataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyToHclTerraform; exports.dataGoogleComputeBackendServiceLocalityLbPoliciesPolicyToTerraform = dataGoogleComputeBackendServiceLocalityLbPoliciesPolicyToTerraform; exports.dataGoogleComputeBackendServiceLocalityLbPoliciesPolicyToHclTerraform = dataGoogleComputeBackendServiceLocalityLbPoliciesPolicyToHclTerraform; exports.dataGoogleComputeBackendServiceLocalityLbPoliciesToTerraform = dataGoogleComputeBackendServiceLocalityLbPoliciesToTerraform; exports.dataGoogleComputeBackendServiceLocalityLbPoliciesToHclTerraform = dataGoogleComputeBackendServiceLocalityLbPoliciesToHclTerraform; exports.dataGoogleComputeBackendServiceLogConfigToTerraform = dataGoogleComputeBackendServiceLogConfigToTerraform; exports.dataGoogleComputeBackendServiceLogConfigToHclTerraform = dataGoogleComputeBackendServiceLogConfigToHclTerraform; exports.dataGoogleComputeBackendServiceMaxStreamDurationToTerraform = dataGoogleComputeBackendServiceMaxStreamDurationToTerraform; exports.dataGoogleComputeBackendServiceMaxStreamDurationToHclTerraform = dataGoogleComputeBackendServiceMaxStreamDurationToHclTerraform; exports.dataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeToTerraform = dataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeToTerraform; exports.dataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeToHclTerraform = dataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeToHclTerraform; exports.dataGoogleComputeBackendServiceOutlierDetectionIntervalToTerraform = dataGoogleComputeBackendServiceOutlierDetectionIntervalToTerraform; exports.dataGoogleComputeBackendServiceOutlierDetectionIntervalToHclTerraform = dataGoogleComputeBackendServiceOutlierDetectionIntervalToHclTerraform; exports.dataGoogleComputeBackendServiceOutlierDetectionToTerraform = dataGoogleComputeBackendServiceOutlierDetectionToTerraform; exports.dataGoogleComputeBackendServiceOutlierDetectionToHclTerraform = dataGoogleComputeBackendServiceOutlierDetectionToHclTerraform; exports.dataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationToTerraform = dataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationToTerraform; exports.dataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationToHclTerraform = dataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationToHclTerraform; exports.dataGoogleComputeBackendServiceSecuritySettingsToTerraform = dataGoogleComputeBackendServiceSecuritySettingsToTerraform; exports.dataGoogleComputeBackendServiceSecuritySettingsToHclTerraform = dataGoogleComputeBackendServiceSecuritySettingsToHclTerraform; exports.dataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlToTerraform = dataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlToTerraform; exports.dataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlToHclTerraform = dataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlToHclTerraform; exports.dataGoogleComputeBackendServiceStrongSessionAffinityCookieToTerraform = dataGoogleComputeBackendServiceStrongSessionAffinityCookieToTerraform; exports.dataGoogleComputeBackendServiceStrongSessionAffinityCookieToHclTerraform = dataGoogleComputeBackendServiceStrongSessionAffinityCookieToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleComputeBackendServiceBackendCustomMetricsToTerraform(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 dataGoogleComputeBackendServiceBackendCustomMetricsToHclTerraform(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 DataGoogleComputeBackendServiceBackendCustomMetricsOutputReference 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.DataGoogleComputeBackendServiceBackendCustomMetricsOutputReference = DataGoogleComputeBackendServiceBackendCustomMetricsOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceBackendCustomMetricsOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceBackendCustomMetricsOutputReference", version: "14.35.0" }; class DataGoogleComputeBackendServiceBackendCustomMetricsList 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 DataGoogleComputeBackendServiceBackendCustomMetricsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceBackendCustomMetricsList = DataGoogleComputeBackendServiceBackendCustomMetricsList; _b = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceBackendCustomMetricsList[_b] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceBackendCustomMetricsList", version: "14.35.0" }; function dataGoogleComputeBackendServiceBackendToTerraform(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 dataGoogleComputeBackendServiceBackendToHclTerraform(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 DataGoogleComputeBackendServiceBackendOutputReference 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 DataGoogleComputeBackendServiceBackendCustomMetricsList(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'); } // 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'); } // preference - computed: true, optional: false, required: false get preference() { return this.getStringAttribute('preference'); } } exports.DataGoogleComputeBackendServiceBackendOutputReference = DataGoogleComputeBackendServiceBackendOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceBackendOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceBackendOutputReference", version: "14.35.0" }; class DataGoogleComputeBackendServiceBackendList 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 DataGoogleComputeBackendServiceBackendOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceBackendList = DataGoogleComputeBackendServiceBackendList; _d = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceBackendList[_d] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceBackendList", version: "14.35.0" }; function dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToTerraform(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 dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToHclTerraform(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 DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference 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; } } // header_name - computed: true, optional: false, required: false get headerName() { return this.getStringAttribute('header_name'); } } exports.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference = DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference", version: "14.35.0" }; class DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList 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 DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList = DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList; _f = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList", version: "14.35.0" }; function dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToTerraform(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 dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform(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 DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference 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_http_headers - computed: true, optional: false, required: false get includeHttpHeaders() { return this.getListAttribute('include_http_headers'); } // 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.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference = DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference", version: "14.35.0" }; class DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList 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 DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList = DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList; _h = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList", version: "14.35.0" }; function dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToTerraform(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 dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform(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 DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference 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'); } // ttl - computed: true, optional: false, required: false get ttl() { return this.getNumberAttribute('ttl'); } } exports.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference = DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference", version: "14.35.0" }; class DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList 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 DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList = DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList; _k = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList", version: "14.35.0" }; function dataGoogleComputeBackendServiceCdnPolicyToTerraform(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 dataGoogleComputeBackendServiceCdnPolicyToHclTerraform(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 DataGoogleComputeBackendServiceCdnPolicyOutputReference 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; // bypass_cache_on_request_headers - computed: true, optional: false, required: false this._bypassCacheOnRequestHeaders = new DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList(this, "bypass_cache_on_request_headers", false); // cache_key_policy - computed: true, optional: false, required: false this._cacheKeyPolicy = new DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList(this, "cache_key_policy", false); // negative_caching_policy - computed: true, optional: false, required: false this._negativeCachingPolicy = new DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList(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 bypassCacheOnRequestHeaders() { return this._bypassCacheOnRequestHeaders; } 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; } // request_coalescing - computed: true, optional: false, required: false get requestCoalescing() { return this.getBooleanAttribute('request_coalescing'); } // 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.DataGoogleComputeBackendServiceCdnPolicyOutputReference = DataGoogleComputeBackendServiceCdnPolicyOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyOutputReference", version: "14.35.0" }; class DataGoogleComputeBackendServiceCdnPolicyList 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 DataGoogleComputeBackendServiceCdnPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceCdnPolicyList = DataGoogleComputeBackendServiceCdnPolicyList; _m = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyList", version: "14.35.0" }; function dataGoogleComputeBackendServiceCircuitBreakersToTerraform(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 dataGoogleComputeBackendServiceCircuitBreakersToHclTerraform(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 DataGoogleComputeBackendServiceCircuitBreakersOutputReference 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.DataGoogleComputeBackendServiceCircuitBreakersOutputReference = DataGoogleComputeBackendServiceCircuitBreakersOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCircuitBreakersOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCircuitBreakersOutputReference", version: "14.35.0" }; class DataGoogleComputeBackendServiceCircuitBreakersList 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 DataGoogleComputeBackendServiceCircuitBreakersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceCircuitBreakersList = DataGoogleComputeBackendServiceCircuitBreakersList; _p = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCircuitBreakersList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCircuitBreakersList", version: "14.35.0" }; function dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToTerraform(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 dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToHclTerraform(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 DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference 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.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference = DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference", version: "14.35.0" }; class DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList 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 DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList = DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList; _r = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList", version: "14.35.0" }; function dataGoogleComputeBackendServiceConsistentHashHttpCookieToTerraform(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 dataGoogleComputeBackendServiceConsistentHashHttpCookieToHclTerraform(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 DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference 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 DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList(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.DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference = DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashHttpC