UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

951 lines 138 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataOciDataflowSqlEndpoints = exports.DataOciDataflowSqlEndpointsFilterList = exports.DataOciDataflowSqlEndpointsFilterOutputReference = exports.dataOciDataflowSqlEndpointsFilterToHclTerraform = exports.dataOciDataflowSqlEndpointsFilterToTerraform = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionList = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionOutputReference = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionToHclTerraform = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionToTerraform = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsList = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsOutputReference = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsToHclTerraform = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsToTerraform = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationList = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationOutputReference = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationToHclTerraform = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationToTerraform = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesList = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesOutputReference = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesToHclTerraform = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesToTerraform = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigList = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigOutputReference = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigToHclTerraform = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigToTerraform = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigList = exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigOutputReference = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigToHclTerraform = exports.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigToTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigToTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigToTerraform; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigToHclTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigToHclTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigToHclTerraform; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigOutputReference 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.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigOutputReference = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigOutputReference; _a = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigOutputReference", version: "1.0.0" }; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigList 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 DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigList = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigList; _b = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigList", version: "1.0.0" }; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigToTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigToTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigToTerraform; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigToHclTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigToHclTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigToHclTerraform; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigOutputReference 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.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigOutputReference = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigOutputReference; _c = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigOutputReference", version: "1.0.0" }; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigList 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 DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigList = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigList; _d = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigList", version: "1.0.0" }; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesToTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesToTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesToTerraform; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesToHclTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesToHclTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesToHclTerraform; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesOutputReference 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; } } // ip_notation - computed: true, optional: false, required: false get ipNotation() { return this.getStringAttribute('ip_notation'); } // value - computed: true, optional: false, required: false get value() { return this.getStringAttribute('value'); } // vcn_ips - computed: true, optional: false, required: false get vcnIps() { return this.getStringAttribute('vcn_ips'); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesOutputReference = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesOutputReference; _e = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesOutputReference", version: "1.0.0" }; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesList 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 DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesList = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesList; _f = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesList", version: "1.0.0" }; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationToTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationToTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationToTerraform; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationToHclTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationToHclTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationToHclTerraform; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationOutputReference 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; // access_control_rules - computed: true, optional: false, required: false this._accessControlRules = new DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationAccessControlRulesList(this, "access_control_rules", 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 accessControlRules() { return this._accessControlRules; } // host_name_prefix - computed: true, optional: false, required: false get hostNamePrefix() { return this.getStringAttribute('host_name_prefix'); } // network_type - computed: true, optional: false, required: false get networkType() { return this.getStringAttribute('network_type'); } // private_endpoint_ip - computed: true, optional: false, required: false get privateEndpointIp() { return this.getStringAttribute('private_endpoint_ip'); } // public_endpoint_ip - computed: true, optional: false, required: false get publicEndpointIp() { return this.getStringAttribute('public_endpoint_ip'); } // subnet_id - computed: true, optional: false, required: false get subnetId() { return this.getStringAttribute('subnet_id'); } // vcn_id - computed: true, optional: false, required: false get vcnId() { return this.getStringAttribute('vcn_id'); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationOutputReference = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationOutputReference; _g = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationOutputReference", version: "1.0.0" }; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationList 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 DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationList = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationList; _h = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationList", version: "1.0.0" }; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsToTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsToTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsToTerraform; function dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsToHclTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsToHclTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionItemsToHclTerraform; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsOutputReference 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; // defined_tags - computed: true, optional: false, required: false this._definedTags = new cdktf.StringMap(this, "defined_tags"); // driver_shape_config - computed: true, optional: false, required: false this._driverShapeConfig = new DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsDriverShapeConfigList(this, "driver_shape_config", false); // executor_shape_config - computed: true, optional: false, required: false this._executorShapeConfig = new DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsExecutorShapeConfigList(this, "executor_shape_config", false); // freeform_tags - computed: true, optional: false, required: false this._freeformTags = new cdktf.StringMap(this, "freeform_tags"); // network_configuration - computed: true, optional: false, required: false this._networkConfiguration = new DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsNetworkConfigurationList(this, "network_configuration", false); // spark_advanced_configurations - computed: true, optional: false, required: false this._sparkAdvancedConfigurations = new cdktf.StringMap(this, "spark_advanced_configurations"); // 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 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'); } // driver_shape - computed: true, optional: false, required: false get driverShape() { return this.getStringAttribute('driver_shape'); } get driverShapeConfig() { return this._driverShapeConfig; } // executor_shape - computed: true, optional: false, required: false get executorShape() { return this.getStringAttribute('executor_shape'); } get executorShapeConfig() { return this._executorShapeConfig; } get freeformTags() { return this._freeformTags; } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // jdbc_endpoint_url - computed: true, optional: false, required: false get jdbcEndpointUrl() { return this.getStringAttribute('jdbc_endpoint_url'); } // lake_id - computed: true, optional: false, required: false get lakeId() { return this.getStringAttribute('lake_id'); } // max_executor_count - computed: true, optional: false, required: false get maxExecutorCount() { return this.getNumberAttribute('max_executor_count'); } // metastore_id - computed: true, optional: false, required: false get metastoreId() { return this.getStringAttribute('metastore_id'); } // min_executor_count - computed: true, optional: false, required: false get minExecutorCount() { return this.getNumberAttribute('min_executor_count'); } get networkConfiguration() { return this._networkConfiguration; } get sparkAdvancedConfigurations() { return this._sparkAdvancedConfigurations; } // sql_endpoint_version - computed: true, optional: false, required: false get sqlEndpointVersion() { return this.getStringAttribute('sql_endpoint_version'); } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } // state_message - computed: true, optional: false, required: false get stateMessage() { return this.getStringAttribute('state_message'); } 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'); } // warehouse_bucket_uri - computed: true, optional: false, required: false get warehouseBucketUri() { return this.getStringAttribute('warehouse_bucket_uri'); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsOutputReference = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsOutputReference; _j = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsOutputReference", version: "1.0.0" }; class DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsList 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 DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsList = DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsList; _k = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsList", version: "1.0.0" }; function dataOciDataflowSqlEndpointsSqlEndpointCollectionToTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionToTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionToTerraform; function dataOciDataflowSqlEndpointsSqlEndpointCollectionToHclTerraform(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.dataOciDataflowSqlEndpointsSqlEndpointCollectionToHclTerraform = dataOciDataflowSqlEndpointsSqlEndpointCollectionToHclTerraform; class DataOciDataflowSqlEndpointsSqlEndpointCollectionOutputReference 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 DataOciDataflowSqlEndpointsSqlEndpointCollectionItemsList(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.DataOciDataflowSqlEndpointsSqlEndpointCollectionOutputReference = DataOciDataflowSqlEndpointsSqlEndpointCollectionOutputReference; _l = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionOutputReference", version: "1.0.0" }; class DataOciDataflowSqlEndpointsSqlEndpointCollectionList 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 DataOciDataflowSqlEndpointsSqlEndpointCollectionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowSqlEndpointsSqlEndpointCollectionList = DataOciDataflowSqlEndpointsSqlEndpointCollectionList; _m = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsSqlEndpointCollectionList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsSqlEndpointCollectionList", version: "1.0.0" }; function dataOciDataflowSqlEndpointsFilterToTerraform(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.dataOciDataflowSqlEndpointsFilterToTerraform = dataOciDataflowSqlEndpointsFilterToTerraform; function dataOciDataflowSqlEndpointsFilterToHclTerraform(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.dataOciDataflowSqlEndpointsFilterToHclTerraform = dataOciDataflowSqlEndpointsFilterToHclTerraform; class DataOciDataflowSqlEndpointsFilterOutputReference 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.DataOciDataflowSqlEndpointsFilterOutputReference = DataOciDataflowSqlEndpointsFilterOutputReference; _o = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsFilterOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsFilterOutputReference", version: "1.0.0" }; class DataOciDataflowSqlEndpointsFilterList 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 DataOciDataflowSqlEndpointsFilterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDataflowSqlEndpointsFilterList = DataOciDataflowSqlEndpointsFilterList; _p = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpointsFilterList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpointsFilterList", version: "1.0.0" }; /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/dataflow_sql_endpoints oci_dataflow_sql_endpoints} */ class DataOciDataflowSqlEndpoints extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataOciDataflowSqlEndpoints 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 DataOciDataflowSqlEndpoints to import * @param importFromId The id of the existing DataOciDataflowSqlEndpoints that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/dataflow_sql_endpoints#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciDataflowSqlEndpoints to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_dataflow_sql_endpoints", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/dataflow_sql_endpoints oci_dataflow_sql_endpoints} 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 DataOciDataflowSqlEndpointsConfig = {} */ constructor(scope, id, config = {}) { super(scope, id, { terraformResourceType: 'oci_dataflow_sql_endpoints', 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 }); // sql_endpoint_collection - computed: true, optional: false, required: false this._sqlEndpointCollection = new DataOciDataflowSqlEndpointsSqlEndpointCollectionList(this, "sql_endpoint_collection", false); // filter - computed: false, optional: true, required: false this._filter = new DataOciDataflowSqlEndpointsFilterList(this, "filter", true); this._compartmentId = config.compartmentId; this._displayName = config.displayName; this._id = config.id; this._sqlEndpointId = config.sqlEndpointId; this._state = config.state; this._filter.internalValue = config.filter; } get compartmentId() { return this.getStringAttribute('compartment_id'); } set compartmentId(value) { this._compartmentId = value; } resetCompartmentId() { this._compartmentId = undefined; } // 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 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 sqlEndpointCollection() { return this._sqlEndpointCollection; } get sqlEndpointId() { return this.getStringAttribute('sql_endpoint_id'); } set sqlEndpointId(value) { this._sqlEndpointId = value; } resetSqlEndpointId() { this._sqlEndpointId = undefined; } // Temporarily expose input value. Use with caution. get sqlEndpointIdInput() { return this._sqlEndpointId; } 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), id: cdktf.stringToTerraform(this._id), sql_endpoint_id: cdktf.stringToTerraform(this._sqlEndpointId), state: cdktf.stringToTerraform(this._state), filter: cdktf.listMapper(dataOciDataflowSqlEndpointsFilterToTerraform, 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", }, id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, sql_endpoint_id: { value: cdktf.stringToHclTerraform(this._sqlEndpointId), isBlock: false, type: "simple", storageClassType: "string", }, state: { value: cdktf.stringToHclTerraform(this._state), isBlock: false, type: "simple", storageClassType: "string", }, filter: { value: cdktf.listMapperHcl(dataOciDataflowSqlEndpointsFilterToHclTerraform, true)(this._filter.internalValue), isBlock: true, type: "set", storageClassType: "DataOciDataflowSqlEndpointsFilterList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } } exports.DataOciDataflowSqlEndpoints = DataOciDataflowSqlEndpoints; _q = JSII_RTTI_SYMBOL_1; DataOciDataflowSqlEndpoints[_q] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDataflowSqlEndpoints.DataOciDataflowSqlEndpoints", version: "1.0.0" }; // ================= // STATIC PROPERTIES // ================= DataOciDataflowSqlEndpoints.tfResourceType = "oci_dataflow_sql_endpoints"; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZGF0YS1vY2ktZGF0YWZsb3ctc3FsLWVuZHBvaW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUlBLCtCQUErQjtBQXNDL0IsU0FBZ0IsaUZBQWlGLENBQUMsTUFBK0U7SUFDL0ssSUFBSSxDQUFDLEtBQUssQ0FBQyxVQUFVLENBQUMsTUFBTSxDQUFDLElBQUksS0FBSyxDQUFDLFlBQVksQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQztRQUFDLE9BQU8sTUFBTSxDQUFDO0lBQUMsQ0FBQztJQUM1RixJQUFJLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQ25DLE1BQU0sSUFBSSxLQUFLLENBQUMsb0hBQW9ILENBQUMsQ0FBQztJQUN4SSxDQUFDO0lBQ0QsT0FBTyxFQUNOLENBQUE7QUFDSCxDQUFDO0FBUEQsOEtBT0M7QUFHRCxTQUFnQixvRkFBb0YsQ0FBQyxNQUErRTtJQUNsTCxJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsWUFBWSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQUMsT0FBTyxNQUFNLENBQUM7SUFBQyxDQUFDO0lBQzVGLElBQUksS0FBSyxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFDbkMsTUFBTSxJQUFJLEtBQUssQ0FBQyxvSEFBb0gsQ0FBQyxDQUFDO0lBQ3hJLENBQUM7SUFDRCxNQUFNLEtBQUssR0FBRyxFQUNiLENBQUM7SUFDRixPQUFPLEtBQUssQ0FBQztBQUNmLENBQUM7QUFSRCxvTEFRQztBQUVELE1BQWEscUZBQXNGLFNBQVEsS0FBSyxDQUFDLGFBQWE7SUFHNUg7Ozs7O01BS0U7SUFDRixZQUFtQixpQkFBNkMsRUFBRSxrQkFBMEIsRUFBRSxrQkFBMEIsRUFBRSxzQkFBK0I7UUFDdkosS0FBSyxDQUFDLGlCQUFpQixFQUFFLGtCQUFrQixFQUFFLHNCQUFzQixFQUFFLGtCQUFrQixDQUFDLENBQUM7UUFUbkYsa0JBQWEsR0FBRyxLQUFLLENBQUM7SUFVOUIsQ0FBQztJQUVELElBQVcsYUFBYTtRQUN0QixJQUFJLFlBQVksR0FBRyxJQUFJ