UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

867 lines 231 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataGoogleComputeInstanceGroupManager = exports.DataGoogleComputeInstanceGroupManagerVersionList = exports.DataGoogleComputeInstanceGroupManagerVersionOutputReference = exports.DataGoogleComputeInstanceGroupManagerVersionTargetSizeList = exports.DataGoogleComputeInstanceGroupManagerVersionTargetSizeOutputReference = exports.DataGoogleComputeInstanceGroupManagerUpdatePolicyList = exports.DataGoogleComputeInstanceGroupManagerUpdatePolicyOutputReference = exports.DataGoogleComputeInstanceGroupManagerStatusList = exports.DataGoogleComputeInstanceGroupManagerStatusOutputReference = exports.DataGoogleComputeInstanceGroupManagerStatusVersionTargetList = exports.DataGoogleComputeInstanceGroupManagerStatusVersionTargetOutputReference = exports.DataGoogleComputeInstanceGroupManagerStatusStatefulList = exports.DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference = exports.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList = exports.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference = exports.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList = exports.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference = exports.DataGoogleComputeInstanceGroupManagerStatefulInternalIpList = exports.DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference = exports.DataGoogleComputeInstanceGroupManagerStatefulExternalIpList = exports.DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference = exports.DataGoogleComputeInstanceGroupManagerStatefulDiskList = exports.DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference = exports.DataGoogleComputeInstanceGroupManagerStandbyPolicyList = exports.DataGoogleComputeInstanceGroupManagerStandbyPolicyOutputReference = exports.DataGoogleComputeInstanceGroupManagerNamedPortList = exports.DataGoogleComputeInstanceGroupManagerNamedPortOutputReference = exports.DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyList = exports.DataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyOutputReference = exports.DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesList = exports.DataGoogleComputeInstanceGroupManagerAutoHealingPoliciesOutputReference = exports.DataGoogleComputeInstanceGroupManagerAllInstancesConfigList = exports.DataGoogleComputeInstanceGroupManagerAllInstancesConfigOutputReference = void 0; exports.dataGoogleComputeInstanceGroupManagerAllInstancesConfigToTerraform = dataGoogleComputeInstanceGroupManagerAllInstancesConfigToTerraform; exports.dataGoogleComputeInstanceGroupManagerAllInstancesConfigToHclTerraform = dataGoogleComputeInstanceGroupManagerAllInstancesConfigToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToTerraform = dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToTerraform; exports.dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToHclTerraform = dataGoogleComputeInstanceGroupManagerAutoHealingPoliciesToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToTerraform = dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToTerraform; exports.dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToHclTerraform = dataGoogleComputeInstanceGroupManagerInstanceLifecyclePolicyToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerNamedPortToTerraform = dataGoogleComputeInstanceGroupManagerNamedPortToTerraform; exports.dataGoogleComputeInstanceGroupManagerNamedPortToHclTerraform = dataGoogleComputeInstanceGroupManagerNamedPortToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStandbyPolicyToTerraform = dataGoogleComputeInstanceGroupManagerStandbyPolicyToTerraform; exports.dataGoogleComputeInstanceGroupManagerStandbyPolicyToHclTerraform = dataGoogleComputeInstanceGroupManagerStandbyPolicyToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStatefulDiskToTerraform = dataGoogleComputeInstanceGroupManagerStatefulDiskToTerraform; exports.dataGoogleComputeInstanceGroupManagerStatefulDiskToHclTerraform = dataGoogleComputeInstanceGroupManagerStatefulDiskToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStatefulExternalIpToTerraform = dataGoogleComputeInstanceGroupManagerStatefulExternalIpToTerraform; exports.dataGoogleComputeInstanceGroupManagerStatefulExternalIpToHclTerraform = dataGoogleComputeInstanceGroupManagerStatefulExternalIpToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStatefulInternalIpToTerraform = dataGoogleComputeInstanceGroupManagerStatefulInternalIpToTerraform; exports.dataGoogleComputeInstanceGroupManagerStatefulInternalIpToHclTerraform = dataGoogleComputeInstanceGroupManagerStatefulInternalIpToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToTerraform = dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToTerraform = dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusStatefulToTerraform = dataGoogleComputeInstanceGroupManagerStatusStatefulToTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusStatefulToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusStatefulToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusVersionTargetToTerraform = dataGoogleComputeInstanceGroupManagerStatusVersionTargetToTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusVersionTargetToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusVersionTargetToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusToTerraform = dataGoogleComputeInstanceGroupManagerStatusToTerraform; exports.dataGoogleComputeInstanceGroupManagerStatusToHclTerraform = dataGoogleComputeInstanceGroupManagerStatusToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerUpdatePolicyToTerraform = dataGoogleComputeInstanceGroupManagerUpdatePolicyToTerraform; exports.dataGoogleComputeInstanceGroupManagerUpdatePolicyToHclTerraform = dataGoogleComputeInstanceGroupManagerUpdatePolicyToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerVersionTargetSizeToTerraform = dataGoogleComputeInstanceGroupManagerVersionTargetSizeToTerraform; exports.dataGoogleComputeInstanceGroupManagerVersionTargetSizeToHclTerraform = dataGoogleComputeInstanceGroupManagerVersionTargetSizeToHclTerraform; exports.dataGoogleComputeInstanceGroupManagerVersionToTerraform = dataGoogleComputeInstanceGroupManagerVersionToTerraform; exports.dataGoogleComputeInstanceGroupManagerVersionToHclTerraform = dataGoogleComputeInstanceGroupManagerVersionToHclTerraform; 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 {}; } 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; } 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.35.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.35.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 {}; } 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; } 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.35.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.35.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 {}; } 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; } 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.35.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.35.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 {}; } 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; } 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.35.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.35.0" }; function dataGoogleComputeInstanceGroupManagerStandbyPolicyToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataGoogleComputeInstanceGroupManagerStandbyPolicyToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataGoogleComputeInstanceGroupManagerStandbyPolicyOutputReference 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; } } // initial_delay_sec - computed: true, optional: false, required: false get initialDelaySec() { return this.getNumberAttribute('initial_delay_sec'); } // mode - computed: true, optional: false, required: false get mode() { return this.getStringAttribute('mode'); } } exports.DataGoogleComputeInstanceGroupManagerStandbyPolicyOutputReference = DataGoogleComputeInstanceGroupManagerStandbyPolicyOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStandbyPolicyOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStandbyPolicyOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceGroupManagerStandbyPolicyList 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 DataGoogleComputeInstanceGroupManagerStandbyPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGroupManagerStandbyPolicyList = DataGoogleComputeInstanceGroupManagerStandbyPolicyList; _k = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStandbyPolicyList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStandbyPolicyList", version: "14.35.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 {}; } 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; } 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; _l = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulDiskOutputReference", version: "14.35.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; _m = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulDiskList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulDiskList", version: "14.35.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 {}; } 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; } 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; _o = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulExternalIpOutputReference", version: "14.35.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; _p = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulExternalIpList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulExternalIpList", version: "14.35.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 {}; } 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; } 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; _q = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulInternalIpOutputReference", version: "14.35.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; _r = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatefulInternalIpList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatefulInternalIpList", version: "14.35.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 {}; } 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; } 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; _s = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigOutputReference", version: "14.35.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; _t = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList[_t] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusAllInstancesConfigList", version: "14.35.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 {}; } 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; } 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; _u = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference[_u] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsOutputReference", version: "14.35.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; _v = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList[_v] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusStatefulPerInstanceConfigsList", version: "14.35.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 {}; } 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; } 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; _w = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference[_w] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceGroupManager.DataGoogleComputeInstanceGroupManagerStatusStatefulOutputReference", version: "14.35.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