@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
756 lines • 982 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IntegrationConnectorsConnectionAuthConfigSshPublicKeySshClientCertOutputReference = exports.integrationConnectorsConnectionAuthConfigSshPublicKeySshClientCertToHclTerraform = exports.integrationConnectorsConnectionAuthConfigSshPublicKeySshClientCertToTerraform = exports.IntegrationConnectorsConnectionAuthConfigOauth2JwtBearerOutputReference = exports.integrationConnectorsConnectionAuthConfigOauth2JwtBearerToHclTerraform = exports.integrationConnectorsConnectionAuthConfigOauth2JwtBearerToTerraform = exports.IntegrationConnectorsConnectionAuthConfigOauth2JwtBearerJwtClaimsOutputReference = exports.integrationConnectorsConnectionAuthConfigOauth2JwtBearerJwtClaimsToHclTerraform = exports.integrationConnectorsConnectionAuthConfigOauth2JwtBearerJwtClaimsToTerraform = exports.IntegrationConnectorsConnectionAuthConfigOauth2JwtBearerClientKeyOutputReference = exports.integrationConnectorsConnectionAuthConfigOauth2JwtBearerClientKeyToHclTerraform = exports.integrationConnectorsConnectionAuthConfigOauth2JwtBearerClientKeyToTerraform = exports.IntegrationConnectorsConnectionAuthConfigOauth2ClientCredentialsOutputReference = exports.integrationConnectorsConnectionAuthConfigOauth2ClientCredentialsToHclTerraform = exports.integrationConnectorsConnectionAuthConfigOauth2ClientCredentialsToTerraform = exports.IntegrationConnectorsConnectionAuthConfigOauth2ClientCredentialsClientSecretOutputReference = exports.integrationConnectorsConnectionAuthConfigOauth2ClientCredentialsClientSecretToHclTerraform = exports.integrationConnectorsConnectionAuthConfigOauth2ClientCredentialsClientSecretToTerraform = exports.IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowOutputReference = exports.integrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowToHclTerraform = exports.integrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowToTerraform = exports.IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowClientSecretOutputReference = exports.integrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowClientSecretToHclTerraform = exports.integrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowClientSecretToTerraform = exports.IntegrationConnectorsConnectionAuthConfigAdditionalVariableList = exports.IntegrationConnectorsConnectionAuthConfigAdditionalVariableOutputReference = exports.integrationConnectorsConnectionAuthConfigAdditionalVariableToHclTerraform = exports.integrationConnectorsConnectionAuthConfigAdditionalVariableToTerraform = exports.IntegrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueOutputReference = exports.integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToHclTerraform = exports.integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToTerraform = exports.IntegrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueOutputReference = exports.integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToHclTerraform = exports.integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToTerraform = exports.IntegrationConnectorsConnectionStatusList = exports.IntegrationConnectorsConnectionStatusOutputReference = exports.integrationConnectorsConnectionStatusToHclTerraform = exports.integrationConnectorsConnectionStatusToTerraform = exports.IntegrationConnectorsConnectionEventingRuntimeDataList = exports.IntegrationConnectorsConnectionEventingRuntimeDataOutputReference = exports.integrationConnectorsConnectionEventingRuntimeDataToHclTerraform = exports.integrationConnectorsConnectionEventingRuntimeDataToTerraform = exports.IntegrationConnectorsConnectionEventingRuntimeDataStatusList = exports.IntegrationConnectorsConnectionEventingRuntimeDataStatusOutputReference = exports.integrationConnectorsConnectionEventingRuntimeDataStatusToHclTerraform = exports.integrationConnectorsConnectionEventingRuntimeDataStatusToTerraform = exports.IntegrationConnectorsConnectionConnectorVersionInfraConfigList = exports.IntegrationConnectorsConnectionConnectorVersionInfraConfigOutputReference = exports.integrationConnectorsConnectionConnectorVersionInfraConfigToHclTerraform = exports.integrationConnectorsConnectionConnectorVersionInfraConfigToTerraform = void 0;
exports.integrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableSecretValueOutputReference = exports.integrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableSecretValueToHclTerraform = exports.integrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableSecretValueToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueOutputReference = exports.integrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueToHclTerraform = exports.integrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAdditionalVariableList = exports.IntegrationConnectorsConnectionEventingConfigAdditionalVariableOutputReference = exports.integrationConnectorsConnectionEventingConfigAdditionalVariableToHclTerraform = exports.integrationConnectorsConnectionEventingConfigAdditionalVariableToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAdditionalVariableSecretValueOutputReference = exports.integrationConnectorsConnectionEventingConfigAdditionalVariableSecretValueToHclTerraform = exports.integrationConnectorsConnectionEventingConfigAdditionalVariableSecretValueToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAdditionalVariableEncryptionKeyValueOutputReference = exports.integrationConnectorsConnectionEventingConfigAdditionalVariableEncryptionKeyValueToHclTerraform = exports.integrationConnectorsConnectionEventingConfigAdditionalVariableEncryptionKeyValueToTerraform = exports.IntegrationConnectorsConnectionDestinationConfigList = exports.IntegrationConnectorsConnectionDestinationConfigOutputReference = exports.integrationConnectorsConnectionDestinationConfigToHclTerraform = exports.integrationConnectorsConnectionDestinationConfigToTerraform = exports.IntegrationConnectorsConnectionDestinationConfigDestinationList = exports.IntegrationConnectorsConnectionDestinationConfigDestinationOutputReference = exports.integrationConnectorsConnectionDestinationConfigDestinationToHclTerraform = exports.integrationConnectorsConnectionDestinationConfigDestinationToTerraform = exports.IntegrationConnectorsConnectionConfigVariableList = exports.IntegrationConnectorsConnectionConfigVariableOutputReference = exports.integrationConnectorsConnectionConfigVariableToHclTerraform = exports.integrationConnectorsConnectionConfigVariableToTerraform = exports.IntegrationConnectorsConnectionConfigVariableSecretValueOutputReference = exports.integrationConnectorsConnectionConfigVariableSecretValueToHclTerraform = exports.integrationConnectorsConnectionConfigVariableSecretValueToTerraform = exports.IntegrationConnectorsConnectionConfigVariableEncryptionKeyValueOutputReference = exports.integrationConnectorsConnectionConfigVariableEncryptionKeyValueToHclTerraform = exports.integrationConnectorsConnectionConfigVariableEncryptionKeyValueToTerraform = exports.IntegrationConnectorsConnectionAuthConfigOutputReference = exports.integrationConnectorsConnectionAuthConfigToHclTerraform = exports.integrationConnectorsConnectionAuthConfigToTerraform = exports.IntegrationConnectorsConnectionAuthConfigUserPasswordOutputReference = exports.integrationConnectorsConnectionAuthConfigUserPasswordToHclTerraform = exports.integrationConnectorsConnectionAuthConfigUserPasswordToTerraform = exports.IntegrationConnectorsConnectionAuthConfigUserPasswordPasswordOutputReference = exports.integrationConnectorsConnectionAuthConfigUserPasswordPasswordToHclTerraform = exports.integrationConnectorsConnectionAuthConfigUserPasswordPasswordToTerraform = exports.IntegrationConnectorsConnectionAuthConfigSshPublicKeyOutputReference = exports.integrationConnectorsConnectionAuthConfigSshPublicKeyToHclTerraform = exports.integrationConnectorsConnectionAuthConfigSshPublicKeyToTerraform = exports.IntegrationConnectorsConnectionAuthConfigSshPublicKeySshClientCertPassOutputReference = exports.integrationConnectorsConnectionAuthConfigSshPublicKeySshClientCertPassToHclTerraform = exports.integrationConnectorsConnectionAuthConfigSshPublicKeySshClientCertPassToTerraform = void 0;
exports.IntegrationConnectorsConnectionSslConfigClientPrivateKeyPassOutputReference = exports.integrationConnectorsConnectionSslConfigClientPrivateKeyPassToHclTerraform = exports.integrationConnectorsConnectionSslConfigClientPrivateKeyPassToTerraform = exports.IntegrationConnectorsConnectionSslConfigClientPrivateKeyOutputReference = exports.integrationConnectorsConnectionSslConfigClientPrivateKeyToHclTerraform = exports.integrationConnectorsConnectionSslConfigClientPrivateKeyToTerraform = exports.IntegrationConnectorsConnectionSslConfigClientCertificateOutputReference = exports.integrationConnectorsConnectionSslConfigClientCertificateToHclTerraform = exports.integrationConnectorsConnectionSslConfigClientCertificateToTerraform = exports.IntegrationConnectorsConnectionSslConfigAdditionalVariableList = exports.IntegrationConnectorsConnectionSslConfigAdditionalVariableOutputReference = exports.integrationConnectorsConnectionSslConfigAdditionalVariableToHclTerraform = exports.integrationConnectorsConnectionSslConfigAdditionalVariableToTerraform = exports.IntegrationConnectorsConnectionSslConfigAdditionalVariableSecretValueOutputReference = exports.integrationConnectorsConnectionSslConfigAdditionalVariableSecretValueToHclTerraform = exports.integrationConnectorsConnectionSslConfigAdditionalVariableSecretValueToTerraform = exports.IntegrationConnectorsConnectionSslConfigAdditionalVariableEncryptionKeyValueOutputReference = exports.integrationConnectorsConnectionSslConfigAdditionalVariableEncryptionKeyValueToHclTerraform = exports.integrationConnectorsConnectionSslConfigAdditionalVariableEncryptionKeyValueToTerraform = exports.IntegrationConnectorsConnectionNodeConfigOutputReference = exports.integrationConnectorsConnectionNodeConfigToHclTerraform = exports.integrationConnectorsConnectionNodeConfigToTerraform = exports.IntegrationConnectorsConnectionLogConfigOutputReference = exports.integrationConnectorsConnectionLogConfigToHclTerraform = exports.integrationConnectorsConnectionLogConfigToTerraform = exports.IntegrationConnectorsConnectionLockConfigOutputReference = exports.integrationConnectorsConnectionLockConfigToHclTerraform = exports.integrationConnectorsConnectionLockConfigToTerraform = exports.IntegrationConnectorsConnectionEventingConfigOutputReference = exports.integrationConnectorsConnectionEventingConfigToHclTerraform = exports.integrationConnectorsConnectionEventingConfigToTerraform = exports.IntegrationConnectorsConnectionEventingConfigRegistrationDestinationConfigOutputReference = exports.integrationConnectorsConnectionEventingConfigRegistrationDestinationConfigToHclTerraform = exports.integrationConnectorsConnectionEventingConfigRegistrationDestinationConfigToTerraform = exports.IntegrationConnectorsConnectionEventingConfigRegistrationDestinationConfigDestinationList = exports.IntegrationConnectorsConnectionEventingConfigRegistrationDestinationConfigDestinationOutputReference = exports.integrationConnectorsConnectionEventingConfigRegistrationDestinationConfigDestinationToHclTerraform = exports.integrationConnectorsConnectionEventingConfigRegistrationDestinationConfigDestinationToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAuthConfigOutputReference = exports.integrationConnectorsConnectionEventingConfigAuthConfigToHclTerraform = exports.integrationConnectorsConnectionEventingConfigAuthConfigToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAuthConfigUserPasswordOutputReference = exports.integrationConnectorsConnectionEventingConfigAuthConfigUserPasswordToHclTerraform = exports.integrationConnectorsConnectionEventingConfigAuthConfigUserPasswordToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAuthConfigUserPasswordPasswordOutputReference = exports.integrationConnectorsConnectionEventingConfigAuthConfigUserPasswordPasswordToHclTerraform = exports.integrationConnectorsConnectionEventingConfigAuthConfigUserPasswordPasswordToTerraform = exports.IntegrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableList = exports.IntegrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableOutputReference = exports.integrationConnectorsConnectionEventingConfigAuthConfigAdditionalVariableToHclTerraform = void 0;
exports.IntegrationConnectorsConnection = exports.IntegrationConnectorsConnectionTimeoutsOutputReference = exports.integrationConnectorsConnectionTimeoutsToHclTerraform = exports.integrationConnectorsConnectionTimeoutsToTerraform = exports.IntegrationConnectorsConnectionSslConfigOutputReference = exports.integrationConnectorsConnectionSslConfigToHclTerraform = exports.integrationConnectorsConnectionSslConfigToTerraform = exports.IntegrationConnectorsConnectionSslConfigPrivateServerCertificateOutputReference = exports.integrationConnectorsConnectionSslConfigPrivateServerCertificateToHclTerraform = exports.integrationConnectorsConnectionSslConfigPrivateServerCertificateToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function integrationConnectorsConnectionConnectorVersionInfraConfigToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.integrationConnectorsConnectionConnectorVersionInfraConfigToTerraform = integrationConnectorsConnectionConnectorVersionInfraConfigToTerraform;
function integrationConnectorsConnectionConnectorVersionInfraConfigToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.integrationConnectorsConnectionConnectorVersionInfraConfigToHclTerraform = integrationConnectorsConnectionConnectorVersionInfraConfigToHclTerraform;
class IntegrationConnectorsConnectionConnectorVersionInfraConfigOutputReference 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;
}
}
// ratelimit_threshold - computed: true, optional: false, required: false
get ratelimitThreshold() {
return this.getStringAttribute('ratelimit_threshold');
}
}
exports.IntegrationConnectorsConnectionConnectorVersionInfraConfigOutputReference = IntegrationConnectorsConnectionConnectorVersionInfraConfigOutputReference;
_a = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionConnectorVersionInfraConfigOutputReference[_a] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionConnectorVersionInfraConfigOutputReference", version: "14.3.0" };
class IntegrationConnectorsConnectionConnectorVersionInfraConfigList 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 IntegrationConnectorsConnectionConnectorVersionInfraConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.IntegrationConnectorsConnectionConnectorVersionInfraConfigList = IntegrationConnectorsConnectionConnectorVersionInfraConfigList;
_b = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionConnectorVersionInfraConfigList[_b] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionConnectorVersionInfraConfigList", version: "14.3.0" };
function integrationConnectorsConnectionEventingRuntimeDataStatusToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.integrationConnectorsConnectionEventingRuntimeDataStatusToTerraform = integrationConnectorsConnectionEventingRuntimeDataStatusToTerraform;
function integrationConnectorsConnectionEventingRuntimeDataStatusToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.integrationConnectorsConnectionEventingRuntimeDataStatusToHclTerraform = integrationConnectorsConnectionEventingRuntimeDataStatusToHclTerraform;
class IntegrationConnectorsConnectionEventingRuntimeDataStatusOutputReference 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;
}
}
// description - computed: true, optional: false, required: false
get description() {
return this.getStringAttribute('description');
}
// state - computed: true, optional: false, required: false
get state() {
return this.getStringAttribute('state');
}
}
exports.IntegrationConnectorsConnectionEventingRuntimeDataStatusOutputReference = IntegrationConnectorsConnectionEventingRuntimeDataStatusOutputReference;
_c = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionEventingRuntimeDataStatusOutputReference[_c] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionEventingRuntimeDataStatusOutputReference", version: "14.3.0" };
class IntegrationConnectorsConnectionEventingRuntimeDataStatusList 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 IntegrationConnectorsConnectionEventingRuntimeDataStatusOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.IntegrationConnectorsConnectionEventingRuntimeDataStatusList = IntegrationConnectorsConnectionEventingRuntimeDataStatusList;
_d = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionEventingRuntimeDataStatusList[_d] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionEventingRuntimeDataStatusList", version: "14.3.0" };
function integrationConnectorsConnectionEventingRuntimeDataToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.integrationConnectorsConnectionEventingRuntimeDataToTerraform = integrationConnectorsConnectionEventingRuntimeDataToTerraform;
function integrationConnectorsConnectionEventingRuntimeDataToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.integrationConnectorsConnectionEventingRuntimeDataToHclTerraform = integrationConnectorsConnectionEventingRuntimeDataToHclTerraform;
class IntegrationConnectorsConnectionEventingRuntimeDataOutputReference 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;
// status - computed: true, optional: false, required: false
this._status = new IntegrationConnectorsConnectionEventingRuntimeDataStatusList(this, "status", 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;
}
}
// events_listener_endpoint - computed: true, optional: false, required: false
get eventsListenerEndpoint() {
return this.getStringAttribute('events_listener_endpoint');
}
get status() {
return this._status;
}
}
exports.IntegrationConnectorsConnectionEventingRuntimeDataOutputReference = IntegrationConnectorsConnectionEventingRuntimeDataOutputReference;
_e = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionEventingRuntimeDataOutputReference[_e] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionEventingRuntimeDataOutputReference", version: "14.3.0" };
class IntegrationConnectorsConnectionEventingRuntimeDataList 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 IntegrationConnectorsConnectionEventingRuntimeDataOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.IntegrationConnectorsConnectionEventingRuntimeDataList = IntegrationConnectorsConnectionEventingRuntimeDataList;
_f = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionEventingRuntimeDataList[_f] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionEventingRuntimeDataList", version: "14.3.0" };
function integrationConnectorsConnectionStatusToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {};
}
exports.integrationConnectorsConnectionStatusToTerraform = integrationConnectorsConnectionStatusToTerraform;
function integrationConnectorsConnectionStatusToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {};
return attrs;
}
exports.integrationConnectorsConnectionStatusToHclTerraform = integrationConnectorsConnectionStatusToHclTerraform;
class IntegrationConnectorsConnectionStatusOutputReference 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;
}
}
// description - computed: true, optional: false, required: false
get description() {
return this.getStringAttribute('description');
}
// state - computed: true, optional: false, required: false
get state() {
return this.getStringAttribute('state');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
}
exports.IntegrationConnectorsConnectionStatusOutputReference = IntegrationConnectorsConnectionStatusOutputReference;
_g = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionStatusOutputReference[_g] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionStatusOutputReference", version: "14.3.0" };
class IntegrationConnectorsConnectionStatusList 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 IntegrationConnectorsConnectionStatusOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.IntegrationConnectorsConnectionStatusList = IntegrationConnectorsConnectionStatusList;
_h = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionStatusList[_h] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionStatusList", version: "14.3.0" };
function integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToTerraform(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 {
kms_key_name: cdktf.stringToTerraform(struct.kmsKeyName),
type: cdktf.stringToTerraform(struct.type),
};
}
exports.integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToTerraform = integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToTerraform;
function integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToHclTerraform(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 = {
kms_key_name: {
value: cdktf.stringToHclTerraform(struct.kmsKeyName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
type: {
value: cdktf.stringToHclTerraform(struct.type),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToHclTerraform = integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToHclTerraform;
class IntegrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._kmsKeyName !== undefined) {
hasAnyValues = true;
internalValueResult.kmsKeyName = this._kmsKeyName;
}
if (this._type !== undefined) {
hasAnyValues = true;
internalValueResult.type = this._type;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._kmsKeyName = undefined;
this._type = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._kmsKeyName = value.kmsKeyName;
this._type = value.type;
}
}
get kmsKeyName() {
return this.getStringAttribute('kms_key_name');
}
set kmsKeyName(value) {
this._kmsKeyName = value;
}
resetKmsKeyName() {
this._kmsKeyName = undefined;
}
// Temporarily expose input value. Use with caution.
get kmsKeyNameInput() {
return this._kmsKeyName;
}
get type() {
return this.getStringAttribute('type');
}
set type(value) {
this._type = value;
}
// Temporarily expose input value. Use with caution.
get typeInput() {
return this._type;
}
}
exports.IntegrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueOutputReference = IntegrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueOutputReference;
_j = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueOutputReference[_j] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueOutputReference", version: "14.3.0" };
function integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToTerraform(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 {
secret_version: cdktf.stringToTerraform(struct.secretVersion),
};
}
exports.integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToTerraform = integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToTerraform;
function integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToHclTerraform(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 = {
secret_version: {
value: cdktf.stringToHclTerraform(struct.secretVersion),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToHclTerraform = integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToHclTerraform;
class IntegrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._secretVersion !== undefined) {
hasAnyValues = true;
internalValueResult.secretVersion = this._secretVersion;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._secretVersion = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._secretVersion = value.secretVersion;
}
}
get secretVersion() {
return this.getStringAttribute('secret_version');
}
set secretVersion(value) {
this._secretVersion = value;
}
// Temporarily expose input value. Use with caution.
get secretVersionInput() {
return this._secretVersion;
}
}
exports.IntegrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueOutputReference = IntegrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueOutputReference;
_k = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueOutputReference[_k] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueOutputReference", version: "14.3.0" };
function integrationConnectorsConnectionAuthConfigAdditionalVariableToTerraform(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 {
boolean_value: cdktf.booleanToTerraform(struct.booleanValue),
integer_value: cdktf.numberToTerraform(struct.integerValue),
key: cdktf.stringToTerraform(struct.key),
string_value: cdktf.stringToTerraform(struct.stringValue),
encryption_key_value: integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToTerraform(struct.encryptionKeyValue),
secret_value: integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToTerraform(struct.secretValue),
};
}
exports.integrationConnectorsConnectionAuthConfigAdditionalVariableToTerraform = integrationConnectorsConnectionAuthConfigAdditionalVariableToTerraform;
function integrationConnectorsConnectionAuthConfigAdditionalVariableToHclTerraform(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 = {
boolean_value: {
value: cdktf.booleanToHclTerraform(struct.booleanValue),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
integer_value: {
value: cdktf.numberToHclTerraform(struct.integerValue),
isBlock: false,
type: "simple",
storageClassType: "number",
},
key: {
value: cdktf.stringToHclTerraform(struct.key),
isBlock: false,
type: "simple",
storageClassType: "string",
},
string_value: {
value: cdktf.stringToHclTerraform(struct.stringValue),
isBlock: false,
type: "simple",
storageClassType: "string",
},
encryption_key_value: {
value: integrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueToHclTerraform(struct.encryptionKeyValue),
isBlock: true,
type: "list",
storageClassType: "IntegrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueList",
},
secret_value: {
value: integrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueToHclTerraform(struct.secretValue),
isBlock: true,
type: "list",
storageClassType: "IntegrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.integrationConnectorsConnectionAuthConfigAdditionalVariableToHclTerraform = integrationConnectorsConnectionAuthConfigAdditionalVariableToHclTerraform;
class IntegrationConnectorsConnectionAuthConfigAdditionalVariableOutputReference 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_key_value - computed: false, optional: true, required: false
this._encryptionKeyValue = new IntegrationConnectorsConnectionAuthConfigAdditionalVariableEncryptionKeyValueOutputReference(this, "encryption_key_value");
// secret_value - computed: false, optional: true, required: false
this._secretValue = new IntegrationConnectorsConnectionAuthConfigAdditionalVariableSecretValueOutputReference(this, "secret_value");
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._booleanValue !== undefined) {
hasAnyValues = true;
internalValueResult.booleanValue = this._booleanValue;
}
if (this._integerValue !== undefined) {
hasAnyValues = true;
internalValueResult.integerValue = this._integerValue;
}
if (this._key !== undefined) {
hasAnyValues = true;
internalValueResult.key = this._key;
}
if (this._stringValue !== undefined) {
hasAnyValues = true;
internalValueResult.stringValue = this._stringValue;
}
if (this._encryptionKeyValue?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.encryptionKeyValue = this._encryptionKeyValue?.internalValue;
}
if (this._secretValue?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.secretValue = this._secretValue?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._booleanValue = undefined;
this._integerValue = undefined;
this._key = undefined;
this._stringValue = undefined;
this._encryptionKeyValue.internalValue = undefined;
this._secretValue.internalValue = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._booleanValue = value.booleanValue;
this._integerValue = value.integerValue;
this._key = value.key;
this._stringValue = value.stringValue;
this._encryptionKeyValue.internalValue = value.encryptionKeyValue;
this._secretValue.internalValue = value.secretValue;
}
}
get booleanValue() {
return this.getBooleanAttribute('boolean_value');
}
set booleanValue(value) {
this._booleanValue = value;
}
resetBooleanValue() {
this._booleanValue = undefined;
}
// Temporarily expose input value. Use with caution.
get booleanValueInput() {
return this._booleanValue;
}
get integerValue() {
return this.getNumberAttribute('integer_value');
}
set integerValue(value) {
this._integerValue = value;
}
resetIntegerValue() {
this._integerValue = undefined;
}
// Temporarily expose input value. Use with caution.
get integerValueInput() {
return this._integerValue;
}
get key() {
return this.getStringAttribute('key');
}
set key(value) {
this._key = value;
}
// Temporarily expose input value. Use with caution.
get keyInput() {
return this._key;
}
get stringValue() {
return this.getStringAttribute('string_value');
}
set stringValue(value) {
this._stringValue = value;
}
resetStringValue() {
this._stringValue = undefined;
}
// Temporarily expose input value. Use with caution.
get stringValueInput() {
return this._stringValue;
}
get encryptionKeyValue() {
return this._encryptionKeyValue;
}
putEncryptionKeyValue(value) {
this._encryptionKeyValue.internalValue = value;
}
resetEncryptionKeyValue() {
this._encryptionKeyValue.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get encryptionKeyValueInput() {
return this._encryptionKeyValue.internalValue;
}
get secretValue() {
return this._secretValue;
}
putSecretValue(value) {
this._secretValue.internalValue = value;
}
resetSecretValue() {
this._secretValue.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get secretValueInput() {
return this._secretValue.internalValue;
}
}
exports.IntegrationConnectorsConnectionAuthConfigAdditionalVariableOutputReference = IntegrationConnectorsConnectionAuthConfigAdditionalVariableOutputReference;
_l = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionAuthConfigAdditionalVariableOutputReference[_l] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionAuthConfigAdditionalVariableOutputReference", version: "14.3.0" };
class IntegrationConnectorsConnectionAuthConfigAdditionalVariableList 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 IntegrationConnectorsConnectionAuthConfigAdditionalVariableOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.IntegrationConnectorsConnectionAuthConfigAdditionalVariableList = IntegrationConnectorsConnectionAuthConfigAdditionalVariableList;
_m = JSII_RTTI_SYMBOL_1;
IntegrationConnectorsConnectionAuthConfigAdditionalVariableList[_m] = { fqn: "@cdktf/provider-google.integrationConnectorsConnection.IntegrationConnectorsConnectionAuthConfigAdditionalVariableList", version: "14.3.0" };
function integrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowClientSecretToTerraform(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 {
secret_version: cdktf.stringToTerraform(struct.secretVersion),
};
}
exports.integrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowClientSecretToTerraform = integrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowClientSecretToTerraform;
function integrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowClientSecretToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw ne