rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
871 lines • 173 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataOciCloudGuardDataSources = exports.DataOciCloudGuardDataSourcesFilterList = exports.DataOciCloudGuardDataSourcesFilterOutputReference = exports.dataOciCloudGuardDataSourcesFilterToHclTerraform = exports.dataOciCloudGuardDataSourcesFilterToTerraform = exports.DataOciCloudGuardDataSourcesDataSourceCollectionList = exports.DataOciCloudGuardDataSourcesDataSourceCollectionOutputReference = exports.dataOciCloudGuardDataSourcesDataSourceCollectionToHclTerraform = exports.dataOciCloudGuardDataSourcesDataSourceCollectionToTerraform = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsList = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsOutputReference = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsToHclTerraform = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsToTerraform = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailList = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailOutputReference = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailToHclTerraform = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailToTerraform = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoList = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoOutputReference = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoToHclTerraform = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoToTerraform = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsList = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsOutputReference = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsToHclTerraform = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsToTerraform = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsList = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsOutputReference = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsToHclTerraform = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsToTerraform = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeList = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeOutputReference = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeToHclTerraform = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeToTerraform = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsList = exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsOutputReference = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsToHclTerraform = exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsToTerraform(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 {};
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsToTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsToTerraform;
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsToHclTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsToHclTerraform;
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// key_entities_count - computed: true, optional: false, required: false
get keyEntitiesCount() {
return this.getNumberAttribute('key_entities_count');
}
// logging_query_type - computed: true, optional: false, required: false
get loggingQueryType() {
return this.getStringAttribute('logging_query_type');
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsOutputReference = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsOutputReference", version: "1.0.0" };
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsList 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 DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsList = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsList;
_b = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsList", version: "1.0.0" };
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeToTerraform(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 {};
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeToTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeToTerraform;
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeToHclTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeToHclTerraform;
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// query_start_time - computed: true, optional: false, required: false
get queryStartTime() {
return this.getStringAttribute('query_start_time');
}
// start_policy_type - computed: true, optional: false, required: false
get startPolicyType() {
return this.getStringAttribute('start_policy_type');
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeOutputReference = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeOutputReference", version: "1.0.0" };
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeList 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 DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeList = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeList;
_d = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeList", version: "1.0.0" };
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsToTerraform(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 {};
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsToTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsToTerraform;
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsToHclTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsToHclTerraform;
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// region - computed: true, optional: false, required: false
get region() {
return this.getStringAttribute('region');
}
// resource_ids - computed: true, optional: false, required: false
get resourceIds() {
return this.getListAttribute('resource_ids');
}
// resource_type - computed: true, optional: false, required: false
get resourceType() {
return this.getStringAttribute('resource_type');
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsOutputReference = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsOutputReference", version: "1.0.0" };
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsList 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 DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsList = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsList;
_f = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsList", version: "1.0.0" };
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsToTerraform(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 {};
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsToTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsToTerraform;
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsToHclTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsToHclTerraform;
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsOutputReference 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;
// logging_query_details - computed: true, optional: false, required: false
this._loggingQueryDetails = new DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsLoggingQueryDetailsList(this, "logging_query_details", false);
// query_start_time - computed: true, optional: false, required: false
this._queryStartTime = new DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsQueryStartTimeList(this, "query_start_time", false);
// scheduled_query_scope_details - computed: true, optional: false, required: false
this._scheduledQueryScopeDetails = new DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsScheduledQueryScopeDetailsList(this, "scheduled_query_scope_details", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// additional_entities_count - computed: true, optional: false, required: false
get additionalEntitiesCount() {
return this.getNumberAttribute('additional_entities_count');
}
// data_source_feed_provider - computed: true, optional: false, required: false
get dataSourceFeedProvider() {
return this.getStringAttribute('data_source_feed_provider');
}
// description - computed: true, optional: false, required: false
get description() {
return this.getStringAttribute('description');
}
// interval_in_minutes - computed: true, optional: false, required: false
get intervalInMinutes() {
return this.getNumberAttribute('interval_in_minutes');
}
// interval_in_seconds - computed: true, optional: false, required: false
get intervalInSeconds() {
return this.getNumberAttribute('interval_in_seconds');
}
get loggingQueryDetails() {
return this._loggingQueryDetails;
}
// logging_query_type - computed: true, optional: false, required: false
get loggingQueryType() {
return this.getStringAttribute('logging_query_type');
}
// operator - computed: true, optional: false, required: false
get operator() {
return this.getStringAttribute('operator');
}
// query - computed: true, optional: false, required: false
get query() {
return this.getStringAttribute('query');
}
get queryStartTime() {
return this._queryStartTime;
}
// regions - computed: true, optional: false, required: false
get regions() {
return this.getListAttribute('regions');
}
get scheduledQueryScopeDetails() {
return this._scheduledQueryScopeDetails;
}
// threshold - computed: true, optional: false, required: false
get threshold() {
return this.getNumberAttribute('threshold');
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsOutputReference = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsOutputReference", version: "1.0.0" };
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsList 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 DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsList = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsList;
_h = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsList", version: "1.0.0" };
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoToTerraform(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 {};
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoToTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoToTerraform;
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoToHclTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoToHclTerraform;
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// detector_recipe_id - computed: true, optional: false, required: false
get detectorRecipeId() {
return this.getStringAttribute('detector_recipe_id');
}
// detector_rule_id - computed: true, optional: false, required: false
get detectorRuleId() {
return this.getStringAttribute('detector_rule_id');
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoOutputReference = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoOutputReference", version: "1.0.0" };
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoList 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 DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoList = DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoList;
_k = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoList", version: "1.0.0" };
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailToTerraform(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 {};
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailToTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailToTerraform;
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailToHclTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailToHclTerraform;
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// region - computed: true, optional: false, required: false
get region() {
return this.getStringAttribute('region');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailOutputReference = DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailOutputReference", version: "1.0.0" };
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailList 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 DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailList = DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailList;
_m = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailList", version: "1.0.0" };
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsToTerraform(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 {};
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsToTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsToTerraform;
function dataOciCloudGuardDataSourcesDataSourceCollectionItemsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionItemsToHclTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionItemsToHclTerraform;
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsOutputReference 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;
// data_source_details - computed: true, optional: false, required: false
this._dataSourceDetails = new DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetailsList(this, "data_source_details", false);
// data_source_detector_mapping_info - computed: true, optional: false, required: false
this._dataSourceDetectorMappingInfo = new DataOciCloudGuardDataSourcesDataSourceCollectionItemsDataSourceDetectorMappingInfoList(this, "data_source_detector_mapping_info", false);
// defined_tags - computed: true, optional: false, required: false
this._definedTags = new cdktf.StringMap(this, "defined_tags");
// freeform_tags - computed: true, optional: false, required: false
this._freeformTags = new cdktf.StringMap(this, "freeform_tags");
// region_status_detail - computed: true, optional: false, required: false
this._regionStatusDetail = new DataOciCloudGuardDataSourcesDataSourceCollectionItemsRegionStatusDetailList(this, "region_status_detail", false);
// system_tags - computed: true, optional: false, required: false
this._systemTags = new cdktf.StringMap(this, "system_tags");
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// compartment_id - computed: true, optional: false, required: false
get compartmentId() {
return this.getStringAttribute('compartment_id');
}
get dataSourceDetails() {
return this._dataSourceDetails;
}
get dataSourceDetectorMappingInfo() {
return this._dataSourceDetectorMappingInfo;
}
// data_source_feed_provider - computed: true, optional: false, required: false
get dataSourceFeedProvider() {
return this.getStringAttribute('data_source_feed_provider');
}
get definedTags() {
return this._definedTags;
}
// display_name - computed: true, optional: false, required: false
get displayName() {
return this.getStringAttribute('display_name');
}
get freeformTags() {
return this._freeformTags;
}
// id - computed: true, optional: false, required: false
get id() {
return this.getStringAttribute('id');
}
get regionStatusDetail() {
return this._regionStatusDetail;
}
// state - computed: true, optional: false, required: false
get state() {
return this.getStringAttribute('state');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
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');
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsOutputReference = DataOciCloudGuardDataSourcesDataSourceCollectionItemsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsOutputReference", version: "1.0.0" };
class DataOciCloudGuardDataSourcesDataSourceCollectionItemsList 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 DataOciCloudGuardDataSourcesDataSourceCollectionItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionItemsList = DataOciCloudGuardDataSourcesDataSourceCollectionItemsList;
_p = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionItemsList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionItemsList", version: "1.0.0" };
function dataOciCloudGuardDataSourcesDataSourceCollectionToTerraform(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 {};
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionToTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionToTerraform;
function dataOciCloudGuardDataSourcesDataSourceCollectionToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.dataOciCloudGuardDataSourcesDataSourceCollectionToHclTerraform = dataOciCloudGuardDataSourcesDataSourceCollectionToHclTerraform;
class DataOciCloudGuardDataSourcesDataSourceCollectionOutputReference 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;
// items - computed: true, optional: false, required: false
this._items = new DataOciCloudGuardDataSourcesDataSourceCollectionItemsList(this, "items", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
get items() {
return this._items;
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionOutputReference = DataOciCloudGuardDataSourcesDataSourceCollectionOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionOutputReference[_q] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionOutputReference", version: "1.0.0" };
class DataOciCloudGuardDataSourcesDataSourceCollectionList 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 DataOciCloudGuardDataSourcesDataSourceCollectionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciCloudGuardDataSourcesDataSourceCollectionList = DataOciCloudGuardDataSourcesDataSourceCollectionList;
_r = JSII_RTTI_SYMBOL_1;
DataOciCloudGuardDataSourcesDataSourceCollectionList[_r] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudGuardDataSources.DataOciCloudGuardDataSourcesDataSourceCollectionList", version: "1.0.0" };
function dataOciCloudGuardDataSourcesFilterToTerraform(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),
regex: cdktf.booleanToTerraform(struct.regex),
values: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.values),
};
}
exports.dataOciCloudGuardDataSourcesFilterToTerraform = dataOciCloudGuardDataSourcesFilterToTerraform;
function dataOciCloudGuardDataSourcesFilterToHclTerraform(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",
},
regex: {
value: cdktf.booleanToHclTerraform(struct.regex),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
values: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.values),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.dataOciCloudGuardDataSourcesFilterToHclTerraform = dataOciCloudGuardDataSourcesFilterToHclTerraform;
class DataOciCloudGuardDataSourcesFilterOutputReference 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._regex !== undefined) {
hasAnyValues = true;
internalValueResult.regex = this._regex;
}
if (this._values !== undefined) {
hasAnyValues = true;
internalValueResult.values = this._values;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._name = undefined;
this._regex = undefined;
this._values = 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._regex = value.regex;
this._values = value.values;
}
}
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 regex() {
return this.getBooleanAttribute('regex');
}
set regex(value) {
this._regex = value;
}
resetRegex() {
this._regex = undefined;
}
// Temporarily expose input value. Use with caution.
get regexInput() {
return this._regex;
}
get values() {
return this.getListAttribute('values');
}
set values(value) {
this._values = value;
}
// Temporarily expose input value. Use with caution.
get valuesInput() {
return this._values;
}
}
exports.DataOciCloudGuardDataSourcesFilterOutputReference = Da