UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

876 lines 174 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataGooglePubsubTopic = exports.DataGooglePubsubTopicSchemaSettingsList = exports.DataGooglePubsubTopicSchemaSettingsOutputReference = exports.DataGooglePubsubTopicMessageStoragePolicyList = exports.DataGooglePubsubTopicMessageStoragePolicyOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskOutputReference = exports.DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisList = exports.DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference = void 0; exports.dataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsAwsMskToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsAwsMskToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsAwsMskToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsAwsMskToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsToHclTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsToTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsToTerraform; exports.dataGooglePubsubTopicIngestionDataSourceSettingsToHclTerraform = dataGooglePubsubTopicIngestionDataSourceSettingsToHclTerraform; exports.dataGooglePubsubTopicMessageStoragePolicyToTerraform = dataGooglePubsubTopicMessageStoragePolicyToTerraform; exports.dataGooglePubsubTopicMessageStoragePolicyToHclTerraform = dataGooglePubsubTopicMessageStoragePolicyToHclTerraform; exports.dataGooglePubsubTopicSchemaSettingsToTerraform = dataGooglePubsubTopicSchemaSettingsToTerraform; exports.dataGooglePubsubTopicSchemaSettingsToHclTerraform = dataGooglePubsubTopicSchemaSettingsToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference 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; } } // aws_role_arn - computed: true, optional: false, required: false get awsRoleArn() { return this.getStringAttribute('aws_role_arn'); } // consumer_arn - computed: true, optional: false, required: false get consumerArn() { return this.getStringAttribute('consumer_arn'); } // gcp_service_account - computed: true, optional: false, required: false get gcpServiceAccount() { return this.getStringAttribute('gcp_service_account'); } // stream_arn - computed: true, optional: false, required: false get streamArn() { return this.getStringAttribute('stream_arn'); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference; _a = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisList 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 DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisList = DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisList; _b = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisList[_b] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsAwsMskToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsAwsMskToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskOutputReference 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; } } // aws_role_arn - computed: true, optional: false, required: false get awsRoleArn() { return this.getStringAttribute('aws_role_arn'); } // cluster_arn - computed: true, optional: false, required: false get clusterArn() { return this.getStringAttribute('cluster_arn'); } // gcp_service_account - computed: true, optional: false, required: false get gcpServiceAccount() { return this.getStringAttribute('gcp_service_account'); } // topic - computed: true, optional: false, required: false get topic() { return this.getStringAttribute('topic'); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskOutputReference; _c = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskList 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 DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskList = DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskList; _d = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskList[_d] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference 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; } } // client_id - computed: true, optional: false, required: false get clientId() { return this.getStringAttribute('client_id'); } // event_hub - computed: true, optional: false, required: false get eventHub() { return this.getStringAttribute('event_hub'); } // gcp_service_account - computed: true, optional: false, required: false get gcpServiceAccount() { return this.getStringAttribute('gcp_service_account'); } // namespace - computed: true, optional: false, required: false get namespace() { return this.getStringAttribute('namespace'); } // resource_group - computed: true, optional: false, required: false get resourceGroup() { return this.getStringAttribute('resource_group'); } // subscription_id - computed: true, optional: false, required: false get subscriptionId() { return this.getStringAttribute('subscription_id'); } // tenant_id - computed: true, optional: false, required: false get tenantId() { return this.getStringAttribute('tenant_id'); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference; _e = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsList 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 DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsList = DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsList; _f = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsList[_f] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference 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; } } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference; _g = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatList 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 DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatList = DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatList; _h = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatList[_h] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference 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; } } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference; _j = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatList 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 DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatList = DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatList; _k = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatList[_k] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference 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; } } // delimiter - computed: true, optional: false, required: false get delimiter() { return this.getStringAttribute('delimiter'); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference; _l = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatList 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 DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatList = DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatList; _m = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatList[_m] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference 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; // avro_format - computed: true, optional: false, required: false this._avroFormat = new DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageAvroFormatList(this, "avro_format", false); // pubsub_avro_format - computed: true, optional: false, required: false this._pubsubAvroFormat = new DataGooglePubsubTopicIngestionDataSourceSettingsCloudStoragePubsubAvroFormatList(this, "pubsub_avro_format", false); // text_format - computed: true, optional: false, required: false this._textFormat = new DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageTextFormatList(this, "text_format", 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 avroFormat() { return this._avroFormat; } // bucket - computed: true, optional: false, required: false get bucket() { return this.getStringAttribute('bucket'); } // match_glob - computed: true, optional: false, required: false get matchGlob() { return this.getStringAttribute('match_glob'); } // minimum_object_create_time - computed: true, optional: false, required: false get minimumObjectCreateTime() { return this.getStringAttribute('minimum_object_create_time'); } get pubsubAvroFormat() { return this._pubsubAvroFormat; } get textFormat() { return this._textFormat; } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference; _o = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageList 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 DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageList = DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageList; _p = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageList[_p] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference 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; } } // bootstrap_server - computed: true, optional: false, required: false get bootstrapServer() { return this.getStringAttribute('bootstrap_server'); } // cluster_id - computed: true, optional: false, required: false get clusterId() { return this.getStringAttribute('cluster_id'); } // gcp_service_account - computed: true, optional: false, required: false get gcpServiceAccount() { return this.getStringAttribute('gcp_service_account'); } // identity_pool_id - computed: true, optional: false, required: false get identityPoolId() { return this.getStringAttribute('identity_pool_id'); } // topic - computed: true, optional: false, required: false get topic() { return this.getStringAttribute('topic'); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference; _q = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudList 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 DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudList = DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudList; _r = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudList[_r] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference 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; } } // severity - computed: true, optional: false, required: false get severity() { return this.getStringAttribute('severity'); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference; _s = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsList 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 DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsList = DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsList; _t = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsList[_t] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsList", version: "14.35.0" }; function dataGooglePubsubTopicIngestionDataSourceSettingsToTerraform(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 dataGooglePubsubTopicIngestionDataSourceSettingsToHclTerraform(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 DataGooglePubsubTopicIngestionDataSourceSettingsOutputReference 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; // aws_kinesis - computed: true, optional: false, required: false this._awsKinesis = new DataGooglePubsubTopicIngestionDataSourceSettingsAwsKinesisList(this, "aws_kinesis", false); // aws_msk - computed: true, optional: false, required: false this._awsMsk = new DataGooglePubsubTopicIngestionDataSourceSettingsAwsMskList(this, "aws_msk", false); // azure_event_hubs - computed: true, optional: false, required: false this._azureEventHubs = new DataGooglePubsubTopicIngestionDataSourceSettingsAzureEventHubsList(this, "azure_event_hubs", false); // cloud_storage - computed: true, optional: false, required: false this._cloudStorage = new DataGooglePubsubTopicIngestionDataSourceSettingsCloudStorageList(this, "cloud_storage", false); // confluent_cloud - computed: true, optional: false, required: false this._confluentCloud = new DataGooglePubsubTopicIngestionDataSourceSettingsConfluentCloudList(this, "confluent_cloud", false); // platform_logs_settings - computed: true, optional: false, required: false this._platformLogsSettings = new DataGooglePubsubTopicIngestionDataSourceSettingsPlatformLogsSettingsList(this, "platform_logs_settings", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } get awsKinesis() { return this._awsKinesis; } get awsMsk() { return this._awsMsk; } get azureEventHubs() { return this._azureEventHubs; } get cloudStorage() { return this._cloudStorage; } get confluentCloud() { return this._confluentCloud; } get platformLogsSettings() { return this._platformLogsSettings; } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsOutputReference = DataGooglePubsubTopicIngestionDataSourceSettingsOutputReference; _u = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsOutputReference[_u] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsOutputReference", version: "14.35.0" }; class DataGooglePubsubTopicIngestionDataSourceSettingsList 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 DataGooglePubsubTopicIngestionDataSourceSettingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataGooglePubsubTopicIngestionDataSourceSettingsList = DataGooglePubsubTopicIngestionDataSourceSettingsList; _v = JSII_RTTI_SYMBOL_1; DataGooglePubsubTopicIngestionDataSourceSettingsList[_v] = { fqn: "@cdktf/provider-google.dataGooglePubsubTopic.DataGooglePubsubTopicIngestionDataSourceSettingsList", version: "14.35.0" }; function dataGooglePubsubTopicMessageStoragePolicyToTerraform(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 dataGooglePubsubTopicMessageStoragePolicyToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct