rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
1,078 lines • 232 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DatasciencePipelineRun = exports.DatasciencePipelineRunTimeoutsOutputReference = exports.datasciencePipelineRunTimeoutsToHclTerraform = exports.datasciencePipelineRunTimeoutsToTerraform = exports.DatasciencePipelineRunStepOverrideDetailsList = exports.DatasciencePipelineRunStepOverrideDetailsOutputReference = exports.datasciencePipelineRunStepOverrideDetailsToHclTerraform = exports.datasciencePipelineRunStepOverrideDetailsToTerraform = exports.DatasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsOutputReference = exports.datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToHclTerraform = exports.datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToTerraform = exports.DatasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsOutputReference = exports.datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToHclTerraform = exports.datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToTerraform = exports.DatasciencePipelineRunLogConfigurationOverrideDetailsOutputReference = exports.datasciencePipelineRunLogConfigurationOverrideDetailsToHclTerraform = exports.datasciencePipelineRunLogConfigurationOverrideDetailsToTerraform = exports.DatasciencePipelineRunConfigurationOverrideDetailsOutputReference = exports.datasciencePipelineRunConfigurationOverrideDetailsToHclTerraform = exports.datasciencePipelineRunConfigurationOverrideDetailsToTerraform = exports.DatasciencePipelineRunStepRunsList = exports.DatasciencePipelineRunStepRunsOutputReference = exports.datasciencePipelineRunStepRunsToHclTerraform = exports.datasciencePipelineRunStepRunsToTerraform = exports.DatasciencePipelineRunLogDetailsList = exports.DatasciencePipelineRunLogDetailsOutputReference = exports.datasciencePipelineRunLogDetailsToHclTerraform = exports.datasciencePipelineRunLogDetailsToTerraform = exports.DatasciencePipelineRunConfigurationDetailsList = exports.DatasciencePipelineRunConfigurationDetailsOutputReference = exports.datasciencePipelineRunConfigurationDetailsToHclTerraform = exports.datasciencePipelineRunConfigurationDetailsToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function datasciencePipelineRunConfigurationDetailsToTerraform(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.datasciencePipelineRunConfigurationDetailsToTerraform = datasciencePipelineRunConfigurationDetailsToTerraform;
function datasciencePipelineRunConfigurationDetailsToHclTerraform(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.datasciencePipelineRunConfigurationDetailsToHclTerraform = datasciencePipelineRunConfigurationDetailsToHclTerraform;
class DatasciencePipelineRunConfigurationDetailsOutputReference 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;
// environment_variables - computed: true, optional: false, required: false
this._environmentVariables = new cdktf.StringMap(this, "environment_variables");
}
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;
}
}
// command_line_arguments - computed: true, optional: false, required: false
get commandLineArguments() {
return this.getStringAttribute('command_line_arguments');
}
get environmentVariables() {
return this._environmentVariables;
}
// maximum_runtime_in_minutes - computed: true, optional: false, required: false
get maximumRuntimeInMinutes() {
return this.getStringAttribute('maximum_runtime_in_minutes');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DatasciencePipelineRunConfigurationDetailsOutputReference = DatasciencePipelineRunConfigurationDetailsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunConfigurationDetailsOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunConfigurationDetailsOutputReference", version: "1.0.0" };
class DatasciencePipelineRunConfigurationDetailsList 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 DatasciencePipelineRunConfigurationDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DatasciencePipelineRunConfigurationDetailsList = DatasciencePipelineRunConfigurationDetailsList;
_b = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunConfigurationDetailsList[_b] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunConfigurationDetailsList", version: "1.0.0" };
function datasciencePipelineRunLogDetailsToTerraform(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.datasciencePipelineRunLogDetailsToTerraform = datasciencePipelineRunLogDetailsToTerraform;
function datasciencePipelineRunLogDetailsToHclTerraform(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.datasciencePipelineRunLogDetailsToHclTerraform = datasciencePipelineRunLogDetailsToHclTerraform;
class DatasciencePipelineRunLogDetailsOutputReference 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;
}
}
// log_group_id - computed: true, optional: false, required: false
get logGroupId() {
return this.getStringAttribute('log_group_id');
}
// log_id - computed: true, optional: false, required: false
get logId() {
return this.getStringAttribute('log_id');
}
}
exports.DatasciencePipelineRunLogDetailsOutputReference = DatasciencePipelineRunLogDetailsOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunLogDetailsOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunLogDetailsOutputReference", version: "1.0.0" };
class DatasciencePipelineRunLogDetailsList 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 DatasciencePipelineRunLogDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DatasciencePipelineRunLogDetailsList = DatasciencePipelineRunLogDetailsList;
_d = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunLogDetailsList[_d] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunLogDetailsList", version: "1.0.0" };
function datasciencePipelineRunStepRunsToTerraform(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.datasciencePipelineRunStepRunsToTerraform = datasciencePipelineRunStepRunsToTerraform;
function datasciencePipelineRunStepRunsToHclTerraform(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.datasciencePipelineRunStepRunsToHclTerraform = datasciencePipelineRunStepRunsToHclTerraform;
class DatasciencePipelineRunStepRunsOutputReference 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;
}
}
// job_run_id - computed: true, optional: false, required: false
get jobRunId() {
return this.getStringAttribute('job_run_id');
}
// lifecycle_details - computed: true, optional: false, required: false
get lifecycleDetails() {
return this.getStringAttribute('lifecycle_details');
}
// state - computed: true, optional: false, required: false
get state() {
return this.getStringAttribute('state');
}
// step_name - computed: true, optional: false, required: false
get stepName() {
return this.getStringAttribute('step_name');
}
// step_type - computed: true, optional: false, required: false
get stepType() {
return this.getStringAttribute('step_type');
}
// time_finished - computed: true, optional: false, required: false
get timeFinished() {
return this.getStringAttribute('time_finished');
}
// time_started - computed: true, optional: false, required: false
get timeStarted() {
return this.getStringAttribute('time_started');
}
}
exports.DatasciencePipelineRunStepRunsOutputReference = DatasciencePipelineRunStepRunsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunStepRunsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunStepRunsOutputReference", version: "1.0.0" };
class DatasciencePipelineRunStepRunsList 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 DatasciencePipelineRunStepRunsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DatasciencePipelineRunStepRunsList = DatasciencePipelineRunStepRunsList;
_f = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunStepRunsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunStepRunsList", version: "1.0.0" };
function datasciencePipelineRunConfigurationOverrideDetailsToTerraform(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 {
command_line_arguments: cdktf.stringToTerraform(struct.commandLineArguments),
environment_variables: cdktf.hashMapper(cdktf.stringToTerraform)(struct.environmentVariables),
maximum_runtime_in_minutes: cdktf.stringToTerraform(struct.maximumRuntimeInMinutes),
type: cdktf.stringToTerraform(struct.type),
};
}
exports.datasciencePipelineRunConfigurationOverrideDetailsToTerraform = datasciencePipelineRunConfigurationOverrideDetailsToTerraform;
function datasciencePipelineRunConfigurationOverrideDetailsToHclTerraform(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 = {
command_line_arguments: {
value: cdktf.stringToHclTerraform(struct.commandLineArguments),
isBlock: false,
type: "simple",
storageClassType: "string",
},
environment_variables: {
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.environmentVariables),
isBlock: false,
type: "map",
storageClassType: "stringMap",
},
maximum_runtime_in_minutes: {
value: cdktf.stringToHclTerraform(struct.maximumRuntimeInMinutes),
isBlock: false,
type: "simple",
storageClassType: "string",
},
type: {
value: cdktf.stringToHclTerraform(struct.type),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.datasciencePipelineRunConfigurationOverrideDetailsToHclTerraform = datasciencePipelineRunConfigurationOverrideDetailsToHclTerraform;
class DatasciencePipelineRunConfigurationOverrideDetailsOutputReference 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._commandLineArguments !== undefined) {
hasAnyValues = true;
internalValueResult.commandLineArguments = this._commandLineArguments;
}
if (this._environmentVariables !== undefined) {
hasAnyValues = true;
internalValueResult.environmentVariables = this._environmentVariables;
}
if (this._maximumRuntimeInMinutes !== undefined) {
hasAnyValues = true;
internalValueResult.maximumRuntimeInMinutes = this._maximumRuntimeInMinutes;
}
if (this._type !== undefined) {
hasAnyValues = true;
internalValueResult.type = this._type;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._commandLineArguments = undefined;
this._environmentVariables = undefined;
this._maximumRuntimeInMinutes = undefined;
this._type = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._commandLineArguments = value.commandLineArguments;
this._environmentVariables = value.environmentVariables;
this._maximumRuntimeInMinutes = value.maximumRuntimeInMinutes;
this._type = value.type;
}
}
get commandLineArguments() {
return this.getStringAttribute('command_line_arguments');
}
set commandLineArguments(value) {
this._commandLineArguments = value;
}
resetCommandLineArguments() {
this._commandLineArguments = undefined;
}
// Temporarily expose input value. Use with caution.
get commandLineArgumentsInput() {
return this._commandLineArguments;
}
get environmentVariables() {
return this.getStringMapAttribute('environment_variables');
}
set environmentVariables(value) {
this._environmentVariables = value;
}
resetEnvironmentVariables() {
this._environmentVariables = undefined;
}
// Temporarily expose input value. Use with caution.
get environmentVariablesInput() {
return this._environmentVariables;
}
get maximumRuntimeInMinutes() {
return this.getStringAttribute('maximum_runtime_in_minutes');
}
set maximumRuntimeInMinutes(value) {
this._maximumRuntimeInMinutes = value;
}
resetMaximumRuntimeInMinutes() {
this._maximumRuntimeInMinutes = undefined;
}
// Temporarily expose input value. Use with caution.
get maximumRuntimeInMinutesInput() {
return this._maximumRuntimeInMinutes;
}
get type() {
return this.getStringAttribute('type');
}
set type(value) {
this._type = value;
}
// Temporarily expose input value. Use with caution.
get typeInput() {
return this._type;
}
}
exports.DatasciencePipelineRunConfigurationOverrideDetailsOutputReference = DatasciencePipelineRunConfigurationOverrideDetailsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunConfigurationOverrideDetailsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunConfigurationOverrideDetailsOutputReference", version: "1.0.0" };
function datasciencePipelineRunLogConfigurationOverrideDetailsToTerraform(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 {
enable_auto_log_creation: cdktf.booleanToTerraform(struct.enableAutoLogCreation),
enable_logging: cdktf.booleanToTerraform(struct.enableLogging),
log_group_id: cdktf.stringToTerraform(struct.logGroupId),
log_id: cdktf.stringToTerraform(struct.logId),
};
}
exports.datasciencePipelineRunLogConfigurationOverrideDetailsToTerraform = datasciencePipelineRunLogConfigurationOverrideDetailsToTerraform;
function datasciencePipelineRunLogConfigurationOverrideDetailsToHclTerraform(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 = {
enable_auto_log_creation: {
value: cdktf.booleanToHclTerraform(struct.enableAutoLogCreation),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
enable_logging: {
value: cdktf.booleanToHclTerraform(struct.enableLogging),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
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.datasciencePipelineRunLogConfigurationOverrideDetailsToHclTerraform = datasciencePipelineRunLogConfigurationOverrideDetailsToHclTerraform;
class DatasciencePipelineRunLogConfigurationOverrideDetailsOutputReference 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._enableAutoLogCreation !== undefined) {
hasAnyValues = true;
internalValueResult.enableAutoLogCreation = this._enableAutoLogCreation;
}
if (this._enableLogging !== undefined) {
hasAnyValues = true;
internalValueResult.enableLogging = this._enableLogging;
}
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._enableAutoLogCreation = undefined;
this._enableLogging = undefined;
this._logGroupId = undefined;
this._logId = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._enableAutoLogCreation = value.enableAutoLogCreation;
this._enableLogging = value.enableLogging;
this._logGroupId = value.logGroupId;
this._logId = value.logId;
}
}
get enableAutoLogCreation() {
return this.getBooleanAttribute('enable_auto_log_creation');
}
set enableAutoLogCreation(value) {
this._enableAutoLogCreation = value;
}
resetEnableAutoLogCreation() {
this._enableAutoLogCreation = undefined;
}
// Temporarily expose input value. Use with caution.
get enableAutoLogCreationInput() {
return this._enableAutoLogCreation;
}
get enableLogging() {
return this.getBooleanAttribute('enable_logging');
}
set enableLogging(value) {
this._enableLogging = value;
}
resetEnableLogging() {
this._enableLogging = undefined;
}
// Temporarily expose input value. Use with caution.
get enableLoggingInput() {
return this._enableLogging;
}
get logGroupId() {
return this.getStringAttribute('log_group_id');
}
set logGroupId(value) {
this._logGroupId = value;
}
resetLogGroupId() {
this._logGroupId = undefined;
}
// 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;
}
resetLogId() {
this._logId = undefined;
}
// Temporarily expose input value. Use with caution.
get logIdInput() {
return this._logId;
}
}
exports.DatasciencePipelineRunLogConfigurationOverrideDetailsOutputReference = DatasciencePipelineRunLogConfigurationOverrideDetailsOutputReference;
_h = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunLogConfigurationOverrideDetailsOutputReference[_h] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunLogConfigurationOverrideDetailsOutputReference", version: "1.0.0" };
function datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToTerraform(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 {
command_line_arguments: cdktf.stringToTerraform(struct.commandLineArguments),
environment_variables: cdktf.hashMapper(cdktf.stringToTerraform)(struct.environmentVariables),
maximum_runtime_in_minutes: cdktf.stringToTerraform(struct.maximumRuntimeInMinutes),
};
}
exports.datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToTerraform = datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToTerraform;
function datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToHclTerraform(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 = {
command_line_arguments: {
value: cdktf.stringToHclTerraform(struct.commandLineArguments),
isBlock: false,
type: "simple",
storageClassType: "string",
},
environment_variables: {
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.environmentVariables),
isBlock: false,
type: "map",
storageClassType: "stringMap",
},
maximum_runtime_in_minutes: {
value: cdktf.stringToHclTerraform(struct.maximumRuntimeInMinutes),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToHclTerraform = datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToHclTerraform;
class DatasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsOutputReference 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._commandLineArguments !== undefined) {
hasAnyValues = true;
internalValueResult.commandLineArguments = this._commandLineArguments;
}
if (this._environmentVariables !== undefined) {
hasAnyValues = true;
internalValueResult.environmentVariables = this._environmentVariables;
}
if (this._maximumRuntimeInMinutes !== undefined) {
hasAnyValues = true;
internalValueResult.maximumRuntimeInMinutes = this._maximumRuntimeInMinutes;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._commandLineArguments = undefined;
this._environmentVariables = undefined;
this._maximumRuntimeInMinutes = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._commandLineArguments = value.commandLineArguments;
this._environmentVariables = value.environmentVariables;
this._maximumRuntimeInMinutes = value.maximumRuntimeInMinutes;
}
}
get commandLineArguments() {
return this.getStringAttribute('command_line_arguments');
}
set commandLineArguments(value) {
this._commandLineArguments = value;
}
resetCommandLineArguments() {
this._commandLineArguments = undefined;
}
// Temporarily expose input value. Use with caution.
get commandLineArgumentsInput() {
return this._commandLineArguments;
}
get environmentVariables() {
return this.getStringMapAttribute('environment_variables');
}
set environmentVariables(value) {
this._environmentVariables = value;
}
resetEnvironmentVariables() {
this._environmentVariables = undefined;
}
// Temporarily expose input value. Use with caution.
get environmentVariablesInput() {
return this._environmentVariables;
}
get maximumRuntimeInMinutes() {
return this.getStringAttribute('maximum_runtime_in_minutes');
}
set maximumRuntimeInMinutes(value) {
this._maximumRuntimeInMinutes = value;
}
resetMaximumRuntimeInMinutes() {
this._maximumRuntimeInMinutes = undefined;
}
// Temporarily expose input value. Use with caution.
get maximumRuntimeInMinutesInput() {
return this._maximumRuntimeInMinutes;
}
}
exports.DatasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsOutputReference = DatasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsOutputReference", version: "1.0.0" };
function datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToTerraform(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 {
cmd: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.cmd),
container_type: cdktf.stringToTerraform(struct.containerType),
entrypoint: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.entrypoint),
image: cdktf.stringToTerraform(struct.image),
image_digest: cdktf.stringToTerraform(struct.imageDigest),
image_signature_id: cdktf.stringToTerraform(struct.imageSignatureId),
};
}
exports.datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToTerraform = datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToTerraform;
function datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToHclTerraform(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 = {
cmd: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.cmd),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
container_type: {
value: cdktf.stringToHclTerraform(struct.containerType),
isBlock: false,
type: "simple",
storageClassType: "string",
},
entrypoint: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.entrypoint),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
image: {
value: cdktf.stringToHclTerraform(struct.image),
isBlock: false,
type: "simple",
storageClassType: "string",
},
image_digest: {
value: cdktf.stringToHclTerraform(struct.imageDigest),
isBlock: false,
type: "simple",
storageClassType: "string",
},
image_signature_id: {
value: cdktf.stringToHclTerraform(struct.imageSignatureId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToHclTerraform = datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToHclTerraform;
class DatasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsOutputReference 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._cmd !== undefined) {
hasAnyValues = true;
internalValueResult.cmd = this._cmd;
}
if (this._containerType !== undefined) {
hasAnyValues = true;
internalValueResult.containerType = this._containerType;
}
if (this._entrypoint !== undefined) {
hasAnyValues = true;
internalValueResult.entrypoint = this._entrypoint;
}
if (this._image !== undefined) {
hasAnyValues = true;
internalValueResult.image = this._image;
}
if (this._imageDigest !== undefined) {
hasAnyValues = true;
internalValueResult.imageDigest = this._imageDigest;
}
if (this._imageSignatureId !== undefined) {
hasAnyValues = true;
internalValueResult.imageSignatureId = this._imageSignatureId;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._cmd = undefined;
this._containerType = undefined;
this._entrypoint = undefined;
this._image = undefined;
this._imageDigest = undefined;
this._imageSignatureId = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._cmd = value.cmd;
this._containerType = value.containerType;
this._entrypoint = value.entrypoint;
this._image = value.image;
this._imageDigest = value.imageDigest;
this._imageSignatureId = value.imageSignatureId;
}
}
get cmd() {
return this.getListAttribute('cmd');
}
set cmd(value) {
this._cmd = value;
}
resetCmd() {
this._cmd = undefined;
}
// Temporarily expose input value. Use with caution.
get cmdInput() {
return this._cmd;
}
get containerType() {
return this.getStringAttribute('container_type');
}
set containerType(value) {
this._containerType = value;
}
// Temporarily expose input value. Use with caution.
get containerTypeInput() {
return this._containerType;
}
get entrypoint() {
return this.getListAttribute('entrypoint');
}
set entrypoint(value) {
this._entrypoint = value;
}
resetEntrypoint() {
this._entrypoint = undefined;
}
// Temporarily expose input value. Use with caution.
get entrypointInput() {
return this._entrypoint;
}
get image() {
return this.getStringAttribute('image');
}
set image(value) {
this._image = value;
}
// Temporarily expose input value. Use with caution.
get imageInput() {
return this._image;
}
get imageDigest() {
return this.getStringAttribute('image_digest');
}
set imageDigest(value) {
this._imageDigest = value;
}
resetImageDigest() {
this._imageDigest = undefined;
}
// Temporarily expose input value. Use with caution.
get imageDigestInput() {
return this._imageDigest;
}
get imageSignatureId() {
return this.getStringAttribute('image_signature_id');
}
set imageSignatureId(value) {
this._imageSignatureId = value;
}
resetImageSignatureId() {
this._imageSignatureId = undefined;
}
// Temporarily expose input value. Use with caution.
get imageSignatureIdInput() {
return this._imageSignatureId;
}
}
exports.DatasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsOutputReference = DatasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsOutputReference;
_k = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsOutputReference[_k] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsOutputReference", version: "1.0.0" };
function datasciencePipelineRunStepOverrideDetailsToTerraform(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 {
step_name: cdktf.stringToTerraform(struct.stepName),
step_configuration_details: datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToTerraform(struct.stepConfigurationDetails),
step_container_configuration_details: datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToTerraform(struct.stepContainerConfigurationDetails),
};
}
exports.datasciencePipelineRunStepOverrideDetailsToTerraform = datasciencePipelineRunStepOverrideDetailsToTerraform;
function datasciencePipelineRunStepOverrideDetailsToHclTerraform(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 = {
step_name: {
value: cdktf.stringToHclTerraform(struct.stepName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
step_configuration_details: {
value: datasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsToHclTerraform(struct.stepConfigurationDetails),
isBlock: true,
type: "list",
storageClassType: "DatasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsList",
},
step_container_configuration_details: {
value: datasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsToHclTerraform(struct.stepContainerConfigurationDetails),
isBlock: true,
type: "list",
storageClassType: "DatasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.datasciencePipelineRunStepOverrideDetailsToHclTerraform = datasciencePipelineRunStepOverrideDetailsToHclTerraform;
class DatasciencePipelineRunStepOverrideDetailsOutputReference 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;
// step_configuration_details - computed: false, optional: false, required: true
this._stepConfigurationDetails = new DatasciencePipelineRunStepOverrideDetailsStepConfigurationDetailsOutputReference(this, "step_configuration_details");
// step_container_configuration_details - computed: false, optional: true, required: false
this._stepContainerConfigurationDetails = new DatasciencePipelineRunStepOverrideDetailsStepContainerConfigurationDetailsOutputReference(this, "step_container_configuration_details");
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._stepName !== undefined) {
hasAnyValues = true;
internalValueResult.stepName = this._stepName;
}
if (this._stepConfigurationDetails?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.stepConfigurationDetails = this._stepConfigurationDetails?.internalValue;
}
if (this._stepContainerConfigurationDetails?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.stepContainerConfigurationDetails = this._stepContainerConfigurationDetails?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._stepName = undefined;
this._stepConfigurationDetails.internalValue = undefined;
this._stepContainerConfigurationDetails.internalValue = 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._stepName = value.stepName;
this._stepConfigurationDetails.internalValue = value.stepConfigurationDetails;
this._stepContainerConfigurationDetails.internalValue = value.stepContainerConfigurationDetails;
}
}
get stepName() {
return this.getStringAttribute('step_name');
}
set stepName(value) {
this._stepName = value;
}
// Temporarily expose input value. Use with caution.
get stepNameInput() {
return this._stepName;
}
get stepConfigurationDetails() {
return this._stepConfigurationDetails;
}
putStepConfigurationDetails(value) {
this._stepConfigurationDetails.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get stepConfigurationDetailsInput() {
return this._stepConfigurationDetails.internalValue;
}
get stepContainerConfigurationDetails() {
return this._stepContainerConfigurationDetails;
}
putStepContainerConfigurationDetails(value) {
this._stepContainerConfigurationDetails.internalValue = value;
}
resetStepContainerConfigurationDetails() {
this._stepContainerConfigurationDetails.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get stepContainerConfigurationDetailsInput() {
return this._stepContainerConfigurationDetails.internalValue;
}
}
exports.DatasciencePipelineRunStepOverrideDetailsOutputReference = DatasciencePipelineRunStepOverrideDetailsOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunStepOverrideDetailsOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunStepOverrideDetailsOutputReference", version: "1.0.0" };
class DatasciencePipelineRunStepOverrideDetailsList 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 DatasciencePipelineRunStepOverrideDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DatasciencePipelineRunStepOverrideDetailsList = DatasciencePipelineRunStepOverrideDetailsList;
_m = JSII_RTTI_SYMBOL_1;
DatasciencePipelineRunStepOverrideDetailsList[_m] = { fqn: "rhizo-co-terraform-provider-oci.datasciencePipelineRun.DatasciencePipelineRunStepOverrideDetailsList", version: "1.0.0" };
function datasciencePipelineRunTimeoutsToTerraform(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.d