UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

846 lines (845 loc) 220 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; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataGoogleComputeInstanceGroupManagerUpdatePolicyToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerUpdatePolicyToTerraform = exports.DataGoogleComputeInstanceGroupManagerStatusList = exports.DataGoogleComputeInstanceGroupManagerStatusOutputReference = exports.dataGoogleComputeInstanceGroupManagerStatusToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerStatusToTerraform = exports.DataGoogleComputeInstanceGroupManagerStatusVersionTargetList = exports.DataGoogleComputeInstanceGroupManagerStatusVersionTargetOutputReference = exports.dataGoogleComputeInstanceGroupManagerStatusVersionTargetToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerStatusVersionTargetToTerraform = exports.DataGoogleComputeInstanceGroupManagerStatusStatefulList = exports.DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference = exports.dataGoogleComputeInstanceGroupManagerStatusStatefulToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerStatusStatefulToTerraform = exports.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList = exports.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference = exports.dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToTerraform = exports.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList = exports.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference = exports.dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToTerraform = exports.DataGoogleComputeInstanceGroupManagerStatefulInternalIpList = exports.DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference = exports.dataGoogleComputeInstanceGroupManagerStatefulInternalIpToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerStatefulInternalIpToTerraform = exports.DataGoogleComputeInstanceGroupManagerStatefulExternalIpList = exports.DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference = exports.dataGoogleComputeInstanceGroupManagerStatefulExternalIpToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerStatefulExternalIpToTerraform = exports.DataGoogleComputeInstanceGroupManagerStatefulDiskList = exports.DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference = exports.dataGoogleComputeInstanceGroupManagerStatefulDiskToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerStatefulDiskToTerraform = exports.DataGoogleComputeInstanceGroupManagerNamedPortList = exports.DataGoogleComputeInstanceGroupManagerNamedPortOutputReference = exports.dataGoogleComputeInstanceGroupManagerNamedPortToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerNamedPortToTerraform = exports.DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyList = exports.DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyOutputReference = exports.dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToTerraform = exports.DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesList = exports.DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesOutputReference = exports.dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToTerraform = exports.DataGoogleComputeInstanceGroupManagerAllInstancesConfigList = exports.DataGoogleComputeInstanceGroupManagerAllInstancesConfigOutputReference = exports.dataGoogleComputeInstanceGroupManagerAllInstancesConfigToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerAllInstancesConfigToTerraform = void 0; exports.DataGoogleComputeInstanceGroupManager = exports.DataGoogleComputeInstanceGroupManagerVersionList = exports.DataGoogleComputeInstanceGroupManagerVersionOutputReference = exports.dataGoogleComputeInstanceGroupManagerVersionToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerVersionToTerraform = exports.DataGoogleComputeInstanceGroupManagerVersionTargetSizeList = exports.DataGoogleComputeInstanceGroupManagerVersionTargetSizeOutputReference = exports.dataGoogleComputeInstanceGroupManagerVersionTargetSizeToHclTerraform = exports.dataGoogleComputeInstanceGroupManagerVersionTargetSizeToTerraform = exports.DataGoogleComputeInstanceGroupManagerUpdatePolicyList = exports.DataGoogleComputeInstanceGroupManagerUpdatePolicyOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleComputeInstanceGroupManagerAllInstancesConfigToTerraform(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.dataGoogleComputeInstanceGroupManagerAllInstancesConfigToTerraform = dataGoogleComputeInstanceGroupManagerAllInstancesConfigToTerraform; function dataGoogleComputeInstanceGroupManagerAllInstancesConfigToHclTerraform(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.dataGoogleComputeInstanceGroupManagerAllInstancesConfigToHclTerraform = dataGoogleComputeInstanceGroupManagerAllInstancesConfigToHclTerraform; class DataGoogleComputeInstanceGroupManagerAllInstancesConfigOutputReference 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; // labels - computed: true, optional: false, required: false this._labels = new cdktf.StringMap(this, "labels"); // metadata - computed: true, optional: false, required: false this._metadata = new cdktf.StringMap(this, "metadata"); } 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 labels() { return this._labels; } get metadata() { return this._metadata; } } exports.DataGoogleComputeInstanceGroupManagerAllInstancesConfigOutputReference = DataGoogleComputeInstanceGroupManagerAllInstancesConfigOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerAllInstancesConfigOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerAllInstancesConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerAllInstancesConfigList 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 DataGoogleComputeInstanceGroupManagerAllInstancesConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerAllInstancesConfigList = DataGoogleComputeInstanceGroupManagerAllInstancesConfigList; _b = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerAllInstancesConfigList[_b] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerAllInstancesConfigList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToTerraform(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.dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToTerraform = dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToTerraform; function dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToHclTerraform(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.dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToHclTerraform = dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToHclTerraform; class DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesOutputReference 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; } } // health_check - computed: true, optional: false, required: false get healthCheck() { return this.getStringAttribute('health_check'); } // initial_delay_sec - computed: true, optional: false, required: false get initialDelaySec() { return this.getNumberAttribute('initial_delay_sec'); } } exports.DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesOutputReference = DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesList 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 DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesList = DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesList; _d = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesList[_d] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToTerraform(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.dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToTerraform = dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToTerraform; function dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToHclTerraform(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.dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToHclTerraform = dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToHclTerraform; class DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyOutputReference 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; } } // default_action_on_failure - computed: true, optional: false, required: false get defaultActionOnFailure() { return this.getStringAttribute('default_action_on_failure'); } // force_update_on_repair - computed: true, optional: false, required: false get forceUpdateOnRepair() { return this.getStringAttribute('force_update_on_repair'); } } exports.DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyOutputReference = DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyList 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 DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyList = DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyList; _f = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerNamedPortToTerraform(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.dataGoogleComputeInstanceGroupManagerNamedPortToTerraform = dataGoogleComputeInstanceGroupManagerNamedPortToTerraform; function dataGoogleComputeInstanceGroupManagerNamedPortToHclTerraform(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.dataGoogleComputeInstanceGroupManagerNamedPortToHclTerraform = dataGoogleComputeInstanceGroupManagerNamedPortToHclTerraform; class DataGoogleComputeInstanceGroupManagerNamedPortOutputReference 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; } } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // port - computed: true, optional: false, required: false get port() { return this.getNumberAttribute('port'); } } exports.DataGoogleComputeInstanceGroupManagerNamedPortOutputReference = DataGoogleComputeInstanceGroupManagerNamedPortOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerNamedPortOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerNamedPortOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerNamedPortList 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 DataGoogleComputeInstanceGroupManagerNamedPortOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerNamedPortList = DataGoogleComputeInstanceGroupManagerNamedPortList; _h = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerNamedPortList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerNamedPortList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerStatefulDiskToTerraform(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.dataGoogleComputeInstanceGroupManagerStatefulDiskToTerraform = dataGoogleComputeInstanceGroupManagerStatefulDiskToTerraform; function dataGoogleComputeInstanceGroupManagerStatefulDiskToHclTerraform(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.dataGoogleComputeInstanceGroupManagerStatefulDiskToHclTerraform = dataGoogleComputeInstanceGroupManagerStatefulDiskToHclTerraform; class DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference 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; } } // delete_rule - computed: true, optional: false, required: false get deleteRule() { return this.getStringAttribute('delete_rule'); } // device_name - computed: true, optional: false, required: false get deviceName() { return this.getStringAttribute('device_name'); } } exports.DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference = DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerStatefulDiskList 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 DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerStatefulDiskList = DataGoogleComputeInstanceGroupManagerStatefulDiskList; _k = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulDiskList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulDiskList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerStatefulExternalIpToTerraform(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.dataGoogleComputeInstanceGroupManagerStatefulExternalIpToTerraform = dataGoogleComputeInstanceGroupManagerStatefulExternalIpToTerraform; function dataGoogleComputeInstanceGroupManagerStatefulExternalIpToHclTerraform(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.dataGoogleComputeInstanceGroupManagerStatefulExternalIpToHclTerraform = dataGoogleComputeInstanceGroupManagerStatefulExternalIpToHclTerraform; class DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference 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; } } // delete_rule - computed: true, optional: false, required: false get deleteRule() { return this.getStringAttribute('delete_rule'); } // interface_name - computed: true, optional: false, required: false get interfaceName() { return this.getStringAttribute('interface_name'); } } exports.DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference = DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerStatefulExternalIpList 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 DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerStatefulExternalIpList = DataGoogleComputeInstanceGroupManagerStatefulExternalIpList; _m = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulExternalIpList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulExternalIpList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerStatefulInternalIpToTerraform(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.dataGoogleComputeInstanceGroupManagerStatefulInternalIpToTerraform = dataGoogleComputeInstanceGroupManagerStatefulInternalIpToTerraform; function dataGoogleComputeInstanceGroupManagerStatefulInternalIpToHclTerraform(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.dataGoogleComputeInstanceGroupManagerStatefulInternalIpToHclTerraform = dataGoogleComputeInstanceGroupManagerStatefulInternalIpToHclTerraform; class DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference 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; } } // delete_rule - computed: true, optional: false, required: false get deleteRule() { return this.getStringAttribute('delete_rule'); } // interface_name - computed: true, optional: false, required: false get interfaceName() { return this.getStringAttribute('interface_name'); } } exports.DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference = DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerStatefulInternalIpList 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 DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerStatefulInternalIpList = DataGoogleComputeInstanceGroupManagerStatefulInternalIpList; _p = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulInternalIpList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulInternalIpList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToTerraform(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.dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToTerraform = dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToTerraform; function dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToHclTerraform(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.dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToHclTerraform; class DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference 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; } } // current_revision - computed: true, optional: false, required: false get currentRevision() { return this.getStringAttribute('current_revision'); } // effective - computed: true, optional: false, required: false get effective() { return this.getBooleanAttribute('effective'); } } exports.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference = DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList 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 DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList = DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList; _r = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToTerraform(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.dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToTerraform = dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToTerraform; function dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToHclTerraform(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.dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToHclTerraform; class DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference 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; } } // all_effective - computed: true, optional: false, required: false get allEffective() { return this.getBooleanAttribute('all_effective'); } } exports.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference = DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList 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 DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList = DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList; _t = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList[_t] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerStatusStatefulToTerraform(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.dataGoogleComputeInstanceGroupManagerStatusStatefulToTerraform = dataGoogleComputeInstanceGroupManagerStatusStatefulToTerraform; function dataGoogleComputeInstanceGroupManagerStatusStatefulToHclTerraform(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.dataGoogleComputeInstanceGroupManagerStatusStatefulToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusStatefulToHclTerraform; class DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference 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; // per_instance_configs - computed: true, optional: false, required: false this._perInstanceConfigs = new DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList(this, "per_instance_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; } } // has_stateful_config - computed: true, optional: false, required: false get hasStatefulConfig() { return this.getBooleanAttribute('has_stateful_config'); } get perInstanceConfigs() { return this._perInstanceConfigs; } } exports.DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference = DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference; _u = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference[_u] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceGroupManagerStatusStatefulList 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 DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerStatusStatefulList = DataGoogleComputeInstanceGroupManagerStatusStatefulList; _v = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusStatefulList[_v] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusStatefulList", version: "14.12.0" }; function dataGoogleComputeInstanceGroupManagerStatusVersionTargetToTerraform(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.dataGoogleComputeInstanceGroupManagerStatusVersionTargetToTerraform = dataGoogleComputeInstanceGroupManagerStatusVersionTargetToTerraform; function dataGoogleComputeInstanceGroupManagerStatusVersionTargetToHclTerraform(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.dataGoogleComputeInstanceGroupManagerStatusVersionTargetToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusVersionTargetToHclTerraform; class DataGoogleComputeInstanceGroupManagerStatusVersionTargetOutputReference 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; } } // is_reached - computed: true, optional: false, required: false get isReached() { return this.getBooleanAttribute('is_reached'); }