@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
877 lines • 511 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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MemorystoreInstance = exports.MemorystoreInstanceZoneDistributionConfigOutputReference = exports.MemorystoreInstanceTimeoutsOutputReference = exports.MemorystoreInstancePersistenceConfigOutputReference = exports.MemorystoreInstancePersistenceConfigRdbConfigOutputReference = exports.MemorystoreInstancePersistenceConfigAofConfigOutputReference = exports.MemorystoreInstanceManagedBackupSourceOutputReference = exports.MemorystoreInstanceMaintenancePolicyOutputReference = exports.MemorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowList = exports.MemorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowOutputReference = exports.MemorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeOutputReference = exports.MemorystoreInstanceGcsSourceOutputReference = exports.MemorystoreInstanceDesiredPscAutoConnectionsList = exports.MemorystoreInstanceDesiredPscAutoConnectionsOutputReference = exports.MemorystoreInstanceCrossInstanceReplicationConfigOutputReference = exports.MemorystoreInstanceCrossInstanceReplicationConfigSecondaryInstancesList = exports.MemorystoreInstanceCrossInstanceReplicationConfigSecondaryInstancesOutputReference = exports.MemorystoreInstanceCrossInstanceReplicationConfigPrimaryInstanceOutputReference = exports.MemorystoreInstanceCrossInstanceReplicationConfigMembershipList = exports.MemorystoreInstanceCrossInstanceReplicationConfigMembershipOutputReference = exports.MemorystoreInstanceCrossInstanceReplicationConfigMembershipSecondaryInstanceList = exports.MemorystoreInstanceCrossInstanceReplicationConfigMembershipSecondaryInstanceOutputReference = exports.MemorystoreInstanceCrossInstanceReplicationConfigMembershipPrimaryInstanceList = exports.MemorystoreInstanceCrossInstanceReplicationConfigMembershipPrimaryInstanceOutputReference = exports.MemorystoreInstanceAutomatedBackupConfigOutputReference = exports.MemorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleOutputReference = exports.MemorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeOutputReference = exports.MemorystoreInstanceStateInfoList = exports.MemorystoreInstanceStateInfoOutputReference = exports.MemorystoreInstanceStateInfoUpdateInfoList = exports.MemorystoreInstanceStateInfoUpdateInfoOutputReference = exports.MemorystoreInstancePscAutoConnectionsList = exports.MemorystoreInstancePscAutoConnectionsOutputReference = exports.MemorystoreInstancePscAttachmentDetailsList = exports.MemorystoreInstancePscAttachmentDetailsOutputReference = exports.MemorystoreInstanceNodeConfigList = exports.MemorystoreInstanceNodeConfigOutputReference = exports.MemorystoreInstanceMaintenanceScheduleList = exports.MemorystoreInstanceMaintenanceScheduleOutputReference = exports.MemorystoreInstanceEndpointsList = exports.MemorystoreInstanceEndpointsOutputReference = exports.MemorystoreInstanceEndpointsConnectionsList = exports.MemorystoreInstanceEndpointsConnectionsOutputReference = exports.MemorystoreInstanceEndpointsConnectionsPscAutoConnectionList = exports.MemorystoreInstanceEndpointsConnectionsPscAutoConnectionOutputReference = exports.MemorystoreInstanceDiscoveryEndpointsList = exports.MemorystoreInstanceDiscoveryEndpointsOutputReference = void 0;
exports.memorystoreInstanceDiscoveryEndpointsToTerraform = memorystoreInstanceDiscoveryEndpointsToTerraform;
exports.memorystoreInstanceDiscoveryEndpointsToHclTerraform = memorystoreInstanceDiscoveryEndpointsToHclTerraform;
exports.memorystoreInstanceEndpointsConnectionsPscAutoConnectionToTerraform = memorystoreInstanceEndpointsConnectionsPscAutoConnectionToTerraform;
exports.memorystoreInstanceEndpointsConnectionsPscAutoConnectionToHclTerraform = memorystoreInstanceEndpointsConnectionsPscAutoConnectionToHclTerraform;
exports.memorystoreInstanceEndpointsConnectionsToTerraform = memorystoreInstanceEndpointsConnectionsToTerraform;
exports.memorystoreInstanceEndpointsConnectionsToHclTerraform = memorystoreInstanceEndpointsConnectionsToHclTerraform;
exports.memorystoreInstanceEndpointsToTerraform = memorystoreInstanceEndpointsToTerraform;
exports.memorystoreInstanceEndpointsToHclTerraform = memorystoreInstanceEndpointsToHclTerraform;
exports.memorystoreInstanceMaintenanceScheduleToTerraform = memorystoreInstanceMaintenanceScheduleToTerraform;
exports.memorystoreInstanceMaintenanceScheduleToHclTerraform = memorystoreInstanceMaintenanceScheduleToHclTerraform;
exports.memorystoreInstanceNodeConfigToTerraform = memorystoreInstanceNodeConfigToTerraform;
exports.memorystoreInstanceNodeConfigToHclTerraform = memorystoreInstanceNodeConfigToHclTerraform;
exports.memorystoreInstancePscAttachmentDetailsToTerraform = memorystoreInstancePscAttachmentDetailsToTerraform;
exports.memorystoreInstancePscAttachmentDetailsToHclTerraform = memorystoreInstancePscAttachmentDetailsToHclTerraform;
exports.memorystoreInstancePscAutoConnectionsToTerraform = memorystoreInstancePscAutoConnectionsToTerraform;
exports.memorystoreInstancePscAutoConnectionsToHclTerraform = memorystoreInstancePscAutoConnectionsToHclTerraform;
exports.memorystoreInstanceStateInfoUpdateInfoToTerraform = memorystoreInstanceStateInfoUpdateInfoToTerraform;
exports.memorystoreInstanceStateInfoUpdateInfoToHclTerraform = memorystoreInstanceStateInfoUpdateInfoToHclTerraform;
exports.memorystoreInstanceStateInfoToTerraform = memorystoreInstanceStateInfoToTerraform;
exports.memorystoreInstanceStateInfoToHclTerraform = memorystoreInstanceStateInfoToHclTerraform;
exports.memorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeToTerraform = memorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeToTerraform;
exports.memorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeToHclTerraform = memorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeToHclTerraform;
exports.memorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleToTerraform = memorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleToTerraform;
exports.memorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleToHclTerraform = memorystoreInstanceAutomatedBackupConfigFixedFrequencyScheduleToHclTerraform;
exports.memorystoreInstanceAutomatedBackupConfigToTerraform = memorystoreInstanceAutomatedBackupConfigToTerraform;
exports.memorystoreInstanceAutomatedBackupConfigToHclTerraform = memorystoreInstanceAutomatedBackupConfigToHclTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigMembershipPrimaryInstanceToTerraform = memorystoreInstanceCrossInstanceReplicationConfigMembershipPrimaryInstanceToTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigMembershipPrimaryInstanceToHclTerraform = memorystoreInstanceCrossInstanceReplicationConfigMembershipPrimaryInstanceToHclTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigMembershipSecondaryInstanceToTerraform = memorystoreInstanceCrossInstanceReplicationConfigMembershipSecondaryInstanceToTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigMembershipSecondaryInstanceToHclTerraform = memorystoreInstanceCrossInstanceReplicationConfigMembershipSecondaryInstanceToHclTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigMembershipToTerraform = memorystoreInstanceCrossInstanceReplicationConfigMembershipToTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigMembershipToHclTerraform = memorystoreInstanceCrossInstanceReplicationConfigMembershipToHclTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigPrimaryInstanceToTerraform = memorystoreInstanceCrossInstanceReplicationConfigPrimaryInstanceToTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigPrimaryInstanceToHclTerraform = memorystoreInstanceCrossInstanceReplicationConfigPrimaryInstanceToHclTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigSecondaryInstancesToTerraform = memorystoreInstanceCrossInstanceReplicationConfigSecondaryInstancesToTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigSecondaryInstancesToHclTerraform = memorystoreInstanceCrossInstanceReplicationConfigSecondaryInstancesToHclTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigToTerraform = memorystoreInstanceCrossInstanceReplicationConfigToTerraform;
exports.memorystoreInstanceCrossInstanceReplicationConfigToHclTerraform = memorystoreInstanceCrossInstanceReplicationConfigToHclTerraform;
exports.memorystoreInstanceDesiredPscAutoConnectionsToTerraform = memorystoreInstanceDesiredPscAutoConnectionsToTerraform;
exports.memorystoreInstanceDesiredPscAutoConnectionsToHclTerraform = memorystoreInstanceDesiredPscAutoConnectionsToHclTerraform;
exports.memorystoreInstanceGcsSourceToTerraform = memorystoreInstanceGcsSourceToTerraform;
exports.memorystoreInstanceGcsSourceToHclTerraform = memorystoreInstanceGcsSourceToHclTerraform;
exports.memorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeToTerraform = memorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeToTerraform;
exports.memorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeToHclTerraform = memorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTimeToHclTerraform;
exports.memorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowToTerraform = memorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowToTerraform;
exports.memorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowToHclTerraform = memorystoreInstanceMaintenancePolicyWeeklyMaintenanceWindowToHclTerraform;
exports.memorystoreInstanceMaintenancePolicyToTerraform = memorystoreInstanceMaintenancePolicyToTerraform;
exports.memorystoreInstanceMaintenancePolicyToHclTerraform = memorystoreInstanceMaintenancePolicyToHclTerraform;
exports.memorystoreInstanceManagedBackupSourceToTerraform = memorystoreInstanceManagedBackupSourceToTerraform;
exports.memorystoreInstanceManagedBackupSourceToHclTerraform = memorystoreInstanceManagedBackupSourceToHclTerraform;
exports.memorystoreInstancePersistenceConfigAofConfigToTerraform = memorystoreInstancePersistenceConfigAofConfigToTerraform;
exports.memorystoreInstancePersistenceConfigAofConfigToHclTerraform = memorystoreInstancePersistenceConfigAofConfigToHclTerraform;
exports.memorystoreInstancePersistenceConfigRdbConfigToTerraform = memorystoreInstancePersistenceConfigRdbConfigToTerraform;
exports.memorystoreInstancePersistenceConfigRdbConfigToHclTerraform = memorystoreInstancePersistenceConfigRdbConfigToHclTerraform;
exports.memorystoreInstancePersistenceConfigToTerraform = memorystoreInstancePersistenceConfigToTerraform;
exports.memorystoreInstancePersistenceConfigToHclTerraform = memorystoreInstancePersistenceConfigToHclTerraform;
exports.memorystoreInstanceTimeoutsToTerraform = memorystoreInstanceTimeoutsToTerraform;
exports.memorystoreInstanceTimeoutsToHclTerraform = memorystoreInstanceTimeoutsToHclTerraform;
exports.memorystoreInstanceZoneDistributionConfigToTerraform = memorystoreInstanceZoneDistributionConfigToTerraform;
exports.memorystoreInstanceZoneDistributionConfigToHclTerraform = memorystoreInstanceZoneDistributionConfigToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function memorystoreInstanceDiscoveryEndpointsToTerraform(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 memorystoreInstanceDiscoveryEndpointsToHclTerraform(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 MemorystoreInstanceDiscoveryEndpointsOutputReference 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;
}
}
// address - computed: true, optional: false, required: false
get address() {
return this.getStringAttribute('address');
}
// network - computed: true, optional: false, required: false
get network() {
return this.getStringAttribute('network');
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
}
exports.MemorystoreInstanceDiscoveryEndpointsOutputReference = MemorystoreInstanceDiscoveryEndpointsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceDiscoveryEndpointsOutputReference[_a] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceDiscoveryEndpointsOutputReference", version: "14.35.1" };
class MemorystoreInstanceDiscoveryEndpointsList 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 MemorystoreInstanceDiscoveryEndpointsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstanceDiscoveryEndpointsList = MemorystoreInstanceDiscoveryEndpointsList;
_b = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceDiscoveryEndpointsList[_b] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceDiscoveryEndpointsList", version: "14.35.1" };
function memorystoreInstanceEndpointsConnectionsPscAutoConnectionToTerraform(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 memorystoreInstanceEndpointsConnectionsPscAutoConnectionToHclTerraform(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 MemorystoreInstanceEndpointsConnectionsPscAutoConnectionOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// connection_type - computed: true, optional: false, required: false
get connectionType() {
return this.getStringAttribute('connection_type');
}
// forwarding_rule - computed: true, optional: false, required: false
get forwardingRule() {
return this.getStringAttribute('forwarding_rule');
}
// ip_address - computed: true, optional: false, required: false
get ipAddress() {
return this.getStringAttribute('ip_address');
}
// network - computed: true, optional: false, required: false
get network() {
return this.getStringAttribute('network');
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
// project_id - computed: true, optional: false, required: false
get projectId() {
return this.getStringAttribute('project_id');
}
// psc_connection_id - computed: true, optional: false, required: false
get pscConnectionId() {
return this.getStringAttribute('psc_connection_id');
}
// service_attachment - computed: true, optional: false, required: false
get serviceAttachment() {
return this.getStringAttribute('service_attachment');
}
}
exports.MemorystoreInstanceEndpointsConnectionsPscAutoConnectionOutputReference = MemorystoreInstanceEndpointsConnectionsPscAutoConnectionOutputReference;
_c = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceEndpointsConnectionsPscAutoConnectionOutputReference[_c] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceEndpointsConnectionsPscAutoConnectionOutputReference", version: "14.35.1" };
class MemorystoreInstanceEndpointsConnectionsPscAutoConnectionList 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 MemorystoreInstanceEndpointsConnectionsPscAutoConnectionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstanceEndpointsConnectionsPscAutoConnectionList = MemorystoreInstanceEndpointsConnectionsPscAutoConnectionList;
_d = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceEndpointsConnectionsPscAutoConnectionList[_d] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceEndpointsConnectionsPscAutoConnectionList", version: "14.35.1" };
function memorystoreInstanceEndpointsConnectionsToTerraform(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 memorystoreInstanceEndpointsConnectionsToHclTerraform(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 MemorystoreInstanceEndpointsConnectionsOutputReference 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;
// psc_auto_connection - computed: true, optional: false, required: false
this._pscAutoConnection = new MemorystoreInstanceEndpointsConnectionsPscAutoConnectionList(this, "psc_auto_connection", 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 pscAutoConnection() {
return this._pscAutoConnection;
}
}
exports.MemorystoreInstanceEndpointsConnectionsOutputReference = MemorystoreInstanceEndpointsConnectionsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceEndpointsConnectionsOutputReference[_e] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceEndpointsConnectionsOutputReference", version: "14.35.1" };
class MemorystoreInstanceEndpointsConnectionsList 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 MemorystoreInstanceEndpointsConnectionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstanceEndpointsConnectionsList = MemorystoreInstanceEndpointsConnectionsList;
_f = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceEndpointsConnectionsList[_f] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceEndpointsConnectionsList", version: "14.35.1" };
function memorystoreInstanceEndpointsToTerraform(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 memorystoreInstanceEndpointsToHclTerraform(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 MemorystoreInstanceEndpointsOutputReference 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;
// connections - computed: true, optional: false, required: false
this._connections = new MemorystoreInstanceEndpointsConnectionsList(this, "connections", 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 connections() {
return this._connections;
}
}
exports.MemorystoreInstanceEndpointsOutputReference = MemorystoreInstanceEndpointsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceEndpointsOutputReference[_g] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceEndpointsOutputReference", version: "14.35.1" };
class MemorystoreInstanceEndpointsList 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 MemorystoreInstanceEndpointsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstanceEndpointsList = MemorystoreInstanceEndpointsList;
_h = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceEndpointsList[_h] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceEndpointsList", version: "14.35.1" };
function memorystoreInstanceMaintenanceScheduleToTerraform(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 memorystoreInstanceMaintenanceScheduleToHclTerraform(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 MemorystoreInstanceMaintenanceScheduleOutputReference 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;
}
}
// end_time - computed: true, optional: false, required: false
get endTime() {
return this.getStringAttribute('end_time');
}
// schedule_deadline_time - computed: true, optional: false, required: false
get scheduleDeadlineTime() {
return this.getStringAttribute('schedule_deadline_time');
}
// start_time - computed: true, optional: false, required: false
get startTime() {
return this.getStringAttribute('start_time');
}
}
exports.MemorystoreInstanceMaintenanceScheduleOutputReference = MemorystoreInstanceMaintenanceScheduleOutputReference;
_j = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceMaintenanceScheduleOutputReference[_j] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceMaintenanceScheduleOutputReference", version: "14.35.1" };
class MemorystoreInstanceMaintenanceScheduleList 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 MemorystoreInstanceMaintenanceScheduleOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstanceMaintenanceScheduleList = MemorystoreInstanceMaintenanceScheduleList;
_k = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceMaintenanceScheduleList[_k] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceMaintenanceScheduleList", version: "14.35.1" };
function memorystoreInstanceNodeConfigToTerraform(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 memorystoreInstanceNodeConfigToHclTerraform(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 MemorystoreInstanceNodeConfigOutputReference 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;
}
}
// size_gb - computed: true, optional: false, required: false
get sizeGb() {
return this.getNumberAttribute('size_gb');
}
}
exports.MemorystoreInstanceNodeConfigOutputReference = MemorystoreInstanceNodeConfigOutputReference;
_l = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceNodeConfigOutputReference[_l] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceNodeConfigOutputReference", version: "14.35.1" };
class MemorystoreInstanceNodeConfigList 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 MemorystoreInstanceNodeConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstanceNodeConfigList = MemorystoreInstanceNodeConfigList;
_m = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceNodeConfigList[_m] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceNodeConfigList", version: "14.35.1" };
function memorystoreInstancePscAttachmentDetailsToTerraform(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 memorystoreInstancePscAttachmentDetailsToHclTerraform(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 MemorystoreInstancePscAttachmentDetailsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// connection_type - computed: true, optional: false, required: false
get connectionType() {
return this.getStringAttribute('connection_type');
}
// service_attachment - computed: true, optional: false, required: false
get serviceAttachment() {
return this.getStringAttribute('service_attachment');
}
}
exports.MemorystoreInstancePscAttachmentDetailsOutputReference = MemorystoreInstancePscAttachmentDetailsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
MemorystoreInstancePscAttachmentDetailsOutputReference[_o] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstancePscAttachmentDetailsOutputReference", version: "14.35.1" };
class MemorystoreInstancePscAttachmentDetailsList 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 MemorystoreInstancePscAttachmentDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstancePscAttachmentDetailsList = MemorystoreInstancePscAttachmentDetailsList;
_p = JSII_RTTI_SYMBOL_1;
MemorystoreInstancePscAttachmentDetailsList[_p] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstancePscAttachmentDetailsList", version: "14.35.1" };
function memorystoreInstancePscAutoConnectionsToTerraform(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 memorystoreInstancePscAutoConnectionsToHclTerraform(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 MemorystoreInstancePscAutoConnectionsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// connection_type - computed: true, optional: false, required: false
get connectionType() {
return this.getStringAttribute('connection_type');
}
// forwarding_rule - computed: true, optional: false, required: false
get forwardingRule() {
return this.getStringAttribute('forwarding_rule');
}
// ip_address - computed: true, optional: false, required: false
get ipAddress() {
return this.getStringAttribute('ip_address');
}
// network - computed: true, optional: false, required: false
get network() {
return this.getStringAttribute('network');
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
// project_id - computed: true, optional: false, required: false
get projectId() {
return this.getStringAttribute('project_id');
}
// psc_connection_id - computed: true, optional: false, required: false
get pscConnectionId() {
return this.getStringAttribute('psc_connection_id');
}
// psc_connection_status - computed: true, optional: false, required: false
get pscConnectionStatus() {
return this.getStringAttribute('psc_connection_status');
}
// service_attachment - computed: true, optional: false, required: false
get serviceAttachment() {
return this.getStringAttribute('service_attachment');
}
}
exports.MemorystoreInstancePscAutoConnectionsOutputReference = MemorystoreInstancePscAutoConnectionsOutputReference;
_q = JSII_RTTI_SYMBOL_1;
MemorystoreInstancePscAutoConnectionsOutputReference[_q] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstancePscAutoConnectionsOutputReference", version: "14.35.1" };
class MemorystoreInstancePscAutoConnectionsList 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 MemorystoreInstancePscAutoConnectionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstancePscAutoConnectionsList = MemorystoreInstancePscAutoConnectionsList;
_r = JSII_RTTI_SYMBOL_1;
MemorystoreInstancePscAutoConnectionsList[_r] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstancePscAutoConnectionsList", version: "14.35.1" };
function memorystoreInstanceStateInfoUpdateInfoToTerraform(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 memorystoreInstanceStateInfoUpdateInfoToHclTerraform(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 MemorystoreInstanceStateInfoUpdateInfoOutputReference 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;
}
}
// target_engine_version - computed: true, optional: false, required: false
get targetEngineVersion() {
return this.getStringAttribute('target_engine_version');
}
// target_node_type - computed: true, optional: false, required: false
get targetNodeType() {
return this.getStringAttribute('target_node_type');
}
// target_replica_count - computed: true, optional: false, required: false
get targetReplicaCount() {
return this.getNumberAttribute('target_replica_count');
}
// target_shard_count - computed: true, optional: false, required: false
get targetShardCount() {
return this.getNumberAttribute('target_shard_count');
}
}
exports.MemorystoreInstanceStateInfoUpdateInfoOutputReference = MemorystoreInstanceStateInfoUpdateInfoOutputReference;
_s = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceStateInfoUpdateInfoOutputReference[_s] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceStateInfoUpdateInfoOutputReference", version: "14.35.1" };
class MemorystoreInstanceStateInfoUpdateInfoList 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 MemorystoreInstanceStateInfoUpdateInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MemorystoreInstanceStateInfoUpdateInfoList = MemorystoreInstanceStateInfoUpdateInfoList;
_t = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceStateInfoUpdateInfoList[_t] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceStateInfoUpdateInfoList", version: "14.35.1" };
function memorystoreInstanceStateInfoToTerraform(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 memorystoreInstanceStateInfoToHclTerraform(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 MemorystoreInstanceStateInfoOutputReference 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;
// update_info - computed: true, optional: false, required: false
this._updateInfo = new MemorystoreInstanceStateInfoUpdateInfoList(this, "update_info", 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 updateInfo() {
return this._updateInfo;
}
}
exports.MemorystoreInstanceStateInfoOutputReference = MemorystoreInstanceStateInfoOutputReference;
_u = JSII_RTTI_SYMBOL_1;
MemorystoreInstanceStateInfoOutputReference[_u] = { fqn: "@cdktf/provider-google.memorystoreInstance.MemorystoreInstanceStateInfoOutputReference", version: "14.35.1" };
class MemorystoreInstanceStateInfoList 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