UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

817 lines 323 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationToHclTerraform = exports.dataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationToTerraform = exports.DataGoogleComputeInstanceTemplateNetworkPerformanceConfigList = exports.DataGoogleComputeInstanceTemplateNetworkPerformanceConfigOutputReference = exports.dataGoogleComputeInstanceTemplateNetworkPerformanceConfigToHclTerraform = exports.dataGoogleComputeInstanceTemplateNetworkPerformanceConfigToTerraform = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceList = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceOutputReference = exports.dataGoogleComputeInstanceTemplateNetworkInterfaceToHclTerraform = exports.dataGoogleComputeInstanceTemplateNetworkInterfaceToTerraform = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigList = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigOutputReference = exports.dataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigToHclTerraform = exports.dataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigToTerraform = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeList = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference = exports.dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToHclTerraform = exports.dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToTerraform = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigList = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigOutputReference = exports.dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToHclTerraform = exports.dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToTerraform = exports.DataGoogleComputeInstanceTemplateGuestAcceleratorList = exports.DataGoogleComputeInstanceTemplateGuestAcceleratorOutputReference = exports.dataGoogleComputeInstanceTemplateGuestAcceleratorToHclTerraform = exports.dataGoogleComputeInstanceTemplateGuestAcceleratorToTerraform = exports.DataGoogleComputeInstanceTemplateDiskList = exports.DataGoogleComputeInstanceTemplateDiskOutputReference = exports.dataGoogleComputeInstanceTemplateDiskToHclTerraform = exports.dataGoogleComputeInstanceTemplateDiskToTerraform = exports.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyList = exports.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference = exports.dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToHclTerraform = exports.dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToTerraform = exports.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyList = exports.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference = exports.dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToHclTerraform = exports.dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToTerraform = exports.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyList = exports.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference = exports.dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToHclTerraform = exports.dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToTerraform = exports.DataGoogleComputeInstanceTemplateConfidentialInstanceConfigList = exports.DataGoogleComputeInstanceTemplateConfidentialInstanceConfigOutputReference = exports.dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToHclTerraform = exports.dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToTerraform = exports.DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesList = exports.DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesOutputReference = exports.dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToHclTerraform = exports.dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToTerraform = void 0; exports.DataGoogleComputeInstanceTemplate = exports.DataGoogleComputeInstanceTemplateShieldedInstanceConfigList = exports.DataGoogleComputeInstanceTemplateShieldedInstanceConfigOutputReference = exports.dataGoogleComputeInstanceTemplateShieldedInstanceConfigToHclTerraform = exports.dataGoogleComputeInstanceTemplateShieldedInstanceConfigToTerraform = exports.DataGoogleComputeInstanceTemplateServiceAccountList = exports.DataGoogleComputeInstanceTemplateServiceAccountOutputReference = exports.dataGoogleComputeInstanceTemplateServiceAccountToHclTerraform = exports.dataGoogleComputeInstanceTemplateServiceAccountToTerraform = exports.DataGoogleComputeInstanceTemplateSchedulingList = exports.DataGoogleComputeInstanceTemplateSchedulingOutputReference = exports.dataGoogleComputeInstanceTemplateSchedulingToHclTerraform = exports.dataGoogleComputeInstanceTemplateSchedulingToTerraform = exports.DataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionList = exports.DataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionOutputReference = exports.dataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionToHclTerraform = exports.dataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionToTerraform = exports.DataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesList = exports.DataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesOutputReference = exports.dataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesToHclTerraform = exports.dataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesToTerraform = exports.DataGoogleComputeInstanceTemplateSchedulingMaxRunDurationList = exports.DataGoogleComputeInstanceTemplateSchedulingMaxRunDurationOutputReference = exports.dataGoogleComputeInstanceTemplateSchedulingMaxRunDurationToHclTerraform = exports.dataGoogleComputeInstanceTemplateSchedulingMaxRunDurationToTerraform = exports.DataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutList = exports.DataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutOutputReference = exports.dataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutToHclTerraform = exports.dataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutToTerraform = exports.DataGoogleComputeInstanceTemplateReservationAffinityList = exports.DataGoogleComputeInstanceTemplateReservationAffinityOutputReference = exports.dataGoogleComputeInstanceTemplateReservationAffinityToHclTerraform = exports.dataGoogleComputeInstanceTemplateReservationAffinityToTerraform = exports.DataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationList = exports.DataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToTerraform(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.dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToTerraform = dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToTerraform; function dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToHclTerraform(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.dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToHclTerraform = dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToHclTerraform; class DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // enable_nested_virtualization - computed: true, optional: false, required: false get enableNestedVirtualization() { return this.getBooleanAttribute('enable_nested_virtualization'); } // enable_uefi_networking - computed: true, optional: false, required: false get enableUefiNetworking() { return this.getBooleanAttribute('enable_uefi_networking'); } // performance_monitoring_unit - computed: true, optional: false, required: false get performanceMonitoringUnit() { return this.getStringAttribute('performance_monitoring_unit'); } // threads_per_core - computed: true, optional: false, required: false get threadsPerCore() { return this.getNumberAttribute('threads_per_core'); } // turbo_mode - computed: true, optional: false, required: false get turboMode() { return this.getStringAttribute('turbo_mode'); } // visible_core_count - computed: true, optional: false, required: false get visibleCoreCount() { return this.getNumberAttribute('visible_core_count'); } } exports.DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesOutputReference = DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesList 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 DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesList = DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesList; _b = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesList[_b] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToTerraform(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.dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToTerraform = dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToTerraform; function dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToHclTerraform(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.dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToHclTerraform = dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToHclTerraform; class DataGoogleComputeInstanceTemplateConfidentialInstanceConfigOutputReference 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; } } // confidential_instance_type - computed: true, optional: false, required: false get confidentialInstanceType() { return this.getStringAttribute('confidential_instance_type'); } // enable_confidential_compute - computed: true, optional: false, required: false get enableConfidentialCompute() { return this.getBooleanAttribute('enable_confidential_compute'); } } exports.DataGoogleComputeInstanceTemplateConfidentialInstanceConfigOutputReference = DataGoogleComputeInstanceTemplateConfidentialInstanceConfigOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateConfidentialInstanceConfigOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateConfidentialInstanceConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateConfidentialInstanceConfigList 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 DataGoogleComputeInstanceTemplateConfidentialInstanceConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateConfidentialInstanceConfigList = DataGoogleComputeInstanceTemplateConfidentialInstanceConfigList; _d = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateConfidentialInstanceConfigList[_d] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateConfidentialInstanceConfigList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToTerraform(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.dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToTerraform = dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToTerraform; function dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToHclTerraform(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.dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToHclTerraform = dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToHclTerraform; class DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference 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; } } // kms_key_self_link - computed: true, optional: false, required: false get kmsKeySelfLink() { return this.getStringAttribute('kms_key_self_link'); } } exports.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference = DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyList 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 DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyList = DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyList; _f = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToTerraform(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.dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToTerraform = dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToTerraform; function dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToHclTerraform(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.dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToHclTerraform = dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToHclTerraform; class DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference 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; } } // kms_key_self_link - computed: true, optional: false, required: false get kmsKeySelfLink() { return this.getStringAttribute('kms_key_self_link'); } // kms_key_service_account - computed: true, optional: false, required: false get kmsKeyServiceAccount() { return this.getStringAttribute('kms_key_service_account'); } } exports.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference = DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyList 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 DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyList = DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyList; _h = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToTerraform(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.dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToTerraform = dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToTerraform; function dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToHclTerraform(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.dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToHclTerraform = dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToHclTerraform; class DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference 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; } } // kms_key_self_link - computed: true, optional: false, required: false get kmsKeySelfLink() { return this.getStringAttribute('kms_key_self_link'); } // kms_key_service_account - computed: true, optional: false, required: false get kmsKeyServiceAccount() { return this.getStringAttribute('kms_key_service_account'); } } exports.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference = DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyList 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 DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyList = DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyList; _k = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateDiskToTerraform(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.dataGoogleComputeInstanceTemplateDiskToTerraform = dataGoogleComputeInstanceTemplateDiskToTerraform; function dataGoogleComputeInstanceTemplateDiskToHclTerraform(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.dataGoogleComputeInstanceTemplateDiskToHclTerraform = dataGoogleComputeInstanceTemplateDiskToHclTerraform; class DataGoogleComputeInstanceTemplateDiskOutputReference 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; // disk_encryption_key - computed: true, optional: false, required: false this._diskEncryptionKey = new DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyList(this, "disk_encryption_key", false); // labels - computed: true, optional: false, required: false this._labels = new cdktf.StringMap(this, "labels"); // resource_manager_tags - computed: true, optional: false, required: false this._resourceManagerTags = new cdktf.StringMap(this, "resource_manager_tags"); // source_image_encryption_key - computed: true, optional: false, required: false this._sourceImageEncryptionKey = new DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyList(this, "source_image_encryption_key", false); // source_snapshot_encryption_key - computed: true, optional: false, required: false this._sourceSnapshotEncryptionKey = new DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyList(this, "source_snapshot_encryption_key", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // auto_delete - computed: true, optional: false, required: false get autoDelete() { return this.getBooleanAttribute('auto_delete'); } // boot - computed: true, optional: false, required: false get boot() { return this.getBooleanAttribute('boot'); } // device_name - computed: true, optional: false, required: false get deviceName() { return this.getStringAttribute('device_name'); } get diskEncryptionKey() { return this._diskEncryptionKey; } // disk_name - computed: true, optional: false, required: false get diskName() { return this.getStringAttribute('disk_name'); } // disk_size_gb - computed: true, optional: false, required: false get diskSizeGb() { return this.getNumberAttribute('disk_size_gb'); } // disk_type - computed: true, optional: false, required: false get diskType() { return this.getStringAttribute('disk_type'); } // interface - computed: true, optional: false, required: false get interface() { return this.getStringAttribute('interface'); } get labels() { return this._labels; } // mode - computed: true, optional: false, required: false get mode() { return this.getStringAttribute('mode'); } // provisioned_iops - computed: true, optional: false, required: false get provisionedIops() { return this.getNumberAttribute('provisioned_iops'); } // provisioned_throughput - computed: true, optional: false, required: false get provisionedThroughput() { return this.getNumberAttribute('provisioned_throughput'); } get resourceManagerTags() { return this._resourceManagerTags; } // resource_policies - computed: true, optional: false, required: false get resourcePolicies() { return this.getListAttribute('resource_policies'); } // source - computed: true, optional: false, required: false get source() { return this.getStringAttribute('source'); } // source_image - computed: true, optional: false, required: false get sourceImage() { return this.getStringAttribute('source_image'); } get sourceImageEncryptionKey() { return this._sourceImageEncryptionKey; } // source_snapshot - computed: true, optional: false, required: false get sourceSnapshot() { return this.getStringAttribute('source_snapshot'); } get sourceSnapshotEncryptionKey() { return this._sourceSnapshotEncryptionKey; } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataGoogleComputeInstanceTemplateDiskOutputReference = DataGoogleComputeInstanceTemplateDiskOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateDiskList 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 DataGoogleComputeInstanceTemplateDiskOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateDiskList = DataGoogleComputeInstanceTemplateDiskList; _m = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateGuestAcceleratorToTerraform(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.dataGoogleComputeInstanceTemplateGuestAcceleratorToTerraform = dataGoogleComputeInstanceTemplateGuestAcceleratorToTerraform; function dataGoogleComputeInstanceTemplateGuestAcceleratorToHclTerraform(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.dataGoogleComputeInstanceTemplateGuestAcceleratorToHclTerraform = dataGoogleComputeInstanceTemplateGuestAcceleratorToHclTerraform; class DataGoogleComputeInstanceTemplateGuestAcceleratorOutputReference 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; } } // count - computed: true, optional: false, required: false get count() { return this.getNumberAttribute('count'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataGoogleComputeInstanceTemplateGuestAcceleratorOutputReference = DataGoogleComputeInstanceTemplateGuestAcceleratorOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateGuestAcceleratorOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateGuestAcceleratorOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateGuestAcceleratorList 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 DataGoogleComputeInstanceTemplateGuestAcceleratorOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateGuestAcceleratorList = DataGoogleComputeInstanceTemplateGuestAcceleratorList; _p = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateGuestAcceleratorList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateGuestAcceleratorList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToTerraform(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.dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToTerraform; function dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToHclTerraform(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.dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToHclTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToHclTerraform; class DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigOutputReference 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; } } // nat_ip - computed: true, optional: false, required: false get natIp() { return this.getStringAttribute('nat_ip'); } // network_tier - computed: true, optional: false, required: false get networkTier() { return this.getStringAttribute('network_tier'); } // public_ptr_domain_name - computed: true, optional: false, required: false get publicPtrDomainName() { return this.getStringAttribute('public_ptr_domain_name'); } } exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigOutputReference = DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigList 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 DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigList = DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigList; _r = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToTerraform(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.dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToTerraform; function dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToHclTerraform(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.dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToHclTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToHclTerraform; class DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference 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; } } // ip_cidr_range - computed: true, optional: false, required: false get ipCidrRange() { return this.getStringAttribute('ip_cidr_range'); } // subnetwork_range_name - computed: true, optional: false, required: false get subnetworkRangeName() { return this.getStringAttribute('subnetwork_range_name'); } } exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference = DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference", version: "14.12.0" }; class DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeList 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 DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeList = DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeList; _t = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeList[_t] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeList", version: "14.12.0" }; function dataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigToTerraform(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