UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

1,107 lines 586 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4; Object.defineProperty(exports, "__esModule", { value: true }); exports.databaseMigrationMigrationIncludeObjectsToHclTerraform = exports.databaseMigrationMigrationIncludeObjectsToTerraform = exports.DatabaseMigrationMigrationHubDetailsOutputReference = exports.databaseMigrationMigrationHubDetailsToHclTerraform = exports.databaseMigrationMigrationHubDetailsToTerraform = exports.DatabaseMigrationMigrationHubDetailsRestAdminCredentialsOutputReference = exports.databaseMigrationMigrationHubDetailsRestAdminCredentialsToHclTerraform = exports.databaseMigrationMigrationHubDetailsRestAdminCredentialsToTerraform = exports.DatabaseMigrationMigrationHubDetailsReplicatOutputReference = exports.databaseMigrationMigrationHubDetailsReplicatToHclTerraform = exports.databaseMigrationMigrationHubDetailsReplicatToTerraform = exports.DatabaseMigrationMigrationHubDetailsExtractOutputReference = exports.databaseMigrationMigrationHubDetailsExtractToHclTerraform = exports.databaseMigrationMigrationHubDetailsExtractToTerraform = exports.DatabaseMigrationMigrationGgsDetailsOutputReference = exports.databaseMigrationMigrationGgsDetailsToHclTerraform = exports.databaseMigrationMigrationGgsDetailsToTerraform = exports.DatabaseMigrationMigrationGgsDetailsReplicatOutputReference = exports.databaseMigrationMigrationGgsDetailsReplicatToHclTerraform = exports.databaseMigrationMigrationGgsDetailsReplicatToTerraform = exports.DatabaseMigrationMigrationGgsDetailsExtractOutputReference = exports.databaseMigrationMigrationGgsDetailsExtractToHclTerraform = exports.databaseMigrationMigrationGgsDetailsExtractToTerraform = exports.DatabaseMigrationMigrationGgsDetailsGgsDeploymentList = exports.DatabaseMigrationMigrationGgsDetailsGgsDeploymentOutputReference = exports.databaseMigrationMigrationGgsDetailsGgsDeploymentToHclTerraform = exports.databaseMigrationMigrationGgsDetailsGgsDeploymentToTerraform = exports.DatabaseMigrationMigrationExcludeObjectsList = exports.DatabaseMigrationMigrationExcludeObjectsOutputReference = exports.databaseMigrationMigrationExcludeObjectsToHclTerraform = exports.databaseMigrationMigrationExcludeObjectsToTerraform = exports.DatabaseMigrationMigrationDataTransferMediumDetailsOutputReference = exports.databaseMigrationMigrationDataTransferMediumDetailsToHclTerraform = exports.databaseMigrationMigrationDataTransferMediumDetailsToTerraform = exports.DatabaseMigrationMigrationDataTransferMediumDetailsTargetOutputReference = exports.databaseMigrationMigrationDataTransferMediumDetailsTargetToHclTerraform = exports.databaseMigrationMigrationDataTransferMediumDetailsTargetToTerraform = exports.DatabaseMigrationMigrationDataTransferMediumDetailsSourceOutputReference = exports.databaseMigrationMigrationDataTransferMediumDetailsSourceToHclTerraform = exports.databaseMigrationMigrationDataTransferMediumDetailsSourceToTerraform = exports.DatabaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketOutputReference = exports.databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToHclTerraform = exports.databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToTerraform = exports.DatabaseMigrationMigrationAdvisorSettingsOutputReference = exports.databaseMigrationMigrationAdvisorSettingsToHclTerraform = exports.databaseMigrationMigrationAdvisorSettingsToTerraform = exports.DatabaseMigrationMigrationAdvancedParametersList = exports.DatabaseMigrationMigrationAdvancedParametersOutputReference = exports.databaseMigrationMigrationAdvancedParametersToHclTerraform = exports.databaseMigrationMigrationAdvancedParametersToTerraform = void 0; exports.DatabaseMigrationMigration = exports.DatabaseMigrationMigrationTimeoutsOutputReference = exports.databaseMigrationMigrationTimeoutsToHclTerraform = exports.databaseMigrationMigrationTimeoutsToTerraform = exports.DatabaseMigrationMigrationInitialLoadSettingsOutputReference = exports.databaseMigrationMigrationInitialLoadSettingsToHclTerraform = exports.databaseMigrationMigrationInitialLoadSettingsToTerraform = exports.DatabaseMigrationMigrationInitialLoadSettingsTablespaceDetailsOutputReference = exports.databaseMigrationMigrationInitialLoadSettingsTablespaceDetailsToHclTerraform = exports.databaseMigrationMigrationInitialLoadSettingsTablespaceDetailsToTerraform = exports.DatabaseMigrationMigrationInitialLoadSettingsMetadataRemapsList = exports.DatabaseMigrationMigrationInitialLoadSettingsMetadataRemapsOutputReference = exports.databaseMigrationMigrationInitialLoadSettingsMetadataRemapsToHclTerraform = exports.databaseMigrationMigrationInitialLoadSettingsMetadataRemapsToTerraform = exports.DatabaseMigrationMigrationInitialLoadSettingsImportDirectoryObjectOutputReference = exports.databaseMigrationMigrationInitialLoadSettingsImportDirectoryObjectToHclTerraform = exports.databaseMigrationMigrationInitialLoadSettingsImportDirectoryObjectToTerraform = exports.DatabaseMigrationMigrationInitialLoadSettingsExportDirectoryObjectOutputReference = exports.databaseMigrationMigrationInitialLoadSettingsExportDirectoryObjectToHclTerraform = exports.databaseMigrationMigrationInitialLoadSettingsExportDirectoryObjectToTerraform = exports.DatabaseMigrationMigrationInitialLoadSettingsDataPumpParametersOutputReference = exports.databaseMigrationMigrationInitialLoadSettingsDataPumpParametersToHclTerraform = exports.databaseMigrationMigrationInitialLoadSettingsDataPumpParametersToTerraform = exports.DatabaseMigrationMigrationIncludeObjectsList = exports.DatabaseMigrationMigrationIncludeObjectsOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function databaseMigrationMigrationAdvancedParametersToTerraform(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 { data_type: cdktf.stringToTerraform(struct.dataType), name: cdktf.stringToTerraform(struct.name), value: cdktf.stringToTerraform(struct.value), }; } exports.databaseMigrationMigrationAdvancedParametersToTerraform = databaseMigrationMigrationAdvancedParametersToTerraform; function databaseMigrationMigrationAdvancedParametersToHclTerraform(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 = { data_type: { value: cdktf.stringToHclTerraform(struct.dataType), isBlock: false, type: "simple", storageClassType: "string", }, 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.databaseMigrationMigrationAdvancedParametersToHclTerraform = databaseMigrationMigrationAdvancedParametersToHclTerraform; class DatabaseMigrationMigrationAdvancedParametersOutputReference 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._dataType !== undefined) { hasAnyValues = true; internalValueResult.dataType = this._dataType; } 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._dataType = 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._dataType = value.dataType; this._name = value.name; this._value = value.value; } } get dataType() { return this.getStringAttribute('data_type'); } set dataType(value) { this._dataType = value; } resetDataType() { this._dataType = undefined; } // Temporarily expose input value. Use with caution. get dataTypeInput() { return this._dataType; } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } resetName() { this._name = undefined; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } get value() { return this.getStringAttribute('value'); } set value(value) { this._value = value; } resetValue() { this._value = undefined; } // Temporarily expose input value. Use with caution. get valueInput() { return this._value; } } exports.DatabaseMigrationMigrationAdvancedParametersOutputReference = DatabaseMigrationMigrationAdvancedParametersOutputReference; _a = JSII_RTTI_SYMBOL_1; DatabaseMigrationMigrationAdvancedParametersOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.databaseMigrationMigration.DatabaseMigrationMigrationAdvancedParametersOutputReference", version: "1.0.0" }; class DatabaseMigrationMigrationAdvancedParametersList 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 DatabaseMigrationMigrationAdvancedParametersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DatabaseMigrationMigrationAdvancedParametersList = DatabaseMigrationMigrationAdvancedParametersList; _b = JSII_RTTI_SYMBOL_1; DatabaseMigrationMigrationAdvancedParametersList[_b] = { fqn: "rhizo-co-terraform-provider-oci.databaseMigrationMigration.DatabaseMigrationMigrationAdvancedParametersList", version: "1.0.0" }; function databaseMigrationMigrationAdvisorSettingsToTerraform(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 { is_ignore_errors: cdktf.booleanToTerraform(struct.isIgnoreErrors), is_skip_advisor: cdktf.booleanToTerraform(struct.isSkipAdvisor), }; } exports.databaseMigrationMigrationAdvisorSettingsToTerraform = databaseMigrationMigrationAdvisorSettingsToTerraform; function databaseMigrationMigrationAdvisorSettingsToHclTerraform(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 = { is_ignore_errors: { value: cdktf.booleanToHclTerraform(struct.isIgnoreErrors), isBlock: false, type: "simple", storageClassType: "boolean", }, is_skip_advisor: { value: cdktf.booleanToHclTerraform(struct.isSkipAdvisor), isBlock: false, type: "simple", storageClassType: "boolean", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.databaseMigrationMigrationAdvisorSettingsToHclTerraform = databaseMigrationMigrationAdvisorSettingsToHclTerraform; class DatabaseMigrationMigrationAdvisorSettingsOutputReference 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._isIgnoreErrors !== undefined) { hasAnyValues = true; internalValueResult.isIgnoreErrors = this._isIgnoreErrors; } if (this._isSkipAdvisor !== undefined) { hasAnyValues = true; internalValueResult.isSkipAdvisor = this._isSkipAdvisor; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._isIgnoreErrors = undefined; this._isSkipAdvisor = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._isIgnoreErrors = value.isIgnoreErrors; this._isSkipAdvisor = value.isSkipAdvisor; } } get isIgnoreErrors() { return this.getBooleanAttribute('is_ignore_errors'); } set isIgnoreErrors(value) { this._isIgnoreErrors = value; } resetIsIgnoreErrors() { this._isIgnoreErrors = undefined; } // Temporarily expose input value. Use with caution. get isIgnoreErrorsInput() { return this._isIgnoreErrors; } get isSkipAdvisor() { return this.getBooleanAttribute('is_skip_advisor'); } set isSkipAdvisor(value) { this._isSkipAdvisor = value; } resetIsSkipAdvisor() { this._isSkipAdvisor = undefined; } // Temporarily expose input value. Use with caution. get isSkipAdvisorInput() { return this._isSkipAdvisor; } } exports.DatabaseMigrationMigrationAdvisorSettingsOutputReference = DatabaseMigrationMigrationAdvisorSettingsOutputReference; _c = JSII_RTTI_SYMBOL_1; DatabaseMigrationMigrationAdvisorSettingsOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.databaseMigrationMigration.DatabaseMigrationMigrationAdvisorSettingsOutputReference", version: "1.0.0" }; function databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToTerraform(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 { bucket: cdktf.stringToTerraform(struct.bucket), namespace: cdktf.stringToTerraform(struct.namespace), }; } exports.databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToTerraform = databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToTerraform; function databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToHclTerraform(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 = { bucket: { value: cdktf.stringToHclTerraform(struct.bucket), isBlock: false, type: "simple", storageClassType: "string", }, namespace: { value: cdktf.stringToHclTerraform(struct.namespace), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToHclTerraform = databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToHclTerraform; class DatabaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketOutputReference 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._bucket !== undefined) { hasAnyValues = true; internalValueResult.bucket = this._bucket; } if (this._namespace !== undefined) { hasAnyValues = true; internalValueResult.namespace = this._namespace; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._bucket = undefined; this._namespace = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._bucket = value.bucket; this._namespace = value.namespace; } } get bucket() { return this.getStringAttribute('bucket'); } set bucket(value) { this._bucket = value; } resetBucket() { this._bucket = undefined; } // Temporarily expose input value. Use with caution. get bucketInput() { return this._bucket; } get namespace() { return this.getStringAttribute('namespace'); } set namespace(value) { this._namespace = value; } resetNamespace() { this._namespace = undefined; } // Temporarily expose input value. Use with caution. get namespaceInput() { return this._namespace; } } exports.DatabaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketOutputReference = DatabaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketOutputReference; _d = JSII_RTTI_SYMBOL_1; DatabaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketOutputReference[_d] = { fqn: "rhizo-co-terraform-provider-oci.databaseMigrationMigration.DatabaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketOutputReference", version: "1.0.0" }; function databaseMigrationMigrationDataTransferMediumDetailsSourceToTerraform(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 { kind: cdktf.stringToTerraform(struct.kind), oci_home: cdktf.stringToTerraform(struct.ociHome), wallet_location: cdktf.stringToTerraform(struct.walletLocation), }; } exports.databaseMigrationMigrationDataTransferMediumDetailsSourceToTerraform = databaseMigrationMigrationDataTransferMediumDetailsSourceToTerraform; function databaseMigrationMigrationDataTransferMediumDetailsSourceToHclTerraform(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 = { kind: { value: cdktf.stringToHclTerraform(struct.kind), isBlock: false, type: "simple", storageClassType: "string", }, oci_home: { value: cdktf.stringToHclTerraform(struct.ociHome), isBlock: false, type: "simple", storageClassType: "string", }, wallet_location: { value: cdktf.stringToHclTerraform(struct.walletLocation), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.databaseMigrationMigrationDataTransferMediumDetailsSourceToHclTerraform = databaseMigrationMigrationDataTransferMediumDetailsSourceToHclTerraform; class DatabaseMigrationMigrationDataTransferMediumDetailsSourceOutputReference 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._kind !== undefined) { hasAnyValues = true; internalValueResult.kind = this._kind; } if (this._ociHome !== undefined) { hasAnyValues = true; internalValueResult.ociHome = this._ociHome; } if (this._walletLocation !== undefined) { hasAnyValues = true; internalValueResult.walletLocation = this._walletLocation; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._kind = undefined; this._ociHome = undefined; this._walletLocation = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._kind = value.kind; this._ociHome = value.ociHome; this._walletLocation = value.walletLocation; } } get kind() { return this.getStringAttribute('kind'); } set kind(value) { this._kind = value; } // Temporarily expose input value. Use with caution. get kindInput() { return this._kind; } get ociHome() { return this.getStringAttribute('oci_home'); } set ociHome(value) { this._ociHome = value; } resetOciHome() { this._ociHome = undefined; } // Temporarily expose input value. Use with caution. get ociHomeInput() { return this._ociHome; } get walletLocation() { return this.getStringAttribute('wallet_location'); } set walletLocation(value) { this._walletLocation = value; } resetWalletLocation() { this._walletLocation = undefined; } // Temporarily expose input value. Use with caution. get walletLocationInput() { return this._walletLocation; } } exports.DatabaseMigrationMigrationDataTransferMediumDetailsSourceOutputReference = DatabaseMigrationMigrationDataTransferMediumDetailsSourceOutputReference; _e = JSII_RTTI_SYMBOL_1; DatabaseMigrationMigrationDataTransferMediumDetailsSourceOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.databaseMigrationMigration.DatabaseMigrationMigrationDataTransferMediumDetailsSourceOutputReference", version: "1.0.0" }; function databaseMigrationMigrationDataTransferMediumDetailsTargetToTerraform(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 { kind: cdktf.stringToTerraform(struct.kind), oci_home: cdktf.stringToTerraform(struct.ociHome), wallet_location: cdktf.stringToTerraform(struct.walletLocation), }; } exports.databaseMigrationMigrationDataTransferMediumDetailsTargetToTerraform = databaseMigrationMigrationDataTransferMediumDetailsTargetToTerraform; function databaseMigrationMigrationDataTransferMediumDetailsTargetToHclTerraform(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 = { kind: { value: cdktf.stringToHclTerraform(struct.kind), isBlock: false, type: "simple", storageClassType: "string", }, oci_home: { value: cdktf.stringToHclTerraform(struct.ociHome), isBlock: false, type: "simple", storageClassType: "string", }, wallet_location: { value: cdktf.stringToHclTerraform(struct.walletLocation), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.databaseMigrationMigrationDataTransferMediumDetailsTargetToHclTerraform = databaseMigrationMigrationDataTransferMediumDetailsTargetToHclTerraform; class DatabaseMigrationMigrationDataTransferMediumDetailsTargetOutputReference 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._kind !== undefined) { hasAnyValues = true; internalValueResult.kind = this._kind; } if (this._ociHome !== undefined) { hasAnyValues = true; internalValueResult.ociHome = this._ociHome; } if (this._walletLocation !== undefined) { hasAnyValues = true; internalValueResult.walletLocation = this._walletLocation; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._kind = undefined; this._ociHome = undefined; this._walletLocation = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._kind = value.kind; this._ociHome = value.ociHome; this._walletLocation = value.walletLocation; } } get kind() { return this.getStringAttribute('kind'); } set kind(value) { this._kind = value; } // Temporarily expose input value. Use with caution. get kindInput() { return this._kind; } get ociHome() { return this.getStringAttribute('oci_home'); } set ociHome(value) { this._ociHome = value; } resetOciHome() { this._ociHome = undefined; } // Temporarily expose input value. Use with caution. get ociHomeInput() { return this._ociHome; } get walletLocation() { return this.getStringAttribute('wallet_location'); } set walletLocation(value) { this._walletLocation = value; } resetWalletLocation() { this._walletLocation = undefined; } // Temporarily expose input value. Use with caution. get walletLocationInput() { return this._walletLocation; } } exports.DatabaseMigrationMigrationDataTransferMediumDetailsTargetOutputReference = DatabaseMigrationMigrationDataTransferMediumDetailsTargetOutputReference; _f = JSII_RTTI_SYMBOL_1; DatabaseMigrationMigrationDataTransferMediumDetailsTargetOutputReference[_f] = { fqn: "rhizo-co-terraform-provider-oci.databaseMigrationMigration.DatabaseMigrationMigrationDataTransferMediumDetailsTargetOutputReference", version: "1.0.0" }; function databaseMigrationMigrationDataTransferMediumDetailsToTerraform(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 { access_key_id: cdktf.stringToTerraform(struct.accessKeyId), name: cdktf.stringToTerraform(struct.name), region: cdktf.stringToTerraform(struct.region), secret_access_key: cdktf.stringToTerraform(struct.secretAccessKey), shared_storage_mount_target_id: cdktf.stringToTerraform(struct.sharedStorageMountTargetId), type: cdktf.stringToTerraform(struct.type), object_storage_bucket: databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToTerraform(struct.objectStorageBucket), source: databaseMigrationMigrationDataTransferMediumDetailsSourceToTerraform(struct.source), target: databaseMigrationMigrationDataTransferMediumDetailsTargetToTerraform(struct.target), }; } exports.databaseMigrationMigrationDataTransferMediumDetailsToTerraform = databaseMigrationMigrationDataTransferMediumDetailsToTerraform; function databaseMigrationMigrationDataTransferMediumDetailsToHclTerraform(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 = { access_key_id: { value: cdktf.stringToHclTerraform(struct.accessKeyId), isBlock: false, type: "simple", storageClassType: "string", }, name: { value: cdktf.stringToHclTerraform(struct.name), isBlock: false, type: "simple", storageClassType: "string", }, region: { value: cdktf.stringToHclTerraform(struct.region), isBlock: false, type: "simple", storageClassType: "string", }, secret_access_key: { value: cdktf.stringToHclTerraform(struct.secretAccessKey), isBlock: false, type: "simple", storageClassType: "string", }, shared_storage_mount_target_id: { value: cdktf.stringToHclTerraform(struct.sharedStorageMountTargetId), isBlock: false, type: "simple", storageClassType: "string", }, type: { value: cdktf.stringToHclTerraform(struct.type), isBlock: false, type: "simple", storageClassType: "string", }, object_storage_bucket: { value: databaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketToHclTerraform(struct.objectStorageBucket), isBlock: true, type: "list", storageClassType: "DatabaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketList", }, source: { value: databaseMigrationMigrationDataTransferMediumDetailsSourceToHclTerraform(struct.source), isBlock: true, type: "list", storageClassType: "DatabaseMigrationMigrationDataTransferMediumDetailsSourceList", }, target: { value: databaseMigrationMigrationDataTransferMediumDetailsTargetToHclTerraform(struct.target), isBlock: true, type: "list", storageClassType: "DatabaseMigrationMigrationDataTransferMediumDetailsTargetList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.databaseMigrationMigrationDataTransferMediumDetailsToHclTerraform = databaseMigrationMigrationDataTransferMediumDetailsToHclTerraform; class DatabaseMigrationMigrationDataTransferMediumDetailsOutputReference 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; // object_storage_bucket - computed: false, optional: true, required: false this._objectStorageBucket = new DatabaseMigrationMigrationDataTransferMediumDetailsObjectStorageBucketOutputReference(this, "object_storage_bucket"); // source - computed: false, optional: true, required: false this._source = new DatabaseMigrationMigrationDataTransferMediumDetailsSourceOutputReference(this, "source"); // target - computed: false, optional: true, required: false this._target = new DatabaseMigrationMigrationDataTransferMediumDetailsTargetOutputReference(this, "target"); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._accessKeyId !== undefined) { hasAnyValues = true; internalValueResult.accessKeyId = this._accessKeyId; } if (this._name !== undefined) { hasAnyValues = true; internalValueResult.name = this._name; } if (this._region !== undefined) { hasAnyValues = true; internalValueResult.region = this._region; } if (this._secretAccessKey !== undefined) { hasAnyValues = true; internalValueResult.secretAccessKey = this._secretAccessKey; } if (this._sharedStorageMountTargetId !== undefined) { hasAnyValues = true; internalValueResult.sharedStorageMountTargetId = this._sharedStorageMountTargetId; } if (this._type !== undefined) { hasAnyValues = true; internalValueResult.type = this._type; } if (this._objectStorageBucket?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.objectStorageBucket = this._objectStorageBucket?.internalValue; } if (this._source?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.source = this._source?.internalValue; } if (this._target?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.target = this._target?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._accessKeyId = undefined; this._name = undefined; this._region = undefined; this._secretAccessKey = undefined; this._sharedStorageMountTargetId = undefined; this._type = undefined; this._objectStorageBucket.internalValue = undefined; this._source.internalValue = undefined; this._target.internalValue = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._accessKeyId = value.accessKeyId; this._name = value.name; this._region = value.region; this._secretAccessKey = value.secretAccessKey; this._sharedStorageMountTargetId = value.sharedStorageMountTargetId; this._type = value.type; this._objectStorageBucket.internalValue = value.objectStorageBucket; this._source.internalValue = value.source; this._target.internalValue = value.target; } } get accessKeyId() { return this.getStringAttribute('access_key_id'); } set accessKeyId(value) { this._accessKeyId = value; } resetAccessKeyId() { this._accessKeyId = undefined; } // Temporarily expose input value. Use with caution. get accessKeyIdInput() { return this._accessKeyId; } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } resetName() { this._name = undefined; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } get region() { return this.getStringAttribute('region'); } set region(value) { this._region = value; } resetRegion() { this._region = undefined; } // Temporarily expose input value. Use with caution. get regionInput() { return this._region; } get secretAccessKey() { return this.getStringAttribute('secret_access_key'); } set secretAccessKey(value) { this._secretAccessKey = value; } resetSecretAccessKey() { this._secretAccessKey = undefined; } // Temporarily expose input value. Use with caution. get secretAccessKeyInput() { return this._secretAccessKey; } get sharedStorageMountTargetId() { return this.getStringAttribute('shared_storage_mount_target_id'); } set sharedStorageMountTargetId(value) { this._sharedStorageMountTargetId = value; } resetSharedStorageMountTargetId() { this._sharedStorageMountTargetId = undefined; } // Temporarily expose input value. Use with caution. get sharedStorageMountTargetIdInput() { return this._sharedStorageMountTargetId; } get type() { return this.getStringAttribute('type'); } set type(value) { this._type = value; } // Temporarily expose input value. Use with caution. get typeInput() { return this._type; } get objectStorageBucket() { return this._objectStorageBucket; } putObjectStorageBucket(value) { this._objectStorageBucket.internalValue = value; } resetObjectStorageBucket() { this._objectStorageBucket.internalValue = undefined; } // Temporarily expose input value. Use with caution. get objectStorageBucketInput() { return this._objectStorageBucket.internalValue; } get source() { return this._source; } putSource(value) { this._source.internalValue = value; } resetSource() { this._source.internalValue = undefined; } // Temporarily expose input value. Use with caution. get sourceInput() { return this._source.internalValue; } get target() { return this._target; } putTarget(value) { this._target.internalValue = value; } resetTarget() { this._target.internalValue = undefined; } // Temporarily expose input value. Use with caution. get targetInput() { return this._target.internalValue; } } exports.DatabaseMigrationMigrationDataTransferMediumDetailsOutputReference = DatabaseMigrationMigrationDataTransferMediumDetailsOutputReference; _g = JSII_RTTI_SYMBOL_1; DatabaseMigrationMigrationDataTransferMediumDetailsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.databaseMigrationMigration.DatabaseMigrationMigrationDataTransferMediumDetailsOutputReference", version: "1.0.0" }; function databaseMigrationMigrationExcludeObjectsToTerraform(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 { is_omit_excluded_table_from_replication: cdktf.booleanToTerraform(struct.isOmitExcludedTableFromReplication), object: cdktf.stringToTerraform(struct.object), owner: cdktf.stringToTerraform(struct.owner), schema: cdktf.stringToTerraform(struct.schema), type: cdktf.stringToTerraform(struct.type), }; } exports.databaseMigrationMigrationExcludeObjectsToTerraform = databaseMigrationMigrationExcludeObjectsToTerraform; function databaseMigrationMigrationExcludeObjectsToHclTerraform(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 = { is_omit_excluded_table_from_replication: { value: cdktf.booleanToHclTerraform(struct.isOmitExcludedTableFromReplication), isBlock: false, type: "simple", storageClassType: "boolean", }, object: { value: cdktf.stringToHclTerraform(struct.object), isBlock: false, type: "simple", storageClassType: "string", }, owner: { value: cdktf.stringToHclTerraform(struct.owner), isBlock: false, type: "simple", storageClassType: "string", }, schema: { value: cdktf.stringToHclTerraform(struct.schema), 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.databaseMigrationMigrationExcludeObjectsToHclTerraform = databaseMigrationMigrationExcludeObjectsToHclTerraform; class DatabaseMigrationMigrationExcludeObjectsOutputReference 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._isOmitExcludedTableFromReplication !== undefined) { hasAnyValues = true; internalValueResult.isOmitExcludedTableFromReplication = this._isOmitExcludedTableFromReplication; } if (this._object !== undefined) { hasAnyValues = true; internalValueResult.object = this._object; } if (this._owner !== undefined) { hasAnyValues = true; internalValueResult.owner = this._owner; } if (this._schema !== undefined) { hasAnyValues = true; internalValueResult.schema = this._schema; } if (this._type !== undefined) { hasAnyValues = true; internalValueResult.type = this._type; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._isOmitExcludedTableFromReplication = undefined; this._object = undefined; this._owner = undefined; this._schema = undefined; this._type = 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._isOmitExcludedTableFromReplication = value.isOmitExcludedTableFromReplication; this._object = value.object; this._owner = value.owner; this._schema = value.schema; this._type = value.type; } } get isOmitExcludedTableFromReplication() { return this.getBooleanAttribute('is_omit_excluded_table_from_replication'); } set isOmitExcludedTableFromReplication(value) { this._isOmitExcludedTableFromReplication = value; } resetIsOmitExcludedTableFromReplication() { this._isOmitExcludedTableFromReplication = undefined; } // Temporarily expose input value. Use with caution. get isOmitExcludedTableFromReplicationInput() { return this._isOmitExcludedTableFromReplication; } get object() { return this.getStringAttribute('object'); } set object(value) { this._object = value; } // Temporarily expose input value. Use with caution. get objectInput() { return this._object; } get owner() { return this.getStringAttribute('owner'); } set owner(value) { this._owner = value; } resetOwner() { this._owner = undefined; } // Temporarily expose input value. Use with caution. get ownerInput() { return this._owner; } get schema() { return this.getStringAttribute('schema'); } set schema(value) { this._schema = value; } resetSchema() { this._schema = undefined; } // Temporarily expose input value. Use with caution. get schemaInput() { return this._schema; } 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; } } exports.DatabaseMigrationMigrationExcludeObjectsOutputReference = DatabaseMigrationMigrationExcludeObjectsOutputReference; _h = JSII_RTTI_SYMBOL_1; DatabaseMigrationMigrationExcludeObjectsOutputReference[_h] = { fqn: "rhizo-co-terraform-provider-oci.databaseMigrationMigration.DatabaseMigrationMigrationExcludeObjectsOutputReference", version: "1.0.0" }; class DatabaseMigrationMigrationExcludeObjectsList 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 = terrafo