UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

842 lines 308 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; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataGoogleComputeBackendServiceLocalityLbPoliciesToHclTerraform = exports.dataGoogleComputeBackendServiceLocalityLbPoliciesToTerraform = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesPolicyList = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesPolicyOutputReference = exports.dataGoogleComputeBackendServiceLocalityLbPoliciesPolicyToHclTerraform = exports.dataGoogleComputeBackendServiceLocalityLbPoliciesPolicyToTerraform = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyList = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyOutputReference = exports.dataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyToHclTerraform = exports.dataGoogleComputeBackendServiceLocalityLbPoliciesCustomPolicyToTerraform = exports.DataGoogleComputeBackendServiceIapList = exports.DataGoogleComputeBackendServiceIapOutputReference = exports.dataGoogleComputeBackendServiceIapToHclTerraform = exports.dataGoogleComputeBackendServiceIapToTerraform = exports.DataGoogleComputeBackendServiceConsistentHashList = exports.DataGoogleComputeBackendServiceConsistentHashOutputReference = exports.dataGoogleComputeBackendServiceConsistentHashToHclTerraform = exports.dataGoogleComputeBackendServiceConsistentHashToTerraform = exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieList = exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference = exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieToHclTerraform = exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieToTerraform = exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList = exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference = exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToHclTerraform = exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToTerraform = exports.DataGoogleComputeBackendServiceCircuitBreakersList = exports.DataGoogleComputeBackendServiceCircuitBreakersOutputReference = exports.dataGoogleComputeBackendServiceCircuitBreakersToHclTerraform = exports.dataGoogleComputeBackendServiceCircuitBreakersToTerraform = exports.DataGoogleComputeBackendServiceCdnPolicyList = exports.DataGoogleComputeBackendServiceCdnPolicyOutputReference = exports.dataGoogleComputeBackendServiceCdnPolicyToHclTerraform = exports.dataGoogleComputeBackendServiceCdnPolicyToTerraform = exports.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList = exports.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference = exports.dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform = exports.dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToTerraform = exports.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList = exports.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference = exports.dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform = exports.dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToTerraform = exports.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList = exports.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference = exports.dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToHclTerraform = exports.dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToTerraform = exports.DataGoogleComputeBackendServiceBackendList = exports.DataGoogleComputeBackendServiceBackendOutputReference = exports.dataGoogleComputeBackendServiceBackendToHclTerraform = exports.dataGoogleComputeBackendServiceBackendToTerraform = void 0; exports.DataGoogleComputeBackendService = exports.DataGoogleComputeBackendServiceStrongSessionAffinityCookieList = exports.DataGoogleComputeBackendServiceStrongSessionAffinityCookieOutputReference = exports.dataGoogleComputeBackendServiceStrongSessionAffinityCookieToHclTerraform = exports.dataGoogleComputeBackendServiceStrongSessionAffinityCookieToTerraform = exports.DataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlList = exports.DataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlOutputReference = exports.dataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlToHclTerraform = exports.dataGoogleComputeBackendServiceStrongSessionAffinityCookieTtlToTerraform = exports.DataGoogleComputeBackendServiceSecuritySettingsList = exports.DataGoogleComputeBackendServiceSecuritySettingsOutputReference = exports.dataGoogleComputeBackendServiceSecuritySettingsToHclTerraform = exports.dataGoogleComputeBackendServiceSecuritySettingsToTerraform = exports.DataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationList = exports.DataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationOutputReference = exports.dataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationToHclTerraform = exports.dataGoogleComputeBackendServiceSecuritySettingsAwsV4AuthenticationToTerraform = exports.DataGoogleComputeBackendServiceOutlierDetectionList = exports.DataGoogleComputeBackendServiceOutlierDetectionOutputReference = exports.dataGoogleComputeBackendServiceOutlierDetectionToHclTerraform = exports.dataGoogleComputeBackendServiceOutlierDetectionToTerraform = exports.DataGoogleComputeBackendServiceOutlierDetectionIntervalList = exports.DataGoogleComputeBackendServiceOutlierDetectionIntervalOutputReference = exports.dataGoogleComputeBackendServiceOutlierDetectionIntervalToHclTerraform = exports.dataGoogleComputeBackendServiceOutlierDetectionIntervalToTerraform = exports.DataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeList = exports.DataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeOutputReference = exports.dataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeToHclTerraform = exports.dataGoogleComputeBackendServiceOutlierDetectionBaseEjectionTimeToTerraform = exports.DataGoogleComputeBackendServiceLogConfigList = exports.DataGoogleComputeBackendServiceLogConfigOutputReference = exports.dataGoogleComputeBackendServiceLogConfigToHclTerraform = exports.dataGoogleComputeBackendServiceLogConfigToTerraform = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesList = exports.DataGoogleComputeBackendServiceLocalityLbPoliciesOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); 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 {}; } exports.dataGoogleComputeBackendServiceBackendToTerraform = dataGoogleComputeBackendServiceBackendToTerraform; 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; } exports.dataGoogleComputeBackendServiceBackendToHclTerraform = dataGoogleComputeBackendServiceBackendToHclTerraform; 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; } 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'); } // 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'); } } exports.DataGoogleComputeBackendServiceBackendOutputReference = DataGoogleComputeBackendServiceBackendOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceBackendOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceBackendOutputReference", version: "14.12.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; _b = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceBackendList[_b] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceBackendList", version: "14.12.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 {}; } exports.dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToTerraform = dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToTerraform; 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; } exports.dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToHclTerraform = dataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersToHclTerraform; 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; _c = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersOutputReference", version: "14.12.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; _d = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList[_d] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyBypassCacheOnRequestHeadersList", version: "14.12.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 {}; } exports.dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToTerraform = dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToTerraform; 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; } exports.dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform = dataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyToHclTerraform; 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; _e = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyOutputReference", version: "14.12.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; _f = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyCacheKeyPolicyList", version: "14.12.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 {}; } exports.dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToTerraform = dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToTerraform; 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; } exports.dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform = dataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyToHclTerraform; 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; _g = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyOutputReference", version: "14.12.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; _h = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyNegativeCachingPolicyList", version: "14.12.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 {}; } exports.dataGoogleComputeBackendServiceCdnPolicyToTerraform = dataGoogleComputeBackendServiceCdnPolicyToTerraform; 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; } exports.dataGoogleComputeBackendServiceCdnPolicyToHclTerraform = dataGoogleComputeBackendServiceCdnPolicyToHclTerraform; 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; } // 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; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyOutputReference", version: "14.12.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; _k = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCdnPolicyList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCdnPolicyList", version: "14.12.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 {}; } exports.dataGoogleComputeBackendServiceCircuitBreakersToTerraform = dataGoogleComputeBackendServiceCircuitBreakersToTerraform; 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; } exports.dataGoogleComputeBackendServiceCircuitBreakersToHclTerraform = dataGoogleComputeBackendServiceCircuitBreakersToHclTerraform; 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; _l = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCircuitBreakersOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCircuitBreakersOutputReference", version: "14.12.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; _m = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceCircuitBreakersList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceCircuitBreakersList", version: "14.12.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 {}; } exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToTerraform = dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToTerraform; 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; } exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToHclTerraform = dataGoogleComputeBackendServiceConsistentHashHttpCookieTtlToHclTerraform; 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; _o = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlOutputReference", version: "14.12.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; _p = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashHttpCookieTtlList", version: "14.12.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 {}; } exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieToTerraform = dataGoogleComputeBackendServiceConsistentHashHttpCookieToTerraform; 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; } exports.dataGoogleComputeBackendServiceConsistentHashHttpCookieToHclTerraform = dataGoogleComputeBackendServiceConsistentHashHttpCookieToHclTerraform; 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; _q = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference", version: "14.12.0" }; class DataGoogleComputeBackendServiceConsistentHashHttpCookieList 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 DataGoogleComputeBackendServiceConsistentHashHttpCookieOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceConsistentHashHttpCookieList = DataGoogleComputeBackendServiceConsistentHashHttpCookieList; _r = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashHttpCookieList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashHttpCookieList", version: "14.12.0" }; function dataGoogleComputeBackendServiceConsistentHashToTerraform(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 {}; } exports.dataGoogleComputeBackendServiceConsistentHashToTerraform = dataGoogleComputeBackendServiceConsistentHashToTerraform; function dataGoogleComputeBackendServiceConsistentHashToHclTerraform(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; } exports.dataGoogleComputeBackendServiceConsistentHashToHclTerraform = dataGoogleComputeBackendServiceConsistentHashToHclTerraform; class DataGoogleComputeBackendServiceConsistentHashOutputReference 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 DataGoogleComputeBackendServiceConsistentHashHttpCookieList(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.DataGoogleComputeBackendServiceConsistentHashOutputReference = DataGoogleComputeBackendServiceConsistentHashOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashOutputReference", version: "14.12.0" }; class DataGoogleComputeBackendServiceConsistentHashList 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 DataGoogleComputeBackendServiceConsistentHashOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeBackendServiceConsistentHashList = DataGoogleComputeBackendServiceConsistentHashList; _t = JSII_RTTI_SYMBOL_1; DataGoogleComputeBackendServiceConsistentHashList[_t] = { fqn: "@cdktf/provider-google.dataGoogleComputeBackendService.DataGoogleComputeBackendServiceConsistentHashList", version: "14.12.0" }; function dataGoogleComputeBackendServiceIapToTerraform(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 {}; } exports.dataGoogleComputeBackendServiceIapToTerraform = dataGoogleComputeBackendServiceIapToTerraform; function dataGoogleComputeBackendServiceIapToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) {