@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
665 lines • 526 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, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataGoogleContainerClusterNodePoolPlacementPolicyToHclTerraform = exports.dataGoogleContainerClusterNodePoolPlacementPolicyToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigList = exports.DataGoogleContainerClusterNodePoolNodeConfigOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigWorkloadMetadataConfigList = exports.DataGoogleContainerClusterNodePoolNodeConfigWorkloadMetadataConfigOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigWorkloadMetadataConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigWorkloadMetadataConfigToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigTaintList = exports.DataGoogleContainerClusterNodePoolNodeConfigTaintOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigTaintToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigTaintToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigList = exports.DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityList = exports.DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigList = exports.DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksList = exports.DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityList = exports.DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigReservationAffinityToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigReservationAffinityToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigList = exports.DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigList = exports.DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigList = exports.DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigKubeletConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigKubeletConfigToTerraform = exports.DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyList = exports.DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyOutputReference = exports.dataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyToHclTerraform = exports.dataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyToTerraform = void 0;
exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigList = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigOutputReference = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigToTerraform = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigList = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigOutputReference = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigToTerraform = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigList = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigOutputReference = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigToTerraform = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigGcpSecretManagerCertificateConfigList = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigGcpSecretManagerCertificateConfigOutputReference = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigGcpSecretManagerCertificateConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigGcpSecretManagerCertificateConfigToTerraform = exports.DataGoogleContainerClusterNodePoolAutoConfigList = exports.DataGoogleContainerClusterNodePoolAutoConfigOutputReference = exports.dataGoogleContainerClusterNodePoolAutoConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolAutoConfigToTerraform = exports.DataGoogleContainerClusterNodePoolAutoConfigNodeKubeletConfigList = exports.DataGoogleContainerClusterNodePoolAutoConfigNodeKubeletConfigOutputReference = exports.dataGoogleContainerClusterNodePoolAutoConfigNodeKubeletConfigToHclTerraform = exports.dataGoogleContainerClusterNodePoolAutoConfigNodeKubeletConfigToTerraform = exports.DataGoogleContainerClusterNodePoolAutoConfigNetworkTagsList = exports.DataGoogleContainerClusterNodePoolAutoConfigNetworkTagsOutputReference = exports.dataGoogleContainerClusterNodePoolAutoConfigNetworkTagsToHclTerraform = exports.dataGoogleContainerClusterNodePoolAutoConfigNetworkTagsToTerraform = exports.DataGoogleContainerClusterNodePoolList = exports.DataGoogleContainerClusterNodePoolOutputReference = exports.dataGoogleContainerClusterNodePoolToHclTerraform = exports.dataGoogleContainerClusterNodePoolToTerraform = exports.DataGoogleContainerClusterNodePoolUpgradeSettingsList = exports.DataGoogleContainerClusterNodePoolUpgradeSettingsOutputReference = exports.dataGoogleContainerClusterNodePoolUpgradeSettingsToHclTerraform = exports.dataGoogleContainerClusterNodePoolUpgradeSettingsToTerraform = exports.DataGoogleContainerClusterNodePoolUpgradeSettingsBlueGreenSettingsList = exports.DataGoogleContainerClusterNodePoolUpgradeSettingsBlueGreenSettingsOutputReference = exports.dataGoogleContainerClusterNodePoolUpgradeSettingsBlueGreenSettingsToHclTerraform = exports.dataGoogleContainerClusterNodePoolUpgradeSettingsBlueGreenSettingsToTerraform = exports.DataGoogleContainerClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicyList = exports.DataGoogleContainerClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicyOutputReference = exports.dataGoogleContainerClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicyToHclTerraform = exports.dataGoogleContainerClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicyToTerraform = exports.DataGoogleContainerClusterNodePoolQueuedProvisioningList = exports.DataGoogleContainerClusterNodePoolQueuedProvisioningOutputReference = exports.dataGoogleContainerClusterNodePoolQueuedProvisioningToHclTerraform = exports.dataGoogleContainerClusterNodePoolQueuedProvisioningToTerraform = exports.DataGoogleContainerClusterNodePoolPlacementPolicyList = exports.DataGoogleContainerClusterNodePoolPlacementPolicyOutputReference = void 0;
exports.dataGoogleContainerClusterServiceExternalIpsConfigToHclTerraform = exports.dataGoogleContainerClusterServiceExternalIpsConfigToTerraform = exports.DataGoogleContainerClusterSecurityPostureConfigList = exports.DataGoogleContainerClusterSecurityPostureConfigOutputReference = exports.dataGoogleContainerClusterSecurityPostureConfigToHclTerraform = exports.dataGoogleContainerClusterSecurityPostureConfigToTerraform = exports.DataGoogleContainerClusterSecretManagerConfigList = exports.DataGoogleContainerClusterSecretManagerConfigOutputReference = exports.dataGoogleContainerClusterSecretManagerConfigToHclTerraform = exports.dataGoogleContainerClusterSecretManagerConfigToTerraform = exports.DataGoogleContainerClusterResourceUsageExportConfigList = exports.DataGoogleContainerClusterResourceUsageExportConfigOutputReference = exports.dataGoogleContainerClusterResourceUsageExportConfigToHclTerraform = exports.dataGoogleContainerClusterResourceUsageExportConfigToTerraform = exports.DataGoogleContainerClusterResourceUsageExportConfigBigqueryDestinationList = exports.DataGoogleContainerClusterResourceUsageExportConfigBigqueryDestinationOutputReference = exports.dataGoogleContainerClusterResourceUsageExportConfigBigqueryDestinationToHclTerraform = exports.dataGoogleContainerClusterResourceUsageExportConfigBigqueryDestinationToTerraform = exports.DataGoogleContainerClusterReleaseChannelList = exports.DataGoogleContainerClusterReleaseChannelOutputReference = exports.dataGoogleContainerClusterReleaseChannelToHclTerraform = exports.dataGoogleContainerClusterReleaseChannelToTerraform = exports.DataGoogleContainerClusterPrivateClusterConfigList = exports.DataGoogleContainerClusterPrivateClusterConfigOutputReference = exports.dataGoogleContainerClusterPrivateClusterConfigToHclTerraform = exports.dataGoogleContainerClusterPrivateClusterConfigToTerraform = exports.DataGoogleContainerClusterPrivateClusterConfigMasterGlobalAccessConfigList = exports.DataGoogleContainerClusterPrivateClusterConfigMasterGlobalAccessConfigOutputReference = exports.dataGoogleContainerClusterPrivateClusterConfigMasterGlobalAccessConfigToHclTerraform = exports.dataGoogleContainerClusterPrivateClusterConfigMasterGlobalAccessConfigToTerraform = exports.DataGoogleContainerClusterNotificationConfigList = exports.DataGoogleContainerClusterNotificationConfigOutputReference = exports.dataGoogleContainerClusterNotificationConfigToHclTerraform = exports.dataGoogleContainerClusterNotificationConfigToTerraform = exports.DataGoogleContainerClusterNotificationConfigPubsubList = exports.DataGoogleContainerClusterNotificationConfigPubsubOutputReference = exports.dataGoogleContainerClusterNotificationConfigPubsubToHclTerraform = exports.dataGoogleContainerClusterNotificationConfigPubsubToTerraform = exports.DataGoogleContainerClusterNotificationConfigPubsubFilterList = exports.DataGoogleContainerClusterNotificationConfigPubsubFilterOutputReference = exports.dataGoogleContainerClusterNotificationConfigPubsubFilterToHclTerraform = exports.dataGoogleContainerClusterNotificationConfigPubsubFilterToTerraform = exports.DataGoogleContainerClusterNodePoolDefaultsList = exports.DataGoogleContainerClusterNodePoolDefaultsOutputReference = exports.dataGoogleContainerClusterNodePoolDefaultsToHclTerraform = exports.dataGoogleContainerClusterNodePoolDefaultsToTerraform = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsList = exports.DataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsOutputReference = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsToHclTerraform = exports.dataGoogleContainerClusterNodePoolDefaultsNodeConfigDefaultsToTerraform = void 0;
exports.DataGoogleContainerClusterWorkloadIdentityConfigList = exports.DataGoogleContainerClusterWorkloadIdentityConfigOutputReference = exports.dataGoogleContainerClusterWorkloadIdentityConfigToHclTerraform = exports.dataGoogleContainerClusterWorkloadIdentityConfigToTerraform = exports.DataGoogleContainerClusterVerticalPodAutoscalingList = exports.DataGoogleContainerClusterVerticalPodAutoscalingOutputReference = exports.dataGoogleContainerClusterVerticalPodAutoscalingToHclTerraform = exports.dataGoogleContainerClusterVerticalPodAutoscalingToTerraform = exports.DataGoogleContainerClusterServiceExternalIpsConfigList = exports.DataGoogleContainerClusterServiceExternalIpsConfigOutputReference = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const cdktf = require("cdktf");
const structs0_1 = require("./structs0");
function dataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyToTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyToTerraform = dataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyToTerraform;
function dataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyToHclTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyToHclTerraform = dataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyToHclTerraform;
class DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyOutputReference 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;
}
}
// maintenance_interval - computed: true, optional: false, required: false
get maintenanceInterval() {
return this.getStringAttribute('maintenance_interval');
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyOutputReference = DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyOutputReference", version: "14.3.0" };
class DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyList 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 DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyList = DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyList;
_b = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyList[_b] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigHostMaintenancePolicyList", version: "14.3.0" };
function dataGoogleContainerClusterNodePoolNodeConfigKubeletConfigToTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigKubeletConfigToTerraform = dataGoogleContainerClusterNodePoolNodeConfigKubeletConfigToTerraform;
function dataGoogleContainerClusterNodePoolNodeConfigKubeletConfigToHclTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigKubeletConfigToHclTerraform = dataGoogleContainerClusterNodePoolNodeConfigKubeletConfigToHclTerraform;
class DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigOutputReference 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;
}
}
// cpu_cfs_quota - computed: true, optional: false, required: false
get cpuCfsQuota() {
return this.getBooleanAttribute('cpu_cfs_quota');
}
// cpu_cfs_quota_period - computed: true, optional: false, required: false
get cpuCfsQuotaPeriod() {
return this.getStringAttribute('cpu_cfs_quota_period');
}
// cpu_manager_policy - computed: true, optional: false, required: false
get cpuManagerPolicy() {
return this.getStringAttribute('cpu_manager_policy');
}
// insecure_kubelet_readonly_port_enabled - computed: true, optional: false, required: false
get insecureKubeletReadonlyPortEnabled() {
return this.getStringAttribute('insecure_kubelet_readonly_port_enabled');
}
// pod_pids_limit - computed: true, optional: false, required: false
get podPidsLimit() {
return this.getNumberAttribute('pod_pids_limit');
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigOutputReference = DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigOutputReference", version: "14.3.0" };
class DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigList 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 DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigList = DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigList;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigList[_d] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigKubeletConfigList", version: "14.3.0" };
function dataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigToTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigToTerraform = dataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigToTerraform;
function dataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigToHclTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigToHclTerraform = dataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigToHclTerraform;
class DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigOutputReference 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;
// sysctls - computed: true, optional: false, required: false
this._sysctls = new cdktf.StringMap(this, "sysctls");
}
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;
}
}
// cgroup_mode - computed: true, optional: false, required: false
get cgroupMode() {
return this.getStringAttribute('cgroup_mode');
}
get sysctls() {
return this._sysctls;
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigOutputReference = DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigOutputReference", version: "14.3.0" };
class DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigList 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 DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigList = DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigList;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigList[_f] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigLinuxNodeConfigList", version: "14.3.0" };
function dataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigToTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigToTerraform = dataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigToTerraform;
function dataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigToHclTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigToHclTerraform = dataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigToHclTerraform;
class DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigOutputReference 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;
}
}
// local_ssd_count - computed: true, optional: false, required: false
get localSsdCount() {
return this.getNumberAttribute('local_ssd_count');
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigOutputReference = DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigOutputReference", version: "14.3.0" };
class DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigList 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 DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigList = DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigList;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigList[_h] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigLocalNvmeSsdBlockConfigList", version: "14.3.0" };
function dataGoogleContainerClusterNodePoolNodeConfigReservationAffinityToTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigReservationAffinityToTerraform = dataGoogleContainerClusterNodePoolNodeConfigReservationAffinityToTerraform;
function dataGoogleContainerClusterNodePoolNodeConfigReservationAffinityToHclTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigReservationAffinityToHclTerraform = dataGoogleContainerClusterNodePoolNodeConfigReservationAffinityToHclTerraform;
class DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityOutputReference 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;
}
}
// consume_reservation_type - computed: true, optional: false, required: false
get consumeReservationType() {
return this.getStringAttribute('consume_reservation_type');
}
// key - computed: true, optional: false, required: false
get key() {
return this.getStringAttribute('key');
}
// values - computed: true, optional: false, required: false
get values() {
return cdktf.Fn.tolist(this.getListAttribute('values'));
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityOutputReference = DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityOutputReference", version: "14.3.0" };
class DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityList 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 DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityList = DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityList;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityList[_k] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigReservationAffinityList", version: "14.3.0" };
function dataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksToTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksToTerraform = dataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksToTerraform;
function dataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksToHclTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksToHclTerraform = dataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksToHclTerraform;
class DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksOutputReference 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;
}
}
// disk_image - computed: true, optional: false, required: false
get diskImage() {
return this.getStringAttribute('disk_image');
}
// mode - computed: true, optional: false, required: false
get mode() {
return this.getStringAttribute('mode');
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksOutputReference = DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksOutputReference", version: "14.3.0" };
class DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksList 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 DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksList = DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksList;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksList[_m] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigSecondaryBootDisksList", version: "14.3.0" };
function dataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigToTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigToTerraform = dataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigToTerraform;
function dataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigToHclTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigToHclTerraform = dataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigToHclTerraform;
class DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigOutputReference 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_integrity_monitoring - computed: true, optional: false, required: false
get enableIntegrityMonitoring() {
return this.getBooleanAttribute('enable_integrity_monitoring');
}
// enable_secure_boot - computed: true, optional: false, required: false
get enableSecureBoot() {
return this.getBooleanAttribute('enable_secure_boot');
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigOutputReference = DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigOutputReference", version: "14.3.0" };
class DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigList 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 DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigList = DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigList[_p] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigShieldedInstanceConfigList", version: "14.3.0" };
function dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityToTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityToTerraform = dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityToTerraform;
function dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityToHclTerraform(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.dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityToHclTerraform = dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityToHclTerraform;
class DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityOutputReference 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;
}
}
// key - computed: true, optional: false, required: false
get key() {
return this.getStringAttribute('key');
}
// operator - computed: true, optional: false, required: false
get operator() {
return this.getStringAttribute('operator');
}
// values - computed: true, optional: false, required: false
get values() {
return this.getListAttribute('values');
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityOutputReference = DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityOutputReference", version: "14.3.0" };
class DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityList 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 DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityList = DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityList[_r] = { fqn: "@cdktf/provider-google.dataGoogleContainerCluster.DataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityList", version: "14.3.0" };
function dataGoogleContainerClusterNodePoolNodeConfigSoleTenantConfigToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw n