@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
923 lines • 384 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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataDatabricksAccountSettingV2 = exports.DataDatabricksAccountSettingV2StringValOutputReference = exports.DataDatabricksAccountSettingV2RestrictWorkspaceAdminsOutputReference = exports.DataDatabricksAccountSettingV2PersonalComputeOutputReference = exports.DataDatabricksAccountSettingV2IntegerValOutputReference = exports.DataDatabricksAccountSettingV2EffectiveStringValOutputReference = exports.DataDatabricksAccountSettingV2EffectiveRestrictWorkspaceAdminsOutputReference = exports.DataDatabricksAccountSettingV2EffectivePersonalComputeOutputReference = exports.DataDatabricksAccountSettingV2EffectiveIntegerValOutputReference = exports.DataDatabricksAccountSettingV2EffectiveBooleanValOutputReference = exports.DataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceOutputReference = exports.DataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowOutputReference = exports.DataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputReference = exports.DataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputReference = exports.DataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceEnablementDetailsOutputReference = exports.DataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsOutputReference = exports.DataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyOutputReference = exports.DataDatabricksAccountSettingV2BooleanValOutputReference = exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceOutputReference = exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowOutputReference = exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputReference = exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputReference = exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsOutputReference = exports.DataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsOutputReference = exports.DataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyOutputReference = void 0;
exports.dataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyToTerraform = dataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyToTerraform;
exports.dataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyToHclTerraform = dataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyToHclTerraform;
exports.dataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsToTerraform = dataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsToTerraform;
exports.dataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsToHclTerraform = dataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsToHclTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsToTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsToTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsToHclTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsToHclTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToHclTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToHclTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToHclTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToHclTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowToTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowToTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowToHclTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowToHclTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceToTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceToTerraform;
exports.dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceToHclTerraform = dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceToHclTerraform;
exports.dataDatabricksAccountSettingV2BooleanValToTerraform = dataDatabricksAccountSettingV2BooleanValToTerraform;
exports.dataDatabricksAccountSettingV2BooleanValToHclTerraform = dataDatabricksAccountSettingV2BooleanValToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyToTerraform = dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyToHclTerraform = dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsToTerraform = dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsToHclTerraform = dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceEnablementDetailsToTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceEnablementDetailsToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceEnablementDetailsToHclTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceEnablementDetailsToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToHclTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToHclTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowToTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowToHclTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceMaintenanceWindowToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceToTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceToHclTerraform = dataDatabricksAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveBooleanValToTerraform = dataDatabricksAccountSettingV2EffectiveBooleanValToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveBooleanValToHclTerraform = dataDatabricksAccountSettingV2EffectiveBooleanValToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveIntegerValToTerraform = dataDatabricksAccountSettingV2EffectiveIntegerValToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveIntegerValToHclTerraform = dataDatabricksAccountSettingV2EffectiveIntegerValToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectivePersonalComputeToTerraform = dataDatabricksAccountSettingV2EffectivePersonalComputeToTerraform;
exports.dataDatabricksAccountSettingV2EffectivePersonalComputeToHclTerraform = dataDatabricksAccountSettingV2EffectivePersonalComputeToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveRestrictWorkspaceAdminsToTerraform = dataDatabricksAccountSettingV2EffectiveRestrictWorkspaceAdminsToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveRestrictWorkspaceAdminsToHclTerraform = dataDatabricksAccountSettingV2EffectiveRestrictWorkspaceAdminsToHclTerraform;
exports.dataDatabricksAccountSettingV2EffectiveStringValToTerraform = dataDatabricksAccountSettingV2EffectiveStringValToTerraform;
exports.dataDatabricksAccountSettingV2EffectiveStringValToHclTerraform = dataDatabricksAccountSettingV2EffectiveStringValToHclTerraform;
exports.dataDatabricksAccountSettingV2IntegerValToTerraform = dataDatabricksAccountSettingV2IntegerValToTerraform;
exports.dataDatabricksAccountSettingV2IntegerValToHclTerraform = dataDatabricksAccountSettingV2IntegerValToHclTerraform;
exports.dataDatabricksAccountSettingV2PersonalComputeToTerraform = dataDatabricksAccountSettingV2PersonalComputeToTerraform;
exports.dataDatabricksAccountSettingV2PersonalComputeToHclTerraform = dataDatabricksAccountSettingV2PersonalComputeToHclTerraform;
exports.dataDatabricksAccountSettingV2RestrictWorkspaceAdminsToTerraform = dataDatabricksAccountSettingV2RestrictWorkspaceAdminsToTerraform;
exports.dataDatabricksAccountSettingV2RestrictWorkspaceAdminsToHclTerraform = dataDatabricksAccountSettingV2RestrictWorkspaceAdminsToHclTerraform;
exports.dataDatabricksAccountSettingV2StringValToTerraform = dataDatabricksAccountSettingV2StringValToTerraform;
exports.dataDatabricksAccountSettingV2StringValToHclTerraform = dataDatabricksAccountSettingV2StringValToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyToTerraform(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 {
access_policy_type: cdktf.stringToTerraform(struct.accessPolicyType),
};
}
function dataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyToHclTerraform(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 = {
access_policy_type: {
value: cdktf.stringToHclTerraform(struct.accessPolicyType),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._accessPolicyType !== undefined) {
hasAnyValues = true;
internalValueResult.accessPolicyType = this._accessPolicyType;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._accessPolicyType = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._accessPolicyType = value.accessPolicyType;
}
}
get accessPolicyType() {
return this.getStringAttribute('access_policy_type');
}
set accessPolicyType(value) {
this._accessPolicyType = value;
}
// Temporarily expose input value. Use with caution.
get accessPolicyTypeInput() {
return this._accessPolicyType;
}
}
exports.DataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyOutputReference = DataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyOutputReference[_a] = { fqn: "@cdktf/provider-databricks.dataDatabricksAccountSettingV2.DataDatabricksAccountSettingV2AibiDashboardEmbeddingAccessPolicyOutputReference", version: "15.16.1" };
function dataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsToTerraform(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 {
approved_domains: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.approvedDomains),
};
}
function dataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsToHclTerraform(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 = {
approved_domains: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.approvedDomains),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._approvedDomains !== undefined) {
hasAnyValues = true;
internalValueResult.approvedDomains = this._approvedDomains;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._approvedDomains = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._approvedDomains = value.approvedDomains;
}
}
get approvedDomains() {
return this.getListAttribute('approved_domains');
}
set approvedDomains(value) {
this._approvedDomains = value;
}
resetApprovedDomains() {
this._approvedDomains = undefined;
}
// Temporarily expose input value. Use with caution.
get approvedDomainsInput() {
return this._approvedDomains;
}
}
exports.DataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsOutputReference = DataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsOutputReference;
_b = JSII_RTTI_SYMBOL_1;
DataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsOutputReference[_b] = { fqn: "@cdktf/provider-databricks.dataDatabricksAccountSettingV2.DataDatabricksAccountSettingV2AibiDashboardEmbeddingApprovedDomainsOutputReference", version: "15.16.1" };
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsToTerraform(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 {
forced_for_compliance_mode: cdktf.booleanToTerraform(struct.forcedForComplianceMode),
unavailable_for_disabled_entitlement: cdktf.booleanToTerraform(struct.unavailableForDisabledEntitlement),
unavailable_for_non_enterprise_tier: cdktf.booleanToTerraform(struct.unavailableForNonEnterpriseTier),
};
}
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsToHclTerraform(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 = {
forced_for_compliance_mode: {
value: cdktf.booleanToHclTerraform(struct.forcedForComplianceMode),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
unavailable_for_disabled_entitlement: {
value: cdktf.booleanToHclTerraform(struct.unavailableForDisabledEntitlement),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
unavailable_for_non_enterprise_tier: {
value: cdktf.booleanToHclTerraform(struct.unavailableForNonEnterpriseTier),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._forcedForComplianceMode !== undefined) {
hasAnyValues = true;
internalValueResult.forcedForComplianceMode = this._forcedForComplianceMode;
}
if (this._unavailableForDisabledEntitlement !== undefined) {
hasAnyValues = true;
internalValueResult.unavailableForDisabledEntitlement = this._unavailableForDisabledEntitlement;
}
if (this._unavailableForNonEnterpriseTier !== undefined) {
hasAnyValues = true;
internalValueResult.unavailableForNonEnterpriseTier = this._unavailableForNonEnterpriseTier;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._forcedForComplianceMode = undefined;
this._unavailableForDisabledEntitlement = undefined;
this._unavailableForNonEnterpriseTier = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._forcedForComplianceMode = value.forcedForComplianceMode;
this._unavailableForDisabledEntitlement = value.unavailableForDisabledEntitlement;
this._unavailableForNonEnterpriseTier = value.unavailableForNonEnterpriseTier;
}
}
get forcedForComplianceMode() {
return this.getBooleanAttribute('forced_for_compliance_mode');
}
set forcedForComplianceMode(value) {
this._forcedForComplianceMode = value;
}
resetForcedForComplianceMode() {
this._forcedForComplianceMode = undefined;
}
// Temporarily expose input value. Use with caution.
get forcedForComplianceModeInput() {
return this._forcedForComplianceMode;
}
get unavailableForDisabledEntitlement() {
return this.getBooleanAttribute('unavailable_for_disabled_entitlement');
}
set unavailableForDisabledEntitlement(value) {
this._unavailableForDisabledEntitlement = value;
}
resetUnavailableForDisabledEntitlement() {
this._unavailableForDisabledEntitlement = undefined;
}
// Temporarily expose input value. Use with caution.
get unavailableForDisabledEntitlementInput() {
return this._unavailableForDisabledEntitlement;
}
get unavailableForNonEnterpriseTier() {
return this.getBooleanAttribute('unavailable_for_non_enterprise_tier');
}
set unavailableForNonEnterpriseTier(value) {
this._unavailableForNonEnterpriseTier = value;
}
resetUnavailableForNonEnterpriseTier() {
this._unavailableForNonEnterpriseTier = undefined;
}
// Temporarily expose input value. Use with caution.
get unavailableForNonEnterpriseTierInput() {
return this._unavailableForNonEnterpriseTier;
}
}
exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsOutputReference = DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsOutputReference[_c] = { fqn: "@cdktf/provider-databricks.dataDatabricksAccountSettingV2.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsOutputReference", version: "15.16.1" };
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToTerraform(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 {
hours: cdktf.numberToTerraform(struct.hours),
minutes: cdktf.numberToTerraform(struct.minutes),
};
}
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToHclTerraform(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 = {
hours: {
value: cdktf.numberToHclTerraform(struct.hours),
isBlock: false,
type: "simple",
storageClassType: "number",
},
minutes: {
value: cdktf.numberToHclTerraform(struct.minutes),
isBlock: false,
type: "simple",
storageClassType: "number",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._hours !== undefined) {
hasAnyValues = true;
internalValueResult.hours = this._hours;
}
if (this._minutes !== undefined) {
hasAnyValues = true;
internalValueResult.minutes = this._minutes;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._hours = undefined;
this._minutes = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._hours = value.hours;
this._minutes = value.minutes;
}
}
get hours() {
return this.getNumberAttribute('hours');
}
set hours(value) {
this._hours = value;
}
resetHours() {
this._hours = undefined;
}
// Temporarily expose input value. Use with caution.
get hoursInput() {
return this._hours;
}
get minutes() {
return this.getNumberAttribute('minutes');
}
set minutes(value) {
this._minutes = value;
}
resetMinutes() {
this._minutes = undefined;
}
// Temporarily expose input value. Use with caution.
get minutesInput() {
return this._minutes;
}
}
exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputReference = DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputReference;
_d = JSII_RTTI_SYMBOL_1;
DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputReference[_d] = { fqn: "@cdktf/provider-databricks.dataDatabricksAccountSettingV2.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputReference", version: "15.16.1" };
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToTerraform(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 {
day_of_week: cdktf.stringToTerraform(struct.dayOfWeek),
frequency: cdktf.stringToTerraform(struct.frequency),
window_start_time: dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToTerraform(struct.windowStartTime),
};
}
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToHclTerraform(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 = {
day_of_week: {
value: cdktf.stringToHclTerraform(struct.dayOfWeek),
isBlock: false,
type: "simple",
storageClassType: "string",
},
frequency: {
value: cdktf.stringToHclTerraform(struct.frequency),
isBlock: false,
type: "simple",
storageClassType: "string",
},
window_start_time: {
value: dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeToHclTerraform(struct.windowStartTime),
isBlock: true,
type: "struct",
storageClassType: "DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
// window_start_time - computed: true, optional: true, required: false
this._windowStartTime = new DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTimeOutputReference(this, "window_start_time");
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._dayOfWeek !== undefined) {
hasAnyValues = true;
internalValueResult.dayOfWeek = this._dayOfWeek;
}
if (this._frequency !== undefined) {
hasAnyValues = true;
internalValueResult.frequency = this._frequency;
}
if (this._windowStartTime?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.windowStartTime = this._windowStartTime?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._dayOfWeek = undefined;
this._frequency = undefined;
this._windowStartTime.internalValue = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._dayOfWeek = value.dayOfWeek;
this._frequency = value.frequency;
this._windowStartTime.internalValue = value.windowStartTime;
}
}
get dayOfWeek() {
return this.getStringAttribute('day_of_week');
}
set dayOfWeek(value) {
this._dayOfWeek = value;
}
resetDayOfWeek() {
this._dayOfWeek = undefined;
}
// Temporarily expose input value. Use with caution.
get dayOfWeekInput() {
return this._dayOfWeek;
}
get frequency() {
return this.getStringAttribute('frequency');
}
set frequency(value) {
this._frequency = value;
}
resetFrequency() {
this._frequency = undefined;
}
// Temporarily expose input value. Use with caution.
get frequencyInput() {
return this._frequency;
}
get windowStartTime() {
return this._windowStartTime;
}
putWindowStartTime(value) {
this._windowStartTime.internalValue = value;
}
resetWindowStartTime() {
this._windowStartTime.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get windowStartTimeInput() {
return this._windowStartTime.internalValue;
}
}
exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputReference = DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputReference[_e] = { fqn: "@cdktf/provider-databricks.dataDatabricksAccountSettingV2.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputReference", version: "15.16.1" };
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowToTerraform(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 {
week_day_based_schedule: dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToTerraform(struct.weekDayBasedSchedule),
};
}
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowToHclTerraform(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 = {
week_day_based_schedule: {
value: dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleToHclTerraform(struct.weekDayBasedSchedule),
isBlock: true,
type: "struct",
storageClassType: "DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
// week_day_based_schedule - computed: true, optional: true, required: false
this._weekDayBasedSchedule = new DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleOutputReference(this, "week_day_based_schedule");
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._weekDayBasedSchedule?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.weekDayBasedSchedule = this._weekDayBasedSchedule?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._weekDayBasedSchedule.internalValue = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._weekDayBasedSchedule.internalValue = value.weekDayBasedSchedule;
}
}
get weekDayBasedSchedule() {
return this._weekDayBasedSchedule;
}
putWeekDayBasedSchedule(value) {
this._weekDayBasedSchedule.internalValue = value;
}
resetWeekDayBasedSchedule() {
this._weekDayBasedSchedule.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get weekDayBasedScheduleInput() {
return this._weekDayBasedSchedule.internalValue;
}
}
exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowOutputReference = DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowOutputReference;
_f = JSII_RTTI_SYMBOL_1;
DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowOutputReference[_f] = { fqn: "@cdktf/provider-databricks.dataDatabricksAccountSettingV2.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowOutputReference", version: "15.16.1" };
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceToTerraform(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 {
can_toggle: cdktf.booleanToTerraform(struct.canToggle),
enabled: cdktf.booleanToTerraform(struct.enabled),
enablement_details: dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsToTerraform(struct.enablementDetails),
maintenance_window: dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowToTerraform(struct.maintenanceWindow),
restart_even_if_no_updates_available: cdktf.booleanToTerraform(struct.restartEvenIfNoUpdatesAvailable),
};
}
function dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceToHclTerraform(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 = {
can_toggle: {
value: cdktf.booleanToHclTerraform(struct.canToggle),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
enabled: {
value: cdktf.booleanToHclTerraform(struct.enabled),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
enablement_details: {
value: dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsToHclTerraform(struct.enablementDetails),
isBlock: true,
type: "struct",
storageClassType: "DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetails",
},
maintenance_window: {
value: dataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowToHclTerraform(struct.maintenanceWindow),
isBlock: true,
type: "struct",
storageClassType: "DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindow",
},
restart_even_if_no_updates_available: {
value: cdktf.booleanToHclTerraform(struct.restartEvenIfNoUpdatesAvailable),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
// enablement_details - computed: true, optional: true, required: false
this._enablementDetails = new DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceEnablementDetailsOutputReference(this, "enablement_details");
// maintenance_window - computed: true, optional: true, required: false
this._maintenanceWindow = new DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceMaintenanceWindowOutputReference(this, "maintenance_window");
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._canToggle !== undefined) {
hasAnyValues = true;
internalValueResult.canToggle = this._canToggle;
}
if (this._enabled !== undefined) {
hasAnyValues = true;
internalValueResult.enabled = this._enabled;
}
if (this._enablementDetails?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.enablementDetails = this._enablementDetails?.internalValue;
}
if (this._maintenanceWindow?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.maintenanceWindow = this._maintenanceWindow?.internalValue;
}
if (this._restartEvenIfNoUpdatesAvailable !== undefined) {
hasAnyValues = true;
internalValueResult.restartEvenIfNoUpdatesAvailable = this._restartEvenIfNoUpdatesAvailable;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._canToggle = undefined;
this._enabled = undefined;
this._enablementDetails.internalValue = undefined;
this._maintenanceWindow.internalValue = undefined;
this._restartEvenIfNoUpdatesAvailable = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._canToggle = value.canToggle;
this._enabled = value.enabled;
this._enablementDetails.internalValue = value.enablementDetails;
this._maintenanceWindow.internalValue = value.maintenanceWindow;
this._restartEvenIfNoUpdatesAvailable = value.restartEvenIfNoUpdatesAvailable;
}
}
get canToggle() {
return this.getBooleanAttribute('can_toggle');
}
set canToggle(value) {
this._canToggle = value;
}
resetCanToggle() {
this._canToggle = undefined;
}
// Temporarily expose input value. Use with caution.
get canToggleInput() {
return this._canToggle;
}
get enabled() {
return this.getBooleanAttribute('enabled');
}
set enabled(value) {
this._enabled = value;
}
resetEnabled() {
this._enabled = undefined;
}
// Temporarily expose input value. Use with caution.
get enabledInput() {
return this._enabled;
}
get enablementDetails() {
return this._enablementDetails;
}
putEnablementDetails(value) {
this._enablementDetails.internalValue = value;
}
resetEnablementDetails() {
this._enablementDetails.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get enablementDetailsInput() {
return this._enablementDetails.internalValue;
}
get maintenanceWindow() {
return this._maintenanceWindow;
}
putMaintenanceWindow(value) {
this._maintenanceWindow.internalValue = value;
}
resetMaintenanceWindow() {
this._maintenanceWindow.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get maintenanceWindowInput() {
return this._maintenanceWindow.internalValue;
}
get restartEvenIfNoUpdatesAvailable() {
return this.getBooleanAttribute('restart_even_if_no_updates_available');
}
set restartEvenIfNoUpdatesAvailable(value) {
this._restartEvenIfNoUpdatesAvailable = value;
}
resetRestartEvenIfNoUpdatesAvailable() {
this._restartEvenIfNoUpdatesAvailable = undefined;
}
// Temporarily expose input value. Use with caution.
get restartEvenIfNoUpdatesAvailableInput() {
return this._restartEvenIfNoUpdatesAvailable;
}
}
exports.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceOutputReference = DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceOutputReference[_g] = { fqn: "@cdktf/provider-databricks.dataDatabricksAccountSettingV2.DataDatabricksAccountSettingV2AutomaticClusterUpdateWorkspaceOutputReference", version: "15.16.1" };
function dataDatabricksAccountSettingV2BooleanValToTerraform(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 {
value: cdktf.booleanToTerraform(struct.value),
};
}
function dataDatabricksAccountSettingV2BooleanValToHclTerraform(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 = {
value: {
value: cdktf.booleanToHclTerraform(struct.value),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksAccountSettingV2BooleanValOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._value !== undefined) {
hasAnyValues = true;
internalValueResult.value = this._value;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._value = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._value = value.value;
}
}
get value() {
return this.getBooleanAttribute('value');
}
set value(value) {
this._value = value;
}
resetValue() {
this._value = undefined;
}
// Temporarily expose input value. Use with caution.
get valueInput() {
return this._value;
}
}
exports.DataDatabricksAccountSettingV2BooleanValOutputReference = DataDatabricksAccountSettingV2BooleanValOutputReference;
_h = JSII_RTTI_SYMBOL_1;
DataDatabricksAccountSettingV2BooleanValOutputReference[_h] = { fqn: "@cdktf/provider-databricks.dataDatabricksAccountSettingV2.DataDatabricksAccountSettingV2BooleanValOutputReference", version: "15.16.1" };
function dataDatabricksAccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyToTerraform(struct) {
if (!cdktf.canInspect(s