UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

785 lines 363 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataGoogleSqlDatabaseInstancesInstancesSettingsInsightsConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsInsightsConfigToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsDenyMaintenancePeriodList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsDenyMaintenancePeriodOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsDenyMaintenancePeriodToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsDenyMaintenancePeriodToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsDatabaseFlagsList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsDatabaseFlagsOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsDatabaseFlagsToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsDatabaseFlagsToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsDataCacheConfigList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsDataCacheConfigOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsDataCacheConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsDataCacheConfigToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesServerCaCertList = exports.DataGoogleSqlDatabaseInstancesInstancesServerCaCertOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesServerCaCertToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesServerCaCertToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextList = exports.DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationList = exports.DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesIpAddressList = exports.DataGoogleSqlDatabaseInstancesInstancesIpAddressOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesIpAddressToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesIpAddressToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesCloneList = exports.DataGoogleSqlDatabaseInstancesInstancesCloneOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesCloneToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesCloneToTerraform = void 0; exports.DataGoogleSqlDatabaseInstances = exports.DataGoogleSqlDatabaseInstancesInstancesList = exports.DataGoogleSqlDatabaseInstancesInstancesOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsSqlServerAuditConfigList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsSqlServerAuditConfigOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsSqlServerAuditConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsSqlServerAuditConfigToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsPasswordValidationPolicyList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsPasswordValidationPolicyOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsPasswordValidationPolicyToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsPasswordValidationPolicyToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsMaintenanceWindowList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsMaintenanceWindowOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsMaintenanceWindowToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsMaintenanceWindowToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsLocationPreferenceList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsLocationPreferenceOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsLocationPreferenceToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsLocationPreferenceToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationPscConfigList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationPscConfigOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationPscConfigToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationPscConfigToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationPscConfigPscAutoConnectionsList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationPscConfigPscAutoConnectionsOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationPscConfigPscAutoConnectionsToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationPscConfigPscAutoConnectionsToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationAuthorizedNetworksList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationAuthorizedNetworksOutputReference = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationAuthorizedNetworksToHclTerraform = exports.dataGoogleSqlDatabaseInstancesInstancesSettingsIpConfigurationAuthorizedNetworksToTerraform = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsInsightsConfigList = exports.DataGoogleSqlDatabaseInstancesInstancesSettingsInsightsConfigOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGoogleSqlDatabaseInstancesInstancesCloneToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesCloneToTerraform = dataGoogleSqlDatabaseInstancesInstancesCloneToTerraform; function dataGoogleSqlDatabaseInstancesInstancesCloneToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesCloneToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesCloneToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesCloneOutputReference 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.DataGoogleSqlDatabaseInstancesInstancesCloneOutputReference = DataGoogleSqlDatabaseInstancesInstancesCloneOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesCloneOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesCloneOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesCloneList 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 DataGoogleSqlDatabaseInstancesInstancesCloneOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleSqlDatabaseInstancesInstancesCloneList = DataGoogleSqlDatabaseInstancesInstancesCloneList; _b = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesCloneList[_b] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesCloneList", version: "14.12.0" }; function dataGoogleSqlDatabaseInstancesInstancesIpAddressToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesIpAddressToTerraform = dataGoogleSqlDatabaseInstancesInstancesIpAddressToTerraform; function dataGoogleSqlDatabaseInstancesInstancesIpAddressToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesIpAddressToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesIpAddressToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesIpAddressOutputReference 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.DataGoogleSqlDatabaseInstancesInstancesIpAddressOutputReference = DataGoogleSqlDatabaseInstancesInstancesIpAddressOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesIpAddressOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesIpAddressOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesIpAddressList 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 DataGoogleSqlDatabaseInstancesInstancesIpAddressOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleSqlDatabaseInstancesInstancesIpAddressList = DataGoogleSqlDatabaseInstancesInstancesIpAddressList; _d = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesIpAddressList[_d] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesIpAddressList", version: "14.12.0" }; function dataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationToTerraform = dataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationToTerraform; function dataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationOutputReference 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.DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationOutputReference = DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationList 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 DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationList = DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationList; _f = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationList[_f] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesReplicaConfigurationList", version: "14.12.0" }; function dataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextToTerraform = dataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextToTerraform; function dataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextOutputReference 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.DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextOutputReference = DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextList 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 DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextList = DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextList; _h = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextList[_h] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesRestoreBackupContextList", version: "14.12.0" }; function dataGoogleSqlDatabaseInstancesInstancesServerCaCertToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesServerCaCertToTerraform = dataGoogleSqlDatabaseInstancesInstancesServerCaCertToTerraform; function dataGoogleSqlDatabaseInstancesInstancesServerCaCertToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesServerCaCertToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesServerCaCertToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesServerCaCertOutputReference 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.DataGoogleSqlDatabaseInstancesInstancesServerCaCertOutputReference = DataGoogleSqlDatabaseInstancesInstancesServerCaCertOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesServerCaCertOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesServerCaCertOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesServerCaCertList 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 DataGoogleSqlDatabaseInstancesInstancesServerCaCertOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleSqlDatabaseInstancesInstancesServerCaCertList = DataGoogleSqlDatabaseInstancesInstancesServerCaCertList; _k = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesServerCaCertList[_k] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesServerCaCertList", version: "14.12.0" }; function dataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigToTerraform = dataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigToTerraform; function dataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigOutputReference 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.DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigOutputReference = DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigList 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 DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigList = DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigList; _m = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigList[_m] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesSettingsActiveDirectoryConfigList", version: "14.12.0" }; function dataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesToTerraform = dataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesToTerraform; function dataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesOutputReference 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.DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesOutputReference = DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesList 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 DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesList = DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesList; _p = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesList[_p] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesSettingsAdvancedMachineFeaturesList", version: "14.12.0" }; function dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsToTerraform = dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsToTerraform; function dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsOutputReference 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.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsOutputReference = DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsList 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 DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsList = DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsList; _r = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsList[_r] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsList", version: "14.12.0" }; function dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationToTerraform(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.dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationToTerraform = dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationToTerraform; function dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationToHclTerraform(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.dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationToHclTerraform = dataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationToHclTerraform; class DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationOutputReference 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 DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationBackupRetentionSettingsList(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.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationOutputReference = DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleSqlDatabaseInstances.DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationOutputReference", version: "14.12.0" }; class DataGoogleSqlDatabaseInstancesInstancesSettingsBackupConfigurationList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on