@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
1,074 lines • 142 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SqlEndpoint = exports.SqlEndpointTimeoutsOutputReference = exports.SqlEndpointTagsOutputReference = exports.SqlEndpointTagsCustomTagsList = exports.SqlEndpointTagsCustomTagsOutputReference = exports.SqlEndpointChannelOutputReference = exports.SqlEndpointOdbcParamsList = exports.SqlEndpointOdbcParamsOutputReference = exports.SqlEndpointHealthList = exports.SqlEndpointHealthOutputReference = exports.SqlEndpointHealthFailureReasonList = exports.SqlEndpointHealthFailureReasonOutputReference = void 0;
exports.sqlEndpointHealthFailureReasonToTerraform = sqlEndpointHealthFailureReasonToTerraform;
exports.sqlEndpointHealthFailureReasonToHclTerraform = sqlEndpointHealthFailureReasonToHclTerraform;
exports.sqlEndpointHealthToTerraform = sqlEndpointHealthToTerraform;
exports.sqlEndpointHealthToHclTerraform = sqlEndpointHealthToHclTerraform;
exports.sqlEndpointOdbcParamsToTerraform = sqlEndpointOdbcParamsToTerraform;
exports.sqlEndpointOdbcParamsToHclTerraform = sqlEndpointOdbcParamsToHclTerraform;
exports.sqlEndpointChannelToTerraform = sqlEndpointChannelToTerraform;
exports.sqlEndpointChannelToHclTerraform = sqlEndpointChannelToHclTerraform;
exports.sqlEndpointTagsCustomTagsToTerraform = sqlEndpointTagsCustomTagsToTerraform;
exports.sqlEndpointTagsCustomTagsToHclTerraform = sqlEndpointTagsCustomTagsToHclTerraform;
exports.sqlEndpointTagsToTerraform = sqlEndpointTagsToTerraform;
exports.sqlEndpointTagsToHclTerraform = sqlEndpointTagsToHclTerraform;
exports.sqlEndpointTimeoutsToTerraform = sqlEndpointTimeoutsToTerraform;
exports.sqlEndpointTimeoutsToHclTerraform = sqlEndpointTimeoutsToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function sqlEndpointHealthFailureReasonToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
function sqlEndpointHealthFailureReasonToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
class SqlEndpointHealthFailureReasonOutputReference 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;
// parameters - computed: true, optional: false, required: false
this._parameters = new cdktf.StringMap(this, "parameters");
}
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;
}
}
// code - computed: true, optional: false, required: false
get code() {
return this.getStringAttribute('code');
}
get parameters() {
return this._parameters;
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.SqlEndpointHealthFailureReasonOutputReference = SqlEndpointHealthFailureReasonOutputReference;
_a = JSII_RTTI_SYMBOL_1;
SqlEndpointHealthFailureReasonOutputReference[_a] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointHealthFailureReasonOutputReference", version: "15.3.1" };
class SqlEndpointHealthFailureReasonList 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 SqlEndpointHealthFailureReasonOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.SqlEndpointHealthFailureReasonList = SqlEndpointHealthFailureReasonList;
_b = JSII_RTTI_SYMBOL_1;
SqlEndpointHealthFailureReasonList[_b] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointHealthFailureReasonList", version: "15.3.1" };
function sqlEndpointHealthToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
function sqlEndpointHealthToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
class SqlEndpointHealthOutputReference 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;
// failure_reason - computed: true, optional: false, required: false
this._failureReason = new SqlEndpointHealthFailureReasonList(this, "failure_reason", 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;
}
}
// details - computed: true, optional: false, required: false
get details() {
return this.getStringAttribute('details');
}
get failureReason() {
return this._failureReason;
}
// message - computed: true, optional: false, required: false
get message() {
return this.getStringAttribute('message');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
// summary - computed: true, optional: false, required: false
get summary() {
return this.getStringAttribute('summary');
}
}
exports.SqlEndpointHealthOutputReference = SqlEndpointHealthOutputReference;
_c = JSII_RTTI_SYMBOL_1;
SqlEndpointHealthOutputReference[_c] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointHealthOutputReference", version: "15.3.1" };
class SqlEndpointHealthList 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 SqlEndpointHealthOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.SqlEndpointHealthList = SqlEndpointHealthList;
_d = JSII_RTTI_SYMBOL_1;
SqlEndpointHealthList[_d] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointHealthList", version: "15.3.1" };
function sqlEndpointOdbcParamsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
function sqlEndpointOdbcParamsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
class SqlEndpointOdbcParamsOutputReference 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;
}
}
// hostname - computed: true, optional: false, required: false
get hostname() {
return this.getStringAttribute('hostname');
}
// path - computed: true, optional: false, required: false
get path() {
return this.getStringAttribute('path');
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
// protocol - computed: true, optional: false, required: false
get protocol() {
return this.getStringAttribute('protocol');
}
}
exports.SqlEndpointOdbcParamsOutputReference = SqlEndpointOdbcParamsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
SqlEndpointOdbcParamsOutputReference[_e] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointOdbcParamsOutputReference", version: "15.3.1" };
class SqlEndpointOdbcParamsList 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 SqlEndpointOdbcParamsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.SqlEndpointOdbcParamsList = SqlEndpointOdbcParamsList;
_f = JSII_RTTI_SYMBOL_1;
SqlEndpointOdbcParamsList[_f] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointOdbcParamsList", version: "15.3.1" };
function sqlEndpointChannelToTerraform(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 {
dbsql_version: cdktf.stringToTerraform(struct.dbsqlVersion),
name: cdktf.stringToTerraform(struct.name),
};
}
function sqlEndpointChannelToHclTerraform(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 = {
dbsql_version: {
value: cdktf.stringToHclTerraform(struct.dbsqlVersion),
isBlock: false,
type: "simple",
storageClassType: "string",
},
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class SqlEndpointChannelOutputReference 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, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._dbsqlVersion !== undefined) {
hasAnyValues = true;
internalValueResult.dbsqlVersion = this._dbsqlVersion;
}
if (this._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._dbsqlVersion = undefined;
this._name = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._dbsqlVersion = value.dbsqlVersion;
this._name = value.name;
}
}
get dbsqlVersion() {
return this.getStringAttribute('dbsql_version');
}
set dbsqlVersion(value) {
this._dbsqlVersion = value;
}
resetDbsqlVersion() {
this._dbsqlVersion = undefined;
}
// Temporarily expose input value. Use with caution.
get dbsqlVersionInput() {
return this._dbsqlVersion;
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
resetName() {
this._name = undefined;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
}
exports.SqlEndpointChannelOutputReference = SqlEndpointChannelOutputReference;
_g = JSII_RTTI_SYMBOL_1;
SqlEndpointChannelOutputReference[_g] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointChannelOutputReference", version: "15.3.1" };
function sqlEndpointTagsCustomTagsToTerraform(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 {
key: cdktf.stringToTerraform(struct.key),
value: cdktf.stringToTerraform(struct.value),
};
}
function sqlEndpointTagsCustomTagsToHclTerraform(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 = {
key: {
value: cdktf.stringToHclTerraform(struct.key),
isBlock: false,
type: "simple",
storageClassType: "string",
},
value: {
value: cdktf.stringToHclTerraform(struct.value),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class SqlEndpointTagsCustomTagsOutputReference 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() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._key !== undefined) {
hasAnyValues = true;
internalValueResult.key = this._key;
}
if (this._value !== undefined) {
hasAnyValues = true;
internalValueResult.value = this._value;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._key = undefined;
this._value = 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._key = value.key;
this._value = value.value;
}
}
get key() {
return this.getStringAttribute('key');
}
set key(value) {
this._key = value;
}
// Temporarily expose input value. Use with caution.
get keyInput() {
return this._key;
}
get value() {
return this.getStringAttribute('value');
}
set value(value) {
this._value = value;
}
// Temporarily expose input value. Use with caution.
get valueInput() {
return this._value;
}
}
exports.SqlEndpointTagsCustomTagsOutputReference = SqlEndpointTagsCustomTagsOutputReference;
_h = JSII_RTTI_SYMBOL_1;
SqlEndpointTagsCustomTagsOutputReference[_h] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointTagsCustomTagsOutputReference", version: "15.3.1" };
class SqlEndpointTagsCustomTagsList 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 SqlEndpointTagsCustomTagsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.SqlEndpointTagsCustomTagsList = SqlEndpointTagsCustomTagsList;
_j = JSII_RTTI_SYMBOL_1;
SqlEndpointTagsCustomTagsList[_j] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointTagsCustomTagsList", version: "15.3.1" };
function sqlEndpointTagsToTerraform(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 {
custom_tags: cdktf.listMapper(sqlEndpointTagsCustomTagsToTerraform, true)(struct.customTags),
};
}
function sqlEndpointTagsToHclTerraform(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 = {
custom_tags: {
value: cdktf.listMapperHcl(sqlEndpointTagsCustomTagsToHclTerraform, true)(struct.customTags),
isBlock: true,
type: "list",
storageClassType: "SqlEndpointTagsCustomTagsList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class SqlEndpointTagsOutputReference 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, 0);
this.isEmptyObject = false;
// custom_tags - computed: false, optional: true, required: false
this._customTags = new SqlEndpointTagsCustomTagsList(this, "custom_tags", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._customTags?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.customTags = this._customTags?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._customTags.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._customTags.internalValue = value.customTags;
}
}
get customTags() {
return this._customTags;
}
putCustomTags(value) {
this._customTags.internalValue = value;
}
resetCustomTags() {
this._customTags.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get customTagsInput() {
return this._customTags.internalValue;
}
}
exports.SqlEndpointTagsOutputReference = SqlEndpointTagsOutputReference;
_k = JSII_RTTI_SYMBOL_1;
SqlEndpointTagsOutputReference[_k] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointTagsOutputReference", version: "15.3.1" };
function sqlEndpointTimeoutsToTerraform(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 {
create: cdktf.stringToTerraform(struct.create),
};
}
function sqlEndpointTimeoutsToHclTerraform(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 = {
create: {
value: cdktf.stringToHclTerraform(struct.create),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class SqlEndpointTimeoutsOutputReference 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._create !== undefined) {
hasAnyValues = true;
internalValueResult.create = this._create;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._create = 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._create = value.create;
}
}
get create() {
return this.getStringAttribute('create');
}
set create(value) {
this._create = value;
}
resetCreate() {
this._create = undefined;
}
// Temporarily expose input value. Use with caution.
get createInput() {
return this._create;
}
}
exports.SqlEndpointTimeoutsOutputReference = SqlEndpointTimeoutsOutputReference;
_l = JSII_RTTI_SYMBOL_1;
SqlEndpointTimeoutsOutputReference[_l] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpointTimeoutsOutputReference", version: "15.3.1" };
/**
* Represents a {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/resources/sql_endpoint databricks_sql_endpoint}
*/
class SqlEndpoint extends cdktf.TerraformResource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a SqlEndpoint resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the SqlEndpoint to import
* @param importFromId The id of the existing SqlEndpoint that should be imported. Refer to the {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/resources/sql_endpoint#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the SqlEndpoint to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "databricks_sql_endpoint", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/databricks/databricks/1.86.0/docs/resources/sql_endpoint databricks_sql_endpoint} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options SqlEndpointConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'databricks_sql_endpoint',
terraformGeneratorMetadata: {
providerName: 'databricks',
providerVersion: '1.86.0',
providerVersionConstraint: '~> 1.0'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
// health - computed: true, optional: false, required: false
this._health = new SqlEndpointHealthList(this, "health", false);
// odbc_params - computed: true, optional: false, required: false
this._odbcParams = new SqlEndpointOdbcParamsList(this, "odbc_params", false);
// channel - computed: false, optional: true, required: false
this._channel = new SqlEndpointChannelOutputReference(this, "channel");
// tags - computed: false, optional: true, required: false
this._tags = new SqlEndpointTagsOutputReference(this, "tags");
// timeouts - computed: false, optional: true, required: false
this._timeouts = new SqlEndpointTimeoutsOutputReference(this, "timeouts");
this._autoStopMins = config.autoStopMins;
this._clusterSize = config.clusterSize;
this._dataSourceId = config.dataSourceId;
this._enablePhoton = config.enablePhoton;
this._enableServerlessCompute = config.enableServerlessCompute;
this._id = config.id;
this._instanceProfileArn = config.instanceProfileArn;
this._maxNumClusters = config.maxNumClusters;
this._minNumClusters = config.minNumClusters;
this._name = config.name;
this._spotInstancePolicy = config.spotInstancePolicy;
this._warehouseType = config.warehouseType;
this._channel.internalValue = config.channel;
this._tags.internalValue = config.tags;
this._timeouts.internalValue = config.timeouts;
}
get autoStopMins() {
return this.getNumberAttribute('auto_stop_mins');
}
set autoStopMins(value) {
this._autoStopMins = value;
}
resetAutoStopMins() {
this._autoStopMins = undefined;
}
// Temporarily expose input value. Use with caution.
get autoStopMinsInput() {
return this._autoStopMins;
}
get clusterSize() {
return this.getStringAttribute('cluster_size');
}
set clusterSize(value) {
this._clusterSize = value;
}
// Temporarily expose input value. Use with caution.
get clusterSizeInput() {
return this._clusterSize;
}
// creator_name - computed: true, optional: false, required: false
get creatorName() {
return this.getStringAttribute('creator_name');
}
get dataSourceId() {
return this.getStringAttribute('data_source_id');
}
set dataSourceId(value) {
this._dataSourceId = value;
}
resetDataSourceId() {
this._dataSourceId = undefined;
}
// Temporarily expose input value. Use with caution.
get dataSourceIdInput() {
return this._dataSourceId;
}
get enablePhoton() {
return this.getBooleanAttribute('enable_photon');
}
set enablePhoton(value) {
this._enablePhoton = value;
}
resetEnablePhoton() {
this._enablePhoton = undefined;
}
// Temporarily expose input value. Use with caution.
get enablePhotonInput() {
return this._enablePhoton;
}
get enableServerlessCompute() {
return this.getBooleanAttribute('enable_serverless_compute');
}
set enableServerlessCompute(value) {
this._enableServerlessCompute = value;
}
resetEnableServerlessCompute() {
this._enableServerlessCompute = undefined;
}
// Temporarily expose input value. Use with caution.
get enableServerlessComputeInput() {
return this._enableServerlessCompute;
}
get health() {
return this._health;
}
get id() {
return this.getStringAttribute('id');
}
set id(value) {
this._id = value;
}
resetId() {
this._id = undefined;
}
// Temporarily expose input value. Use with caution.
get idInput() {
return this._id;
}
get instanceProfileArn() {
return this.getStringAttribute('instance_profile_arn');
}
set instanceProfileArn(value) {
this._instanceProfileArn = value;
}
resetInstanceProfileArn() {
this._instanceProfileArn = undefined;
}
// Temporarily expose input value. Use with caution.
get instanceProfileArnInput() {
return this._instanceProfileArn;
}
// jdbc_url - computed: true, optional: false, required: false
get jdbcUrl() {
return this.getStringAttribute('jdbc_url');
}
get maxNumClusters() {
return this.getNumberAttribute('max_num_clusters');
}
set maxNumClusters(value) {
this._maxNumClusters = value;
}
resetMaxNumClusters() {
this._maxNumClusters = undefined;
}
// Temporarily expose input value. Use with caution.
get maxNumClustersInput() {
return this._maxNumClusters;
}
get minNumClusters() {
return this.getNumberAttribute('min_num_clusters');
}
set minNumClusters(value) {
this._minNumClusters = value;
}
resetMinNumClusters() {
this._minNumClusters = undefined;
}
// Temporarily expose input value. Use with caution.
get minNumClustersInput() {
return this._minNumClusters;
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
// num_active_sessions - computed: true, optional: false, required: false
get numActiveSessions() {
return this.getNumberAttribute('num_active_sessions');
}
// num_clusters - computed: true, optional: false, required: false
get numClusters() {
return this.getNumberAttribute('num_clusters');
}
get odbcParams() {
return this._odbcParams;
}
get spotInstancePolicy() {
return this.getStringAttribute('spot_instance_policy');
}
set spotInstancePolicy(value) {
this._spotInstancePolicy = value;
}
resetSpotInstancePolicy() {
this._spotInstancePolicy = undefined;
}
// Temporarily expose input value. Use with caution.
get spotInstancePolicyInput() {
return this._spotInstancePolicy;
}
// state - computed: true, optional: false, required: false
get state() {
return this.getStringAttribute('state');
}
get warehouseType() {
return this.getStringAttribute('warehouse_type');
}
set warehouseType(value) {
this._warehouseType = value;
}
resetWarehouseType() {
this._warehouseType = undefined;
}
// Temporarily expose input value. Use with caution.
get warehouseTypeInput() {
return this._warehouseType;
}
get channel() {
return this._channel;
}
putChannel(value) {
this._channel.internalValue = value;
}
resetChannel() {
this._channel.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get channelInput() {
return this._channel.internalValue;
}
get tags() {
return this._tags;
}
putTags(value) {
this._tags.internalValue = value;
}
resetTags() {
this._tags.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get tagsInput() {
return this._tags.internalValue;
}
get timeouts() {
return this._timeouts;
}
putTimeouts(value) {
this._timeouts.internalValue = value;
}
resetTimeouts() {
this._timeouts.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get timeoutsInput() {
return this._timeouts.internalValue;
}
// =========
// SYNTHESIS
// =========
synthesizeAttributes() {
return {
auto_stop_mins: cdktf.numberToTerraform(this._autoStopMins),
cluster_size: cdktf.stringToTerraform(this._clusterSize),
data_source_id: cdktf.stringToTerraform(this._dataSourceId),
enable_photon: cdktf.booleanToTerraform(this._enablePhoton),
enable_serverless_compute: cdktf.booleanToTerraform(this._enableServerlessCompute),
id: cdktf.stringToTerraform(this._id),
instance_profile_arn: cdktf.stringToTerraform(this._instanceProfileArn),
max_num_clusters: cdktf.numberToTerraform(this._maxNumClusters),
min_num_clusters: cdktf.numberToTerraform(this._minNumClusters),
name: cdktf.stringToTerraform(this._name),
spot_instance_policy: cdktf.stringToTerraform(this._spotInstancePolicy),
warehouse_type: cdktf.stringToTerraform(this._warehouseType),
channel: sqlEndpointChannelToTerraform(this._channel.internalValue),
tags: sqlEndpointTagsToTerraform(this._tags.internalValue),
timeouts: sqlEndpointTimeoutsToTerraform(this._timeouts.internalValue),
};
}
synthesizeHclAttributes() {
const attrs = {
auto_stop_mins: {
value: cdktf.numberToHclTerraform(this._autoStopMins),
isBlock: false,
type: "simple",
storageClassType: "number",
},
cluster_size: {
value: cdktf.stringToHclTerraform(this._clusterSize),
isBlock: false,
type: "simple",
storageClassType: "string",
},
data_source_id: {
value: cdktf.stringToHclTerraform(this._dataSourceId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
enable_photon: {
value: cdktf.booleanToHclTerraform(this._enablePhoton),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
enable_serverless_compute: {
value: cdktf.booleanToHclTerraform(this._enableServerlessCompute),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
instance_profile_arn: {
value: cdktf.stringToHclTerraform(this._instanceProfileArn),
isBlock: false,
type: "simple",
storageClassType: "string",
},
max_num_clusters: {
value: cdktf.numberToHclTerraform(this._maxNumClusters),
isBlock: false,
type: "simple",
storageClassType: "number",
},
min_num_clusters: {
value: cdktf.numberToHclTerraform(this._minNumClusters),
isBlock: false,
type: "simple",
storageClassType: "number",
},
name: {
value: cdktf.stringToHclTerraform(this._name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
spot_instance_policy: {
value: cdktf.stringToHclTerraform(this._spotInstancePolicy),
isBlock: false,
type: "simple",
storageClassType: "string",
},
warehouse_type: {
value: cdktf.stringToHclTerraform(this._warehouseType),
isBlock: false,
type: "simple",
storageClassType: "string",
},
channel: {
value: sqlEndpointChannelToHclTerraform(this._channel.internalValue),
isBlock: true,
type: "list",
storageClassType: "SqlEndpointChannelList",
},
tags: {
value: sqlEndpointTagsToHclTerraform(this._tags.internalValue),
isBlock: true,
type: "list",
storageClassType: "SqlEndpointTagsList",
},
timeouts: {
value: sqlEndpointTimeoutsToHclTerraform(this._timeouts.internalValue),
isBlock: true,
type: "struct",
storageClassType: "SqlEndpointTimeouts",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.SqlEndpoint = SqlEndpoint;
_m = JSII_RTTI_SYMBOL_1;
SqlEndpoint[_m] = { fqn: "@cdktf/provider-databricks.sqlEndpoint.SqlEndpoint", version: "15.3.1" };
// =================
// STATIC PROPERTIES
// =================
SqlEndpoint.tfResourceType = "databricks_sql_endpoint";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc3FsLWVuZHBvaW50L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUF1RkEsOEZBT0M7QUFHRCxvR0FRQztBQW9FRCxvRUFPQztBQUdELDBFQVFDO0FBOEVELDRFQU9DO0FBR0Qsa0ZBUUM7QUFnRkQsc0VBU0M7QUFHRCw0RUFzQkM7QUFtRkQsb0ZBU0M7QUFHRCwwRkFzQkM7QUEyR0QsZ0VBUUM7QUFHRCxzRUFnQkM7QUF5REQsd0VBUUM7QUFHRCw4RUFnQkM7O0FBdnRCRCwrQkFBK0I7QUE4RS9CLFNBQWdCLHlDQUF5QyxDQUFDLE1BQXVDO0lBQy9GLElBQUksQ0FBQyxLQUFLLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEtBQUssQ0FBQyxZQUFZLENBQUMsWUFBWSxDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFB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