rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
904 lines • 186 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DevopsDeployPipeline = exports.DevopsDeployPipelineTimeoutsOutputReference = exports.devopsDeployPipelineTimeoutsToHclTerraform = exports.devopsDeployPipelineTimeoutsToTerraform = exports.DevopsDeployPipelineDeployPipelineParametersOutputReference = exports.devopsDeployPipelineDeployPipelineParametersToHclTerraform = exports.devopsDeployPipelineDeployPipelineParametersToTerraform = exports.DevopsDeployPipelineDeployPipelineParametersItemsList = exports.DevopsDeployPipelineDeployPipelineParametersItemsOutputReference = exports.devopsDeployPipelineDeployPipelineParametersItemsToHclTerraform = exports.devopsDeployPipelineDeployPipelineParametersItemsToTerraform = exports.DevopsDeployPipelineDeployPipelineEnvironmentsList = exports.DevopsDeployPipelineDeployPipelineEnvironmentsOutputReference = exports.devopsDeployPipelineDeployPipelineEnvironmentsToHclTerraform = exports.devopsDeployPipelineDeployPipelineEnvironmentsToTerraform = exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsList = exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsOutputReference = exports.devopsDeployPipelineDeployPipelineEnvironmentsItemsToHclTerraform = exports.devopsDeployPipelineDeployPipelineEnvironmentsItemsToTerraform = exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesList = exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesOutputReference = exports.devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesToHclTerraform = exports.devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesToTerraform = exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsList = exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsOutputReference = exports.devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsToHclTerraform = exports.devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsToTerraform = exports.DevopsDeployPipelineDeployPipelineArtifactsList = exports.DevopsDeployPipelineDeployPipelineArtifactsOutputReference = exports.devopsDeployPipelineDeployPipelineArtifactsToHclTerraform = exports.devopsDeployPipelineDeployPipelineArtifactsToTerraform = exports.DevopsDeployPipelineDeployPipelineArtifactsItemsList = exports.DevopsDeployPipelineDeployPipelineArtifactsItemsOutputReference = exports.devopsDeployPipelineDeployPipelineArtifactsItemsToHclTerraform = exports.devopsDeployPipelineDeployPipelineArtifactsItemsToTerraform = exports.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesList = exports.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesOutputReference = exports.devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesToHclTerraform = exports.devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesToTerraform = exports.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsList = exports.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsOutputReference = exports.devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsToHclTerraform = exports.devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsToTerraform(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.devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsToTerraform = devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsToTerraform;
function devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsToHclTerraform(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.devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsToHclTerraform = devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsToHclTerraform;
class DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsOutputReference 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;
}
}
// deploy_stage_id - computed: true, optional: false, required: false
get deployStageId() {
return this.getStringAttribute('deploy_stage_id');
}
// display_name - computed: true, optional: false, required: false
get displayName() {
return this.getStringAttribute('display_name');
}
}
exports.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsOutputReference = DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsList 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 DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsList = DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsList;
_b = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsList[_b] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesToTerraform(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.devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesToTerraform = devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesToTerraform;
function devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesToHclTerraform(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.devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesToHclTerraform = devopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesToHclTerraform;
class DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesOutputReference 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 DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesItemsList(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.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesOutputReference = DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesList 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 DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesList = DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesList;
_d = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesList[_d] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineArtifactsItemsToTerraform(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.devopsDeployPipelineDeployPipelineArtifactsItemsToTerraform = devopsDeployPipelineDeployPipelineArtifactsItemsToTerraform;
function devopsDeployPipelineDeployPipelineArtifactsItemsToHclTerraform(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.devopsDeployPipelineDeployPipelineArtifactsItemsToHclTerraform = devopsDeployPipelineDeployPipelineArtifactsItemsToHclTerraform;
class DevopsDeployPipelineDeployPipelineArtifactsItemsOutputReference 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;
// deploy_pipeline_stages - computed: true, optional: false, required: false
this._deployPipelineStages = new DevopsDeployPipelineDeployPipelineArtifactsItemsDeployPipelineStagesList(this, "deploy_pipeline_stages", 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;
}
}
// deploy_artifact_id - computed: true, optional: false, required: false
get deployArtifactId() {
return this.getStringAttribute('deploy_artifact_id');
}
get deployPipelineStages() {
return this._deployPipelineStages;
}
// display_name - computed: true, optional: false, required: false
get displayName() {
return this.getStringAttribute('display_name');
}
}
exports.DevopsDeployPipelineDeployPipelineArtifactsItemsOutputReference = DevopsDeployPipelineDeployPipelineArtifactsItemsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineArtifactsItemsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineArtifactsItemsOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineArtifactsItemsList 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 DevopsDeployPipelineDeployPipelineArtifactsItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineArtifactsItemsList = DevopsDeployPipelineDeployPipelineArtifactsItemsList;
_f = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineArtifactsItemsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineArtifactsItemsList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineArtifactsToTerraform(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.devopsDeployPipelineDeployPipelineArtifactsToTerraform = devopsDeployPipelineDeployPipelineArtifactsToTerraform;
function devopsDeployPipelineDeployPipelineArtifactsToHclTerraform(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.devopsDeployPipelineDeployPipelineArtifactsToHclTerraform = devopsDeployPipelineDeployPipelineArtifactsToHclTerraform;
class DevopsDeployPipelineDeployPipelineArtifactsOutputReference 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 DevopsDeployPipelineDeployPipelineArtifactsItemsList(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.DevopsDeployPipelineDeployPipelineArtifactsOutputReference = DevopsDeployPipelineDeployPipelineArtifactsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineArtifactsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineArtifactsOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineArtifactsList 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 DevopsDeployPipelineDeployPipelineArtifactsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineArtifactsList = DevopsDeployPipelineDeployPipelineArtifactsList;
_h = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineArtifactsList[_h] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineArtifactsList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsToTerraform(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.devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsToTerraform = devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsToTerraform;
function devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsToHclTerraform(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.devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsToHclTerraform = devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsToHclTerraform;
class DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsOutputReference 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;
}
}
// deploy_stage_id - computed: true, optional: false, required: false
get deployStageId() {
return this.getStringAttribute('deploy_stage_id');
}
// display_name - computed: true, optional: false, required: false
get displayName() {
return this.getStringAttribute('display_name');
}
}
exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsOutputReference = DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsList 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 DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsList = DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsList;
_k = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesToTerraform(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.devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesToTerraform = devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesToTerraform;
function devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesToHclTerraform(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.devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesToHclTerraform = devopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesToHclTerraform;
class DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesOutputReference 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 DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesItemsList(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.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesOutputReference = DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesList 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 DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesList = DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesList;
_m = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesList[_m] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineEnvironmentsItemsToTerraform(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.devopsDeployPipelineDeployPipelineEnvironmentsItemsToTerraform = devopsDeployPipelineDeployPipelineEnvironmentsItemsToTerraform;
function devopsDeployPipelineDeployPipelineEnvironmentsItemsToHclTerraform(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.devopsDeployPipelineDeployPipelineEnvironmentsItemsToHclTerraform = devopsDeployPipelineDeployPipelineEnvironmentsItemsToHclTerraform;
class DevopsDeployPipelineDeployPipelineEnvironmentsItemsOutputReference 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;
// deploy_pipeline_stages - computed: true, optional: false, required: false
this._deployPipelineStages = new DevopsDeployPipelineDeployPipelineEnvironmentsItemsDeployPipelineStagesList(this, "deploy_pipeline_stages", 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;
}
}
// deploy_environment_id - computed: true, optional: false, required: false
get deployEnvironmentId() {
return this.getStringAttribute('deploy_environment_id');
}
get deployPipelineStages() {
return this._deployPipelineStages;
}
// display_name - computed: true, optional: false, required: false
get displayName() {
return this.getStringAttribute('display_name');
}
}
exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsOutputReference = DevopsDeployPipelineDeployPipelineEnvironmentsItemsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineEnvironmentsItemsOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineEnvironmentsItemsOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineEnvironmentsItemsList 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 DevopsDeployPipelineDeployPipelineEnvironmentsItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineEnvironmentsItemsList = DevopsDeployPipelineDeployPipelineEnvironmentsItemsList;
_p = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineEnvironmentsItemsList[_p] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineEnvironmentsItemsList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineEnvironmentsToTerraform(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.devopsDeployPipelineDeployPipelineEnvironmentsToTerraform = devopsDeployPipelineDeployPipelineEnvironmentsToTerraform;
function devopsDeployPipelineDeployPipelineEnvironmentsToHclTerraform(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.devopsDeployPipelineDeployPipelineEnvironmentsToHclTerraform = devopsDeployPipelineDeployPipelineEnvironmentsToHclTerraform;
class DevopsDeployPipelineDeployPipelineEnvironmentsOutputReference 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 DevopsDeployPipelineDeployPipelineEnvironmentsItemsList(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.DevopsDeployPipelineDeployPipelineEnvironmentsOutputReference = DevopsDeployPipelineDeployPipelineEnvironmentsOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineEnvironmentsOutputReference[_q] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineEnvironmentsOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineEnvironmentsList 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 DevopsDeployPipelineDeployPipelineEnvironmentsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineEnvironmentsList = DevopsDeployPipelineDeployPipelineEnvironmentsList;
_r = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineEnvironmentsList[_r] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineEnvironmentsList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineParametersItemsToTerraform(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 {
default_value: cdktf.stringToTerraform(struct.defaultValue),
description: cdktf.stringToTerraform(struct.description),
name: cdktf.stringToTerraform(struct.name),
};
}
exports.devopsDeployPipelineDeployPipelineParametersItemsToTerraform = devopsDeployPipelineDeployPipelineParametersItemsToTerraform;
function devopsDeployPipelineDeployPipelineParametersItemsToHclTerraform(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 = {
default_value: {
value: cdktf.stringToHclTerraform(struct.defaultValue),
isBlock: false,
type: "simple",
storageClassType: "string",
},
description: {
value: cdktf.stringToHclTerraform(struct.description),
isBlock: false,
type: "simple",
storageClassType: "string",
},
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.devopsDeployPipelineDeployPipelineParametersItemsToHclTerraform = devopsDeployPipelineDeployPipelineParametersItemsToHclTerraform;
class DevopsDeployPipelineDeployPipelineParametersItemsOutputReference 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._defaultValue !== undefined) {
hasAnyValues = true;
internalValueResult.defaultValue = this._defaultValue;
}
if (this._description !== undefined) {
hasAnyValues = true;
internalValueResult.description = this._description;
}
if (this._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._defaultValue = undefined;
this._description = undefined;
this._name = 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._defaultValue = value.defaultValue;
this._description = value.description;
this._name = value.name;
}
}
get defaultValue() {
return this.getStringAttribute('default_value');
}
set defaultValue(value) {
this._defaultValue = value;
}
resetDefaultValue() {
this._defaultValue = undefined;
}
// Temporarily expose input value. Use with caution.
get defaultValueInput() {
return this._defaultValue;
}
get description() {
return this.getStringAttribute('description');
}
set description(value) {
this._description = value;
}
resetDescription() {
this._description = undefined;
}
// Temporarily expose input value. Use with caution.
get descriptionInput() {
return this._description;
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
}
exports.DevopsDeployPipelineDeployPipelineParametersItemsOutputReference = DevopsDeployPipelineDeployPipelineParametersItemsOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineParametersItemsOutputReference[_s] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineParametersItemsOutputReference", version: "1.0.0" };
class DevopsDeployPipelineDeployPipelineParametersItemsList 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 DevopsDeployPipelineDeployPipelineParametersItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DevopsDeployPipelineDeployPipelineParametersItemsList = DevopsDeployPipelineDeployPipelineParametersItemsList;
_t = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineParametersItemsList[_t] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineParametersItemsList", version: "1.0.0" };
function devopsDeployPipelineDeployPipelineParametersToTerraform(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 {
items: cdktf.listMapper(devopsDeployPipelineDeployPipelineParametersItemsToTerraform, true)(struct.items),
};
}
exports.devopsDeployPipelineDeployPipelineParametersToTerraform = devopsDeployPipelineDeployPipelineParametersToTerraform;
function devopsDeployPipelineDeployPipelineParametersToHclTerraform(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 = {
items: {
value: cdktf.listMapperHcl(devopsDeployPipelineDeployPipelineParametersItemsToHclTerraform, true)(struct.items),
isBlock: true,
type: "list",
storageClassType: "DevopsDeployPipelineDeployPipelineParametersItemsList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.devopsDeployPipelineDeployPipelineParametersToHclTerraform = devopsDeployPipelineDeployPipelineParametersToHclTerraform;
class DevopsDeployPipelineDeployPipelineParametersOutputReference 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;
// items - computed: false, optional: false, required: true
this._items = new DevopsDeployPipelineDeployPipelineParametersItemsList(this, "items", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._items?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.items = this._items?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._items.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._items.internalValue = value.items;
}
}
get items() {
return this._items;
}
putItems(value) {
this._items.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get itemsInput() {
return this._items.internalValue;
}
}
exports.DevopsDeployPipelineDeployPipelineParametersOutputReference = DevopsDeployPipelineDeployPipelineParametersOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DevopsDeployPipelineDeployPipelineParametersOutputReference[_u] = { fqn: "rhizo-co-terraform-provider-oci.devopsDeployPipeline.DevopsDeployPipelineDeployPipelineParametersOutputReference", version: "1.0.0" };
function devopsDeployPipelineTimeoutsToTerraform(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.devopsDeployPipelineTimeoutsToTerraform = devopsDeployPipelineTimeoutsToTerraform;
function devopsDeployPipelineTimeoutsToHclTerraform(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",
},
u