@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
807 lines (806 loc) • 248 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsBanThresholdToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleRateLimitOptionsBanThresholdToTerraform = exports.DataGoogleComputeSecurityPolicyRuleMatchList = exports.DataGoogleComputeSecurityPolicyRuleMatchOutputReference = exports.dataGoogleComputeSecurityPolicyRuleMatchToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleMatchToTerraform = exports.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsList = exports.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsOutputReference = 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 = void 0;
exports.DataGoogleComputeSecurityPolicy = exports.DataGoogleComputeSecurityPolicyRuleList = exports.DataGoogleComputeSecurityPolicyRuleOutputReference = exports.dataGoogleComputeSecurityPolicyRuleToHclTerraform = exports.dataGoogleComputeSecurityPolicyRuleToTerraform = 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 = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
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;
}
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');
}
}
exports.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference = DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference", version: "14.3.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;
_b = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList[_b] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigList", version: "14.3.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;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigOutputReference", version: "14.3.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;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigList[_d] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdaptiveProtectionConfigList", version: "14.3.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;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference", version: "14.3.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;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigList", version: "14.3.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;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigOutputReference", version: "14.3.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;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyAdvancedOptionsConfigList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyAdvancedOptionsConfigList", version: "14.3.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;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigOutputReference", version: "14.3.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;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRecaptchaOptionsConfigList", version: "14.3.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;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference", version: "14.3.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;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList", version: "14.3.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
this._requestHeadersToAdds = new DataGoogleComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList(this, "request_headers_to_adds", 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 requestHeadersToAdds() {
return this._requestHeadersToAdds;
}
}
exports.DataGoogleComputeSecurityPolicyRuleHeaderActionOutputReference = DataGoogleComputeSecurityPolicyRuleHeaderActionOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleHeaderActionOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleHeaderActionOutputReference", version: "14.3.0" };
class DataGoogleComputeSecurityPolicyRuleHeaderActionList 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 DataGoogleComputeSecurityPolicyRuleHeaderActionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleComputeSecurityPolicyRuleHeaderActionList = DataGoogleComputeSecurityPolicyRuleHeaderActionList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleHeaderActionList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleHeaderActionList", version: "14.3.0" };
function dataGoogleComputeSecurityPolicyRuleMatchConfigToTerraform(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.dataGoogleComputeSecurityPolicyRuleMatchConfigToTerraform = dataGoogleComputeSecurityPolicyRuleMatchConfigToTerraform;
function dataGoogleComputeSecurityPolicyRuleMatchConfigToHclTerraform(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.dataGoogleComputeSecurityPolicyRuleMatchConfigToHclTerraform = dataGoogleComputeSecurityPolicyRuleMatchConfigToHclTerraform;
class DataGoogleComputeSecurityPolicyRuleMatchConfigOutputReference 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;
}
}
// src_ip_ranges - computed: true, optional: false, required: false
get srcIpRanges() {
return cdktf.Fn.tolist(this.getListAttribute('src_ip_ranges'));
}
}
exports.DataGoogleComputeSecurityPolicyRuleMatchConfigOutputReference = DataGoogleComputeSecurityPolicyRuleMatchConfigOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleMatchConfigOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleMatchConfigOutputReference", version: "14.3.0" };
class DataGoogleComputeSecurityPolicyRuleMatchConfigList 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 DataGoogleComputeSecurityPolicyRuleMatchConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleComputeSecurityPolicyRuleMatchConfigList = DataGoogleComputeSecurityPolicyRuleMatchConfigList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleMatchConfigList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleMatchConfigList", version: "14.3.0" };
function dataGoogleComputeSecurityPolicyRuleMatchExprToTerraform(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.dataGoogleComputeSecurityPolicyRuleMatchExprToTerraform = dataGoogleComputeSecurityPolicyRuleMatchExprToTerraform;
function dataGoogleComputeSecurityPolicyRuleMatchExprToHclTerraform(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.dataGoogleComputeSecurityPolicyRuleMatchExprToHclTerraform = dataGoogleComputeSecurityPolicyRuleMatchExprToHclTerraform;
class DataGoogleComputeSecurityPolicyRuleMatchExprOutputReference 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;
}
}
// expression - computed: true, optional: false, required: false
get expression() {
return this.getStringAttribute('expression');
}
}
exports.DataGoogleComputeSecurityPolicyRuleMatchExprOutputReference = DataGoogleComputeSecurityPolicyRuleMatchExprOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleMatchExprOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleMatchExprOutputReference", version: "14.3.0" };
class DataGoogleComputeSecurityPolicyRuleMatchExprList 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 DataGoogleComputeSecurityPolicyRuleMatchExprOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleComputeSecurityPolicyRuleMatchExprList = DataGoogleComputeSecurityPolicyRuleMatchExprList;
_t = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleMatchExprList[_t] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleMatchExprList", version: "14.3.0" };
function dataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsToTerraform(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.dataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsToTerraform = dataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsToTerraform;
function dataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsToHclTerraform(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.dataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsToHclTerraform = dataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsToHclTerraform;
class DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference 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;
}
}
// action_token_site_keys - computed: true, optional: false, required: false
get actionTokenSiteKeys() {
return this.getListAttribute('action_token_site_keys');
}
// session_token_site_keys - computed: true, optional: false, required: false
get sessionTokenSiteKeys() {
return this.getListAttribute('session_token_site_keys');
}
}
exports.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference = DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference[_u] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference", version: "14.3.0" };
class DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsList 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 DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsList = DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsList;
_v = JSII_RTTI_SYMBOL_1;
DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsList[_v] = { fqn: "@cdktf/provider-google.dataGoogleComputeSecurityPolicy.DataGoogleComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsList", version: "14.3.0" };
function dataGoogleComputeSecurityPolicyRuleMatchExprOptionsToTerraform(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.dataGoogleComputeSecurityPolicyRuleMatchExprOptionsToTerraform = dataGoogleComputeSecurityPolicyRuleMatchExprOptionsToTerraform;
function dataGoogleComputeSecurityPolicyRuleMatchExprOptionsToHclTerraform(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.dataGoogleComputeSecurityPolicyRuleMatchExprOptionsToHclTerraform = dataGoogleComputeSecurityPolicyRuleMatchExprOptionsToHclTerraform;
class DataGoogleComputeSecurityPolicyRuleMatchExprOptionsOutputReference extends cdktf.ComplexObject {