UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

1,294 lines (1,293 loc) 177 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataflowInvokeRun = exports.DataflowInvokeRunTimeoutsOutputReference = exports.dataflowInvokeRunTimeoutsToHclTerraform = exports.dataflowInvokeRunTimeoutsToTerraform = exports.DataflowInvokeRunParametersList = exports.DataflowInvokeRunParametersOutputReference = exports.dataflowInvokeRunParametersToHclTerraform = exports.dataflowInvokeRunParametersToTerraform = exports.DataflowInvokeRunExecutorShapeConfigOutputReference = exports.dataflowInvokeRunExecutorShapeConfigToHclTerraform = exports.dataflowInvokeRunExecutorShapeConfigToTerraform = exports.DataflowInvokeRunDriverShapeConfigOutputReference = exports.dataflowInvokeRunDriverShapeConfigToHclTerraform = exports.dataflowInvokeRunDriverShapeConfigToTerraform = exports.DataflowInvokeRunApplicationLogConfigOutputReference = exports.dataflowInvokeRunApplicationLogConfigToHclTerraform = exports.dataflowInvokeRunApplicationLogConfigToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataflowInvokeRunApplicationLogConfigToTerraform(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 { log_group_id: cdktf.stringToTerraform(struct.logGroupId), log_id: cdktf.stringToTerraform(struct.logId), }; } exports.dataflowInvokeRunApplicationLogConfigToTerraform = dataflowInvokeRunApplicationLogConfigToTerraform; function dataflowInvokeRunApplicationLogConfigToHclTerraform(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 = { log_group_id: { value: cdktf.stringToHclTerraform(struct.logGroupId), isBlock: false, type: "simple", storageClassType: "string", }, log_id: { value: cdktf.stringToHclTerraform(struct.logId), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataflowInvokeRunApplicationLogConfigToHclTerraform = dataflowInvokeRunApplicationLogConfigToHclTerraform; class DataflowInvokeRunApplicationLogConfigOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource, terraformAttribute) { super(terraformResource, terraformAttribute, false, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._logGroupId !== undefined) { hasAnyValues = true; internalValueResult.logGroupId = this._logGroupId; } if (this._logId !== undefined) { hasAnyValues = true; internalValueResult.logId = this._logId; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._logGroupId = undefined; this._logId = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._logGroupId = value.logGroupId; this._logId = value.logId; } } get logGroupId() { return this.getStringAttribute('log_group_id'); } set logGroupId(value) { this._logGroupId = value; } // Temporarily expose input value. Use with caution. get logGroupIdInput() { return this._logGroupId; } get logId() { return this.getStringAttribute('log_id'); } set logId(value) { this._logId = value; } // Temporarily expose input value. Use with caution. get logIdInput() { return this._logId; } } exports.DataflowInvokeRunApplicationLogConfigOutputReference = DataflowInvokeRunApplicationLogConfigOutputReference; _a = JSII_RTTI_SYMBOL_1; DataflowInvokeRunApplicationLogConfigOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataflowInvokeRun.DataflowInvokeRunApplicationLogConfigOutputReference", version: "1.0.0" }; function dataflowInvokeRunDriverShapeConfigToTerraform(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 { memory_in_gbs: cdktf.numberToTerraform(struct.memoryInGbs), ocpus: cdktf.numberToTerraform(struct.ocpus), }; } exports.dataflowInvokeRunDriverShapeConfigToTerraform = dataflowInvokeRunDriverShapeConfigToTerraform; function dataflowInvokeRunDriverShapeConfigToHclTerraform(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 = { memory_in_gbs: { value: cdktf.numberToHclTerraform(struct.memoryInGbs), isBlock: false, type: "simple", storageClassType: "number", }, ocpus: { value: cdktf.numberToHclTerraform(struct.ocpus), isBlock: false, type: "simple", storageClassType: "number", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataflowInvokeRunDriverShapeConfigToHclTerraform = dataflowInvokeRunDriverShapeConfigToHclTerraform; class DataflowInvokeRunDriverShapeConfigOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource, terraformAttribute) { super(terraformResource, terraformAttribute, false, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._memoryInGbs !== undefined) { hasAnyValues = true; internalValueResult.memoryInGbs = this._memoryInGbs; } if (this._ocpus !== undefined) { hasAnyValues = true; internalValueResult.ocpus = this._ocpus; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._memoryInGbs = undefined; this._ocpus = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._memoryInGbs = value.memoryInGbs; this._ocpus = value.ocpus; } } get memoryInGbs() { return this.getNumberAttribute('memory_in_gbs'); } set memoryInGbs(value) { this._memoryInGbs = value; } resetMemoryInGbs() { this._memoryInGbs = undefined; } // Temporarily expose input value. Use with caution. get memoryInGbsInput() { return this._memoryInGbs; } get ocpus() { return this.getNumberAttribute('ocpus'); } set ocpus(value) { this._ocpus = value; } resetOcpus() { this._ocpus = undefined; } // Temporarily expose input value. Use with caution. get ocpusInput() { return this._ocpus; } } exports.DataflowInvokeRunDriverShapeConfigOutputReference = DataflowInvokeRunDriverShapeConfigOutputReference; _b = JSII_RTTI_SYMBOL_1; DataflowInvokeRunDriverShapeConfigOutputReference[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataflowInvokeRun.DataflowInvokeRunDriverShapeConfigOutputReference", version: "1.0.0" }; function dataflowInvokeRunExecutorShapeConfigToTerraform(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 { memory_in_gbs: cdktf.numberToTerraform(struct.memoryInGbs), ocpus: cdktf.numberToTerraform(struct.ocpus), }; } exports.dataflowInvokeRunExecutorShapeConfigToTerraform = dataflowInvokeRunExecutorShapeConfigToTerraform; function dataflowInvokeRunExecutorShapeConfigToHclTerraform(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 = { memory_in_gbs: { value: cdktf.numberToHclTerraform(struct.memoryInGbs), isBlock: false, type: "simple", storageClassType: "number", }, ocpus: { value: cdktf.numberToHclTerraform(struct.ocpus), isBlock: false, type: "simple", storageClassType: "number", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataflowInvokeRunExecutorShapeConfigToHclTerraform = dataflowInvokeRunExecutorShapeConfigToHclTerraform; class DataflowInvokeRunExecutorShapeConfigOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource, terraformAttribute) { super(terraformResource, terraformAttribute, false, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._memoryInGbs !== undefined) { hasAnyValues = true; internalValueResult.memoryInGbs = this._memoryInGbs; } if (this._ocpus !== undefined) { hasAnyValues = true; internalValueResult.ocpus = this._ocpus; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._memoryInGbs = undefined; this._ocpus = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._memoryInGbs = value.memoryInGbs; this._ocpus = value.ocpus; } } get memoryInGbs() { return this.getNumberAttribute('memory_in_gbs'); } set memoryInGbs(value) { this._memoryInGbs = value; } resetMemoryInGbs() { this._memoryInGbs = undefined; } // Temporarily expose input value. Use with caution. get memoryInGbsInput() { return this._memoryInGbs; } get ocpus() { return this.getNumberAttribute('ocpus'); } set ocpus(value) { this._ocpus = value; } resetOcpus() { this._ocpus = undefined; } // Temporarily expose input value. Use with caution. get ocpusInput() { return this._ocpus; } } exports.DataflowInvokeRunExecutorShapeConfigOutputReference = DataflowInvokeRunExecutorShapeConfigOutputReference; _c = JSII_RTTI_SYMBOL_1; DataflowInvokeRunExecutorShapeConfigOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataflowInvokeRun.DataflowInvokeRunExecutorShapeConfigOutputReference", version: "1.0.0" }; function dataflowInvokeRunParametersToTerraform(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), value: cdktf.stringToTerraform(struct.value), }; } exports.dataflowInvokeRunParametersToTerraform = dataflowInvokeRunParametersToTerraform; function dataflowInvokeRunParametersToHclTerraform(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", }, value: { value: cdktf.stringToHclTerraform(struct.value), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataflowInvokeRunParametersToHclTerraform = dataflowInvokeRunParametersToHclTerraform; class DataflowInvokeRunParametersOutputReference 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._value !== undefined) { hasAnyValues = true; internalValueResult.value = this._value; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._name = undefined; this._value = 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._value = value.value; } } 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 value() { return this.getStringAttribute('value'); } set value(value) { this._value = value; } // Temporarily expose input value. Use with caution. get valueInput() { return this._value; } } exports.DataflowInvokeRunParametersOutputReference = DataflowInvokeRunParametersOutputReference; _d = JSII_RTTI_SYMBOL_1; DataflowInvokeRunParametersOutputReference[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataflowInvokeRun.DataflowInvokeRunParametersOutputReference", version: "1.0.0" }; class DataflowInvokeRunParametersList 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 DataflowInvokeRunParametersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataflowInvokeRunParametersList = DataflowInvokeRunParametersList; _e = JSII_RTTI_SYMBOL_1; DataflowInvokeRunParametersList[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataflowInvokeRun.DataflowInvokeRunParametersList", version: "1.0.0" }; function dataflowInvokeRunTimeoutsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { create: cdktf.stringToTerraform(struct.create), delete: cdktf.stringToTerraform(struct.delete), update: cdktf.stringToTerraform(struct.update), }; } exports.dataflowInvokeRunTimeoutsToTerraform = dataflowInvokeRunTimeoutsToTerraform; function dataflowInvokeRunTimeoutsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = { create: { value: cdktf.stringToHclTerraform(struct.create), isBlock: false, type: "simple", storageClassType: "string", }, delete: { value: cdktf.stringToHclTerraform(struct.delete), isBlock: false, type: "simple", storageClassType: "string", }, update: { value: cdktf.stringToHclTerraform(struct.update), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataflowInvokeRunTimeoutsToHclTerraform = dataflowInvokeRunTimeoutsToHclTerraform; class DataflowInvokeRunTimeoutsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource, terraformAttribute) { super(terraformResource, terraformAttribute, false); this.isEmptyObject = false; } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._create !== undefined) { hasAnyValues = true; internalValueResult.create = this._create; } if (this._delete !== undefined) { hasAnyValues = true; internalValueResult.delete = this._delete; } if (this._update !== undefined) { hasAnyValues = true; internalValueResult.update = this._update; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._create = undefined; this._delete = undefined; this._update = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._create = value.create; this._delete = value.delete; this._update = value.update; } } get create() { return this.getStringAttribute('create'); } set create(value) { this._create = value; } resetCreate() { this._create = undefined; } // Temporarily expose input value. Use with caution. get createInput() { return this._create; } get delete() { return this.getStringAttribute('delete'); } set delete(value) { this._delete = value; } resetDelete() { this._delete = undefined; } // Temporarily expose input value. Use with caution. get deleteInput() { return this._delete; } get update() { return this.getStringAttribute('update'); } set update(value) { this._update = value; } resetUpdate() { this._update = undefined; } // Temporarily expose input value. Use with caution. get updateInput() { return this._update; } } exports.DataflowInvokeRunTimeoutsOutputReference = DataflowInvokeRunTimeoutsOutputReference; _f = JSII_RTTI_SYMBOL_1; DataflowInvokeRunTimeoutsOutputReference[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataflowInvokeRun.DataflowInvokeRunTimeoutsOutputReference", version: "1.0.0" }; /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_invoke_run oci_dataflow_invoke_run} */ class DataflowInvokeRun extends cdktf.TerraformResource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataflowInvokeRun 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 DataflowInvokeRun to import * @param importFromId The id of the existing DataflowInvokeRun that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_invoke_run#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataflowInvokeRun to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_dataflow_invoke_run", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dataflow_invoke_run oci_dataflow_invoke_run} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataflowInvokeRunConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'oci_dataflow_invoke_run', 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 }); // application_log_config - computed: false, optional: true, required: false this._applicationLogConfig = new DataflowInvokeRunApplicationLogConfigOutputReference(this, "application_log_config"); // driver_shape_config - computed: false, optional: true, required: false this._driverShapeConfig = new DataflowInvokeRunDriverShapeConfigOutputReference(this, "driver_shape_config"); // executor_shape_config - computed: false, optional: true, required: false this._executorShapeConfig = new DataflowInvokeRunExecutorShapeConfigOutputReference(this, "executor_shape_config"); // parameters - computed: false, optional: true, required: false this._parameters = new DataflowInvokeRunParametersList(this, "parameters", false); // timeouts - computed: false, optional: true, required: false this._timeouts = new DataflowInvokeRunTimeoutsOutputReference(this, "timeouts"); this._applicationId = config.applicationId; this._archiveUri = config.archiveUri; this._arguments = config.arguments; this._asynchronous = config.asynchronous; this._compartmentId = config.compartmentId; this._configuration = config.configuration; this._definedTags = config.definedTags; this._displayName = config.displayName; this._driverShape = config.driverShape; this._execute = config.execute; this._executorShape = config.executorShape; this._freeformTags = config.freeformTags; this._id = config.id; this._idleTimeoutInMinutes = config.idleTimeoutInMinutes; this._logsBucketUri = config.logsBucketUri; this._maxDurationInMinutes = config.maxDurationInMinutes; this._metastoreId = config.metastoreId; this._numExecutors = config.numExecutors; this._opcParentRptUrl = config.opcParentRptUrl; this._poolId = config.poolId; this._sparkVersion = config.sparkVersion; this._type = config.type; this._warehouseBucketUri = config.warehouseBucketUri; this._applicationLogConfig.internalValue = config.applicationLogConfig; this._driverShapeConfig.internalValue = config.driverShapeConfig; this._executorShapeConfig.internalValue = config.executorShapeConfig; this._parameters.internalValue = config.parameters; this._timeouts.internalValue = config.timeouts; } get applicationId() { return this.getStringAttribute('application_id'); } set applicationId(value) { this._applicationId = value; } resetApplicationId() { this._applicationId = undefined; } // Temporarily expose input value. Use with caution. get applicationIdInput() { return this._applicationId; } get archiveUri() { return this.getStringAttribute('archive_uri'); } set archiveUri(value) { this._archiveUri = value; } resetArchiveUri() { this._archiveUri = undefined; } // Temporarily expose input value. Use with caution. get archiveUriInput() { return this._archiveUri; } get arguments() { return this.getListAttribute('arguments'); } set arguments(value) { this._arguments = value; } resetArguments() { this._arguments = undefined; } // Temporarily expose input value. Use with caution. get argumentsInput() { return this._arguments; } get asynchronous() { return this.getBooleanAttribute('asynchronous'); } set asynchronous(value) { this._asynchronous = value; } resetAsynchronous() { this._asynchronous = undefined; } // Temporarily expose input value. Use with caution. get asynchronousInput() { return this._asynchronous; } // class_name - computed: true, optional: false, required: false get className() { return this.getStringAttribute('class_name'); } 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 configuration() { return this.getStringMapAttribute('configuration'); } set configuration(value) { this._configuration = value; } resetConfiguration() { this._configuration = undefined; } // Temporarily expose input value. Use with caution. get configurationInput() { return this._configuration; } // data_read_in_bytes - computed: true, optional: false, required: false get dataReadInBytes() { return this.getStringAttribute('data_read_in_bytes'); } // data_written_in_bytes - computed: true, optional: false, required: false get dataWrittenInBytes() { return this.getStringAttribute('data_written_in_bytes'); } get definedTags() { return this.getStringMapAttribute('defined_tags'); } set definedTags(value) { this._definedTags = value; } resetDefinedTags() { this._definedTags = undefined; } // Temporarily expose input value. Use with caution. get definedTagsInput() { return this._definedTags; } get 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 driverShape() { return this.getStringAttribute('driver_shape'); } set driverShape(value) { this._driverShape = value; } resetDriverShape() { this._driverShape = undefined; } // Temporarily expose input value. Use with caution. get driverShapeInput() { return this._driverShape; } get execute() { return this.getStringAttribute('execute'); } set execute(value) { this._execute = value; } resetExecute() { this._execute = undefined; } // Temporarily expose input value. Use with caution. get executeInput() { return this._execute; } get executorShape() { return this.getStringAttribute('executor_shape'); } set executorShape(value) { this._executorShape = value; } resetExecutorShape() { this._executorShape = undefined; } // Temporarily expose input value. Use with caution. get executorShapeInput() { return this._executorShape; } // file_uri - computed: true, optional: false, required: false get fileUri() { return this.getStringAttribute('file_uri'); } get freeformTags() { return this.getStringMapAttribute('freeform_tags'); } set freeformTags(value) { this._freeformTags = value; } resetFreeformTags() { this._freeformTags = undefined; } // Temporarily expose input value. Use with caution. get freeformTagsInput() { return this._freeformTags; } get id() { return this.getStringAttribute('id'); } set id(value) { this._id = value; } resetId() { this._id = undefined; } // Temporarily expose input value. Use with caution. get idInput() { return this._id; } get idleTimeoutInMinutes() { return this.getStringAttribute('idle_timeout_in_minutes'); } set idleTimeoutInMinutes(value) { this._idleTimeoutInMinutes = value; } resetIdleTimeoutInMinutes() { this._idleTimeoutInMinutes = undefined; } // Temporarily expose input value. Use with caution. get idleTimeoutInMinutesInput() { return this._idleTimeoutInMinutes; } // language - computed: true, optional: false, required: false get language() { return this.getStringAttribute('language'); } // lifecycle_details - computed: true, optional: false, required: false get lifecycleDetails() { return this.getStringAttribute('lifecycle_details'); } get logsBucketUri() { return this.getStringAttribute('logs_bucket_uri'); } set logsBucketUri(value) { this._logsBucketUri = value; } resetLogsBucketUri() { this._logsBucketUri = undefined; } // Temporarily expose input value. Use with caution. get logsBucketUriInput() { return this._logsBucketUri; } get maxDurationInMinutes() { return this.getStringAttribute('max_duration_in_minutes'); } set maxDurationInMinutes(value) { this._maxDurationInMinutes = value; } resetMaxDurationInMinutes() { this._maxDurationInMinutes = undefined; } // Temporarily expose input value. Use with caution. get maxDurationInMinutesInput() { return this._maxDurationInMinutes; } get metastoreId() { return this.getStringAttribute('metastore_id'); } set metastoreId(value) { this._metastoreId = value; } resetMetastoreId() { this._metastoreId = undefined; } // Temporarily expose input value. Use with caution. get metastoreIdInput() { return this._metastoreId; } get numExecutors() { return this.getNumberAttribute('num_executors'); } set numExecutors(value) { this._numExecutors = value; } resetNumExecutors() { this._numExecutors = undefined; } // Temporarily expose input value. Use with caution. get numExecutorsInput() { return this._numExecutors; } get opcParentRptUrl() { return this.getStringAttribute('opc_parent_rpt_url'); } set opcParentRptUrl(value) { this._opcParentRptUrl = value; } resetOpcParentRptUrl() { this._opcParentRptUrl = undefined; } // Temporarily expose input value. Use with caution. get opcParentRptUrlInput() { return this._opcParentRptUrl; } // opc_request_id - computed: true, optional: false, required: false get opcRequestId() { return this.getStringAttribute('opc_request_id'); } // 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 poolId() { return this.getStringAttribute('pool_id'); } set poolId(value) { this._poolId = value; } resetPoolId() { this._poolId = undefined; } // Temporarily expose input value. Use with caution. get poolIdInput() { return this._poolId; } // private_endpoint_dns_zones - computed: true, optional: false, required: false get privateEndpointDnsZones() { return this.getListAttribute('private_endpoint_dns_zones'); } // private_endpoint_id - computed: true, optional: false, required: false get privateEndpointId() { return this.getStringAttribute('private_endpoint_id'); } // private_endpoint_max_host_count - computed: true, optional: false, required: false get privateEndpointMaxHostCount() { return this.getNumberAttribute('private_endpoint_max_host_count'); } // private_endpoint_nsg_ids - computed: true, optional: false, required: false get privateEndpointNsgIds() { return this.getListAttribute('private_endpoint_nsg_ids'); } // private_endpoint_subnet_id - computed: true, optional: false, required: false get privateEndpointSubnetId() { return this.getStringAttribute('private_endpoint_subnet_id'); } // run_duration_in_milliseconds - computed: true, optional: false, required: false get runDurationInMilliseconds() { return this.getStringAttribute('run_duration_in_milliseconds'); } get sparkVersion() { return this.getStringAttribute('spark_version'); } set sparkVersion(value) { this._sparkVersion = value; } resetSparkVersion() { this._sparkVersion = undefined; } // Temporarily expose input value. Use with caution. get sparkVersionInput() { return this._sparkVersion; } // 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'); } // total_ocpu - computed: true, optional: false, required: false get totalOcpu() { return this.getNumberAttribute('total_ocpu'); } get type() { return this.getStringAttribute('type'); } set type(value) { this._type = value; } resetType() { this._type = undefined; } // Temporarily expose input value. Use with caution. get typeInput() { return this._type; } get warehouseBucketUri() { return this.getStringAttribute('warehouse_bucket_uri'); } set warehouseBucketUri(value) { this._warehouseBucketUri = value; } resetWarehouseBucketUri() { this._warehouseBucketUri = undefined; } // Temporarily expose input value. Use with caution. get warehouseBucketUriInput() { return this._warehouseBucketUri; } get applicationLogConfig() { return this._applicationLogConfig; } putApplicationLogConfig(value) { this._applicationLogConfig.internalValue = value; } resetApplicationLogConfig() { this._applicationLogConfig.internalValue = undefined; } // Temporarily expose input value. Use with caution. get applicationLogConfigInput() { return this._applicationLogConfig.internalValue; } get driverShapeConfig() { return this._driverShapeConfig; } putDriverShapeConfig(value) { this._driverShapeConfig.internalValue = value; } resetDriverShapeConfig() { this._driverShapeConfig.internalValue = undefined; } // Temporarily expose input value. Use with caution. get driverShapeConfigInput() { return this._driverShapeConfig.internalValue; } get executorShapeConfig() { return this._executorShapeConfig; } putExecutorShapeConfig(value) { this._executorShapeConfig.internalValue = value; } resetExecutorShapeConfig() { this._executorShapeConfig.internalValue = undefined; } // Temporarily expose input value. Use with caution. get executorShapeConfigInput() { return this._executorShapeConfig.internalValue; } get parameters() { return this._parameters; } putParameters(value) { this._parameters.internalValue = value; } resetParameters() { this._parameters.internalValue = undefined; } // Temporarily expose input value. Use with caution. get parametersInput() { return this._parameters.internalValue; } get timeouts() { return this._timeouts; } putTimeouts(value) { this._timeouts.internalValue = value; } resetTimeouts() { this._timeouts.internalValue = undefined; } // Temporarily expose input value. Use with caution. get timeoutsInput() { return this._timeouts.internalValue; } // ========= // SYNTHESIS // ========= synthesizeAttributes() { return { application_id: cdktf.stringToTerraform(this._applicationId), archive_uri: cdktf.stringToTerraform(this._archiveUri), arguments: cdktf.listMapper(cdktf.stringToTerraform, false)(this._arguments), asynchronous: cdktf.booleanToTerraform(this._asynchronous), compartment_id: cdktf.stringToTerraform(this._compartmentId), configuration: cdktf.hashMapper(cdktf.stringToTerraform)(this._configuration), defined_tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._definedTags), display_name: cdktf.stringToTerraform(this._displayName), driver_shape: cdktf.stringToTerraform(this._driverShape), execute: cdktf.stringToTerraform(this._execute), executor_shape: cdktf.stringToTerraform(this._executorShape), freeform_tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._freeformTags), id: cdktf.stringToTerraform(this._id), idle_timeout_in_minutes: cdktf.stringToTerraform(this._idleTimeoutInMinutes), logs_bucket_uri: cdktf.stringToTerraform(this._logsBucketUri), max_duration_in_minutes: cdktf.stringToTerraform(this._maxDurationInMinutes), metastore_id: cdktf.stringToTerraform(this._metastoreId), num_executors: cdktf.numberToTerraform(this._numExecutors), opc_parent_rpt_url: cdktf.stringToTerraform(this._opcParentRptUrl), pool_id: cdktf.stringToTerraform(this._poolId), spark_version: cdktf.stringToTerraform(this._sparkVersion), type: cdktf.stringToTerraform(this._type), warehouse_bucket_uri: cdktf.stringToTerraform(this._warehouseBucketUri), application_log_config: dataflowInvokeRunApplicationLogConfigToTerraform(this._applicationLogConfig.internalValue), driver_shape_config: dataflowInvokeRunDriverShapeConfigToTerraform(this._driverShapeConfig.internalValue), executor_shape_config: dataflowInvokeRunExecutorShapeConfigToTerraform(this._executorShapeConfig.internalValue), parameters: cdktf.listMapper(dataflowInvokeRunParametersToTerraform, true)(this._parameters.internalValue), timeouts: dataflowInvokeRunTimeoutsToTerraform(this._timeouts.internalValue), }; } synthesizeHclAttributes() { const attrs = { application_id: { value: cdktf.stringToHclTerraform(this._applicationId), isBlock: false, type: "simple", storageClassType: "string", }, archive_uri: { value: cdktf.stringToHclTerraform(this._archiveUri), isBlock: false, type: "simple", storageClassType: "string", }, arguments: { value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._arguments), isBlock: false, type: "list", storageClassType: "stringList", }, asynchronous: { value: cdktf.booleanToHclTerraform(this._asynchronous), isBlock: false, type: "simple", storageClassType: "boolean", }, compartment_id: { value: cdktf.stringToHclTerraform(this._compartmentId), isBlock: false, type: "simple", storageClassType: "string", }, configuration: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._configuration), isBlock: false, type: "map", storageClassType: "stringMap", }, defined_tags: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._definedTags), isBlock: false, type: "map", storageClassType: "stringMap", }, display_name: { value: cdktf.stringToHclTerraform(this._displayName), isBlock: false, type: "simple", storageClassType: "string", }, driver_shape: { value: cdktf.stringToHclTerraform(this._driverShape), isBlock: false, type: "simple", storageClassType: "string", }, execute: { value: cdktf.stringToHclTerraform(this._execute), isBlock: false, type: "simple", storageClassType: "string", }, executor_shape: { value: cdktf.stringToHclTerraform(this._executorShape), isBlock: false, type: "simple", storageClassType: "string", }, freeform_tags: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._freeformTags), isBlock: false, type: "map", storageClassType: "stringMap", }, id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, idle_timeout_in_minutes: { value: cdktf.stringToHclTerraform(this._idleTimeoutInMinutes), isBlock: false, type: "simple", storageClassType: "string", }, logs_bucket_uri: { value: cdktf.stringToHclTerraform(this._logsBucketUri), isBlock: false, type: "simple", storageClassType: "string", }, max_duration_in_minutes: { value: cdktf.stringToHclTerraform(this._maxDurationInMinutes), isBlock: false, type: "simple", storageClassType: "string", }, metastore_id: { value: cdktf.stringToHclTerraform(this._metastoreId), isBlock: false, type: "simple", storageClassType: "string", }, num_executors: { value: cdktf.numberToHclTerraform(this._numExecutors), isBlock: false, type: "simple", storageClassType: "number", }, opc_parent_rpt_url: { value: cdktf.stringToHclTerraform(this._opcParentRptUrl), isBlock: false, type: "simple", storageClassType: "string", }, pool_id: { value: cdktf.stringToHclTerraform(this._poolId), isBlock: false, type: "simple", storageClassType: "string", }, spark_version: { value: cdktf.stringToHclTerraform(this._sparkVersion), isBlock: false, type: "simple", storageClassType: "string", }, type: { value: cdktf.stringToHclTerraform(this._type), isBlock: false, type: "simple", storageClassType: "string", }, warehouse_bucket_uri: { value: cdktf.stringToHclTerraform(this._warehouseBucketUri), isBlock: false, type: "simple", storageClassType: "string", }, application_log_config: { value: dataflowInvokeRunApplicationLogConfigToHclTerraform(this._applicationLogConfig.internalValue), isBlock: true, type: "list", storageClassType: "DataflowInvokeRunApplicationLogConfigList", }, driver_shape_config: { value: dataflowInvokeRunDriverShapeConfigToHclTerraform(this._driverShapeConfig.internalValue), isBlock: true, type: "list", storageClassType: "DataflowInvokeRunDriverShapeConfigList", }, executor_shape_config: { value: dataflowInvokeRunExecutorShapeConfigToHclTerraform(this._executorShapeConfig.internalValue), isBlock: true, type: "list", storageClassType: "DataflowInvokeRunExecutorShapeConfigList", }, parameters: { value: cdktf.listMapperHcl(dataflowInvokeRunParametersToHclTerraform, true)(this._parameters.internalValue), isBlock: true, type: "list", storageClassType: "DataflowInvokeRunParametersList", }, timeouts: { value: dataflowInvokeRunTimeoutsToHclTerraform(this._timeouts.internalValue), isBlock: true,