UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

1,238 lines 181 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataSafeReportDefinition = exports.DataSafeReportDefinitionTimeoutsOutputReference = exports.dataSafeReportDefinitionTimeoutsToHclTerraform = exports.dataSafeReportDefinitionTimeoutsToTerraform = exports.DataSafeReportDefinitionSummaryList = exports.DataSafeReportDefinitionSummaryOutputReference = exports.dataSafeReportDefinitionSummaryToHclTerraform = exports.dataSafeReportDefinitionSummaryToTerraform = exports.DataSafeReportDefinitionColumnSortingsList = exports.DataSafeReportDefinitionColumnSortingsOutputReference = exports.dataSafeReportDefinitionColumnSortingsToHclTerraform = exports.dataSafeReportDefinitionColumnSortingsToTerraform = exports.DataSafeReportDefinitionColumnInfoList = exports.DataSafeReportDefinitionColumnInfoOutputReference = exports.dataSafeReportDefinitionColumnInfoToHclTerraform = exports.dataSafeReportDefinitionColumnInfoToTerraform = exports.DataSafeReportDefinitionColumnFiltersList = exports.DataSafeReportDefinitionColumnFiltersOutputReference = exports.dataSafeReportDefinitionColumnFiltersToHclTerraform = exports.dataSafeReportDefinitionColumnFiltersToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataSafeReportDefinitionColumnFiltersToTerraform(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 { expressions: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.expressions), field_name: cdktf.stringToTerraform(struct.fieldName), is_enabled: cdktf.booleanToTerraform(struct.isEnabled), is_hidden: cdktf.booleanToTerraform(struct.isHidden), operator: cdktf.stringToTerraform(struct.operator), }; } exports.dataSafeReportDefinitionColumnFiltersToTerraform = dataSafeReportDefinitionColumnFiltersToTerraform; function dataSafeReportDefinitionColumnFiltersToHclTerraform(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 = { expressions: { value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.expressions), isBlock: false, type: "list", storageClassType: "stringList", }, field_name: { value: cdktf.stringToHclTerraform(struct.fieldName), isBlock: false, type: "simple", storageClassType: "string", }, is_enabled: { value: cdktf.booleanToHclTerraform(struct.isEnabled), isBlock: false, type: "simple", storageClassType: "boolean", }, is_hidden: { value: cdktf.booleanToHclTerraform(struct.isHidden), isBlock: false, type: "simple", storageClassType: "boolean", }, operator: { value: cdktf.stringToHclTerraform(struct.operator), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataSafeReportDefinitionColumnFiltersToHclTerraform = dataSafeReportDefinitionColumnFiltersToHclTerraform; class DataSafeReportDefinitionColumnFiltersOutputReference 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._expressions !== undefined) { hasAnyValues = true; internalValueResult.expressions = this._expressions; } if (this._fieldName !== undefined) { hasAnyValues = true; internalValueResult.fieldName = this._fieldName; } if (this._isEnabled !== undefined) { hasAnyValues = true; internalValueResult.isEnabled = this._isEnabled; } if (this._isHidden !== undefined) { hasAnyValues = true; internalValueResult.isHidden = this._isHidden; } if (this._operator !== undefined) { hasAnyValues = true; internalValueResult.operator = this._operator; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._expressions = undefined; this._fieldName = undefined; this._isEnabled = undefined; this._isHidden = undefined; this._operator = 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._expressions = value.expressions; this._fieldName = value.fieldName; this._isEnabled = value.isEnabled; this._isHidden = value.isHidden; this._operator = value.operator; } } get expressions() { return this.getListAttribute('expressions'); } set expressions(value) { this._expressions = value; } // Temporarily expose input value. Use with caution. get expressionsInput() { return this._expressions; } get fieldName() { return this.getStringAttribute('field_name'); } set fieldName(value) { this._fieldName = value; } // Temporarily expose input value. Use with caution. get fieldNameInput() { return this._fieldName; } get isEnabled() { return this.getBooleanAttribute('is_enabled'); } set isEnabled(value) { this._isEnabled = value; } // Temporarily expose input value. Use with caution. get isEnabledInput() { return this._isEnabled; } get isHidden() { return this.getBooleanAttribute('is_hidden'); } set isHidden(value) { this._isHidden = value; } // Temporarily expose input value. Use with caution. get isHiddenInput() { return this._isHidden; } get operator() { return this.getStringAttribute('operator'); } set operator(value) { this._operator = value; } // Temporarily expose input value. Use with caution. get operatorInput() { return this._operator; } } exports.DataSafeReportDefinitionColumnFiltersOutputReference = DataSafeReportDefinitionColumnFiltersOutputReference; _a = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionColumnFiltersOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionColumnFiltersOutputReference", version: "1.0.0" }; class DataSafeReportDefinitionColumnFiltersList 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 DataSafeReportDefinitionColumnFiltersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataSafeReportDefinitionColumnFiltersList = DataSafeReportDefinitionColumnFiltersList; _b = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionColumnFiltersList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionColumnFiltersList", version: "1.0.0" }; function dataSafeReportDefinitionColumnInfoToTerraform(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 { data_type: cdktf.stringToTerraform(struct.dataType), display_name: cdktf.stringToTerraform(struct.displayName), display_order: cdktf.numberToTerraform(struct.displayOrder), field_name: cdktf.stringToTerraform(struct.fieldName), is_hidden: cdktf.booleanToTerraform(struct.isHidden), }; } exports.dataSafeReportDefinitionColumnInfoToTerraform = dataSafeReportDefinitionColumnInfoToTerraform; function dataSafeReportDefinitionColumnInfoToHclTerraform(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 = { data_type: { value: cdktf.stringToHclTerraform(struct.dataType), isBlock: false, type: "simple", storageClassType: "string", }, display_name: { value: cdktf.stringToHclTerraform(struct.displayName), isBlock: false, type: "simple", storageClassType: "string", }, display_order: { value: cdktf.numberToHclTerraform(struct.displayOrder), isBlock: false, type: "simple", storageClassType: "number", }, field_name: { value: cdktf.stringToHclTerraform(struct.fieldName), isBlock: false, type: "simple", storageClassType: "string", }, is_hidden: { value: cdktf.booleanToHclTerraform(struct.isHidden), isBlock: false, type: "simple", storageClassType: "boolean", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataSafeReportDefinitionColumnInfoToHclTerraform = dataSafeReportDefinitionColumnInfoToHclTerraform; class DataSafeReportDefinitionColumnInfoOutputReference 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._dataType !== undefined) { hasAnyValues = true; internalValueResult.dataType = this._dataType; } if (this._displayName !== undefined) { hasAnyValues = true; internalValueResult.displayName = this._displayName; } if (this._displayOrder !== undefined) { hasAnyValues = true; internalValueResult.displayOrder = this._displayOrder; } if (this._fieldName !== undefined) { hasAnyValues = true; internalValueResult.fieldName = this._fieldName; } if (this._isHidden !== undefined) { hasAnyValues = true; internalValueResult.isHidden = this._isHidden; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._dataType = undefined; this._displayName = undefined; this._displayOrder = undefined; this._fieldName = undefined; this._isHidden = 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._dataType = value.dataType; this._displayName = value.displayName; this._displayOrder = value.displayOrder; this._fieldName = value.fieldName; this._isHidden = value.isHidden; } } get dataType() { return this.getStringAttribute('data_type'); } set dataType(value) { this._dataType = value; } resetDataType() { this._dataType = undefined; } // Temporarily expose input value. Use with caution. get dataTypeInput() { return this._dataType; } get displayName() { return this.getStringAttribute('display_name'); } set displayName(value) { this._displayName = value; } // Temporarily expose input value. Use with caution. get displayNameInput() { return this._displayName; } get displayOrder() { return this.getNumberAttribute('display_order'); } set displayOrder(value) { this._displayOrder = value; } // Temporarily expose input value. Use with caution. get displayOrderInput() { return this._displayOrder; } get fieldName() { return this.getStringAttribute('field_name'); } set fieldName(value) { this._fieldName = value; } // Temporarily expose input value. Use with caution. get fieldNameInput() { return this._fieldName; } get isHidden() { return this.getBooleanAttribute('is_hidden'); } set isHidden(value) { this._isHidden = value; } // Temporarily expose input value. Use with caution. get isHiddenInput() { return this._isHidden; } } exports.DataSafeReportDefinitionColumnInfoOutputReference = DataSafeReportDefinitionColumnInfoOutputReference; _c = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionColumnInfoOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionColumnInfoOutputReference", version: "1.0.0" }; class DataSafeReportDefinitionColumnInfoList 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 DataSafeReportDefinitionColumnInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataSafeReportDefinitionColumnInfoList = DataSafeReportDefinitionColumnInfoList; _d = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionColumnInfoList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionColumnInfoList", version: "1.0.0" }; function dataSafeReportDefinitionColumnSortingsToTerraform(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 { field_name: cdktf.stringToTerraform(struct.fieldName), is_ascending: cdktf.booleanToTerraform(struct.isAscending), sorting_order: cdktf.numberToTerraform(struct.sortingOrder), }; } exports.dataSafeReportDefinitionColumnSortingsToTerraform = dataSafeReportDefinitionColumnSortingsToTerraform; function dataSafeReportDefinitionColumnSortingsToHclTerraform(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 = { field_name: { value: cdktf.stringToHclTerraform(struct.fieldName), isBlock: false, type: "simple", storageClassType: "string", }, is_ascending: { value: cdktf.booleanToHclTerraform(struct.isAscending), isBlock: false, type: "simple", storageClassType: "boolean", }, sorting_order: { value: cdktf.numberToHclTerraform(struct.sortingOrder), isBlock: false, type: "simple", storageClassType: "number", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataSafeReportDefinitionColumnSortingsToHclTerraform = dataSafeReportDefinitionColumnSortingsToHclTerraform; class DataSafeReportDefinitionColumnSortingsOutputReference 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._fieldName !== undefined) { hasAnyValues = true; internalValueResult.fieldName = this._fieldName; } if (this._isAscending !== undefined) { hasAnyValues = true; internalValueResult.isAscending = this._isAscending; } if (this._sortingOrder !== undefined) { hasAnyValues = true; internalValueResult.sortingOrder = this._sortingOrder; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._fieldName = undefined; this._isAscending = undefined; this._sortingOrder = 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._fieldName = value.fieldName; this._isAscending = value.isAscending; this._sortingOrder = value.sortingOrder; } } get fieldName() { return this.getStringAttribute('field_name'); } set fieldName(value) { this._fieldName = value; } // Temporarily expose input value. Use with caution. get fieldNameInput() { return this._fieldName; } get isAscending() { return this.getBooleanAttribute('is_ascending'); } set isAscending(value) { this._isAscending = value; } // Temporarily expose input value. Use with caution. get isAscendingInput() { return this._isAscending; } get sortingOrder() { return this.getNumberAttribute('sorting_order'); } set sortingOrder(value) { this._sortingOrder = value; } // Temporarily expose input value. Use with caution. get sortingOrderInput() { return this._sortingOrder; } } exports.DataSafeReportDefinitionColumnSortingsOutputReference = DataSafeReportDefinitionColumnSortingsOutputReference; _e = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionColumnSortingsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionColumnSortingsOutputReference", version: "1.0.0" }; class DataSafeReportDefinitionColumnSortingsList 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 DataSafeReportDefinitionColumnSortingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataSafeReportDefinitionColumnSortingsList = DataSafeReportDefinitionColumnSortingsList; _f = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionColumnSortingsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionColumnSortingsList", version: "1.0.0" }; function dataSafeReportDefinitionSummaryToTerraform(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 { count_of: cdktf.stringToTerraform(struct.countOf), display_order: cdktf.numberToTerraform(struct.displayOrder), group_by_field_name: cdktf.stringToTerraform(struct.groupByFieldName), is_hidden: cdktf.booleanToTerraform(struct.isHidden), name: cdktf.stringToTerraform(struct.name), scim_filter: cdktf.stringToTerraform(struct.scimFilter), }; } exports.dataSafeReportDefinitionSummaryToTerraform = dataSafeReportDefinitionSummaryToTerraform; function dataSafeReportDefinitionSummaryToHclTerraform(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 = { count_of: { value: cdktf.stringToHclTerraform(struct.countOf), isBlock: false, type: "simple", storageClassType: "string", }, display_order: { value: cdktf.numberToHclTerraform(struct.displayOrder), isBlock: false, type: "simple", storageClassType: "number", }, group_by_field_name: { value: cdktf.stringToHclTerraform(struct.groupByFieldName), isBlock: false, type: "simple", storageClassType: "string", }, is_hidden: { value: cdktf.booleanToHclTerraform(struct.isHidden), isBlock: false, type: "simple", storageClassType: "boolean", }, name: { value: cdktf.stringToHclTerraform(struct.name), isBlock: false, type: "simple", storageClassType: "string", }, scim_filter: { value: cdktf.stringToHclTerraform(struct.scimFilter), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataSafeReportDefinitionSummaryToHclTerraform = dataSafeReportDefinitionSummaryToHclTerraform; class DataSafeReportDefinitionSummaryOutputReference 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._countOf !== undefined) { hasAnyValues = true; internalValueResult.countOf = this._countOf; } if (this._displayOrder !== undefined) { hasAnyValues = true; internalValueResult.displayOrder = this._displayOrder; } if (this._groupByFieldName !== undefined) { hasAnyValues = true; internalValueResult.groupByFieldName = this._groupByFieldName; } if (this._isHidden !== undefined) { hasAnyValues = true; internalValueResult.isHidden = this._isHidden; } if (this._name !== undefined) { hasAnyValues = true; internalValueResult.name = this._name; } if (this._scimFilter !== undefined) { hasAnyValues = true; internalValueResult.scimFilter = this._scimFilter; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._countOf = undefined; this._displayOrder = undefined; this._groupByFieldName = undefined; this._isHidden = undefined; this._name = undefined; this._scimFilter = 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._countOf = value.countOf; this._displayOrder = value.displayOrder; this._groupByFieldName = value.groupByFieldName; this._isHidden = value.isHidden; this._name = value.name; this._scimFilter = value.scimFilter; } } get countOf() { return this.getStringAttribute('count_of'); } set countOf(value) { this._countOf = value; } resetCountOf() { this._countOf = undefined; } // Temporarily expose input value. Use with caution. get countOfInput() { return this._countOf; } get displayOrder() { return this.getNumberAttribute('display_order'); } set displayOrder(value) { this._displayOrder = value; } // Temporarily expose input value. Use with caution. get displayOrderInput() { return this._displayOrder; } get groupByFieldName() { return this.getStringAttribute('group_by_field_name'); } set groupByFieldName(value) { this._groupByFieldName = value; } resetGroupByFieldName() { this._groupByFieldName = undefined; } // Temporarily expose input value. Use with caution. get groupByFieldNameInput() { return this._groupByFieldName; } get isHidden() { return this.getBooleanAttribute('is_hidden'); } set isHidden(value) { this._isHidden = value; } resetIsHidden() { this._isHidden = undefined; } // Temporarily expose input value. Use with caution. get isHiddenInput() { return this._isHidden; } 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 scimFilter() { return this.getStringAttribute('scim_filter'); } set scimFilter(value) { this._scimFilter = value; } resetScimFilter() { this._scimFilter = undefined; } // Temporarily expose input value. Use with caution. get scimFilterInput() { return this._scimFilter; } } exports.DataSafeReportDefinitionSummaryOutputReference = DataSafeReportDefinitionSummaryOutputReference; _g = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionSummaryOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionSummaryOutputReference", version: "1.0.0" }; class DataSafeReportDefinitionSummaryList 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 DataSafeReportDefinitionSummaryOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataSafeReportDefinitionSummaryList = DataSafeReportDefinitionSummaryList; _h = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionSummaryList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionSummaryList", version: "1.0.0" }; function dataSafeReportDefinitionTimeoutsToTerraform(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), update: cdktf.stringToTerraform(struct.update), }; } exports.dataSafeReportDefinitionTimeoutsToTerraform = dataSafeReportDefinitionTimeoutsToTerraform; function dataSafeReportDefinitionTimeoutsToHclTerraform(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", }, 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.dataSafeReportDefinitionTimeoutsToHclTerraform = dataSafeReportDefinitionTimeoutsToHclTerraform; class DataSafeReportDefinitionTimeoutsOutputReference 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._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._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._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 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.DataSafeReportDefinitionTimeoutsOutputReference = DataSafeReportDefinitionTimeoutsOutputReference; _j = JSII_RTTI_SYMBOL_1; DataSafeReportDefinitionTimeoutsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataSafeReportDefinition.DataSafeReportDefinitionTimeoutsOutputReference", version: "1.0.0" }; /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_report_definition oci_data_safe_report_definition} */ class DataSafeReportDefinition extends cdktf.TerraformResource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataSafeReportDefinition 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 DataSafeReportDefinition to import * @param importFromId The id of the existing DataSafeReportDefinition that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_report_definition#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataSafeReportDefinition to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_data_safe_report_definition", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_report_definition oci_data_safe_report_definition} 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 DataSafeReportDefinitionConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'oci_data_safe_report_definition', terraformGeneratorMetadata: { providerName: 'oci', providerVersion: '6.18.0', providerVersionConstraint: '~> 6.18.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // system_tags - computed: true, optional: false, required: false this._systemTags = new cdktf.StringMap(this, "system_tags"); // column_filters - computed: false, optional: false, required: true this._columnFilters = new DataSafeReportDefinitionColumnFiltersList(this, "column_filters", false); // column_info - computed: false, optional: false, required: true this._columnInfo = new DataSafeReportDefinitionColumnInfoList(this, "column_info", false); // column_sortings - computed: false, optional: false, required: true this._columnSortings = new DataSafeReportDefinitionColumnSortingsList(this, "column_sortings", false); // summary - computed: false, optional: false, required: true this._summary = new DataSafeReportDefinitionSummaryList(this, "summary", false); // timeouts - computed: false, optional: true, required: false this._timeouts = new DataSafeReportDefinitionTimeoutsOutputReference(this, "timeouts"); this._compartmentId = config.compartmentId; this._definedTags = config.definedTags; this._description = config.description; this._displayName = config.displayName; this._freeformTags = config.freeformTags; this._id = config.id; this._parentId = config.parentId; this._columnFilters.internalValue = config.columnFilters; this._columnInfo.internalValue = config.columnInfo; this._columnSortings.internalValue = config.columnSortings; this._summary.internalValue = config.summary; this._timeouts.internalValue = config.timeouts; } // ========== // ATTRIBUTES // ========== // category - computed: true, optional: false, required: false get category() { return this.getStringAttribute('category'); } get compartmentId() { return this.getStringAttribute('compartment_id'); } set compartmentId(value) { this._compartmentId = value; } // Temporarily expose input value. Use with caution. get compartmentIdInput() { return this._compartmentId; } // compliance_standards - computed: true, optional: false, required: false get complianceStandards() { return this.getListAttribute('compliance_standards'); } // data_source - computed: true, optional: false, required: false get dataSource() { return this.getStringAttribute('data_source'); } get definedTags() { return this.getStringMapAttribute('defined_tags'); } set definedTags(value) { this._definedTags = value; } resetDefinedTags() { this._definedTags = undefined; } // Temporarily expose input value. Use with caution. get definedTagsInput() { return this._definedTags; } get description() { return this.getStringAttribute('description'); } set description(value) { this._description = value; } resetDescription() { this._description = undefined; } // Temporarily expose input value. Use with caution. get descriptionInput() { return this._description; } get displayName() { return this.getStringAttribute('display_name'); } set displayName(value) { this._displayName = value; } // Temporarily expose input value. Use with caution. get displayNameInput() { return this._displayName; } // display_order - computed: true, optional: false, required: false get displayOrder() { return this.getNumberAttribute('display_order'); } get freeformTags() { return this.getStringMapAttribute('freeform_tags'); } set freeformTags(value) { this._freeformTags = value; } resetFreeformTags() { this._freeformTags = undefined; } // Temporarily expose input value. Use with caution. get freeformTagsInput() { return this._freeformTags; } 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; } // is_seeded - computed: true, optional: false, required: false get isSeeded() { return this.getBooleanAttribute('is_seeded'); } // lifecycle_details - computed: true, optional: false, required: false get lifecycleDetails() { return this.getStringAttribute('lifecycle_details'); } get parentId() { return this.getStringAttribute('parent_id'); } set parentId(value) { this._parentId = value; } // Temporarily expose input value. Use with caution. get parentIdInput() { return this._parentId; } // record_time_span - computed: true, optional: false, required: false get recordTimeSpan() { return this.getStringAttribute('record_time_span'); } // schedule - computed: true, optional: false, required: false get schedule() { return this.getStringAttribute('schedule'); } // scheduled_report_compartment_id - computed: true, optional: false, required: false get scheduledReportCompartmentId() { return this.getStringAttribute('scheduled_report_compartment_id'); } // scheduled_report_mime_type - computed: true, optional: false, required: false get scheduledReportMimeType() { return this.getStringAttribute('scheduled_report_mime_type'); } // scheduled_report_name - computed: true, optional: false, required: false get scheduledReportName() { return this.getStringAttribute('scheduled_report_name'); } // scheduled_report_row_limit - computed: true, optional: false, required: false get scheduledReportRowLimit() { return this.getNumberAttribute('scheduled_report_row_limit'); } // scim_filter - computed: true, optional: false, required: false get scimFilter() { return this.getStringAttribute('scim_filter'); } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } get systemTags() { return this._systemTags; } // time_created - computed: true, optional: false, required: false get timeCreated() { return this.getStringAttribute('time_created'); } // time_updated - computed: true, optional: false, required: false get timeUpdated() { return this.getStringAttribute('time_updated'); } get columnFilters() { return this._columnFilters; } putColumnFilters(value) { this._columnFilters.internalValue = value; } // Temporarily expose input value. Use with caution. get columnFiltersInput() { return this._columnFilters.internalValue; } get columnInfo() { return this._columnInfo; } putColumnInfo(value) { this._columnInfo.internalValue = value; } // Temporarily expose input value. Use with caution. get columnInfoInput() { return this._columnInfo.internalValue; } get columnSortings() { return this._columnSortings; } putColumnSortings(value) { this._columnSortings.internalValue = value; } // Temporarily expose input value. Use with caution. get columnSortingsInput() { return this._columnSortings.internalValue; } get summary() { return this._summary; } putSummary(value) { this._summary.internalValue = value; } // Temporarily expose input value. Use with caution. get summaryInput() { return this._summary.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 { compartment_id: cdktf.stringToTerraform(this._compartmentId), defined_tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._definedTags), description: cdktf.stringToTerraform(this._description), display_name: cdktf.stringToTerraform(this._displayName), freeform_tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._freeformTags), id: cdktf.stringToTerraform(this._id), parent_id: cdktf.stringToTerraform(this._parentId), column_filters: cdktf.listMapper(dataSafeReportDefinitionColumnFiltersToTerraform, true)(this._columnFilters.internalValue), column_info: cdktf.listMapper(dataSafeReportDefinitionColumnInfoToTerraform, true)(this._columnInfo.internalValue), column_sortings: cdktf.listMapper(dataSafeReportDefinitionColumnSortingsToTerraform, true)(this._columnSortings.internalValue), summary: cdktf.listMapper(dataSafeReportDefinitionSummaryToTerraform, true)(this._summary.internalValue), timeouts: dataSafeReportDefinitionTimeoutsToTerraform(this._timeouts.internalValue), }; } synthesizeHclAttributes() { const attrs = { compartment_id: { value: cdktf.stringToHclTerraform(this._compartmentId), isBlock: false, type: "simple", storageClassType: "string", }, defined_tags: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._definedTags), isBlock: false, type: "map", storageClassType: "stringMap", }, description: { value: cdktf.stringToHclTerraform(this._description), isBlock: false, type: "simple", storageCla