@cdktf/provider-databricks
Version:
Prebuilt databricks Provider for Terraform CDK (cdktf)
801 lines • 816 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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataDatabricksServingEndpointsEndpointsConfigServedModelsList = exports.DataDatabricksServingEndpointsEndpointsConfigServedModelsOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesFoundationModelList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesFoundationModelOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelPalmConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelPalmConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabricksModelServingConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabricksModelServingConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigBearerTokenAuthList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigBearerTokenAuthOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigApiKeyAuthList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigApiKeyAuthOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCohereConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCohereConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAnthropicConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAnthropicConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAmazonBedrockConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAmazonBedrockConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAi21LabsConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAi21LabsConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayUsageTrackingConfigList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayUsageTrackingConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayRateLimitsList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayRateLimitsOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayInferenceTableConfigList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayInferenceTableConfigOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiOutputReference = exports.DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigList = exports.DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigOutputReference = void 0;
exports.DataDatabricksServingEndpoints = exports.DataDatabricksServingEndpointsEndpointsList = exports.DataDatabricksServingEndpointsEndpointsOutputReference = exports.DataDatabricksServingEndpointsEndpointsTagsList = exports.DataDatabricksServingEndpointsEndpointsTagsOutputReference = exports.DataDatabricksServingEndpointsEndpointsStateList = exports.DataDatabricksServingEndpointsEndpointsStateOutputReference = exports.DataDatabricksServingEndpointsEndpointsConfigList = exports.DataDatabricksServingEndpointsEndpointsConfigOutputReference = void 0;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayInferenceTableConfigToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayInferenceTableConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayInferenceTableConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayInferenceTableConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayRateLimitsToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayRateLimitsToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayRateLimitsToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayRateLimitsToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayUsageTrackingConfigToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayUsageTrackingConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayUsageTrackingConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayUsageTrackingConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayToTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayToTerraform;
exports.dataDatabricksServingEndpointsEndpointsAiGatewayToHclTerraform = dataDatabricksServingEndpointsEndpointsAiGatewayToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAi21LabsConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAi21LabsConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAi21LabsConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAi21LabsConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAmazonBedrockConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAmazonBedrockConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAmazonBedrockConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAmazonBedrockConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAnthropicConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAnthropicConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAnthropicConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelAnthropicConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCohereConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCohereConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCohereConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCohereConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigApiKeyAuthToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigApiKeyAuthToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigApiKeyAuthToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigApiKeyAuthToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigBearerTokenAuthToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigBearerTokenAuthToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigBearerTokenAuthToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigBearerTokenAuthToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelCustomProviderConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabricksModelServingConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabricksModelServingConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabricksModelServingConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabricksModelServingConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelPalmConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelPalmConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelPalmConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelPalmConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesExternalModelToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesFoundationModelToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesFoundationModelToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesFoundationModelToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesFoundationModelToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedEntitiesToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedEntitiesToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedModelsToTerraform = dataDatabricksServingEndpointsEndpointsConfigServedModelsToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigServedModelsToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigServedModelsToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigToTerraform = dataDatabricksServingEndpointsEndpointsConfigToTerraform;
exports.dataDatabricksServingEndpointsEndpointsConfigToHclTerraform = dataDatabricksServingEndpointsEndpointsConfigToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsStateToTerraform = dataDatabricksServingEndpointsEndpointsStateToTerraform;
exports.dataDatabricksServingEndpointsEndpointsStateToHclTerraform = dataDatabricksServingEndpointsEndpointsStateToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsTagsToTerraform = dataDatabricksServingEndpointsEndpointsTagsToTerraform;
exports.dataDatabricksServingEndpointsEndpointsTagsToHclTerraform = dataDatabricksServingEndpointsEndpointsTagsToHclTerraform;
exports.dataDatabricksServingEndpointsEndpointsToTerraform = dataDatabricksServingEndpointsEndpointsToTerraform;
exports.dataDatabricksServingEndpointsEndpointsToHclTerraform = dataDatabricksServingEndpointsEndpointsToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigToTerraform(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 {
enabled: cdktf.booleanToTerraform(struct.enabled),
};
}
function dataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigToHclTerraform(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 = {
enabled: {
value: cdktf.booleanToHclTerraform(struct.enabled),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigOutputReference 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._enabled !== undefined) {
hasAnyValues = true;
internalValueResult.enabled = this._enabled;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._enabled = 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._enabled = value.enabled;
}
}
get enabled() {
return this.getBooleanAttribute('enabled');
}
set enabled(value) {
this._enabled = value;
}
// Temporarily expose input value. Use with caution.
get enabledInput() {
return this._enabled;
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigOutputReference = DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigOutputReference[_a] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigOutputReference", version: "13.36.0" };
class DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigList 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 DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigList = DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigList;
_b = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigList[_b] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayFallbackConfigList", version: "13.36.0" };
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiToTerraform(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 {
behavior: cdktf.stringToTerraform(struct.behavior),
};
}
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiToHclTerraform(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 = {
behavior: {
value: cdktf.stringToHclTerraform(struct.behavior),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiOutputReference 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._behavior !== undefined) {
hasAnyValues = true;
internalValueResult.behavior = this._behavior;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._behavior = 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._behavior = value.behavior;
}
}
get behavior() {
return this.getStringAttribute('behavior');
}
set behavior(value) {
this._behavior = value;
}
resetBehavior() {
this._behavior = undefined;
}
// Temporarily expose input value. Use with caution.
get behaviorInput() {
return this._behavior;
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiOutputReference = DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiOutputReference[_c] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiOutputReference", version: "13.36.0" };
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiList 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 DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiList = DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiList;
_d = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiList[_d] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiList", version: "13.36.0" };
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputToTerraform(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 {
invalid_keywords: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.invalidKeywords),
pii: cdktf.listMapper(dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiToTerraform, false)(struct.pii),
safety: cdktf.booleanToTerraform(struct.safety),
valid_topics: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.validTopics),
};
}
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputToHclTerraform(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 = {
invalid_keywords: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.invalidKeywords),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
pii: {
value: cdktf.listMapperHcl(dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiToHclTerraform, false)(struct.pii),
isBlock: true,
type: "list",
storageClassType: "DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiList",
},
safety: {
value: cdktf.booleanToHclTerraform(struct.safety),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
valid_topics: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.validTopics),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputOutputReference 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;
// pii - computed: true, optional: true, required: false
this._pii = new DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputPiiList(this, "pii", false);
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._invalidKeywords !== undefined) {
hasAnyValues = true;
internalValueResult.invalidKeywords = this._invalidKeywords;
}
if (this._pii?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.pii = this._pii?.internalValue;
}
if (this._safety !== undefined) {
hasAnyValues = true;
internalValueResult.safety = this._safety;
}
if (this._validTopics !== undefined) {
hasAnyValues = true;
internalValueResult.validTopics = this._validTopics;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._invalidKeywords = undefined;
this._pii.internalValue = undefined;
this._safety = undefined;
this._validTopics = 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._invalidKeywords = value.invalidKeywords;
this._pii.internalValue = value.pii;
this._safety = value.safety;
this._validTopics = value.validTopics;
}
}
get invalidKeywords() {
return this.getListAttribute('invalid_keywords');
}
set invalidKeywords(value) {
this._invalidKeywords = value;
}
resetInvalidKeywords() {
this._invalidKeywords = undefined;
}
// Temporarily expose input value. Use with caution.
get invalidKeywordsInput() {
return this._invalidKeywords;
}
get pii() {
return this._pii;
}
putPii(value) {
this._pii.internalValue = value;
}
resetPii() {
this._pii.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get piiInput() {
return this._pii.internalValue;
}
get safety() {
return this.getBooleanAttribute('safety');
}
set safety(value) {
this._safety = value;
}
resetSafety() {
this._safety = undefined;
}
// Temporarily expose input value. Use with caution.
get safetyInput() {
return this._safety;
}
get validTopics() {
return this.getListAttribute('valid_topics');
}
set validTopics(value) {
this._validTopics = value;
}
resetValidTopics() {
this._validTopics = undefined;
}
// Temporarily expose input value. Use with caution.
get validTopicsInput() {
return this._validTopics;
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputOutputReference = DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputOutputReference[_e] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputOutputReference", version: "13.36.0" };
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputList 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 DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputList = DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputList;
_f = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputList[_f] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputList", version: "13.36.0" };
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiToTerraform(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 {
behavior: cdktf.stringToTerraform(struct.behavior),
};
}
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiToHclTerraform(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 = {
behavior: {
value: cdktf.stringToHclTerraform(struct.behavior),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiOutputReference 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._behavior !== undefined) {
hasAnyValues = true;
internalValueResult.behavior = this._behavior;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._behavior = 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._behavior = value.behavior;
}
}
get behavior() {
return this.getStringAttribute('behavior');
}
set behavior(value) {
this._behavior = value;
}
resetBehavior() {
this._behavior = undefined;
}
// Temporarily expose input value. Use with caution.
get behaviorInput() {
return this._behavior;
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiOutputReference = DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiOutputReference[_g] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiOutputReference", version: "13.36.0" };
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiList 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 DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiList = DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiList;
_h = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiList[_h] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiList", version: "13.36.0" };
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputToTerraform(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 {
invalid_keywords: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.invalidKeywords),
pii: cdktf.listMapper(dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiToTerraform, false)(struct.pii),
safety: cdktf.booleanToTerraform(struct.safety),
valid_topics: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.validTopics),
};
}
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputToHclTerraform(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 = {
invalid_keywords: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.invalidKeywords),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
pii: {
value: cdktf.listMapperHcl(dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiToHclTerraform, false)(struct.pii),
isBlock: true,
type: "list",
storageClassType: "DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiList",
},
safety: {
value: cdktf.booleanToHclTerraform(struct.safety),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
valid_topics: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.validTopics),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputOutputReference 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;
// pii - computed: true, optional: true, required: false
this._pii = new DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputPiiList(this, "pii", false);
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._invalidKeywords !== undefined) {
hasAnyValues = true;
internalValueResult.invalidKeywords = this._invalidKeywords;
}
if (this._pii?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.pii = this._pii?.internalValue;
}
if (this._safety !== undefined) {
hasAnyValues = true;
internalValueResult.safety = this._safety;
}
if (this._validTopics !== undefined) {
hasAnyValues = true;
internalValueResult.validTopics = this._validTopics;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._invalidKeywords = undefined;
this._pii.internalValue = undefined;
this._safety = undefined;
this._validTopics = 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._invalidKeywords = value.invalidKeywords;
this._pii.internalValue = value.pii;
this._safety = value.safety;
this._validTopics = value.validTopics;
}
}
get invalidKeywords() {
return this.getListAttribute('invalid_keywords');
}
set invalidKeywords(value) {
this._invalidKeywords = value;
}
resetInvalidKeywords() {
this._invalidKeywords = undefined;
}
// Temporarily expose input value. Use with caution.
get invalidKeywordsInput() {
return this._invalidKeywords;
}
get pii() {
return this._pii;
}
putPii(value) {
this._pii.internalValue = value;
}
resetPii() {
this._pii.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get piiInput() {
return this._pii.internalValue;
}
get safety() {
return this.getBooleanAttribute('safety');
}
set safety(value) {
this._safety = value;
}
resetSafety() {
this._safety = undefined;
}
// Temporarily expose input value. Use with caution.
get safetyInput() {
return this._safety;
}
get validTopics() {
return this.getListAttribute('valid_topics');
}
set validTopics(value) {
this._validTopics = value;
}
resetValidTopics() {
this._validTopics = undefined;
}
// Temporarily expose input value. Use with caution.
get validTopicsInput() {
return this._validTopics;
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputOutputReference = DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputOutputReference[_j] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputOutputReference", version: "13.36.0" };
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputList 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 DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputList = DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputList;
_k = JSII_RTTI_SYMBOL_1;
DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputList[_k] = { fqn: "@cdktf/provider-databricks.dataDatabricksServingEndpoints.DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputList", version: "13.36.0" };
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsToTerraform(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 {
input: cdktf.listMapper(dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputToTerraform, false)(struct.input),
output: cdktf.listMapper(dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputToTerraform, false)(struct.output),
};
}
function dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsToHclTerraform(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 = {
input: {
value: cdktf.listMapperHcl(dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputToHclTerraform, false)(struct.input),
isBlock: true,
type: "list",
storageClassType: "DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsInputList",
},
output: {
value: cdktf.listMapperHcl(dataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputToHclTerraform, false)(struct.output),
isBlock: true,
type: "list",
storageClassType: "DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class DataDatabricksServingEndpointsEndpointsAiGatewayGuardrailsOutputReference 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(terraformResourc