UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

1,019 lines 144 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataOciDataflowPools = exports.DataOciDataflowPoolsFilterList = exports.DataOciDataflowPoolsFilterOutputReference = exports.dataOciDataflowPoolsFilterToHclTerraform = exports.dataOciDataflowPoolsFilterToTerraform = exports.DataOciDataflowPoolsPoolCollectionList = exports.DataOciDataflowPoolsPoolCollectionOutputReference = exports.dataOciDataflowPoolsPoolCollectionToHclTerraform = exports.dataOciDataflowPoolsPoolCollectionToTerraform = exports.DataOciDataflowPoolsPoolCollectionItemsList = exports.DataOciDataflowPoolsPoolCollectionItemsOutputReference = exports.dataOciDataflowPoolsPoolCollectionItemsToHclTerraform = exports.dataOciDataflowPoolsPoolCollectionItemsToTerraform = exports.DataOciDataflowPoolsPoolCollectionItemsSchedulesList = exports.DataOciDataflowPoolsPoolCollectionItemsSchedulesOutputReference = exports.dataOciDataflowPoolsPoolCollectionItemsSchedulesToHclTerraform = exports.dataOciDataflowPoolsPoolCollectionItemsSchedulesToTerraform = exports.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsList = exports.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsOutputReference = exports.dataOciDataflowPoolsPoolCollectionItemsPoolMetricsToHclTerraform = exports.dataOciDataflowPoolsPoolCollectionItemsPoolMetricsToTerraform = exports.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountList = exports.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountOutputReference = exports.dataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountToHclTerraform = exports.dataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountToTerraform = exports.DataOciDataflowPoolsPoolCollectionItemsConfigurationsList = exports.DataOciDataflowPoolsPoolCollectionItemsConfigurationsOutputReference = exports.dataOciDataflowPoolsPoolCollectionItemsConfigurationsToHclTerraform = exports.dataOciDataflowPoolsPoolCollectionItemsConfigurationsToTerraform = exports.DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigList = exports.DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigOutputReference = exports.dataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigToHclTerraform = exports.dataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigToTerraform(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.dataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigToTerraform = dataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigToTerraform; function dataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigToHclTerraform(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.dataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigToHclTerraform = dataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigToHclTerraform; class DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigOutputReference 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; } } // memory_in_gbs - computed: true, optional: false, required: false get memoryInGbs() { return this.getNumberAttribute('memory_in_gbs'); } // ocpus - computed: true, optional: false, required: false get ocpus() { return this.getNumberAttribute('ocpus'); } } exports.DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigOutputReference = DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigOutputReference; _a = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigOutputReference", version: "1.0.0" }; class DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigList 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 DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigList = DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigList; _b = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigList", version: "1.0.0" }; function dataOciDataflowPoolsPoolCollectionItemsConfigurationsToTerraform(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.dataOciDataflowPoolsPoolCollectionItemsConfigurationsToTerraform = dataOciDataflowPoolsPoolCollectionItemsConfigurationsToTerraform; function dataOciDataflowPoolsPoolCollectionItemsConfigurationsToHclTerraform(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.dataOciDataflowPoolsPoolCollectionItemsConfigurationsToHclTerraform = dataOciDataflowPoolsPoolCollectionItemsConfigurationsToHclTerraform; class DataOciDataflowPoolsPoolCollectionItemsConfigurationsOutputReference 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; // shape_config - computed: true, optional: false, required: false this._shapeConfig = new DataOciDataflowPoolsPoolCollectionItemsConfigurationsShapeConfigList(this, "shape_config", 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; } } // max - computed: true, optional: false, required: false get max() { return this.getNumberAttribute('max'); } // min - computed: true, optional: false, required: false get min() { return this.getNumberAttribute('min'); } // shape - computed: true, optional: false, required: false get shape() { return this.getStringAttribute('shape'); } get shapeConfig() { return this._shapeConfig; } } exports.DataOciDataflowPoolsPoolCollectionItemsConfigurationsOutputReference = DataOciDataflowPoolsPoolCollectionItemsConfigurationsOutputReference; _c = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsConfigurationsOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsConfigurationsOutputReference", version: "1.0.0" }; class DataOciDataflowPoolsPoolCollectionItemsConfigurationsList 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 DataOciDataflowPoolsPoolCollectionItemsConfigurationsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowPoolsPoolCollectionItemsConfigurationsList = DataOciDataflowPoolsPoolCollectionItemsConfigurationsList; _d = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsConfigurationsList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsConfigurationsList", version: "1.0.0" }; function dataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountToTerraform(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.dataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountToTerraform = dataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountToTerraform; function dataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountToHclTerraform(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.dataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountToHclTerraform = dataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountToHclTerraform; class DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountOutputReference 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; } } // logical_shape - computed: true, optional: false, required: false get logicalShape() { return this.getStringAttribute('logical_shape'); } // pool_count - computed: true, optional: false, required: false get poolCount() { return this.getNumberAttribute('pool_count'); } } exports.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountOutputReference = DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountOutputReference; _e = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountOutputReference", version: "1.0.0" }; class DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountList 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 DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountList = DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountList; _f = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountList", version: "1.0.0" }; function dataOciDataflowPoolsPoolCollectionItemsPoolMetricsToTerraform(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.dataOciDataflowPoolsPoolCollectionItemsPoolMetricsToTerraform = dataOciDataflowPoolsPoolCollectionItemsPoolMetricsToTerraform; function dataOciDataflowPoolsPoolCollectionItemsPoolMetricsToHclTerraform(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.dataOciDataflowPoolsPoolCollectionItemsPoolMetricsToHclTerraform = dataOciDataflowPoolsPoolCollectionItemsPoolMetricsToHclTerraform; class DataOciDataflowPoolsPoolCollectionItemsPoolMetricsOutputReference 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; // actively_used_node_count - computed: true, optional: false, required: false this._activelyUsedNodeCount = new DataOciDataflowPoolsPoolCollectionItemsPoolMetricsActivelyUsedNodeCountList(this, "actively_used_node_count", 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; } } // active_runs_count - computed: true, optional: false, required: false get activeRunsCount() { return this.getStringAttribute('active_runs_count'); } get activelyUsedNodeCount() { return this._activelyUsedNodeCount; } // time_last_metrics_updated - computed: true, optional: false, required: false get timeLastMetricsUpdated() { return this.getStringAttribute('time_last_metrics_updated'); } // time_last_started - computed: true, optional: false, required: false get timeLastStarted() { return this.getStringAttribute('time_last_started'); } // time_last_stopped - computed: true, optional: false, required: false get timeLastStopped() { return this.getStringAttribute('time_last_stopped'); } // time_last_used - computed: true, optional: false, required: false get timeLastUsed() { return this.getStringAttribute('time_last_used'); } } exports.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsOutputReference = DataOciDataflowPoolsPoolCollectionItemsPoolMetricsOutputReference; _g = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsPoolMetricsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsOutputReference", version: "1.0.0" }; class DataOciDataflowPoolsPoolCollectionItemsPoolMetricsList 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 DataOciDataflowPoolsPoolCollectionItemsPoolMetricsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsList = DataOciDataflowPoolsPoolCollectionItemsPoolMetricsList; _h = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsPoolMetricsList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsPoolMetricsList", version: "1.0.0" }; function dataOciDataflowPoolsPoolCollectionItemsSchedulesToTerraform(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.dataOciDataflowPoolsPoolCollectionItemsSchedulesToTerraform = dataOciDataflowPoolsPoolCollectionItemsSchedulesToTerraform; function dataOciDataflowPoolsPoolCollectionItemsSchedulesToHclTerraform(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.dataOciDataflowPoolsPoolCollectionItemsSchedulesToHclTerraform = dataOciDataflowPoolsPoolCollectionItemsSchedulesToHclTerraform; class DataOciDataflowPoolsPoolCollectionItemsSchedulesOutputReference 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; } } // day_of_week - computed: true, optional: false, required: false get dayOfWeek() { return this.getStringAttribute('day_of_week'); } // start_time - computed: true, optional: false, required: false get startTime() { return this.getNumberAttribute('start_time'); } // stop_time - computed: true, optional: false, required: false get stopTime() { return this.getNumberAttribute('stop_time'); } } exports.DataOciDataflowPoolsPoolCollectionItemsSchedulesOutputReference = DataOciDataflowPoolsPoolCollectionItemsSchedulesOutputReference; _j = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsSchedulesOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsSchedulesOutputReference", version: "1.0.0" }; class DataOciDataflowPoolsPoolCollectionItemsSchedulesList 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 DataOciDataflowPoolsPoolCollectionItemsSchedulesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowPoolsPoolCollectionItemsSchedulesList = DataOciDataflowPoolsPoolCollectionItemsSchedulesList; _k = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsSchedulesList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsSchedulesList", version: "1.0.0" }; function dataOciDataflowPoolsPoolCollectionItemsToTerraform(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.dataOciDataflowPoolsPoolCollectionItemsToTerraform = dataOciDataflowPoolsPoolCollectionItemsToTerraform; function dataOciDataflowPoolsPoolCollectionItemsToHclTerraform(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.dataOciDataflowPoolsPoolCollectionItemsToHclTerraform = dataOciDataflowPoolsPoolCollectionItemsToHclTerraform; class DataOciDataflowPoolsPoolCollectionItemsOutputReference 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; // configurations - computed: true, optional: false, required: false this._configurations = new DataOciDataflowPoolsPoolCollectionItemsConfigurationsList(this, "configurations", 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"); // pool_metrics - computed: true, optional: false, required: false this._poolMetrics = new DataOciDataflowPoolsPoolCollectionItemsPoolMetricsList(this, "pool_metrics", false); // schedules - computed: true, optional: false, required: false this._schedules = new DataOciDataflowPoolsPoolCollectionItemsSchedulesList(this, "schedules", 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; } } // compartment_id - computed: true, optional: false, required: false get compartmentId() { return this.getStringAttribute('compartment_id'); } get configurations() { return this._configurations; } get definedTags() { return this._definedTags; } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // 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'); } // idle_timeout_in_minutes - computed: true, optional: false, required: false get idleTimeoutInMinutes() { return this.getNumberAttribute('idle_timeout_in_minutes'); } // lifecycle_details - computed: true, optional: false, required: false get lifecycleDetails() { return this.getStringAttribute('lifecycle_details'); } // owner_principal_id - computed: true, optional: false, required: false get ownerPrincipalId() { return this.getStringAttribute('owner_principal_id'); } // owner_user_name - computed: true, optional: false, required: false get ownerUserName() { return this.getStringAttribute('owner_user_name'); } get poolMetrics() { return this._poolMetrics; } get schedules() { return this._schedules; } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } // 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.DataOciDataflowPoolsPoolCollectionItemsOutputReference = DataOciDataflowPoolsPoolCollectionItemsOutputReference; _l = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsOutputReference", version: "1.0.0" }; class DataOciDataflowPoolsPoolCollectionItemsList 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 DataOciDataflowPoolsPoolCollectionItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowPoolsPoolCollectionItemsList = DataOciDataflowPoolsPoolCollectionItemsList; _m = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionItemsList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionItemsList", version: "1.0.0" }; function dataOciDataflowPoolsPoolCollectionToTerraform(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.dataOciDataflowPoolsPoolCollectionToTerraform = dataOciDataflowPoolsPoolCollectionToTerraform; function dataOciDataflowPoolsPoolCollectionToHclTerraform(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.dataOciDataflowPoolsPoolCollectionToHclTerraform = dataOciDataflowPoolsPoolCollectionToHclTerraform; class DataOciDataflowPoolsPoolCollectionOutputReference 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 DataOciDataflowPoolsPoolCollectionItemsList(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.DataOciDataflowPoolsPoolCollectionOutputReference = DataOciDataflowPoolsPoolCollectionOutputReference; _o = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionOutputReference", version: "1.0.0" }; class DataOciDataflowPoolsPoolCollectionList 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 DataOciDataflowPoolsPoolCollectionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowPoolsPoolCollectionList = DataOciDataflowPoolsPoolCollectionList; _p = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsPoolCollectionList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsPoolCollectionList", version: "1.0.0" }; function dataOciDataflowPoolsFilterToTerraform(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.dataOciDataflowPoolsFilterToTerraform = dataOciDataflowPoolsFilterToTerraform; function dataOciDataflowPoolsFilterToHclTerraform(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.dataOciDataflowPoolsFilterToHclTerraform = dataOciDataflowPoolsFilterToHclTerraform; class DataOciDataflowPoolsFilterOutputReference 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.DataOciDataflowPoolsFilterOutputReference = DataOciDataflowPoolsFilterOutputReference; _q = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsFilterOutputReference[_q] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsFilterOutputReference", version: "1.0.0" }; class DataOciDataflowPoolsFilterList 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 DataOciDataflowPoolsFilterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowPoolsFilterList = DataOciDataflowPoolsFilterList; _r = JSII_RTTI_SYMBOL_1; DataOciDataflowPoolsFilterList[_r] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPoolsFilterList", version: "1.0.0" }; /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/dataflow_pools oci_dataflow_pools} */ class DataOciDataflowPools extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataOciDataflowPools 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 DataOciDataflowPools to import * @param importFromId The id of the existing DataOciDataflowPools that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/dataflow_pools#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciDataflowPools to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_dataflow_pools", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/dataflow_pools oci_dataflow_pools} Data Source * * @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 DataOciDataflowPoolsConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'oci_dataflow_pools', 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 }); // pool_collection - computed: true, optional: false, required: false this._poolCollection = new DataOciDataflowPoolsPoolCollectionList(this, "pool_collection", false); // filter - computed: false, optional: true, required: false this._filter = new DataOciDataflowPoolsFilterList(this, "filter", true); this._compartmentId = config.compartmentId; this._displayName = config.displayName; this._displayNameStartsWith = config.displayNameStartsWith; this._id = config.id; this._ownerPrincipalId = config.ownerPrincipalId; this._state = config.state; this._filter.internalValue = config.filter; } 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; } get displayName() { return this.getStringAttribute('display_name'); } set displayName(value) { this._displayName = value; } resetDisplayName() { this._displayName = undefined; } // Temporarily expose input value. Use with caution. get displayNameInput() { return this._displayName; } get displayNameStartsWith() { return this.getStringAttribute('display_name_starts_with'); } set displayNameStartsWith(value) { this._displayNameStartsWith = value; } resetDisplayNameStartsWith() { this._displayNameStartsWith = undefined; } // Temporarily expose input value. Use with caution. get displayNameStartsWithInput() { return this._displayNameStartsWith; } 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 ownerPrincipalId() { return this.getStringAttribute('owner_principal_id'); } set ownerPrincipalId(value) { this._ownerPrincipalId = value; } resetOwnerPrincipalId() { this._ownerPrincipalId = undefined; } // Temporarily expose input value. Use with caution. get ownerPrincipalIdInput() { return this._ownerPrincipalId; } get poolCollection() { return this._poolCollection; } get state() { return this.getStringAttribute('state'); } set state(value) { this._state = value; } resetState() { this._state = undefined; } // Temporarily expose input value. Use with caution. get stateInput() { return this._state; } get filter() { return this._filter; } putFilter(value) { this._filter.internalValue = value; } resetFilter() { this._filter.internalValue = undefined; } // Temporarily expose input value. Use with caution. get filterInput() { return this._filter.internalValue; } // ========= // SYNTHESIS // ========= synthesizeAttributes() { return { compartment_id: cdktf.stringToTerraform(this._compartmentId), display_name: cdktf.stringToTerraform(this._displayName), display_name_starts_with: cdktf.stringToTerraform(this._displayNameStartsWith), id: cdktf.stringToTerraform(this._id), owner_principal_id: cdktf.stringToTerraform(this._ownerPrincipalId), state: cdktf.stringToTerraform(this._state), filter: cdktf.listMapper(dataOciDataflowPoolsFilterToTerraform, true)(this._filter.internalValue), }; } synthesizeHclAttributes() { const attrs = { compartment_id: { value: cdktf.stringToHclTerraform(this._compartmentId), isBlock: false, type: "simple", storageClassType: "string", }, display_name: { value: cdktf.stringToHclTerraform(this._displayName), isBlock: false, type: "simple", storageClassType: "string", }, display_name_starts_with: { value: cdktf.stringToHclTerraform(this._displayNameStartsWith), isBlock: false, type: "simple", storageClassType: "string", }, id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, owner_principal_id: { value: cdktf.stringToHclTerraform(this._ownerPrincipalId), isBlock: false, type: "simple", storageClassType: "string", }, state: { value: cdktf.stringToHclTerraform(this._state), isBlock: false, type: "simple", storageClassType: "string", }, filter: { value: cdktf.listMapperHcl(dataOciDataflowPoolsFilterToHclTerraform, true)(this._filter.internalValue), isBlock: true, type: "set", storageClassType: "DataOciDataflowPoolsFilterList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } } exports.DataOciDataflowPools = DataOciDataflowPools; _s = JSII_RTTI_SYMBOL_1; DataOciDataflowPools[_s] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowPools.DataOciDataflowPools", version: "1.0.0" }; // ================= // STATIC PROPERTIES // ================= DataOciDataflowPools.tfResourceType = "oci_dataflow_pools"; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic29