@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
840 lines • 379 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, _21, _22, _23, _24, _25, _26, _27, _28;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyList = exports.DataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowList = exports.DataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsLocationPreferenceList = exports.DataGoogleSqlDatabaseInstanceSettingsLocationPreferenceOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationList = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsList = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksList = exports.DataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsInsightsConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsInsightsConfigOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodList = exports.DataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsList = exports.DataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsDataCacheConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsDataCacheConfigOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigFlagsList = exports.DataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigFlagsOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationList = exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsList = exports.DataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList = exports.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference = exports.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList = exports.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference = exports.DataGoogleSqlDatabaseInstanceServerCaCertList = exports.DataGoogleSqlDatabaseInstanceServerCaCertOutputReference = exports.DataGoogleSqlDatabaseInstanceRestoreBackupContextList = exports.DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference = exports.DataGoogleSqlDatabaseInstanceReplicationClusterList = exports.DataGoogleSqlDatabaseInstanceReplicationClusterOutputReference = exports.DataGoogleSqlDatabaseInstanceReplicaConfigurationList = exports.DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference = exports.DataGoogleSqlDatabaseInstanceIpAddressList = exports.DataGoogleSqlDatabaseInstanceIpAddressOutputReference = exports.DataGoogleSqlDatabaseInstanceDnsNamesList = exports.DataGoogleSqlDatabaseInstanceDnsNamesOutputReference = exports.DataGoogleSqlDatabaseInstanceCloneList = exports.DataGoogleSqlDatabaseInstanceCloneOutputReference = void 0;
exports.DataGoogleSqlDatabaseInstance = exports.DataGoogleSqlDatabaseInstanceSettingsList = exports.DataGoogleSqlDatabaseInstanceSettingsOutputReference = void 0;
exports.dataGoogleSqlDatabaseInstanceCloneToTerraform = dataGoogleSqlDatabaseInstanceCloneToTerraform;
exports.dataGoogleSqlDatabaseInstanceCloneToHclTerraform = dataGoogleSqlDatabaseInstanceCloneToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceDnsNamesToTerraform = dataGoogleSqlDatabaseInstanceDnsNamesToTerraform;
exports.dataGoogleSqlDatabaseInstanceDnsNamesToHclTerraform = dataGoogleSqlDatabaseInstanceDnsNamesToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceIpAddressToTerraform = dataGoogleSqlDatabaseInstanceIpAddressToTerraform;
exports.dataGoogleSqlDatabaseInstanceIpAddressToHclTerraform = dataGoogleSqlDatabaseInstanceIpAddressToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceReplicaConfigurationToTerraform = dataGoogleSqlDatabaseInstanceReplicaConfigurationToTerraform;
exports.dataGoogleSqlDatabaseInstanceReplicaConfigurationToHclTerraform = dataGoogleSqlDatabaseInstanceReplicaConfigurationToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceReplicationClusterToTerraform = dataGoogleSqlDatabaseInstanceReplicationClusterToTerraform;
exports.dataGoogleSqlDatabaseInstanceReplicationClusterToHclTerraform = dataGoogleSqlDatabaseInstanceReplicationClusterToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceRestoreBackupContextToTerraform = dataGoogleSqlDatabaseInstanceRestoreBackupContextToTerraform;
exports.dataGoogleSqlDatabaseInstanceRestoreBackupContextToHclTerraform = dataGoogleSqlDatabaseInstanceRestoreBackupContextToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceServerCaCertToTerraform = dataGoogleSqlDatabaseInstanceServerCaCertToTerraform;
exports.dataGoogleSqlDatabaseInstanceServerCaCertToHclTerraform = dataGoogleSqlDatabaseInstanceServerCaCertToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToTerraform = dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToTerraform = dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToTerraform = dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToTerraform = dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsBackupConfigurationToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigFlagsToTerraform = dataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigFlagsToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigFlagsToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigFlagsToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigToTerraform = dataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsConnectionPoolConfigToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToTerraform = dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsDataCacheConfigToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsToTerraform = dataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsDatabaseFlagsToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodToTerraform = dataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsDenyMaintenancePeriodToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsInsightsConfigToTerraform = dataGoogleSqlDatabaseInstanceSettingsInsightsConfigToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsInsightsConfigToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsInsightsConfigToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksToTerraform = dataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsIpConfigurationAuthorizedNetworksToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsToTerraform = dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionsToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigToTerraform = dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsIpConfigurationPscConfigToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationToTerraform = dataGoogleSqlDatabaseInstanceSettingsIpConfigurationToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsIpConfigurationToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsIpConfigurationToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsLocationPreferenceToTerraform = dataGoogleSqlDatabaseInstanceSettingsLocationPreferenceToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsLocationPreferenceToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsLocationPreferenceToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowToTerraform = dataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsMaintenanceWindowToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyToTerraform = dataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsPasswordValidationPolicyToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigToTerraform = dataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsSqlServerAuditConfigToHclTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsToTerraform = dataGoogleSqlDatabaseInstanceSettingsToTerraform;
exports.dataGoogleSqlDatabaseInstanceSettingsToHclTerraform = dataGoogleSqlDatabaseInstanceSettingsToHclTerraform;
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 {};
}
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;
}
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.35.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.35.0" };
function dataGoogleSqlDatabaseInstanceDnsNamesToTerraform(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 {};
}
function dataGoogleSqlDatabaseInstanceDnsNamesToHclTerraform(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;
}
class DataGoogleSqlDatabaseInstanceDnsNamesOutputReference 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;
}
}
// connection_type - computed: true, optional: false, required: false
get connectionType() {
return this.getStringAttribute('connection_type');
}
// dns_scope - computed: true, optional: false, required: false
get dnsScope() {
return this.getStringAttribute('dns_scope');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
}
exports.DataGoogleSqlDatabaseInstanceDnsNamesOutputReference = DataGoogleSqlDatabaseInstanceDnsNamesOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceDnsNamesOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceDnsNamesOutputReference", version: "14.35.0" };
class DataGoogleSqlDatabaseInstanceDnsNamesList 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 DataGoogleSqlDatabaseInstanceDnsNamesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceDnsNamesList = DataGoogleSqlDatabaseInstanceDnsNamesList;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceDnsNamesList[_d] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceDnsNamesList", version: "14.35.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 {};
}
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;
}
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;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceIpAddressOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceIpAddressOutputReference", version: "14.35.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;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceIpAddressList[_f] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceIpAddressList", version: "14.35.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 {};
}
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;
}
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;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceReplicaConfigurationOutputReference", version: "14.35.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;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceReplicaConfigurationList[_h] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceReplicaConfigurationList", version: "14.35.0" };
function dataGoogleSqlDatabaseInstanceReplicationClusterToTerraform(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 {};
}
function dataGoogleSqlDatabaseInstanceReplicationClusterToHclTerraform(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;
}
class DataGoogleSqlDatabaseInstanceReplicationClusterOutputReference 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;
}
}
// dr_replica - computed: true, optional: false, required: false
get drReplica() {
return this.getBooleanAttribute('dr_replica');
}
// failover_dr_replica_name - computed: true, optional: false, required: false
get failoverDrReplicaName() {
return this.getStringAttribute('failover_dr_replica_name');
}
}
exports.DataGoogleSqlDatabaseInstanceReplicationClusterOutputReference = DataGoogleSqlDatabaseInstanceReplicationClusterOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceReplicationClusterOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceReplicationClusterOutputReference", version: "14.35.0" };
class DataGoogleSqlDatabaseInstanceReplicationClusterList 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 DataGoogleSqlDatabaseInstanceReplicationClusterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSqlDatabaseInstanceReplicationClusterList = DataGoogleSqlDatabaseInstanceReplicationClusterList;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceReplicationClusterList[_k] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceReplicationClusterList", version: "14.35.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 {};
}
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;
}
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;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceRestoreBackupContextOutputReference", version: "14.35.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;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceRestoreBackupContextList[_m] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceRestoreBackupContextList", version: "14.35.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 {};
}
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;
}
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;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceServerCaCertOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceServerCaCertOutputReference", version: "14.35.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;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceServerCaCertList[_p] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceServerCaCertList", version: "14.35.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 {};
}
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;
}
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;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigOutputReference", version: "14.35.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;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList[_r] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsActiveDirectoryConfigList", version: "14.35.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 {};
}
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;
}
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;
_s = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesOutputReference", version: "14.35.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;
_t = JSII_RTTI_SYMBOL_1;
DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList[_t] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstance.DataGoogleSqlDatabaseInstanceSettingsAdvancedMachineFeaturesList", version: "14.35.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 {};
}
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;
}
class DataGoogleSqlDatabaseInstanceSettingsB