@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
830 lines • 331 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, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataGoogleSqlDatabaseInstanceSettingsInsightsConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsInsightsConfigToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodList = exports.DataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsList = exports.DataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsDataCacheConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsDataCacheConfigOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationList = exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsList = exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList = exports.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToTerraform = exports.DataGoogleSqlDatabaseInstanceServerCaCertList = exports.DataGoogleSqlDatabaseInstanceServerCaCertOutputReference = exports.dataGoogleSqlDatabaseInstanceServerCaCertToHclTerraform = exports.dataGoogleSqlDatabaseInstanceServerCaCertToTerraform = exports.DataGoogleSqlDatabaseInstanceRestoreBackupContextList = exports.DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference = exports.dataGoogleSqlDatabaseInstanceRestoreBackupContextToHclTerraform = exports.dataGoogleSqlDatabaseInstanceRestoreBackupContextToTerraform = exports.DataGoogleSqlDatabaseInstanceReplicaConfigurationList = exports.DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference = exports.dataGoogleSqlDatabaseInstanceReplicaConfigurationToHclTerraform = exports.dataGoogleSqlDatabaseInstanceReplicaConfigurationToTerraform = exports.DataGoogleSqlDatabaseInstanceIpAddressList = exports.DataGoogleSqlDatabaseInstanceIpAddressOutputReference = exports.dataGoogleSqlDatabaseInstanceIpAddressToHclTerraform = exports.dataGoogleSqlDatabaseInstanceIpAddressToTerraform = exports.DataGoogleSqlDatabaseInstanceCloneList = exports.DataGoogleSqlDatabaseInstanceCloneOutputReference = exports.dataGoogleSqlDatabaseInstanceCloneToHclTerraform = exports.dataGoogleSqlDatabaseInstanceCloneToTerraform = void 0;
exports.DataGoogleSqlDatabaseInstance = exports.DataGoogleSqlDatabaseInstanceSettingsList = exports.DataGoogleSqlDatabaseInstanceSettingsOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyList = exports.DataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowList = exports.DataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsLocationPreferenceList = exports.DataGoogleSqlDatabaseInstanceSettingsLocationPreferenceOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsLocationPreferenceToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsLocationPreferenceToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationList = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsList = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksList = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksOutputReference = exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksToHclTerraform = exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksToTerraform = exports.DataGoogleSqlDatabaseInstanceSettingsInsightsConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsInsightsConfigOutputReference = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataGoogleSqlDatabaseInstanceCloneToTerraform(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.dataGoogleSqlDatabaseInstanceCloneToTerraform = dataGoogleSqlDatabaseInstanceCloneToTerraform;
function dataGoogleSqlDatabaseInstanceCloneToHclTerraform(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.dataGoogleSqlDatabaseInstanceCloneToHclTerraform = dataGoogleSqlDatabaseInstanceCloneToHclTerraform;
class DataGoogleSqlDatabaseInstanceCloneOutputReference 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;
}
}
// allocated_ip_range - computed: true, optional: false, required: false
get allocatedIpRange() {
return this.getStringAttribute('allocated_ip_range');
}
// database_names - computed: true, optional: false, required: false
get databaseNames() {
return this.getListAttribute('database_names');
}
// point_in_time - computed: true, optional: false, required: false
get pointInTime() {
return this.getStringAttribute('point_in_time');
}
// preferred_zone - computed: true, optional: false, required: false
get preferredZone() {
return this.getStringAttribute('preferred_zone');
}
// source_instance_name - computed: true, optional: false, required: false
get sourceInstanceName() {
return this.getStringAttribute('source_instance_name');
}
}
exports.DataGoogleSqlDatabaseInstanceCloneOutputReference = DataGoogleSqlDatabaseInstanceCloneOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceCloneOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceCloneOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceCloneList 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 DataGoogleSqlDatabaseInstanceCloneOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceCloneList = DataGoogleSqlDatabaseInstanceCloneList;
_b = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceCloneList[_b] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceCloneList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceIpAddressToTerraform(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.dataGoogleSqlDatabaseInstanceIpAddressToTerraform = dataGoogleSqlDatabaseInstanceIpAddressToTerraform;
function dataGoogleSqlDatabaseInstanceIpAddressToHclTerraform(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.dataGoogleSqlDatabaseInstanceIpAddressToHclTerraform = dataGoogleSqlDatabaseInstanceIpAddressToHclTerraform;
class DataGoogleSqlDatabaseInstanceIpAddressOutputReference 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;
}
}
// ip_address - computed: true, optional: false, required: false
get ipAddress() {
return this.getStringAttribute('ip_address');
}
// time_to_retire - computed: true, optional: false, required: false
get timeToRetire() {
return this.getStringAttribute('time_to_retire');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleSqlDatabaseInstanceIpAddressOutputReference = DataGoogleSqlDatabaseInstanceIpAddressOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceIpAddressOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceIpAddressOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceIpAddressList 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 DataGoogleSqlDatabaseInstanceIpAddressOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceIpAddressList = DataGoogleSqlDatabaseInstanceIpAddressList;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceIpAddressList[_d] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceIpAddressList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceReplicaConfigurationToTerraform(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.dataGoogleSqlDatabaseInstanceReplicaConfigurationToTerraform = dataGoogleSqlDatabaseInstanceReplicaConfigurationToTerraform;
function dataGoogleSqlDatabaseInstanceReplicaConfigurationToHclTerraform(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.dataGoogleSqlDatabaseInstanceReplicaConfigurationToHclTerraform = dataGoogleSqlDatabaseInstanceReplicaConfigurationToHclTerraform;
class DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference 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;
}
}
// ca_certificate - computed: true, optional: false, required: false
get caCertificate() {
return this.getStringAttribute('ca_certificate');
}
// cascadable_replica - computed: true, optional: false, required: false
get cascadableReplica() {
return this.getBooleanAttribute('cascadable_replica');
}
// client_certificate - computed: true, optional: false, required: false
get clientCertificate() {
return this.getStringAttribute('client_certificate');
}
// client_key - computed: true, optional: false, required: false
get clientKey() {
return this.getStringAttribute('client_key');
}
// connect_retry_interval - computed: true, optional: false, required: false
get connectRetryInterval() {
return this.getNumberAttribute('connect_retry_interval');
}
// dump_file_path - computed: true, optional: false, required: false
get dumpFilePath() {
return this.getStringAttribute('dump_file_path');
}
// failover_target - computed: true, optional: false, required: false
get failoverTarget() {
return this.getBooleanAttribute('failover_target');
}
// master_heartbeat_period - computed: true, optional: false, required: false
get masterHeartbeatPeriod() {
return this.getNumberAttribute('master_heartbeat_period');
}
// password - computed: true, optional: false, required: false
get password() {
return this.getStringAttribute('password');
}
// ssl_cipher - computed: true, optional: false, required: false
get sslCipher() {
return this.getStringAttribute('ssl_cipher');
}
// username - computed: true, optional: false, required: false
get username() {
return this.getStringAttribute('username');
}
// verify_server_certificate - computed: true, optional: false, required: false
get verifyServerCertificate() {
return this.getBooleanAttribute('verify_server_certificate');
}
}
exports.DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference = DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceReplicaConfigurationList 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 DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceReplicaConfigurationList = DataGoogleSqlDatabaseInstanceReplicaConfigurationList;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceReplicaConfigurationList[_f] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceReplicaConfigurationList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceRestoreBackupContextToTerraform(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.dataGoogleSqlDatabaseInstanceRestoreBackupContextToTerraform = dataGoogleSqlDatabaseInstanceRestoreBackupContextToTerraform;
function dataGoogleSqlDatabaseInstanceRestoreBackupContextToHclTerraform(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.dataGoogleSqlDatabaseInstanceRestoreBackupContextToHclTerraform = dataGoogleSqlDatabaseInstanceRestoreBackupContextToHclTerraform;
class DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference 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;
}
}
// backup_run_id - computed: true, optional: false, required: false
get backupRunId() {
return this.getNumberAttribute('backup_run_id');
}
// instance_id - computed: true, optional: false, required: false
get instanceId() {
return this.getStringAttribute('instance_id');
}
// project - computed: true, optional: false, required: false
get project() {
return this.getStringAttribute('project');
}
}
exports.DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference = DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceRestoreBackupContextList 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 DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceRestoreBackupContextList = DataGoogleSqlDatabaseInstanceRestoreBackupContextList;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceRestoreBackupContextList[_h] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceRestoreBackupContextList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceServerCaCertToTerraform(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.dataGoogleSqlDatabaseInstanceServerCaCertToTerraform = dataGoogleSqlDatabaseInstanceServerCaCertToTerraform;
function dataGoogleSqlDatabaseInstanceServerCaCertToHclTerraform(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.dataGoogleSqlDatabaseInstanceServerCaCertToHclTerraform = dataGoogleSqlDatabaseInstanceServerCaCertToHclTerraform;
class DataGoogleSqlDatabaseInstanceServerCaCertOutputReference 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;
}
}
// cert - computed: true, optional: false, required: false
get cert() {
return this.getStringAttribute('cert');
}
// common_name - computed: true, optional: false, required: false
get commonName() {
return this.getStringAttribute('common_name');
}
// create_time - computed: true, optional: false, required: false
get createTime() {
return this.getStringAttribute('create_time');
}
// expiration_time - computed: true, optional: false, required: false
get expirationTime() {
return this.getStringAttribute('expiration_time');
}
// sha1_fingerprint - computed: true, optional: false, required: false
get sha1Fingerprint() {
return this.getStringAttribute('sha1_fingerprint');
}
}
exports.DataGoogleSqlDatabaseInstanceServerCaCertOutputReference = DataGoogleSqlDatabaseInstanceServerCaCertOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceServerCaCertOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceServerCaCertOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceServerCaCertList 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 DataGoogleSqlDatabaseInstanceServerCaCertOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceServerCaCertList = DataGoogleSqlDatabaseInstanceServerCaCertList;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceServerCaCertList[_k] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceServerCaCertList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToTerraform(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.dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToTerraform = dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToTerraform;
function dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToHclTerraform(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.dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToHclTerraform;
class DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference 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;
}
}
// domain - computed: true, optional: false, required: false
get domain() {
return this.getStringAttribute('domain');
}
}
exports.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference = DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList 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 DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList = DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList[_m] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToTerraform(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.dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToTerraform = dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToTerraform;
function dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToHclTerraform(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.dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToHclTerraform;
class DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference 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;
}
}
// threads_per_core - computed: true, optional: false, required: false
get threadsPerCore() {
return this.getNumberAttribute('threads_per_core');
}
}
exports.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference = DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList 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 DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList = DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList[_p] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToTerraform(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.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToTerraform = dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToTerraform;
function dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform(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.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform;
class DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputReference 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;
}
}
// retained_backups - computed: true, optional: false, required: false
get retainedBackups() {
return this.getNumberAttribute('retained_backups');
}
// retention_unit - computed: true, optional: false, required: false
get retentionUnit() {
return this.getStringAttribute('retention_unit');
}
}
exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputReference = DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsList 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 DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsList = DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsList[_r] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToTerraform(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.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToTerraform = dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToTerraform;
function dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToHclTerraform(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.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToHclTerraform;
class DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationOutputReference 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;
// backup_retention_settings - computed: true, optional: false, required: false
this._backupRetentionSettings = new DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsList(this, "backup_retention_settings", 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 backupRetentionSettings() {
return this._backupRetentionSettings;
}
// binary_log_enabled - computed: true, optional: false, required: false
get binaryLogEnabled() {
return this.getBooleanAttribute('binary_log_enabled');
}
// enabled - computed: true, optional: false, required: false
get enabled() {
return this.getBooleanAttribute('enabled');
}
// location - computed: true, optional: false, required: false
get location() {
return this.getStringAttribute('location');
}
// point_in_time_recovery_enabled - computed: true, optional: false, required: false
get pointInTimeRecoveryEnabled() {
return this.getBooleanAttribute('point_in_time_recovery_enabled');
}
// start_time - computed: true, optional: false, required: false
get startTime() {
return this.getStringAttribute('start_time');
}
// transaction_log_retention_days - computed: true, optional: false, required: false
get transactionLogRetentionDays() {
return this.getNumberAttribute('transaction_log_retention_days');
}
}
exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationOutputReference = DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationOutputReference", version: "14.12.0" };
class DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationList 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 DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationList = DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationList;
_t = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationList[_t] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationList", version: "14.12.0" };
function dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToTerraform(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.dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToTerraform = dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToTerraform;
function dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToHclTerraform(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.dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToHclTerraform;
class DataGoogleSqlDatabaseInstanceSettingsDataCacheConfigOutputReference 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 inde