UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

845 lines 324 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.DataGoogleComputeInstanceTemplate = exports.DataGoogleComputeInstanceTemplateShieldedInstanceConfigList = exports.DataGoogleComputeInstanceTemplateShieldedInstanceConfigOutputReference = exports.DataGoogleComputeInstanceTemplateServiceAccountList = exports.DataGoogleComputeInstanceTemplateServiceAccountOutputReference = exports.DataGoogleComputeInstanceTemplateSchedulingList = exports.DataGoogleComputeInstanceTemplateSchedulingOutputReference = exports.DataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionList = exports.DataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionOutputReference = exports.DataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesList = exports.DataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesOutputReference = exports.DataGoogleComputeInstanceTemplateSchedulingMaxRunDurationList = exports.DataGoogleComputeInstanceTemplateSchedulingMaxRunDurationOutputReference = exports.DataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutList = exports.DataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutOutputReference = exports.DataGoogleComputeInstanceTemplateReservationAffinityList = exports.DataGoogleComputeInstanceTemplateReservationAffinityOutputReference = exports.DataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationList = exports.DataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationOutputReference = exports.DataGoogleComputeInstanceTemplateNetworkPerformanceConfigList = exports.DataGoogleComputeInstanceTemplateNetworkPerformanceConfigOutputReference = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceList = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceOutputReference = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigList = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigOutputReference = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeList = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigList = exports.DataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigOutputReference = exports.DataGoogleComputeInstanceTemplateGuestAcceleratorList = exports.DataGoogleComputeInstanceTemplateGuestAcceleratorOutputReference = exports.DataGoogleComputeInstanceTemplateDiskList = exports.DataGoogleComputeInstanceTemplateDiskOutputReference = exports.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyList = exports.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference = exports.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyList = exports.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference = exports.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyList = exports.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference = exports.DataGoogleComputeInstanceTemplateConfidentialInstanceConfigList = exports.DataGoogleComputeInstanceTemplateConfidentialInstanceConfigOutputReference = exports.DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesList = exports.DataGoogleComputeInstanceTemplateAdvancedMachineFeaturesOutputReference = void 0; exports.dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToTerraform = dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToTerraform; exports.dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToHclTerraform = dataGoogleComputeInstanceTemplateAdvancedMachineFeaturesToHclTerraform; exports.dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToTerraform = dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToTerraform; exports.dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToHclTerraform = dataGoogleComputeInstanceTemplateConfidentialInstanceConfigToHclTerraform; exports.dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToTerraform = dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToTerraform; exports.dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToHclTerraform = dataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyToHclTerraform; exports.dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToTerraform = dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToTerraform; exports.dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToHclTerraform = dataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyToHclTerraform; exports.dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToTerraform = dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToTerraform; exports.dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToHclTerraform = dataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyToHclTerraform; exports.dataGoogleComputeInstanceTemplateDiskToTerraform = dataGoogleComputeInstanceTemplateDiskToTerraform; exports.dataGoogleComputeInstanceTemplateDiskToHclTerraform = dataGoogleComputeInstanceTemplateDiskToHclTerraform; exports.dataGoogleComputeInstanceTemplateGuestAcceleratorToTerraform = dataGoogleComputeInstanceTemplateGuestAcceleratorToTerraform; exports.dataGoogleComputeInstanceTemplateGuestAcceleratorToHclTerraform = dataGoogleComputeInstanceTemplateGuestAcceleratorToHclTerraform; exports.dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToTerraform; exports.dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToHclTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceAccessConfigToHclTerraform; exports.dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToTerraform; exports.dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToHclTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeToHclTerraform; exports.dataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigToTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigToTerraform; exports.dataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigToHclTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceIpv6AccessConfigToHclTerraform; exports.dataGoogleComputeInstanceTemplateNetworkInterfaceToTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceToTerraform; exports.dataGoogleComputeInstanceTemplateNetworkInterfaceToHclTerraform = dataGoogleComputeInstanceTemplateNetworkInterfaceToHclTerraform; exports.dataGoogleComputeInstanceTemplateNetworkPerformanceConfigToTerraform = dataGoogleComputeInstanceTemplateNetworkPerformanceConfigToTerraform; exports.dataGoogleComputeInstanceTemplateNetworkPerformanceConfigToHclTerraform = dataGoogleComputeInstanceTemplateNetworkPerformanceConfigToHclTerraform; exports.dataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationToTerraform = dataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationToTerraform; exports.dataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationToHclTerraform = dataGoogleComputeInstanceTemplateReservationAffinitySpecificReservationToHclTerraform; exports.dataGoogleComputeInstanceTemplateReservationAffinityToTerraform = dataGoogleComputeInstanceTemplateReservationAffinityToTerraform; exports.dataGoogleComputeInstanceTemplateReservationAffinityToHclTerraform = dataGoogleComputeInstanceTemplateReservationAffinityToHclTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutToTerraform = dataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutToTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutToHclTerraform = dataGoogleComputeInstanceTemplateSchedulingLocalSsdRecoveryTimeoutToHclTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingMaxRunDurationToTerraform = dataGoogleComputeInstanceTemplateSchedulingMaxRunDurationToTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingMaxRunDurationToHclTerraform = dataGoogleComputeInstanceTemplateSchedulingMaxRunDurationToHclTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesToTerraform = dataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesToTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesToHclTerraform = dataGoogleComputeInstanceTemplateSchedulingNodeAffinitiesToHclTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionToTerraform = dataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionToTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionToHclTerraform = dataGoogleComputeInstanceTemplateSchedulingOnInstanceStopActionToHclTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingToTerraform = dataGoogleComputeInstanceTemplateSchedulingToTerraform; exports.dataGoogleComputeInstanceTemplateSchedulingToHclTerraform = dataGoogleComputeInstanceTemplateSchedulingToHclTerraform; exports.dataGoogleComputeInstanceTemplateServiceAccountToTerraform = dataGoogleComputeInstanceTemplateServiceAccountToTerraform; exports.dataGoogleComputeInstanceTemplateServiceAccountToHclTerraform = dataGoogleComputeInstanceTemplateServiceAccountToHclTerraform; exports.dataGoogleComputeInstanceTemplateShieldedInstanceConfigToTerraform = dataGoogleComputeInstanceTemplateShieldedInstanceConfigToTerraform; exports.dataGoogleComputeInstanceTemplateShieldedInstanceConfigToHclTerraform = dataGoogleComputeInstanceTemplateShieldedInstanceConfigToHclTerraform; 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 {}; } 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; } 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.35.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.35.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 {}; } 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; } 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.35.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.35.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 {}; } 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; } 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'); } // kms_key_service_account - computed: true, optional: false, required: false get kmsKeyServiceAccount() { return this.getStringAttribute('kms_key_service_account'); } } exports.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference = DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskDiskEncryptionKeyOutputReference", version: "14.35.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.35.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 {}; } 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; } 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'); } // raw_key - computed: true, optional: false, required: false get rawKey() { return this.getStringAttribute('raw_key'); } // rsa_encrypted_key - computed: true, optional: false, required: false get rsaEncryptedKey() { return this.getStringAttribute('rsa_encrypted_key'); } } exports.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference = DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskSourceImageEncryptionKeyOutputReference", version: "14.35.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.35.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 {}; } 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; } 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'); } // raw_key - computed: true, optional: false, required: false get rawKey() { return this.getStringAttribute('raw_key'); } // rsa_encrypted_key - computed: true, optional: false, required: false get rsaEncryptedKey() { return this.getStringAttribute('rsa_encrypted_key'); } } exports.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference = DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstanceTemplate.DataGoogleComputeInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference", version: "14.35.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.35.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 {}; } 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; } 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; } } // architecture - computed: true, optional: false, required: false get architecture() { return this.getStringAttribute('architecture'); } // 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'); } // guest_os_features - computed: true, optional: false, required: false get guestOsFeatures() { return this.getListAttribute('guest_os_features'); } // 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.35.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.35.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 {}; } 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; } 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.35.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.35.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 {}; } 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; } 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.35.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.35.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 {}; } 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; } 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.35.0" }; class DataGoogleComputeInstanceTemplateNetworkInterfaceAliasIpRangeList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @para