@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
863 lines • 327 kB
JavaScript
"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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataGoogleComputeInstanceReservationAffinitySpecificReservationToHclTerraform = exports.dataGoogleComputeInstanceReservationAffinitySpecificReservationToTerraform = exports.DataGoogleComputeInstanceParamsList = exports.DataGoogleComputeInstanceParamsOutputReference = exports.dataGoogleComputeInstanceParamsToHclTerraform = exports.dataGoogleComputeInstanceParamsToTerraform = exports.DataGoogleComputeInstanceNetworkPerformanceConfigList = exports.DataGoogleComputeInstanceNetworkPerformanceConfigOutputReference = exports.dataGoogleComputeInstanceNetworkPerformanceConfigToHclTerraform = exports.dataGoogleComputeInstanceNetworkPerformanceConfigToTerraform = exports.DataGoogleComputeInstanceNetworkInterfaceList = exports.DataGoogleComputeInstanceNetworkInterfaceOutputReference = exports.dataGoogleComputeInstanceNetworkInterfaceToHclTerraform = exports.dataGoogleComputeInstanceNetworkInterfaceToTerraform = exports.DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigList = exports.DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference = exports.dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToHclTerraform = exports.dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToTerraform = exports.DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeList = exports.DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeOutputReference = exports.dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToHclTerraform = exports.dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToTerraform = exports.DataGoogleComputeInstanceNetworkInterfaceAccessConfigList = exports.DataGoogleComputeInstanceNetworkInterfaceAccessConfigOutputReference = exports.dataGoogleComputeInstanceNetworkInterfaceAccessConfigToHclTerraform = exports.dataGoogleComputeInstanceNetworkInterfaceAccessConfigToTerraform = exports.DataGoogleComputeInstanceGuestAcceleratorList = exports.DataGoogleComputeInstanceGuestAcceleratorOutputReference = exports.dataGoogleComputeInstanceGuestAcceleratorToHclTerraform = exports.dataGoogleComputeInstanceGuestAcceleratorToTerraform = exports.DataGoogleComputeInstanceConfidentialInstanceConfigList = exports.DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference = exports.dataGoogleComputeInstanceConfidentialInstanceConfigToHclTerraform = exports.dataGoogleComputeInstanceConfidentialInstanceConfigToTerraform = exports.DataGoogleComputeInstanceBootDiskList = exports.DataGoogleComputeInstanceBootDiskOutputReference = exports.dataGoogleComputeInstanceBootDiskToHclTerraform = exports.dataGoogleComputeInstanceBootDiskToTerraform = exports.DataGoogleComputeInstanceBootDiskInitializeParamsList = exports.DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference = exports.dataGoogleComputeInstanceBootDiskInitializeParamsToHclTerraform = exports.dataGoogleComputeInstanceBootDiskInitializeParamsToTerraform = exports.DataGoogleComputeInstanceAttachedDiskList = exports.DataGoogleComputeInstanceAttachedDiskOutputReference = exports.dataGoogleComputeInstanceAttachedDiskToHclTerraform = exports.dataGoogleComputeInstanceAttachedDiskToTerraform = exports.DataGoogleComputeInstanceAdvancedMachineFeaturesList = exports.DataGoogleComputeInstanceAdvancedMachineFeaturesOutputReference = exports.dataGoogleComputeInstanceAdvancedMachineFeaturesToHclTerraform = exports.dataGoogleComputeInstanceAdvancedMachineFeaturesToTerraform = void 0;
exports.DataGoogleComputeInstance = exports.DataGoogleComputeInstanceShieldedInstanceConfigList = exports.DataGoogleComputeInstanceShieldedInstanceConfigOutputReference = exports.dataGoogleComputeInstanceShieldedInstanceConfigToHclTerraform = exports.dataGoogleComputeInstanceShieldedInstanceConfigToTerraform = exports.DataGoogleComputeInstanceServiceAccountList = exports.DataGoogleComputeInstanceServiceAccountOutputReference = exports.dataGoogleComputeInstanceServiceAccountToHclTerraform = exports.dataGoogleComputeInstanceServiceAccountToTerraform = exports.DataGoogleComputeInstanceScratchDiskList = exports.DataGoogleComputeInstanceScratchDiskOutputReference = exports.dataGoogleComputeInstanceScratchDiskToHclTerraform = exports.dataGoogleComputeInstanceScratchDiskToTerraform = exports.DataGoogleComputeInstanceSchedulingList = exports.DataGoogleComputeInstanceSchedulingOutputReference = exports.dataGoogleComputeInstanceSchedulingToHclTerraform = exports.dataGoogleComputeInstanceSchedulingToTerraform = exports.DataGoogleComputeInstanceSchedulingOnInstanceStopActionList = exports.DataGoogleComputeInstanceSchedulingOnInstanceStopActionOutputReference = exports.dataGoogleComputeInstanceSchedulingOnInstanceStopActionToHclTerraform = exports.dataGoogleComputeInstanceSchedulingOnInstanceStopActionToTerraform = exports.DataGoogleComputeInstanceSchedulingNodeAffinitiesList = exports.DataGoogleComputeInstanceSchedulingNodeAffinitiesOutputReference = exports.dataGoogleComputeInstanceSchedulingNodeAffinitiesToHclTerraform = exports.dataGoogleComputeInstanceSchedulingNodeAffinitiesToTerraform = exports.DataGoogleComputeInstanceSchedulingMaxRunDurationList = exports.DataGoogleComputeInstanceSchedulingMaxRunDurationOutputReference = exports.dataGoogleComputeInstanceSchedulingMaxRunDurationToHclTerraform = exports.dataGoogleComputeInstanceSchedulingMaxRunDurationToTerraform = exports.DataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutList = exports.DataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference = exports.dataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutToHclTerraform = exports.dataGoogleComputeInstanceSchedulingLocalSsdRecoveryTimeoutToTerraform = exports.DataGoogleComputeInstanceReservationAffinityList = exports.DataGoogleComputeInstanceReservationAffinityOutputReference = exports.dataGoogleComputeInstanceReservationAffinityToHclTerraform = exports.dataGoogleComputeInstanceReservationAffinityToTerraform = exports.DataGoogleComputeInstanceReservationAffinitySpecificReservationList = exports.DataGoogleComputeInstanceReservationAffinitySpecificReservationOutputReference = void 0;
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 {};
}
exports.dataGoogleComputeInstanceAdvancedMachineFeaturesToTerraform = dataGoogleComputeInstanceAdvancedMachineFeaturesToTerraform;
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;
}
exports.dataGoogleComputeInstanceAdvancedMachineFeaturesToHclTerraform = dataGoogleComputeInstanceAdvancedMachineFeaturesToHclTerraform;
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.12.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.12.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 {};
}
exports.dataGoogleComputeInstanceAttachedDiskToTerraform = dataGoogleComputeInstanceAttachedDiskToTerraform;
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;
}
exports.dataGoogleComputeInstanceAttachedDiskToHclTerraform = dataGoogleComputeInstanceAttachedDiskToHclTerraform;
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_sha256 - computed: true, optional: false, required: false
get diskEncryptionKeySha256() {
return this.getStringAttribute('disk_encryption_key_sha256');
}
// 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.12.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.12.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 {};
}
exports.dataGoogleComputeInstanceBootDiskInitializeParamsToTerraform = dataGoogleComputeInstanceBootDiskInitializeParamsToTerraform;
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;
}
exports.dataGoogleComputeInstanceBootDiskInitializeParamsToHclTerraform = dataGoogleComputeInstanceBootDiskInitializeParamsToHclTerraform;
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");
}
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_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');
}
// 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;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskInitializeParamsOutputReference", version: "14.12.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;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceBootDiskInitializeParamsList[_f] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskInitializeParamsList", version: "14.12.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 {};
}
exports.dataGoogleComputeInstanceBootDiskToTerraform = dataGoogleComputeInstanceBootDiskToTerraform;
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;
}
exports.dataGoogleComputeInstanceBootDiskToHclTerraform = dataGoogleComputeInstanceBootDiskToHclTerraform;
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_sha256 - computed: true, optional: false, required: false
get diskEncryptionKeySha256() {
return this.getStringAttribute('disk_encryption_key_sha256');
}
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;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceBootDiskOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskOutputReference", version: "14.12.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;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceBootDiskList[_h] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceBootDiskList", version: "14.12.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 {};
}
exports.dataGoogleComputeInstanceConfidentialInstanceConfigToTerraform = dataGoogleComputeInstanceConfidentialInstanceConfigToTerraform;
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;
}
exports.dataGoogleComputeInstanceConfidentialInstanceConfigToHclTerraform = dataGoogleComputeInstanceConfidentialInstanceConfigToHclTerraform;
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;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceConfidentialInstanceConfigOutputReference", version: "14.12.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;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceConfidentialInstanceConfigList[_k] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceConfidentialInstanceConfigList", version: "14.12.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 {};
}
exports.dataGoogleComputeInstanceGuestAcceleratorToTerraform = dataGoogleComputeInstanceGuestAcceleratorToTerraform;
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;
}
exports.dataGoogleComputeInstanceGuestAcceleratorToHclTerraform = dataGoogleComputeInstanceGuestAcceleratorToHclTerraform;
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;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceGuestAcceleratorOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceGuestAcceleratorOutputReference", version: "14.12.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;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceGuestAcceleratorList[_m] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceGuestAcceleratorList", version: "14.12.0" };
function dataGoogleComputeInstanceNetworkInterfaceAccessConfigToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleComputeInstanceNetworkInterfaceAccessConfigToTerraform = dataGoogleComputeInstanceNetworkInterfaceAccessConfigToTerraform;
function dataGoogleComputeInstanceNetworkInterfaceAccessConfigToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleComputeInstanceNetworkInterfaceAccessConfigToHclTerraform = dataGoogleComputeInstanceNetworkInterfaceAccessConfigToHclTerraform;
class DataGoogleComputeInstanceNetworkInterfaceAccessConfigOutputReference 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.DataGoogleComputeInstanceNetworkInterfaceAccessConfigOutputReference = DataGoogleComputeInstanceNetworkInterfaceAccessConfigOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceNetworkInterfaceAccessConfigOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceNetworkInterfaceAccessConfigOutputReference", version: "14.12.0" };
class DataGoogleComputeInstanceNetworkInterfaceAccessConfigList 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 DataGoogleComputeInstanceNetworkInterfaceAccessConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleComputeInstanceNetworkInterfaceAccessConfigList = DataGoogleComputeInstanceNetworkInterfaceAccessConfigList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceNetworkInterfaceAccessConfigList[_p] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceNetworkInterfaceAccessConfigList", version: "14.12.0" };
function dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToTerraform = dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToTerraform;
function dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToHclTerraform = dataGoogleComputeInstanceNetworkInterfaceAliasIpRangeToHclTerraform;
class DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeOutputReference 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.DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeOutputReference = DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeOutputReference", version: "14.12.0" };
class DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeList 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 DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeList = DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeList[_r] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceNetworkInterfaceAliasIpRangeList", version: "14.12.0" };
function dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToTerraform = dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToTerraform;
function dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToHclTerraform = dataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigToHclTerraform;
class DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference 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;
}
}
// external_ipv6 - computed: true, optional: false, required: false
get externalIpv6() {
return this.getStringAttribute('external_ipv6');
}
// external_ipv6_prefix_length - computed: true, optional: false, required: false
get externalIpv6PrefixLength() {
return this.getStringAttribute('external_ipv6_prefix_length');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// 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.DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference = DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference", version: "14.12.0" };
class DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigList 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 DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigList = DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigList;
_t = JSII_RTTI_SYMBOL_1;
DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigList[_t] = { fqn: "@cdktf/provider-google.dataGoogleComputeInstance.DataGoogleComputeInstanceNetworkInterfaceIpv6AccessConfigList", version: "14.12.0" };
function dataGoogleComputeInstanceNetworkInterfaceToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.dataGoogleComputeInstanceNetworkInterfaceToTerraform = dataGoogleComputeInstanceNetworkInterfaceToTerraform;
function dataGoogleComputeInstanceNetworkInterfaceToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataGoogleComputeInstanceNetworkInterfaceToHclTerraform = dataGoogleComputeInstanceNetworkInterfaceToHclTerraform;
class DataGoogleComputeInstanceNetworkInterfaceOutputReference 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;
// access_config - computed: true, optional: false, required: false
this._accessConfig = new DataGoogleComputeInstanceNetworkInterfaceAccessConfigList(this, "access_config", false);
//