rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
884 lines • 153 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataOciGloballyDistributedDatabaseShardedDatabase = exports.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsList = exports.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsOutputReference = exports.dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsToHclTerraform = exports.dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsToTerraform = exports.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsList = exports.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsOutputReference = exports.dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsToHclTerraform = exports.dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsToTerraform = exports.DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsList = exports.DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsOutputReference = exports.dataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsToHclTerraform = exports.dataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsToTerraform = exports.DataOciGloballyDistributedDatabaseShardedDatabaseGsmsList = exports.DataOciGloballyDistributedDatabaseShardedDatabaseGsmsOutputReference = exports.dataOciGloballyDistributedDatabaseShardedDatabaseGsmsToHclTerraform = exports.dataOciGloballyDistributedDatabaseShardedDatabaseGsmsToTerraform = exports.DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsList = exports.DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsOutputReference = exports.dataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsToHclTerraform = exports.dataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsToTerraform = exports.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsList = exports.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsOutputReference = exports.dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsToHclTerraform = exports.dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsToTerraform = exports.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsList = exports.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsOutputReference = exports.dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsToHclTerraform = exports.dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsToTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsToTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsToTerraform;
function dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsToHclTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsToHclTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsToHclTerraform;
class DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsOutputReference 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;
}
}
// kms_key_id - computed: true, optional: false, required: false
get kmsKeyId() {
return this.getStringAttribute('kms_key_id');
}
// kms_key_version_id - computed: true, optional: false, required: false
get kmsKeyVersionId() {
return this.getStringAttribute('kms_key_version_id');
}
// vault_id - computed: true, optional: false, required: false
get vaultId() {
return this.getStringAttribute('vault_id');
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsOutputReference = DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsOutputReference", version: "1.0.0" };
class DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsList 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 DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsList = DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsList;
_b = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsList", version: "1.0.0" };
function dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsToTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsToTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsToTerraform;
function dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsToHclTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsToHclTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsToHclTerraform;
class DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsOutputReference 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;
// encryption_key_details - computed: true, optional: false, required: false
this._encryptionKeyDetails = new DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsEncryptionKeyDetailsList(this, "encryption_key_details", false);
// metadata - computed: true, optional: false, required: false
this._metadata = new cdktf.StringMap(this, "metadata");
}
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;
}
}
// admin_password - computed: true, optional: false, required: false
get adminPassword() {
return this.getStringAttribute('admin_password');
}
// cloud_autonomous_vm_cluster_id - computed: true, optional: false, required: false
get cloudAutonomousVmClusterId() {
return this.getStringAttribute('cloud_autonomous_vm_cluster_id');
}
// compute_count - computed: true, optional: false, required: false
get computeCount() {
return this.getNumberAttribute('compute_count');
}
// container_database_id - computed: true, optional: false, required: false
get containerDatabaseId() {
return this.getStringAttribute('container_database_id');
}
// container_database_parent_id - computed: true, optional: false, required: false
get containerDatabaseParentId() {
return this.getStringAttribute('container_database_parent_id');
}
// data_storage_size_in_gbs - computed: true, optional: false, required: false
get dataStorageSizeInGbs() {
return this.getNumberAttribute('data_storage_size_in_gbs');
}
get encryptionKeyDetails() {
return this._encryptionKeyDetails;
}
// is_auto_scaling_enabled - computed: true, optional: false, required: false
get isAutoScalingEnabled() {
return this.getBooleanAttribute('is_auto_scaling_enabled');
}
get metadata() {
return this._metadata;
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// peer_cloud_autonomous_vm_cluster_id - computed: true, optional: false, required: false
get peerCloudAutonomousVmClusterId() {
return this.getStringAttribute('peer_cloud_autonomous_vm_cluster_id');
}
// shard_group - computed: true, optional: false, required: false
get shardGroup() {
return this.getStringAttribute('shard_group');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
// supporting_resource_id - computed: true, optional: false, required: false
get supportingResourceId() {
return this.getStringAttribute('supporting_resource_id');
}
// time_created - computed: true, optional: false, required: false
get timeCreated() {
return this.getStringAttribute('time_created');
}
// time_ssl_certificate_expires - computed: true, optional: false, required: false
get timeSslCertificateExpires() {
return this.getStringAttribute('time_ssl_certificate_expires');
}
// time_updated - computed: true, optional: false, required: false
get timeUpdated() {
return this.getStringAttribute('time_updated');
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsOutputReference = DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsOutputReference", version: "1.0.0" };
class DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsList 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 DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsList = DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsList;
_d = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsList", version: "1.0.0" };
function dataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsToTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsToTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsToTerraform;
function dataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsToHclTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsToHclTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsToHclTerraform;
class DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsOutputReference 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;
// all_connection_strings - computed: true, optional: false, required: false
this._allConnectionStrings = new cdktf.StringMap(this, "all_connection_strings");
}
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 allConnectionStrings() {
return this._allConnectionStrings;
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsOutputReference = DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsOutputReference", version: "1.0.0" };
class DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsList 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 DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsList = DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsList;
_f = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsList", version: "1.0.0" };
function dataOciGloballyDistributedDatabaseShardedDatabaseGsmsToTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseGsmsToTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseGsmsToTerraform;
function dataOciGloballyDistributedDatabaseShardedDatabaseGsmsToHclTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseGsmsToHclTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseGsmsToHclTerraform;
class DataOciGloballyDistributedDatabaseShardedDatabaseGsmsOutputReference 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;
// metadata - computed: true, optional: false, required: false
this._metadata = new cdktf.StringMap(this, "metadata");
}
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;
}
}
// compute_count - computed: true, optional: false, required: false
get computeCount() {
return this.getNumberAttribute('compute_count');
}
// data_storage_size_in_gbs - computed: true, optional: false, required: false
get dataStorageSizeInGbs() {
return this.getNumberAttribute('data_storage_size_in_gbs');
}
get metadata() {
return this._metadata;
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
// supporting_resource_id - computed: true, optional: false, required: false
get supportingResourceId() {
return this.getStringAttribute('supporting_resource_id');
}
// time_created - computed: true, optional: false, required: false
get timeCreated() {
return this.getStringAttribute('time_created');
}
// time_ssl_certificate_expires - computed: true, optional: false, required: false
get timeSslCertificateExpires() {
return this.getStringAttribute('time_ssl_certificate_expires');
}
// time_updated - computed: true, optional: false, required: false
get timeUpdated() {
return this.getStringAttribute('time_updated');
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseGsmsOutputReference = DataOciGloballyDistributedDatabaseShardedDatabaseGsmsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseGsmsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseGsmsOutputReference", version: "1.0.0" };
class DataOciGloballyDistributedDatabaseShardedDatabaseGsmsList 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 DataOciGloballyDistributedDatabaseShardedDatabaseGsmsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseGsmsList = DataOciGloballyDistributedDatabaseShardedDatabaseGsmsList;
_h = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseGsmsList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseGsmsList", version: "1.0.0" };
function dataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsToTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsToTerraform = dataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsToTerraform;
function dataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsToHclTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsToHclTerraform = dataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsToHclTerraform;
class DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsOutputReference 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;
}
}
// operation - computed: true, optional: false, required: false
get operation() {
return this.getStringAttribute('operation');
}
// selection - computed: true, optional: false, required: false
get selection() {
return this.getStringAttribute('selection');
}
// value - computed: true, optional: false, required: false
get value() {
return this.getStringAttribute('value');
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsOutputReference = DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsOutputReference", version: "1.0.0" };
class DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsList 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 DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsList = DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsList;
_k = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsList", version: "1.0.0" };
function dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsToTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsToTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsToTerraform;
function dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsToHclTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsToHclTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsToHclTerraform;
class DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsOutputReference 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;
}
}
// kms_key_id - computed: true, optional: false, required: false
get kmsKeyId() {
return this.getStringAttribute('kms_key_id');
}
// kms_key_version_id - computed: true, optional: false, required: false
get kmsKeyVersionId() {
return this.getStringAttribute('kms_key_version_id');
}
// vault_id - computed: true, optional: false, required: false
get vaultId() {
return this.getStringAttribute('vault_id');
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsOutputReference = DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsOutputReference", version: "1.0.0" };
class DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsList 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 DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsList = DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsList;
_m = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsList", version: "1.0.0" };
function dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsToTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsToTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsToTerraform;
function dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsToHclTerraform(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.dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsToHclTerraform = dataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsToHclTerraform;
class DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsOutputReference 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;
// encryption_key_details - computed: true, optional: false, required: false
this._encryptionKeyDetails = new DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsEncryptionKeyDetailsList(this, "encryption_key_details", false);
// metadata - computed: true, optional: false, required: false
this._metadata = new cdktf.StringMap(this, "metadata");
}
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;
}
}
// admin_password - computed: true, optional: false, required: false
get adminPassword() {
return this.getStringAttribute('admin_password');
}
// cloud_autonomous_vm_cluster_id - computed: true, optional: false, required: false
get cloudAutonomousVmClusterId() {
return this.getStringAttribute('cloud_autonomous_vm_cluster_id');
}
// compute_count - computed: true, optional: false, required: false
get computeCount() {
return this.getNumberAttribute('compute_count');
}
// container_database_id - computed: true, optional: false, required: false
get containerDatabaseId() {
return this.getStringAttribute('container_database_id');
}
// container_database_parent_id - computed: true, optional: false, required: false
get containerDatabaseParentId() {
return this.getStringAttribute('container_database_parent_id');
}
// data_storage_size_in_gbs - computed: true, optional: false, required: false
get dataStorageSizeInGbs() {
return this.getNumberAttribute('data_storage_size_in_gbs');
}
get encryptionKeyDetails() {
return this._encryptionKeyDetails;
}
// is_auto_scaling_enabled - computed: true, optional: false, required: false
get isAutoScalingEnabled() {
return this.getBooleanAttribute('is_auto_scaling_enabled');
}
get metadata() {
return this._metadata;
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// peer_cloud_autonomous_vm_cluster_id - computed: true, optional: false, required: false
get peerCloudAutonomousVmClusterId() {
return this.getStringAttribute('peer_cloud_autonomous_vm_cluster_id');
}
// shard_group - computed: true, optional: false, required: false
get shardGroup() {
return this.getStringAttribute('shard_group');
}
// shard_space - computed: true, optional: false, required: false
get shardSpace() {
return this.getStringAttribute('shard_space');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
// supporting_resource_id - computed: true, optional: false, required: false
get supportingResourceId() {
return this.getStringAttribute('supporting_resource_id');
}
// time_created - computed: true, optional: false, required: false
get timeCreated() {
return this.getStringAttribute('time_created');
}
// time_ssl_certificate_expires - computed: true, optional: false, required: false
get timeSslCertificateExpires() {
return this.getStringAttribute('time_ssl_certificate_expires');
}
// time_updated - computed: true, optional: false, required: false
get timeUpdated() {
return this.getStringAttribute('time_updated');
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsOutputReference = DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsOutputReference", version: "1.0.0" };
class DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsList 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 DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsList = DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsList;
_p = JSII_RTTI_SYMBOL_1;
DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciGloballyDistributedDatabaseShardedDatabase.DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsList", version: "1.0.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/globally_distributed_database_sharded_database oci_globally_distributed_database_sharded_database}
*/
class DataOciGloballyDistributedDatabaseShardedDatabase extends cdktf.TerraformDataSource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a DataOciGloballyDistributedDatabaseShardedDatabase resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the DataOciGloballyDistributedDatabaseShardedDatabase to import
* @param importFromId The id of the existing DataOciGloballyDistributedDatabaseShardedDatabase that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/globally_distributed_database_sharded_database#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciGloballyDistributedDatabaseShardedDatabase to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_globally_distributed_database_sharded_database", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/globally_distributed_database_sharded_database oci_globally_distributed_database_sharded_database} Data Source
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options DataOciGloballyDistributedDatabaseShardedDatabaseConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'oci_globally_distributed_database_sharded_database',
terraformGeneratorMetadata: {
providerName: 'oci',
providerVersion: '6.18.0',
providerVersionConstraint: '~> 6.18.0'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
// catalog_details - computed: true, optional: false, required: false
this._catalogDetails = new DataOciGloballyDistributedDatabaseShardedDatabaseCatalogDetailsList(this, "catalog_details", false);
// connection_strings - computed: true, optional: false, required: false
this._connectionStrings = new DataOciGloballyDistributedDatabaseShardedDatabaseConnectionStringsList(this, "connection_strings", false);
// defined_tags - computed: true, optional: false, required: false
this._definedTags = new cdktf.StringMap(this, "defined_tags");
// freeform_tags - computed: true, optional: false, required: false
this._freeformTags = new cdktf.StringMap(this, "freeform_tags");
// gsms - computed: true, optional: false, required: false
this._gsms = new DataOciGloballyDistributedDatabaseShardedDatabaseGsmsList(this, "gsms", false);
// patch_operations - computed: true, optional: false, required: false
this._patchOperations = new DataOciGloballyDistributedDatabaseShardedDatabasePatchOperationsList(this, "patch_operations", false);
// shard_details - computed: true, optional: false, required: false
this._shardDetails = new DataOciGloballyDistributedDatabaseShardedDatabaseShardDetailsList(this, "shard_details", false);
// system_tags - computed: true, optional: false, required: false
this._systemTags = new cdktf.StringMap(this, "system_tags");
this._metadata = config.metadata;
this._shardedDatabaseId = config.shardedDatabaseId;
}
// ==========
// ATTRIBUTES
// ==========
// ca_signed_certificate - computed: true, optional: false, required: false
get caSignedCertificate() {
return this.getStringAttribute('ca_signed_certificate');
}
get catalogDetails() {
return this._catalogDetails;
}
// character_set - computed: true, optional: false, required: false
get characterSet() {
return this.getStringAttribute('character_set');
}
// chunks - computed: true, optional: false, required: false
get chunks() {
return this.getNumberAttribute('chunks');
}
// cluster_certificate_common_name - computed: true, optional: false, required: false
get clusterCertificateCommonName() {
return this.getStringAttribute('cluster_certificate_common_name');
}
// compartment_id - computed: true, optional: false, required: false
get compartmentId() {
return this.getStringAttribute('compartment_id');
}
// configure_gsms_trigger - computed: true, optional: false, required: false
get configureGsmsTrigger() {
return this.getNumberAttribute('configure_gsms_trigger');
}
// configure_gsms_trigger_is_latest_gsm_image - computed: true, optional: false, required: false
get configureGsmsTriggerIsLatestGsmImage() {
return this.getBooleanAttribute('configure_gsms_trigger_is_latest_gsm_image');
}
// configure_gsms_trigger_old_gsm_names - computed: true, optional: false, required: false
get configureGsmsTriggerOldGsmNames() {
return this.getListAttribute('configure_gsms_trigger_old_gsm_names');
}
// configure_sharding_trigger - computed: true, optional: false, required: false
get configureShardingTrigger() {
return this.getNumberAttribute('configure_sharding_trigger');
}
get connectionStrings() {
return this._connectionStrings;
}
// db_deployment_type - computed: true, optional: false, required: false
get dbDeploymentType() {
return this.getStringAttribute('db_deployment_type');
}
// db_version - computed: true, optional: false, required: false
get dbVersion() {
return this.getStringAttribute('db_version');
}
// db_workload - computed: true, optional: false, required: false
get dbWorkload() {
return this.getStringAttribute('db_workload');
}
get definedTags() {
return this._definedTags;
}
// display_name - computed: true, optional: false, required: false
get displayName() {
return this.getStringAttribute('display_name');
}
// download_gsm_certificate_signing_request_trigger - computed: true, optional: false, required: false
get downloadGsmCertificateSigningRequestTrigger() {
return this.getNumberAttribute('download_gsm_certificate_signing_request_trigger');
}
get freeformTags() {
return this._freeformTags;
}
// generate_gsm_certificate_signing_request_trigger - computed: true, optional: false, required: false
get generateGsmCertificateSigningRequestTrigger() {
return this.getNumberAttribute('generate_gsm_certificate_signing_request_trigger');
}
// generate_wallet_password - computed: true, optional: false, required: false
get generateWalletPassword() {
return this.getStringAttribute('generate_wallet_password');
}
// generate_wallet_trigger - computed: true, optional: false, required: false
get generateWalletTrigger() {
return this.getNumberAttribute('generate_wallet_trigger');
}
// get_connection_string_trigger - computed: true, optional: false, required: false
get fetchConnectionStringTrigger() {
return this.getNumberAttribute('get_connection_string_trigger');
}
get gsms() {
return this._gsms;
}
// id - computed: true, optional: false, required: false
get id() {
return this.getStringAttribute('id');
}
// lifecycle_state - computed: true, optional: false, required: false
get lifecycleState() {
return