UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

709 lines (708 loc) 360 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, _25, _26, _27, _28; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataGoogleComputeSecurityPolicyRuleMatchExprOptionsToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleMatchExprOptionsToTerraform = exports.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsList = exports.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference = exports.dataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsToTerraform = exports.DataGoogleComputeSecurityPolicyRuleMatchExprList = exports.DataGoogleComputeSecurityPolicyRuleMatchExprOutputReference = exports.dataGoogleComputeSecurityPolicyRuleMatchExprToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleMatchExprToTerraform = exports.DataGoogleComputeSecurityPolicyRuleMatchConfigList = exports.DataGoogleComputeSecurityPolicyRuleMatchConfigOutputReference = exports.dataGoogleComputeSecurityPolicyRuleMatchConfigToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleMatchConfigToTerraform = exports.DataGoogleComputeSecurityPolicyRuleHeaderActionList = exports.DataGoogleComputeSecurityPolicyRuleHeaderActionOutputReference = exports.dataGoogleComputeSecurityPolicyRuleHeaderActionToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleHeaderActionToTerraform = exports.DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList = exports.DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference = exports.dataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsToTerraform = exports.DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigList = exports.DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference = exports.dataGoogleComputeSecurityPolicyRecaptchaOptionsConfigToHclTerraform = exports.dataGoogleComputeSecurityPolicyRecaptchaOptionsConfigToTerraform = exports.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigList = exports.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference = exports.dataGoogleComputeSecurityPolicyAdvancedOptionsConfigToHclTerraform = exports.dataGoogleComputeSecurityPolicyAdvancedOptionsConfigToTerraform = exports.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList = exports.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference = exports.dataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigToHclTerraform = exports.dataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigToTerraform = exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigList = exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference = exports.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigToHclTerraform = exports.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigToTerraform = exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList = exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference = exports.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigToHclTerraform = exports.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigToTerraform = exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList = exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference = exports.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsToHclTerraform = exports.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsToTerraform = exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList = exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference = exports.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsToHclTerraform = exports.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsToTerraform = void 0; exports.DataGoogleComputeSecurityPolicyRuleRedirectOptionsList = exports.DataGoogleComputeSecurityPolicyRuleRedirectOptionsOutputReference = exports.dataGoogleComputeSecurityPolicyRuleRedirectOptionsToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleRedirectOptionsToTerraform = exports.DataGoogleComputeSecurityPolicyRuleRateLimitOptionsList = exports.DataGoogleComputeSecurityPolicyRuleRateLimitOptionsOutputReference = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsToTerraform = exports.DataGoogleComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdList = exports.DataGoogleComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdToTerraform = exports.DataGoogleComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsList = exports.DataGoogleComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsToTerraform = exports.DataGoogleComputeSecurityPolicyRuleRateLimitOptionsBanThresholdList = exports.DataGoogleComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsBanThresholdToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsBanThresholdToTerraform = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigList = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigToHclTerraform = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigToTerraform = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionToHclTerraform = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionToTerraform = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriToHclTerraform = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriToTerraform = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamToHclTerraform = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamToTerraform = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderToHclTerraform = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderToTerraform = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList = exports.DataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieToHclTerraform = exports.dataGoogleComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieToTerraform = exports.DataGoogleComputeSecurityPolicyRuleMatchList = exports.DataGoogleComputeSecurityPolicyRuleMatchOutputReference = exports.dataGoogleComputeSecurityPolicyRuleMatchToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleMatchToTerraform = exports.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsList = exports.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsOutputReference = void 0; exports.DataGoogleComputeSecurityPolicy = exports.DataGoogleComputeSecurityPolicyRuleList = exports.DataGoogleComputeSecurityPolicyRuleOutputReference = exports.dataGoogleComputeSecurityPolicyRuleToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsToTerraform(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.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsToTerraform = dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsToTerraform; function dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsToHclTerraform(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.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsToHclTerraform = dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsToHclTerraform; class DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference 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; } } // enable_each_unique_value - computed: true, optional: false, required: false get enableEachUniqueValue() { return this.getBooleanAttribute('enable_each_unique_value'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } // value - computed: true, optional: false, required: false get value() { return this.getStringAttribute('value'); } } exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference", version: "14.12.0" }; class DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList 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 DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList; _b = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList[_b] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList", version: "14.12.0" }; function dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsToTerraform(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.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsToTerraform = dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsToTerraform; function dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsToHclTerraform(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.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsToHclTerraform = dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsToHclTerraform; class DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference 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; // traffic_granularity_configs - computed: true, optional: false, required: false this._trafficGranularityConfigs = new DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList(this, "traffic_granularity_configs", 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; } } // auto_deploy_confidence_threshold - computed: true, optional: false, required: false get autoDeployConfidenceThreshold() { return this.getNumberAttribute('auto_deploy_confidence_threshold'); } // auto_deploy_expiration_sec - computed: true, optional: false, required: false get autoDeployExpirationSec() { return this.getNumberAttribute('auto_deploy_expiration_sec'); } // auto_deploy_impacted_baseline_threshold - computed: true, optional: false, required: false get autoDeployImpactedBaselineThreshold() { return this.getNumberAttribute('auto_deploy_impacted_baseline_threshold'); } // auto_deploy_load_threshold - computed: true, optional: false, required: false get autoDeployLoadThreshold() { return this.getNumberAttribute('auto_deploy_load_threshold'); } // detection_absolute_qps - computed: true, optional: false, required: false get detectionAbsoluteQps() { return this.getNumberAttribute('detection_absolute_qps'); } // detection_load_threshold - computed: true, optional: false, required: false get detectionLoadThreshold() { return this.getNumberAttribute('detection_load_threshold'); } // detection_relative_to_baseline_qps - computed: true, optional: false, required: false get detectionRelativeToBaselineQps() { return this.getNumberAttribute('detection_relative_to_baseline_qps'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } get trafficGranularityConfigs() { return this._trafficGranularityConfigs; } } exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference", version: "14.12.0" }; class DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList 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 DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList; _d = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList[_d] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList", version: "14.12.0" }; function dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigToTerraform(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.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigToTerraform = dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigToTerraform; function dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigToHclTerraform(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.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigToHclTerraform = dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigToHclTerraform; class DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference 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; // threshold_configs - computed: true, optional: false, required: false this._thresholdConfigs = new DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList(this, "threshold_configs", 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; } } // enable - computed: true, optional: false, required: false get enable() { return this.getBooleanAttribute('enable'); } // rule_visibility - computed: true, optional: false, required: false get ruleVisibility() { return this.getStringAttribute('rule_visibility'); } get thresholdConfigs() { return this._thresholdConfigs; } } exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList 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 DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList; _f = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList", version: "14.12.0" }; function dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigToTerraform(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.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigToTerraform = dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigToTerraform; function dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigToHclTerraform(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.dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigToHclTerraform = dataGoogleComputeSecurityPolicyAdaptiveProtectionConfigToHclTerraform; class DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference 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; // layer_7_ddos_defense_config - computed: true, optional: false, required: false this._layer7DdosDefenseConfig = new DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList(this, "layer_7_ddos_defense_config", 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 layer7DdosDefenseConfig() { return this._layer7DdosDefenseConfig; } } exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigList 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 DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigList = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigList; _h = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigList", version: "14.12.0" }; function dataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigToTerraform(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.dataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigToTerraform = dataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigToTerraform; function dataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigToHclTerraform(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.dataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigToHclTerraform = dataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigToHclTerraform; class DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference 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; } } // content_types - computed: true, optional: false, required: false get contentTypes() { return cdktf.Fn.tolist(this.getListAttribute('content_types')); } } exports.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference = DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList 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 DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList = DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList; _k = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList", version: "14.12.0" }; function dataGoogleComputeSecurityPolicyAdvancedOptionsConfigToTerraform(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.dataGoogleComputeSecurityPolicyAdvancedOptionsConfigToTerraform = dataGoogleComputeSecurityPolicyAdvancedOptionsConfigToTerraform; function dataGoogleComputeSecurityPolicyAdvancedOptionsConfigToHclTerraform(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.dataGoogleComputeSecurityPolicyAdvancedOptionsConfigToHclTerraform = dataGoogleComputeSecurityPolicyAdvancedOptionsConfigToHclTerraform; class DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference 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; // json_custom_config - computed: true, optional: false, required: false this._jsonCustomConfig = new DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList(this, "json_custom_config", 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 jsonCustomConfig() { return this._jsonCustomConfig; } // json_parsing - computed: true, optional: false, required: false get jsonParsing() { return this.getStringAttribute('json_parsing'); } // log_level - computed: true, optional: false, required: false get logLevel() { return this.getStringAttribute('log_level'); } // user_ip_request_headers - computed: true, optional: false, required: false get userIpRequestHeaders() { return cdktf.Fn.tolist(this.getListAttribute('user_ip_request_headers')); } } exports.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference = DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeSecurityPolicyAdvancedOptionsConfigList 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 DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigList = DataGoogleComputeSecurityPolicyAdvancedOptionsConfigList; _m = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyAdvancedOptionsConfigList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigList", version: "14.12.0" }; function dataGoogleComputeSecurityPolicyRecaptchaOptionsConfigToTerraform(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.dataGoogleComputeSecurityPolicyRecaptchaOptionsConfigToTerraform = dataGoogleComputeSecurityPolicyRecaptchaOptionsConfigToTerraform; function dataGoogleComputeSecurityPolicyRecaptchaOptionsConfigToHclTerraform(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.dataGoogleComputeSecurityPolicyRecaptchaOptionsConfigToHclTerraform = dataGoogleComputeSecurityPolicyRecaptchaOptionsConfigToHclTerraform; class DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference 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; } } // redirect_site_key - computed: true, optional: false, required: false get redirectSiteKey() { return this.getStringAttribute('redirect_site_key'); } } exports.DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference = DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigList 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 DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigList = DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigList; _p = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigList", version: "14.12.0" }; function dataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsToTerraform(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.dataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsToTerraform = dataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsToTerraform; function dataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsToHclTerraform(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.dataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsToHclTerraform = dataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsToHclTerraform; class DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference 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'); } // header_value - computed: true, optional: false, required: false get headerValue() { return this.getStringAttribute('header_value'); } } exports.DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference = DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference", version: "14.12.0" }; class DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList 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 DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList = DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList; _r = JSII_RTTI_SYMBOL_1; DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList", version: "14.12.0" }; function dataGoogleComputeSecurityPolicyRuleHeaderActionToTerraform(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.dataGoogleComputeSecurityPolicyRuleHeaderActionToTerraform = dataGoogleComputeSecurityPolicyRuleHeaderActionToTerraform; function dataGoogleComputeSecurityPolicyRuleHeaderActionToHclTerraform(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.dataGoogleComputeSecurityPolicyRuleHeaderActionToHclTerraform = dataGoogleComputeSecurityPolicyRuleHeaderActionToHclTerraform; class DataGoogleComputeSecurityPolicyRuleHeaderActionOutputReference 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; // request_headers_to_adds - computed: true, optional: false, required: false