UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

858 lines 373 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, _19, _20, _21, _22, _23, _24, _25, _26; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataGoogleComputeInstanceShieldedInstanceConfigList = exports.DataGoogleComputeInstanceShieldedInstanceConfigOutputReference = exports.DataGoogleComputeInstanceServiceAccountList = exports.DataGoogleComputeInstanceServiceAccountOutputReference = exports.DataGoogleComputeInstanceScratchDiskList = exports.DataGoogleComputeInstanceScratchDiskOutputReference = exports.DataGoogleComputeInstanceSchedulingList = exports.DataGoogleComputeInstanceSchedulingOutputReference = exports.DataGoogleComputeInstanceSchedulingOnInstanceStopActionList = exports.DataGoogleComputeInstanceSchedulingOnInstanceStopActionOutputReference = exports.DataGoogleComputeInstanceSchedulingNodeAffinitiesList = exports.DataGoogleComputeInstanceSchedulingNodeAffinitiesOutputReference = exports.DataGoogleComputeInstanceSchedulingMaxRunDurationList = exports.DataGoogleComputeInstanceSchedulingMaxRunDurationOutputReference = exports.DataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutList = exports.DataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference = exports.DataGoogleComputeInstanceReservationAffinityList = exports.DataGoogleComputeInstanceReservationAffinityOutputReference = exports.DataGoogleComputeInstanceReservationAffinitySpecificReservationList = exports.DataGoogleComputeInstanceReservationAffinitySpecificReservationOutputReference = exports.DataGoogleComputeInstanceParamsList = exports.DataGoogleComputeInstanceParamsOutputReference = exports.DataGoogleComputeInstanceNetworkPerformanceConfigList = exports.DataGoogleComputeInstanceNetworkPerformanceConfigOutputReference = exports.DataGoogleComputeInstanceNetworkInterfaceList = exports.DataGoogleComputeInstanceNetworkInterfaceOutputReference = exports.DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigList = exports.DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference = exports.DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeList = exports.DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeOutputReference = exports.DataGoogleComputeInstanceNetworkInterfaceAccessConfigList = exports.DataGoogleComputeInstanceNetworkInterfaceAccessConfigOutputReference = exports.DataGoogleComputeInstanceInstanceEncryptionKeyList = exports.DataGoogleComputeInstanceInstanceEncryptionKeyOutputReference = exports.DataGoogleComputeInstanceGuestAcceleratorList = exports.DataGoogleComputeInstanceGuestAcceleratorOutputReference = exports.DataGoogleComputeInstanceConfidentialInstanceConfigList = exports.DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference = exports.DataGoogleComputeInstanceBootDiskList = exports.DataGoogleComputeInstanceBootDiskOutputReference = exports.DataGoogleComputeInstanceBootDiskInitializeParamsList = exports.DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference = exports.DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyList = exports.DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyOutputReference = exports.DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyList = exports.DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyOutputReference = exports.DataGoogleComputeInstanceAttachedDiskList = exports.DataGoogleComputeInstanceAttachedDiskOutputReference = exports.DataGoogleComputeInstanceAdvancedMachineFeaturesList = exports.DataGoogleComputeInstanceAdvancedMachineFeaturesOutputReference = void 0; exports.DataGoogleComputeInstance = void 0; exports.dataGoogleComputeInstanceAdvancedMachineFeaturesToTerraform = dataGoogleComputeInstanceAdvancedMachineFeaturesToTerraform; exports.dataGoogleComputeInstanceAdvancedMachineFeaturesToHclTerraform = dataGoogleComputeInstanceAdvancedMachineFeaturesToHclTerraform; exports.dataGoogleComputeInstanceAttachedDiskToTerraform = dataGoogleComputeInstanceAttachedDiskToTerraform; exports.dataGoogleComputeInstanceAttachedDiskToHclTerraform = dataGoogleComputeInstanceAttachedDiskToHclTerraform; exports.dataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyToTerraform = dataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyToTerraform; exports.dataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyToHclTerraform = dataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyToHclTerraform; exports.dataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyToTerraform = dataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyToTerraform; exports.dataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyToHclTerraform = dataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyToHclTerraform; exports.dataGoogleComputeInstanceBootDiskInitializeParamsToTerraform = dataGoogleComputeInstanceBootDiskInitializeParamsToTerraform; exports.dataGoogleComputeInstanceBootDiskInitializeParamsToHclTerraform = dataGoogleComputeInstanceBootDiskInitializeParamsToHclTerraform; exports.dataGoogleComputeInstanceBootDiskToTerraform = dataGoogleComputeInstanceBootDiskToTerraform; exports.dataGoogleComputeInstanceBootDiskToHclTerraform = dataGoogleComputeInstanceBootDiskToHclTerraform; exports.dataGoogleComputeInstanceConfidentialInstanceConfigToTerraform = dataGoogleComputeInstanceConfidentialInstanceConfigToTerraform; exports.dataGoogleComputeInstanceConfidentialInstanceConfigToHclTerraform = dataGoogleComputeInstanceConfidentialInstanceConfigToHclTerraform; exports.dataGoogleComputeInstanceGuestAcceleratorToTerraform = dataGoogleComputeInstanceGuestAcceleratorToTerraform; exports.dataGoogleComputeInstanceGuestAcceleratorToHclTerraform = dataGoogleComputeInstanceGuestAcceleratorToHclTerraform; exports.dataGoogleComputeInstanceInstanceEncryptionKeyToTerraform = dataGoogleComputeInstanceInstanceEncryptionKeyToTerraform; exports.dataGoogleComputeInstanceInstanceEncryptionKeyToHclTerraform = dataGoogleComputeInstanceInstanceEncryptionKeyToHclTerraform; exports.dataGoogleComputeInstanceNetworkInterfaceAccessConfigToTerraform = dataGoogleComputeInstanceNetworkInterfaceAccessConfigToTerraform; exports.dataGoogleComputeInstanceNetworkInterfaceAccessConfigToHclTerraform = dataGoogleComputeInstanceNetworkInterfaceAccessConfigToHclTerraform; exports.dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToTerraform = dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToTerraform; exports.dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToHclTerraform = dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToHclTerraform; exports.dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToTerraform = dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToTerraform; exports.dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToHclTerraform = dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToHclTerraform; exports.dataGoogleComputeInstanceNetworkInterfaceToTerraform = dataGoogleComputeInstanceNetworkInterfaceToTerraform; exports.dataGoogleComputeInstanceNetworkInterfaceToHclTerraform = dataGoogleComputeInstanceNetworkInterfaceToHclTerraform; exports.dataGoogleComputeInstanceNetworkPerformanceConfigToTerraform = dataGoogleComputeInstanceNetworkPerformanceConfigToTerraform; exports.dataGoogleComputeInstanceNetworkPerformanceConfigToHclTerraform = dataGoogleComputeInstanceNetworkPerformanceConfigToHclTerraform; exports.dataGoogleComputeInstanceParamsToTerraform = dataGoogleComputeInstanceParamsToTerraform; exports.dataGoogleComputeInstanceParamsToHclTerraform = dataGoogleComputeInstanceParamsToHclTerraform; exports.dataGoogleComputeInstanceReservationAffinitySpecificReservationToTerraform = dataGoogleComputeInstanceReservationAffinitySpecificReservationToTerraform; exports.dataGoogleComputeInstanceReservationAffinitySpecificReservationToHclTerraform = dataGoogleComputeInstanceReservationAffinitySpecificReservationToHclTerraform; exports.dataGoogleComputeInstanceReservationAffinityToTerraform = dataGoogleComputeInstanceReservationAffinityToTerraform; exports.dataGoogleComputeInstanceReservationAffinityToHclTerraform = dataGoogleComputeInstanceReservationAffinityToHclTerraform; exports.dataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutToTerraform = dataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutToTerraform; exports.dataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutToHclTerraform = dataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutToHclTerraform; exports.dataGoogleComputeInstanceSchedulingMaxRunDurationToTerraform = dataGoogleComputeInstanceSchedulingMaxRunDurationToTerraform; exports.dataGoogleComputeInstanceSchedulingMaxRunDurationToHclTerraform = dataGoogleComputeInstanceSchedulingMaxRunDurationToHclTerraform; exports.dataGoogleComputeInstanceSchedulingNodeAffinitiesToTerraform = dataGoogleComputeInstanceSchedulingNodeAffinitiesToTerraform; exports.dataGoogleComputeInstanceSchedulingNodeAffinitiesToHclTerraform = dataGoogleComputeInstanceSchedulingNodeAffinitiesToHclTerraform; exports.dataGoogleComputeInstanceSchedulingOnInstanceStopActionToTerraform = dataGoogleComputeInstanceSchedulingOnInstanceStopActionToTerraform; exports.dataGoogleComputeInstanceSchedulingOnInstanceStopActionToHclTerraform = dataGoogleComputeInstanceSchedulingOnInstanceStopActionToHclTerraform; exports.dataGoogleComputeInstanceSchedulingToTerraform = dataGoogleComputeInstanceSchedulingToTerraform; exports.dataGoogleComputeInstanceSchedulingToHclTerraform = dataGoogleComputeInstanceSchedulingToHclTerraform; exports.dataGoogleComputeInstanceScratchDiskToTerraform = dataGoogleComputeInstanceScratchDiskToTerraform; exports.dataGoogleComputeInstanceScratchDiskToHclTerraform = dataGoogleComputeInstanceScratchDiskToHclTerraform; exports.dataGoogleComputeInstanceServiceAccountToTerraform = dataGoogleComputeInstanceServiceAccountToTerraform; exports.dataGoogleComputeInstanceServiceAccountToHclTerraform = dataGoogleComputeInstanceServiceAccountToHclTerraform; exports.dataGoogleComputeInstanceShieldedInstanceConfigToTerraform = dataGoogleComputeInstanceShieldedInstanceConfigToTerraform; exports.dataGoogleComputeInstanceShieldedInstanceConfigToHclTerraform = dataGoogleComputeInstanceShieldedInstanceConfigToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleComputeInstanceAdvancedMachineFeaturesToTerraform(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 dataGoogleComputeInstanceAdvancedMachineFeaturesToHclTerraform(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 DataGoogleComputeInstanceAdvancedMachineFeaturesOutputReference 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.DataGoogleComputeInstanceAdvancedMachineFeaturesOutputReference = DataGoogleComputeInstanceAdvancedMachineFeaturesOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceAdvancedMachineFeaturesOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceAdvancedMachineFeaturesOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceAdvancedMachineFeaturesList 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 DataGoogleComputeInstanceAdvancedMachineFeaturesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceAdvancedMachineFeaturesList = DataGoogleComputeInstanceAdvancedMachineFeaturesList; _b = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceAdvancedMachineFeaturesList[_b] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceAdvancedMachineFeaturesList", version: "14.35.0" }; function dataGoogleComputeInstanceAttachedDiskToTerraform(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 dataGoogleComputeInstanceAttachedDiskToHclTerraform(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 DataGoogleComputeInstanceAttachedDiskOutputReference 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; } } // device_name - computed: true, optional: false, required: false get deviceName() { return this.getStringAttribute('device_name'); } // disk_encryption_key_raw - computed: true, optional: false, required: false get diskEncryptionKeyRaw() { return this.getStringAttribute('disk_encryption_key_raw'); } // disk_encryption_key_rsa - computed: true, optional: false, required: false get diskEncryptionKeyRsa() { return this.getStringAttribute('disk_encryption_key_rsa'); } // disk_encryption_key_sha256 - computed: true, optional: false, required: false get diskEncryptionKeySha256() { return this.getStringAttribute('disk_encryption_key_sha256'); } // disk_encryption_service_account - computed: true, optional: false, required: false get diskEncryptionServiceAccount() { return this.getStringAttribute('disk_encryption_service_account'); } // force_attach - computed: true, optional: false, required: false get forceAttach() { return this.getBooleanAttribute('force_attach'); } // kms_key_self_link - computed: true, optional: false, required: false get kmsKeySelfLink() { return this.getStringAttribute('kms_key_self_link'); } // mode - computed: true, optional: false, required: false get mode() { return this.getStringAttribute('mode'); } // source - computed: true, optional: false, required: false get source() { return this.getStringAttribute('source'); } } exports.DataGoogleComputeInstanceAttachedDiskOutputReference = DataGoogleComputeInstanceAttachedDiskOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceAttachedDiskOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceAttachedDiskOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceAttachedDiskList 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 DataGoogleComputeInstanceAttachedDiskOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceAttachedDiskList = DataGoogleComputeInstanceAttachedDiskList; _d = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceAttachedDiskList[_d] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceAttachedDiskList", version: "14.35.0" }; function dataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyToTerraform(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 dataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyToHclTerraform(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 DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyOutputReference 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'); } // sha256 - computed: true, optional: false, required: false get sha256() { return this.getStringAttribute('sha256'); } } exports.DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyOutputReference = DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyList 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 DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyList = DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyList; _f = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyList", version: "14.35.0" }; function dataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyToTerraform(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 dataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyToHclTerraform(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 DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyOutputReference 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'); } // sha256 - computed: true, optional: false, required: false get sha256() { return this.getStringAttribute('sha256'); } } exports.DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyOutputReference = DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyList 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 DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyList = DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyList; _h = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyList", version: "14.35.0" }; function dataGoogleComputeInstanceBootDiskInitializeParamsToTerraform(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 dataGoogleComputeInstanceBootDiskInitializeParamsToHclTerraform(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 DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // labels - computed: true, optional: false, required: false this._labels = new cdktf.StringMap(this, "labels"); // 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 DataGoogleComputeInstanceBootDiskInitializeParamsSourceImageEncryptionKeyList(this, "source_image_encryption_key", false); // source_snapshot_encryption_key - computed: true, optional: false, required: false this._sourceSnapshotEncryptionKey = new DataGoogleComputeInstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyList(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'); } // enable_confidential_compute - computed: true, optional: false, required: false get enableConfidentialCompute() { return this.getBooleanAttribute('enable_confidential_compute'); } // image - computed: true, optional: false, required: false get image() { return this.getStringAttribute('image'); } get labels() { return this._labels; } // 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'); } // size - computed: true, optional: false, required: false get size() { return this.getNumberAttribute('size'); } // snapshot - computed: true, optional: false, required: false get snapshot() { return this.getStringAttribute('snapshot'); } get sourceImageEncryptionKey() { return this._sourceImageEncryptionKey; } get sourceSnapshotEncryptionKey() { return this._sourceSnapshotEncryptionKey; } // storage_pool - computed: true, optional: false, required: false get storagePool() { return this.getStringAttribute('storage_pool'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference = DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceBootDiskInitializeParamsList 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 DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceBootDiskInitializeParamsList = DataGoogleComputeInstanceBootDiskInitializeParamsList; _k = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceBootDiskInitializeParamsList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskInitializeParamsList", version: "14.35.0" }; function dataGoogleComputeInstanceBootDiskToTerraform(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 dataGoogleComputeInstanceBootDiskToHclTerraform(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 DataGoogleComputeInstanceBootDiskOutputReference 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; // initialize_params - computed: true, optional: false, required: false this._initializeParams = new DataGoogleComputeInstanceBootDiskInitializeParamsList(this, "initialize_params", 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'); } // device_name - computed: true, optional: false, required: false get deviceName() { return this.getStringAttribute('device_name'); } // disk_encryption_key_raw - computed: true, optional: false, required: false get diskEncryptionKeyRaw() { return this.getStringAttribute('disk_encryption_key_raw'); } // disk_encryption_key_rsa - computed: true, optional: false, required: false get diskEncryptionKeyRsa() { return this.getStringAttribute('disk_encryption_key_rsa'); } // disk_encryption_key_sha256 - computed: true, optional: false, required: false get diskEncryptionKeySha256() { return this.getStringAttribute('disk_encryption_key_sha256'); } // disk_encryption_service_account - computed: true, optional: false, required: false get diskEncryptionServiceAccount() { return this.getStringAttribute('disk_encryption_service_account'); } // force_attach - computed: true, optional: false, required: false get forceAttach() { return this.getBooleanAttribute('force_attach'); } // guest_os_features - computed: true, optional: false, required: false get guestOsFeatures() { return this.getListAttribute('guest_os_features'); } get initializeParams() { return this._initializeParams; } // interface - computed: true, optional: false, required: false get interface() { return this.getStringAttribute('interface'); } // kms_key_self_link - computed: true, optional: false, required: false get kmsKeySelfLink() { return this.getStringAttribute('kms_key_self_link'); } // mode - computed: true, optional: false, required: false get mode() { return this.getStringAttribute('mode'); } // source - computed: true, optional: false, required: false get source() { return this.getStringAttribute('source'); } } exports.DataGoogleComputeInstanceBootDiskOutputReference = DataGoogleComputeInstanceBootDiskOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceBootDiskOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceBootDiskList 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 DataGoogleComputeInstanceBootDiskOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceBootDiskList = DataGoogleComputeInstanceBootDiskList; _m = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceBootDiskList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskList", version: "14.35.0" }; function dataGoogleComputeInstanceConfidentialInstanceConfigToTerraform(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 dataGoogleComputeInstanceConfidentialInstanceConfigToHclTerraform(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 DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference 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.DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference = DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceConfidentialInstanceConfigList 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 DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceConfidentialInstanceConfigList = DataGoogleComputeInstanceConfidentialInstanceConfigList; _p = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceConfidentialInstanceConfigList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceConfidentialInstanceConfigList", version: "14.35.0" }; function dataGoogleComputeInstanceGuestAcceleratorToTerraform(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 dataGoogleComputeInstanceGuestAcceleratorToHclTerraform(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 DataGoogleComputeInstanceGuestAcceleratorOutputReference 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.DataGoogleComputeInstanceGuestAcceleratorOutputReference = DataGoogleComputeInstanceGuestAcceleratorOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGuestAcceleratorOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceGuestAcceleratorOutputReference", version: "14.35.0" }; class DataGoogleComputeInstanceGuestAcceleratorList 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 DataGoogleComputeInstanceGuestAcceleratorOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleComputeInstanceGuestAcceleratorList = DataGoogleComputeInstanceGuestAcceleratorList; _r = JSII_RTTI_SYMBOL_1; DataGoogleComputeInstanceGuestAcceleratorList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceGuestAcceleratorList", version: "14.35.0" }; function dataGoogleComputeInstanceInstanceEncryptionKeyToTerraform(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 dataGoogleComputeInstanceInstanceEncryptionKeyToHclTerraform(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 DataGoogleComputeInstanceInstanceEncryptionKeyOutputReference extends cdktf.ComplexO