@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
989 lines • 138 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CosmosdbCassandraTable = exports.CosmosdbCassandraTableTimeoutsOutputReference = exports.cosmosdbCassandraTableTimeoutsToHclTerraform = exports.cosmosdbCassandraTableTimeoutsToTerraform = exports.CosmosdbCassandraTableSchemaOutputReference = exports.cosmosdbCassandraTableSchemaToHclTerraform = exports.cosmosdbCassandraTableSchemaToTerraform = exports.CosmosdbCassandraTableSchemaPartitionKeyList = exports.CosmosdbCassandraTableSchemaPartitionKeyOutputReference = exports.cosmosdbCassandraTableSchemaPartitionKeyToHclTerraform = exports.cosmosdbCassandraTableSchemaPartitionKeyToTerraform = exports.CosmosdbCassandraTableSchemaColumnList = exports.CosmosdbCassandraTableSchemaColumnOutputReference = exports.cosmosdbCassandraTableSchemaColumnToHclTerraform = exports.cosmosdbCassandraTableSchemaColumnToTerraform = exports.CosmosdbCassandraTableSchemaClusterKeyList = exports.CosmosdbCassandraTableSchemaClusterKeyOutputReference = exports.cosmosdbCassandraTableSchemaClusterKeyToHclTerraform = exports.cosmosdbCassandraTableSchemaClusterKeyToTerraform = exports.CosmosdbCassandraTableAutoscaleSettingsOutputReference = exports.cosmosdbCassandraTableAutoscaleSettingsToHclTerraform = exports.cosmosdbCassandraTableAutoscaleSettingsToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function cosmosdbCassandraTableAutoscaleSettingsToTerraform(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 {
max_throughput: cdktf.numberToTerraform(struct.maxThroughput),
};
}
exports.cosmosdbCassandraTableAutoscaleSettingsToTerraform = cosmosdbCassandraTableAutoscaleSettingsToTerraform;
function cosmosdbCassandraTableAutoscaleSettingsToHclTerraform(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 = {
max_throughput: {
value: cdktf.numberToHclTerraform(struct.maxThroughput),
isBlock: false,
type: "simple",
storageClassType: "number",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.cosmosdbCassandraTableAutoscaleSettingsToHclTerraform = cosmosdbCassandraTableAutoscaleSettingsToHclTerraform;
class CosmosdbCassandraTableAutoscaleSettingsOutputReference 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._maxThroughput !== undefined) {
hasAnyValues = true;
internalValueResult.maxThroughput = this._maxThroughput;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._maxThroughput = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._maxThroughput = value.maxThroughput;
}
}
get maxThroughput() {
return this.getNumberAttribute('max_throughput');
}
set maxThroughput(value) {
this._maxThroughput = value;
}
resetMaxThroughput() {
this._maxThroughput = undefined;
}
// Temporarily expose input value. Use with caution.
get maxThroughputInput() {
return this._maxThroughput;
}
}
exports.CosmosdbCassandraTableAutoscaleSettingsOutputReference = CosmosdbCassandraTableAutoscaleSettingsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableAutoscaleSettingsOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableAutoscaleSettingsOutputReference", version: "12.27.0" };
function cosmosdbCassandraTableSchemaClusterKeyToTerraform(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 {
name: cdktf.stringToTerraform(struct.name),
order_by: cdktf.stringToTerraform(struct.orderBy),
};
}
exports.cosmosdbCassandraTableSchemaClusterKeyToTerraform = cosmosdbCassandraTableSchemaClusterKeyToTerraform;
function cosmosdbCassandraTableSchemaClusterKeyToHclTerraform(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 = {
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
order_by: {
value: cdktf.stringToHclTerraform(struct.orderBy),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.cosmosdbCassandraTableSchemaClusterKeyToHclTerraform = cosmosdbCassandraTableSchemaClusterKeyToHclTerraform;
class CosmosdbCassandraTableSchemaClusterKeyOutputReference 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._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
if (this._orderBy !== undefined) {
hasAnyValues = true;
internalValueResult.orderBy = this._orderBy;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._name = undefined;
this._orderBy = 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._name = value.name;
this._orderBy = value.orderBy;
}
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
get orderBy() {
return this.getStringAttribute('order_by');
}
set orderBy(value) {
this._orderBy = value;
}
// Temporarily expose input value. Use with caution.
get orderByInput() {
return this._orderBy;
}
}
exports.CosmosdbCassandraTableSchemaClusterKeyOutputReference = CosmosdbCassandraTableSchemaClusterKeyOutputReference;
_b = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableSchemaClusterKeyOutputReference[_b] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableSchemaClusterKeyOutputReference", version: "12.27.0" };
class CosmosdbCassandraTableSchemaClusterKeyList 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 CosmosdbCassandraTableSchemaClusterKeyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.CosmosdbCassandraTableSchemaClusterKeyList = CosmosdbCassandraTableSchemaClusterKeyList;
_c = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableSchemaClusterKeyList[_c] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableSchemaClusterKeyList", version: "12.27.0" };
function cosmosdbCassandraTableSchemaColumnToTerraform(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 {
name: cdktf.stringToTerraform(struct.name),
type: cdktf.stringToTerraform(struct.type),
};
}
exports.cosmosdbCassandraTableSchemaColumnToTerraform = cosmosdbCassandraTableSchemaColumnToTerraform;
function cosmosdbCassandraTableSchemaColumnToHclTerraform(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 = {
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
type: {
value: cdktf.stringToHclTerraform(struct.type),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.cosmosdbCassandraTableSchemaColumnToHclTerraform = cosmosdbCassandraTableSchemaColumnToHclTerraform;
class CosmosdbCassandraTableSchemaColumnOutputReference 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._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
if (this._type !== undefined) {
hasAnyValues = true;
internalValueResult.type = this._type;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._name = undefined;
this._type = 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._name = value.name;
this._type = value.type;
}
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
get type() {
return this.getStringAttribute('type');
}
set type(value) {
this._type = value;
}
// Temporarily expose input value. Use with caution.
get typeInput() {
return this._type;
}
}
exports.CosmosdbCassandraTableSchemaColumnOutputReference = CosmosdbCassandraTableSchemaColumnOutputReference;
_d = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableSchemaColumnOutputReference[_d] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableSchemaColumnOutputReference", version: "12.27.0" };
class CosmosdbCassandraTableSchemaColumnList 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 CosmosdbCassandraTableSchemaColumnOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.CosmosdbCassandraTableSchemaColumnList = CosmosdbCassandraTableSchemaColumnList;
_e = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableSchemaColumnList[_e] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableSchemaColumnList", version: "12.27.0" };
function cosmosdbCassandraTableSchemaPartitionKeyToTerraform(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 {
name: cdktf.stringToTerraform(struct.name),
};
}
exports.cosmosdbCassandraTableSchemaPartitionKeyToTerraform = cosmosdbCassandraTableSchemaPartitionKeyToTerraform;
function cosmosdbCassandraTableSchemaPartitionKeyToHclTerraform(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 = {
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));
}
exports.cosmosdbCassandraTableSchemaPartitionKeyToHclTerraform = cosmosdbCassandraTableSchemaPartitionKeyToHclTerraform;
class CosmosdbCassandraTableSchemaPartitionKeyOutputReference 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._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._name = 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._name = value.name;
}
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
}
exports.CosmosdbCassandraTableSchemaPartitionKeyOutputReference = CosmosdbCassandraTableSchemaPartitionKeyOutputReference;
_f = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableSchemaPartitionKeyOutputReference[_f] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableSchemaPartitionKeyOutputReference", version: "12.27.0" };
class CosmosdbCassandraTableSchemaPartitionKeyList 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 CosmosdbCassandraTableSchemaPartitionKeyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.CosmosdbCassandraTableSchemaPartitionKeyList = CosmosdbCassandraTableSchemaPartitionKeyList;
_g = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableSchemaPartitionKeyList[_g] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableSchemaPartitionKeyList", version: "12.27.0" };
function cosmosdbCassandraTableSchemaToTerraform(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 {
cluster_key: cdktf.listMapper(cosmosdbCassandraTableSchemaClusterKeyToTerraform, true)(struct.clusterKey),
column: cdktf.listMapper(cosmosdbCassandraTableSchemaColumnToTerraform, true)(struct.column),
partition_key: cdktf.listMapper(cosmosdbCassandraTableSchemaPartitionKeyToTerraform, true)(struct.partitionKey),
};
}
exports.cosmosdbCassandraTableSchemaToTerraform = cosmosdbCassandraTableSchemaToTerraform;
function cosmosdbCassandraTableSchemaToHclTerraform(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 = {
cluster_key: {
value: cdktf.listMapperHcl(cosmosdbCassandraTableSchemaClusterKeyToHclTerraform, true)(struct.clusterKey),
isBlock: true,
type: "list",
storageClassType: "CosmosdbCassandraTableSchemaClusterKeyList",
},
column: {
value: cdktf.listMapperHcl(cosmosdbCassandraTableSchemaColumnToHclTerraform, true)(struct.column),
isBlock: true,
type: "list",
storageClassType: "CosmosdbCassandraTableSchemaColumnList",
},
partition_key: {
value: cdktf.listMapperHcl(cosmosdbCassandraTableSchemaPartitionKeyToHclTerraform, true)(struct.partitionKey),
isBlock: true,
type: "list",
storageClassType: "CosmosdbCassandraTableSchemaPartitionKeyList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.cosmosdbCassandraTableSchemaToHclTerraform = cosmosdbCassandraTableSchemaToHclTerraform;
class CosmosdbCassandraTableSchemaOutputReference 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;
// cluster_key - computed: false, optional: true, required: false
this._clusterKey = new CosmosdbCassandraTableSchemaClusterKeyList(this, "cluster_key", false);
// column - computed: false, optional: false, required: true
this._column = new CosmosdbCassandraTableSchemaColumnList(this, "column", false);
// partition_key - computed: false, optional: false, required: true
this._partitionKey = new CosmosdbCassandraTableSchemaPartitionKeyList(this, "partition_key", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._clusterKey?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.clusterKey = this._clusterKey?.internalValue;
}
if (this._column?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.column = this._column?.internalValue;
}
if (this._partitionKey?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.partitionKey = this._partitionKey?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._clusterKey.internalValue = undefined;
this._column.internalValue = undefined;
this._partitionKey.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._clusterKey.internalValue = value.clusterKey;
this._column.internalValue = value.column;
this._partitionKey.internalValue = value.partitionKey;
}
}
get clusterKey() {
return this._clusterKey;
}
putClusterKey(value) {
this._clusterKey.internalValue = value;
}
resetClusterKey() {
this._clusterKey.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get clusterKeyInput() {
return this._clusterKey.internalValue;
}
get column() {
return this._column;
}
putColumn(value) {
this._column.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get columnInput() {
return this._column.internalValue;
}
get partitionKey() {
return this._partitionKey;
}
putPartitionKey(value) {
this._partitionKey.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get partitionKeyInput() {
return this._partitionKey.internalValue;
}
}
exports.CosmosdbCassandraTableSchemaOutputReference = CosmosdbCassandraTableSchemaOutputReference;
_h = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableSchemaOutputReference[_h] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableSchemaOutputReference", version: "12.27.0" };
function cosmosdbCassandraTableTimeoutsToTerraform(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),
delete: cdktf.stringToTerraform(struct.delete),
read: cdktf.stringToTerraform(struct.read),
update: cdktf.stringToTerraform(struct.update),
};
}
exports.cosmosdbCassandraTableTimeoutsToTerraform = cosmosdbCassandraTableTimeoutsToTerraform;
function cosmosdbCassandraTableTimeoutsToHclTerraform(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",
},
delete: {
value: cdktf.stringToHclTerraform(struct.delete),
isBlock: false,
type: "simple",
storageClassType: "string",
},
read: {
value: cdktf.stringToHclTerraform(struct.read),
isBlock: false,
type: "simple",
storageClassType: "string",
},
update: {
value: cdktf.stringToHclTerraform(struct.update),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.cosmosdbCassandraTableTimeoutsToHclTerraform = cosmosdbCassandraTableTimeoutsToHclTerraform;
class CosmosdbCassandraTableTimeoutsOutputReference 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;
}
if (this._delete !== undefined) {
hasAnyValues = true;
internalValueResult.delete = this._delete;
}
if (this._read !== undefined) {
hasAnyValues = true;
internalValueResult.read = this._read;
}
if (this._update !== undefined) {
hasAnyValues = true;
internalValueResult.update = this._update;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._create = undefined;
this._delete = undefined;
this._read = undefined;
this._update = 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;
this._delete = value.delete;
this._read = value.read;
this._update = value.update;
}
}
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;
}
get delete() {
return this.getStringAttribute('delete');
}
set delete(value) {
this._delete = value;
}
resetDelete() {
this._delete = undefined;
}
// Temporarily expose input value. Use with caution.
get deleteInput() {
return this._delete;
}
get read() {
return this.getStringAttribute('read');
}
set read(value) {
this._read = value;
}
resetRead() {
this._read = undefined;
}
// Temporarily expose input value. Use with caution.
get readInput() {
return this._read;
}
get update() {
return this.getStringAttribute('update');
}
set update(value) {
this._update = value;
}
resetUpdate() {
this._update = undefined;
}
// Temporarily expose input value. Use with caution.
get updateInput() {
return this._update;
}
}
exports.CosmosdbCassandraTableTimeoutsOutputReference = CosmosdbCassandraTableTimeoutsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTableTimeoutsOutputReference[_j] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTableTimeoutsOutputReference", version: "12.27.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/cosmosdb_cassandra_table azurerm_cosmosdb_cassandra_table}
*/
class CosmosdbCassandraTable extends cdktf.TerraformResource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a CosmosdbCassandraTable 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 CosmosdbCassandraTable to import
* @param importFromId The id of the existing CosmosdbCassandraTable that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/cosmosdb_cassandra_table#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CosmosdbCassandraTable to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "azurerm_cosmosdb_cassandra_table", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/cosmosdb_cassandra_table azurerm_cosmosdb_cassandra_table} 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 CosmosdbCassandraTableConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'azurerm_cosmosdb_cassandra_table',
terraformGeneratorMetadata: {
providerName: 'azurerm',
providerVersion: '3.116.0',
providerVersionConstraint: '~> 3.10'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
// autoscale_settings - computed: false, optional: true, required: false
this._autoscaleSettings = new CosmosdbCassandraTableAutoscaleSettingsOutputReference(this, "autoscale_settings");
// schema - computed: false, optional: false, required: true
this._schema = new CosmosdbCassandraTableSchemaOutputReference(this, "schema");
// timeouts - computed: false, optional: true, required: false
this._timeouts = new CosmosdbCassandraTableTimeoutsOutputReference(this, "timeouts");
this._analyticalStorageTtl = config.analyticalStorageTtl;
this._cassandraKeyspaceId = config.cassandraKeyspaceId;
this._defaultTtl = config.defaultTtl;
this._id = config.id;
this._name = config.name;
this._throughput = config.throughput;
this._autoscaleSettings.internalValue = config.autoscaleSettings;
this._schema.internalValue = config.schema;
this._timeouts.internalValue = config.timeouts;
}
get analyticalStorageTtl() {
return this.getNumberAttribute('analytical_storage_ttl');
}
set analyticalStorageTtl(value) {
this._analyticalStorageTtl = value;
}
resetAnalyticalStorageTtl() {
this._analyticalStorageTtl = undefined;
}
// Temporarily expose input value. Use with caution.
get analyticalStorageTtlInput() {
return this._analyticalStorageTtl;
}
get cassandraKeyspaceId() {
return this.getStringAttribute('cassandra_keyspace_id');
}
set cassandraKeyspaceId(value) {
this._cassandraKeyspaceId = value;
}
// Temporarily expose input value. Use with caution.
get cassandraKeyspaceIdInput() {
return this._cassandraKeyspaceId;
}
get defaultTtl() {
return this.getNumberAttribute('default_ttl');
}
set defaultTtl(value) {
this._defaultTtl = value;
}
resetDefaultTtl() {
this._defaultTtl = undefined;
}
// Temporarily expose input value. Use with caution.
get defaultTtlInput() {
return this._defaultTtl;
}
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 name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
get throughput() {
return this.getNumberAttribute('throughput');
}
set throughput(value) {
this._throughput = value;
}
resetThroughput() {
this._throughput = undefined;
}
// Temporarily expose input value. Use with caution.
get throughputInput() {
return this._throughput;
}
get autoscaleSettings() {
return this._autoscaleSettings;
}
putAutoscaleSettings(value) {
this._autoscaleSettings.internalValue = value;
}
resetAutoscaleSettings() {
this._autoscaleSettings.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get autoscaleSettingsInput() {
return this._autoscaleSettings.internalValue;
}
get schema() {
return this._schema;
}
putSchema(value) {
this._schema.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get schemaInput() {
return this._schema.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 {
analytical_storage_ttl: cdktf.numberToTerraform(this._analyticalStorageTtl),
cassandra_keyspace_id: cdktf.stringToTerraform(this._cassandraKeyspaceId),
default_ttl: cdktf.numberToTerraform(this._defaultTtl),
id: cdktf.stringToTerraform(this._id),
name: cdktf.stringToTerraform(this._name),
throughput: cdktf.numberToTerraform(this._throughput),
autoscale_settings: cosmosdbCassandraTableAutoscaleSettingsToTerraform(this._autoscaleSettings.internalValue),
schema: cosmosdbCassandraTableSchemaToTerraform(this._schema.internalValue),
timeouts: cosmosdbCassandraTableTimeoutsToTerraform(this._timeouts.internalValue),
};
}
synthesizeHclAttributes() {
const attrs = {
analytical_storage_ttl: {
value: cdktf.numberToHclTerraform(this._analyticalStorageTtl),
isBlock: false,
type: "simple",
storageClassType: "number",
},
cassandra_keyspace_id: {
value: cdktf.stringToHclTerraform(this._cassandraKeyspaceId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
default_ttl: {
value: cdktf.numberToHclTerraform(this._defaultTtl),
isBlock: false,
type: "simple",
storageClassType: "number",
},
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
name: {
value: cdktf.stringToHclTerraform(this._name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
throughput: {
value: cdktf.numberToHclTerraform(this._throughput),
isBlock: false,
type: "simple",
storageClassType: "number",
},
autoscale_settings: {
value: cosmosdbCassandraTableAutoscaleSettingsToHclTerraform(this._autoscaleSettings.internalValue),
isBlock: true,
type: "list",
storageClassType: "CosmosdbCassandraTableAutoscaleSettingsList",
},
schema: {
value: cosmosdbCassandraTableSchemaToHclTerraform(this._schema.internalValue),
isBlock: true,
type: "list",
storageClassType: "CosmosdbCassandraTableSchemaList",
},
timeouts: {
value: cosmosdbCassandraTableTimeoutsToHclTerraform(this._timeouts.internalValue),
isBlock: true,
type: "struct",
storageClassType: "CosmosdbCassandraTableTimeouts",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.CosmosdbCassandraTable = CosmosdbCassandraTable;
_k = JSII_RTTI_SYMBOL_1;
CosmosdbCassandraTable[_k] = { fqn: "@cdktf/provider-azurerm.cosmosdbCassandraTable.CosmosdbCassandraTable", version: "12.27.0" };
// =================
// STATIC PROPERTIES
// =================
CosmosdbCassandraTable.tfResourceType = "azurerm_cosmosdb_cassandra_table";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29zbW9zZGItY2Fzc2FuZHJhLXRhYmxlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBU0EsK0JBQStCO0FBMEQvQixTQUFnQixrREFBa0QsQ0FBQyxNQUF5RztJQUMxSyxJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsWUFBWSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQUMsT0FBTyxNQUFNLENBQUM7SUFBQyxDQUFDO0lBQzVGLElBQUksS0FBSyxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFDbkMsTUFBTSxJQUFJLEtBQUssQ0FBQyxvSEFBb0gsQ0FBQyxDQUFDO0lBQ3hJLENBQUM7SUFDRCxPQUFPO1FBQ0wsY0FBYyxFQUFFLEtBQUssQ0FBQyxpQkFBaUIsQ0FBQyxNQUFPLENBQUMsYUFBYSxDQUFDO0tBQy9ELENBQUE7QUFDSCxDQUFDO0FBUkQsZ0hBUUM7QUFHRCxTQUFnQixxREFBcUQsQ0FBQyxNQUF5RztJQUM3SyxJQUFJLENBQUMsS0FBSy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