@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
826 lines • 322 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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataGoogleAlloydbCluster = exports.DataGoogleAlloydbClusterTrialMetadataList = exports.DataGoogleAlloydbClusterTrialMetadataOutputReference = exports.DataGoogleAlloydbClusterSecondaryConfigList = exports.DataGoogleAlloydbClusterSecondaryConfigOutputReference = exports.DataGoogleAlloydbClusterRestoreContinuousBackupSourceList = exports.DataGoogleAlloydbClusterRestoreContinuousBackupSourceOutputReference = exports.DataGoogleAlloydbClusterRestoreBackupSourceList = exports.DataGoogleAlloydbClusterRestoreBackupSourceOutputReference = exports.DataGoogleAlloydbClusterPscConfigList = exports.DataGoogleAlloydbClusterPscConfigOutputReference = exports.DataGoogleAlloydbClusterNetworkConfigList = exports.DataGoogleAlloydbClusterNetworkConfigOutputReference = exports.DataGoogleAlloydbClusterMigrationSourceList = exports.DataGoogleAlloydbClusterMigrationSourceOutputReference = exports.DataGoogleAlloydbClusterMaintenanceUpdatePolicyList = exports.DataGoogleAlloydbClusterMaintenanceUpdatePolicyOutputReference = exports.DataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsList = exports.DataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsOutputReference = exports.DataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsStartTimeList = exports.DataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsStartTimeOutputReference = exports.DataGoogleAlloydbClusterInitialUserList = exports.DataGoogleAlloydbClusterInitialUserOutputReference = exports.DataGoogleAlloydbClusterEncryptionInfoList = exports.DataGoogleAlloydbClusterEncryptionInfoOutputReference = exports.DataGoogleAlloydbClusterEncryptionConfigList = exports.DataGoogleAlloydbClusterEncryptionConfigOutputReference = exports.DataGoogleAlloydbClusterContinuousBackupInfoList = exports.DataGoogleAlloydbClusterContinuousBackupInfoOutputReference = exports.DataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoList = exports.DataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoOutputReference = exports.DataGoogleAlloydbClusterContinuousBackupConfigList = exports.DataGoogleAlloydbClusterContinuousBackupConfigOutputReference = exports.DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigList = exports.DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigOutputReference = exports.DataGoogleAlloydbClusterBackupSourceList = exports.DataGoogleAlloydbClusterBackupSourceOutputReference = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyList = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyOutputReference = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleList = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleOutputReference = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesList = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesOutputReference = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionList = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionOutputReference = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionList = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionOutputReference = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigList = exports.DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigOutputReference = void 0;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigToTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigToTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigToHclTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigToHclTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionToTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionToTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionToHclTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionToHclTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionToTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionToTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionToHclTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionToHclTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesToTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesToTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesToHclTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesToHclTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleToTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleToTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleToHclTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleToHclTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyToTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyToTerraform;
exports.dataGoogleAlloydbClusterAutomatedBackupPolicyToHclTerraform = dataGoogleAlloydbClusterAutomatedBackupPolicyToHclTerraform;
exports.dataGoogleAlloydbClusterBackupSourceToTerraform = dataGoogleAlloydbClusterBackupSourceToTerraform;
exports.dataGoogleAlloydbClusterBackupSourceToHclTerraform = dataGoogleAlloydbClusterBackupSourceToHclTerraform;
exports.dataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigToTerraform = dataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigToTerraform;
exports.dataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigToHclTerraform = dataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigToHclTerraform;
exports.dataGoogleAlloydbClusterContinuousBackupConfigToTerraform = dataGoogleAlloydbClusterContinuousBackupConfigToTerraform;
exports.dataGoogleAlloydbClusterContinuousBackupConfigToHclTerraform = dataGoogleAlloydbClusterContinuousBackupConfigToHclTerraform;
exports.dataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoToTerraform = dataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoToTerraform;
exports.dataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoToHclTerraform = dataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoToHclTerraform;
exports.dataGoogleAlloydbClusterContinuousBackupInfoToTerraform = dataGoogleAlloydbClusterContinuousBackupInfoToTerraform;
exports.dataGoogleAlloydbClusterContinuousBackupInfoToHclTerraform = dataGoogleAlloydbClusterContinuousBackupInfoToHclTerraform;
exports.dataGoogleAlloydbClusterEncryptionConfigToTerraform = dataGoogleAlloydbClusterEncryptionConfigToTerraform;
exports.dataGoogleAlloydbClusterEncryptionConfigToHclTerraform = dataGoogleAlloydbClusterEncryptionConfigToHclTerraform;
exports.dataGoogleAlloydbClusterEncryptionInfoToTerraform = dataGoogleAlloydbClusterEncryptionInfoToTerraform;
exports.dataGoogleAlloydbClusterEncryptionInfoToHclTerraform = dataGoogleAlloydbClusterEncryptionInfoToHclTerraform;
exports.dataGoogleAlloydbClusterInitialUserToTerraform = dataGoogleAlloydbClusterInitialUserToTerraform;
exports.dataGoogleAlloydbClusterInitialUserToHclTerraform = dataGoogleAlloydbClusterInitialUserToHclTerraform;
exports.dataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsStartTimeToTerraform = dataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsStartTimeToTerraform;
exports.dataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsStartTimeToHclTerraform = dataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsStartTimeToHclTerraform;
exports.dataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsToTerraform = dataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsToTerraform;
exports.dataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsToHclTerraform = dataGoogleAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsToHclTerraform;
exports.dataGoogleAlloydbClusterMaintenanceUpdatePolicyToTerraform = dataGoogleAlloydbClusterMaintenanceUpdatePolicyToTerraform;
exports.dataGoogleAlloydbClusterMaintenanceUpdatePolicyToHclTerraform = dataGoogleAlloydbClusterMaintenanceUpdatePolicyToHclTerraform;
exports.dataGoogleAlloydbClusterMigrationSourceToTerraform = dataGoogleAlloydbClusterMigrationSourceToTerraform;
exports.dataGoogleAlloydbClusterMigrationSourceToHclTerraform = dataGoogleAlloydbClusterMigrationSourceToHclTerraform;
exports.dataGoogleAlloydbClusterNetworkConfigToTerraform = dataGoogleAlloydbClusterNetworkConfigToTerraform;
exports.dataGoogleAlloydbClusterNetworkConfigToHclTerraform = dataGoogleAlloydbClusterNetworkConfigToHclTerraform;
exports.dataGoogleAlloydbClusterPscConfigToTerraform = dataGoogleAlloydbClusterPscConfigToTerraform;
exports.dataGoogleAlloydbClusterPscConfigToHclTerraform = dataGoogleAlloydbClusterPscConfigToHclTerraform;
exports.dataGoogleAlloydbClusterRestoreBackupSourceToTerraform = dataGoogleAlloydbClusterRestoreBackupSourceToTerraform;
exports.dataGoogleAlloydbClusterRestoreBackupSourceToHclTerraform = dataGoogleAlloydbClusterRestoreBackupSourceToHclTerraform;
exports.dataGoogleAlloydbClusterRestoreContinuousBackupSourceToTerraform = dataGoogleAlloydbClusterRestoreContinuousBackupSourceToTerraform;
exports.dataGoogleAlloydbClusterRestoreContinuousBackupSourceToHclTerraform = dataGoogleAlloydbClusterRestoreContinuousBackupSourceToHclTerraform;
exports.dataGoogleAlloydbClusterSecondaryConfigToTerraform = dataGoogleAlloydbClusterSecondaryConfigToTerraform;
exports.dataGoogleAlloydbClusterSecondaryConfigToHclTerraform = dataGoogleAlloydbClusterSecondaryConfigToHclTerraform;
exports.dataGoogleAlloydbClusterTrialMetadataToTerraform = dataGoogleAlloydbClusterTrialMetadataToTerraform;
exports.dataGoogleAlloydbClusterTrialMetadataToHclTerraform = dataGoogleAlloydbClusterTrialMetadataToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigToTerraform(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 dataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigToHclTerraform(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 DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// kms_key_name - computed: true, optional: false, required: false
get kmsKeyName() {
return this.getStringAttribute('kms_key_name');
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigOutputReference = DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigList 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 DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigList = DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigList;
_b = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigList[_b] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigList", version: "14.35.1" };
function dataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionToTerraform(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 dataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionToHclTerraform(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 DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionOutputReference 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;
}
}
// count - computed: true, optional: false, required: false
get count() {
return this.getNumberAttribute('count');
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionOutputReference = DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionList 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 DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionList = DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionList;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionList[_d] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionList", version: "14.35.1" };
function dataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionToTerraform(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 dataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionToHclTerraform(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 DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionOutputReference 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;
}
}
// retention_period - computed: true, optional: false, required: false
get retentionPeriod() {
return this.getStringAttribute('retention_period');
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionOutputReference = DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionList 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 DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionList = DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionList;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionList[_f] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionList", version: "14.35.1" };
function dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesToTerraform(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 dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesToHclTerraform(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 DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesOutputReference 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;
}
}
// hours - computed: true, optional: false, required: false
get hours() {
return this.getNumberAttribute('hours');
}
// minutes - computed: true, optional: false, required: false
get minutes() {
return this.getNumberAttribute('minutes');
}
// nanos - computed: true, optional: false, required: false
get nanos() {
return this.getNumberAttribute('nanos');
}
// seconds - computed: true, optional: false, required: false
get seconds() {
return this.getNumberAttribute('seconds');
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesOutputReference = DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesList 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 DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesList = DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesList;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesList[_h] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesList", version: "14.35.1" };
function dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleToTerraform(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 dataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleToHclTerraform(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 DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleOutputReference 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;
// start_times - computed: true, optional: false, required: false
this._startTimes = new DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimesList(this, "start_times", 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;
}
}
// days_of_week - computed: true, optional: false, required: false
get daysOfWeek() {
return this.getListAttribute('days_of_week');
}
get startTimes() {
return this._startTimes;
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleOutputReference = DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleList 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 DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleList = DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleList;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleList[_k] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleList", version: "14.35.1" };
function dataGoogleAlloydbClusterAutomatedBackupPolicyToTerraform(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 dataGoogleAlloydbClusterAutomatedBackupPolicyToHclTerraform(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 DataGoogleAlloydbClusterAutomatedBackupPolicyOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// encryption_config - computed: true, optional: false, required: false
this._encryptionConfig = new DataGoogleAlloydbClusterAutomatedBackupPolicyEncryptionConfigList(this, "encryption_config", false);
// labels - computed: true, optional: false, required: false
this._labels = new cdktf.StringMap(this, "labels");
// quantity_based_retention - computed: true, optional: false, required: false
this._quantityBasedRetention = new DataGoogleAlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionList(this, "quantity_based_retention", false);
// time_based_retention - computed: true, optional: false, required: false
this._timeBasedRetention = new DataGoogleAlloydbClusterAutomatedBackupPolicyTimeBasedRetentionList(this, "time_based_retention", false);
// weekly_schedule - computed: true, optional: false, required: false
this._weeklySchedule = new DataGoogleAlloydbClusterAutomatedBackupPolicyWeeklyScheduleList(this, "weekly_schedule", 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_window - computed: true, optional: false, required: false
get backupWindow() {
return this.getStringAttribute('backup_window');
}
// enabled - computed: true, optional: false, required: false
get enabled() {
return this.getBooleanAttribute('enabled');
}
get encryptionConfig() {
return this._encryptionConfig;
}
get labels() {
return this._labels;
}
// location - computed: true, optional: false, required: false
get location() {
return this.getStringAttribute('location');
}
get quantityBasedRetention() {
return this._quantityBasedRetention;
}
get timeBasedRetention() {
return this._timeBasedRetention;
}
get weeklySchedule() {
return this._weeklySchedule;
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyOutputReference = DataGoogleAlloydbClusterAutomatedBackupPolicyOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterAutomatedBackupPolicyList 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 DataGoogleAlloydbClusterAutomatedBackupPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterAutomatedBackupPolicyList = DataGoogleAlloydbClusterAutomatedBackupPolicyList;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterAutomatedBackupPolicyList[_m] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterAutomatedBackupPolicyList", version: "14.35.1" };
function dataGoogleAlloydbClusterBackupSourceToTerraform(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 dataGoogleAlloydbClusterBackupSourceToHclTerraform(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 DataGoogleAlloydbClusterBackupSourceOutputReference 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_name - computed: true, optional: false, required: false
get backupName() {
return this.getStringAttribute('backup_name');
}
}
exports.DataGoogleAlloydbClusterBackupSourceOutputReference = DataGoogleAlloydbClusterBackupSourceOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterBackupSourceOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterBackupSourceOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterBackupSourceList 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 DataGoogleAlloydbClusterBackupSourceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterBackupSourceList = DataGoogleAlloydbClusterBackupSourceList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterBackupSourceList[_p] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterBackupSourceList", version: "14.35.1" };
function dataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigToTerraform(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 dataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigToHclTerraform(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 DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// kms_key_name - computed: true, optional: false, required: false
get kmsKeyName() {
return this.getStringAttribute('kms_key_name');
}
}
exports.DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigOutputReference = DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigList 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 DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigList = DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigList[_r] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigList", version: "14.35.1" };
function dataGoogleAlloydbClusterContinuousBackupConfigToTerraform(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 dataGoogleAlloydbClusterContinuousBackupConfigToHclTerraform(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 DataGoogleAlloydbClusterContinuousBackupConfigOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
// encryption_config - computed: true, optional: false, required: false
this._encryptionConfig = new DataGoogleAlloydbClusterContinuousBackupConfigEncryptionConfigList(this, "encryption_config", 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;
}
}
// enabled - computed: true, optional: false, required: false
get enabled() {
return this.getBooleanAttribute('enabled');
}
get encryptionConfig() {
return this._encryptionConfig;
}
// recovery_window_days - computed: true, optional: false, required: false
get recoveryWindowDays() {
return this.getNumberAttribute('recovery_window_days');
}
}
exports.DataGoogleAlloydbClusterContinuousBackupConfigOutputReference = DataGoogleAlloydbClusterContinuousBackupConfigOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterContinuousBackupConfigOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterContinuousBackupConfigOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterContinuousBackupConfigList 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 DataGoogleAlloydbClusterContinuousBackupConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleAlloydbClusterContinuousBackupConfigList = DataGoogleAlloydbClusterContinuousBackupConfigList;
_t = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterContinuousBackupConfigList[_t] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterContinuousBackupConfigList", version: "14.35.1" };
function dataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoToTerraform(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 dataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoToHclTerraform(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 DataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoOutputReference 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;
}
}
// encryption_type - computed: true, optional: false, required: false
get encryptionType() {
return this.getStringAttribute('encryption_type');
}
// kms_key_versions - computed: true, optional: false, required: false
get kmsKeyVersions() {
return this.getListAttribute('kms_key_versions');
}
}
exports.DataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoOutputReference = DataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoOutputReference[_u] = { fqn: "@cdktf/provider-google.dataGoogleAlloydbCluster.DataGoogleAlloydbClusterContinuousBackupInfoEncryptionInfoOutputReference", version: "14.35.1" };
class DataGoogleAlloydbClusterContinuousBac