import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WedataDataSourceConfig extends cdktf.TerraformMetaArguments { /** * Data source description information. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#description WedataDataSource#description} */ readonly description?: string; /** * Development environment data source configuration information, required if the project is in standard mode. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#dev_con_properties WedataDataSource#dev_con_properties} */ readonly devConProperties?: string; /** * Data source display name, for visual viewing. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#display_name WedataDataSource#display_name} */ readonly displayName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#id WedataDataSource#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Data source name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#name WedataDataSource#name} */ readonly name: string; /** * Data source configuration information, stored in JSON KV format, with different KV storage information for each data source type. * * > deployType: * CONNSTR_PUBLICDB(Public network instance) * CONNSTR_CVMDB(Self-built instance) * INSTANCE(Cloud instance) * * ``` * mysql: Self-built instance * { * "deployType": "CONNSTR_CVMDB", * "url": "jdbc:mysql://1.1.1.1:1111/database", * "username": "root", * "password": "root", * "region": "ap-shanghai", * "vpcId": "vpc-kprq42yo", * "type": "MYSQL" * } * mysql: Cloud instance * { * "instanceid": "cdb-12uxdo5e", * "db": "db", * "region": "ap-shanghai", * "username": "msyql", * "password": "mysql", * "deployType": "INSTANCE", * "type": "TENCENT_MYSQL" * } * sql_server: * { * "deployType": "CONNSTR_PUBLICDB", * "url": "jdbc:sqlserver://1.1.1.1:223;DatabaseName=database", * "username": "user_1", * "password": "pass_2", * "type": "SQLSERVER" * } * redis: * redisType: * -NO_ACCOUT(No account) * -SELF_ACCOUNT(Custom account) * { * "deployType": "CONNSTR_PUBLICDB", * "username":"" * "password": "pass", * "ip": "1.1.1.1", * "port": "6379", * "redisType": "NO_ACCOUT", * "type": "REDIS" * } * oracle: * { * "deployType": "CONNSTR_CVMDB", * "url": "jdbc:oracle:thin:@1.1.1.1:1521:prod", * "username": "oracle", * "password": "pass", * "region": "ap-shanghai", * "vpcId": "vpc-kprq42yo", * "type": "ORACLE" * } * mongodb: * advanceParams(Custom parameters, will be appended to the URL) * { * "advanceParams": [ * { * "key": "authSource", * "value": "auth" * } * ], * "db": "admin", * "deployType": "CONNSTR_PUBLICDB", * "username": "user", * "password": "pass", * "type": "MONGODB", * "host": "1.1.1.1:9200" * } * postgresql: * { * "deployType": "CONNSTR_PUBLICDB", * "url": "jdbc:postgresql://1.1.1.1:1921/database", * "username": "user", * "password": "pass", * "type": "POSTGRE" * } * kafka: * authType: * - sasl * - jaas * - sasl_plaintext * - sasl_ssl * - GSSAPI * ssl: * -PLAIN * -GSSAPI * { * "deployType": "CONNSTR_PUBLICDB", * "host": "1.1.1.1:9092", * "ssl": "GSSAPI", * "authType": "sasl", * "type": "KAFKA", * "principal": "aaaa", * "serviceName": "kafka" * } * * cos: * { * "region": "ap-shanghai", * "deployType": "INSTANCE", * "secretId": "aaaaa", * "secretKey": "sssssss", * "bucket": "aaa", * "type": "COS" * } * * ```. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#prod_con_properties WedataDataSource#prod_con_properties} */ readonly prodConProperties: string; /** * Data source project ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#project_id WedataDataSource#project_id} */ readonly projectId: string; /** * Data source type: enumeration values. * * - MYSQL * - TENCENT_MYSQL * - POSTGRE * - ORACLE * - SQLSERVER * - FTP * - HIVE * - HUDI * - HDFS * - ICEBERG * - KAFKA * - DTS_KAFKA * - HBASE * - SPARK * - TBASE * - DB2 * - DM * - GAUSSDB * - GBASE * - IMPALA * - ES * - TENCENT_ES * - GREENPLUM * - SAP_HANA * - SFTP * - OCEANBASE * - CLICKHOUSE * - KUDU * - VERTICA * - REDIS * - COS * - DLC * - DORIS * - CKAFKA * - S3_DATAINSIGHT * - TDSQL * - TDSQL_MYSQL * - MONGODB * - TENCENT_MONGODB * - REST_API * - TiDB * - StarRocks * - Trino * - Kyuubi * - TCHOUSE_X * - TCHOUSE_P * - TCHOUSE_C * - TCHOUSE_D * - INFLUXDB * - BIG_QUERY * - SSH * - BLOB * - TDSQL_POSTGRE * - GDB * - TDENGINE * - TDSQLC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#type WedataDataSource#type} */ readonly type: string; /** * dev_file_upload block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#dev_file_upload WedataDataSource#dev_file_upload} */ readonly devFileUpload?: WedataDataSourceDevFileUpload; /** * prod_file_upload block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#prod_file_upload WedataDataSource#prod_file_upload} */ readonly prodFileUpload?: WedataDataSourceProdFileUpload; } export interface WedataDataSourceDevFileUpload { /** * core-site.xml file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#core_site WedataDataSource#core_site} */ readonly coreSite?: string; /** * hbase-site file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#hbase_site WedataDataSource#hbase_site} */ readonly hbaseSite?: string; /** * hdfs-site.xml file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#hdfs_site WedataDataSource#hdfs_site} */ readonly hdfsSite?: string; /** * hive-site.xml file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#hive_site WedataDataSource#hive_site} */ readonly hiveSite?: string; /** * Keystore authentication file, default filename keystore.jks. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#key_store WedataDataSource#key_store} */ readonly keyStore?: string; /** * keytab file, default filename [data source name].keytab. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#key_tab WedataDataSource#key_tab} */ readonly keyTab?: string; /** * krb5.conf file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#krb5_conf WedataDataSource#krb5_conf} */ readonly krb5Conf?: string; /** * Private key, default filename private_key.pem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#private_key WedataDataSource#private_key} */ readonly privateKey?: string; /** * Public key, default filename public_key.pem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#public_key WedataDataSource#public_key} */ readonly publicKey?: string; /** * Truststore authentication file, default filename truststore.jks. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#trust_store WedataDataSource#trust_store} */ readonly trustStore?: string; } export declare function wedataDataSourceDevFileUploadToTerraform(struct?: WedataDataSourceDevFileUploadOutputReference | WedataDataSourceDevFileUpload): any; export declare function wedataDataSourceDevFileUploadToHclTerraform(struct?: WedataDataSourceDevFileUploadOutputReference | WedataDataSourceDevFileUpload): any; export declare class WedataDataSourceDevFileUploadOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): WedataDataSourceDevFileUpload | undefined; set internalValue(value: WedataDataSourceDevFileUpload | undefined); private _coreSite?; get coreSite(): string; set coreSite(value: string); resetCoreSite(): void; get coreSiteInput(): string; private _hbaseSite?; get hbaseSite(): string; set hbaseSite(value: string); resetHbaseSite(): void; get hbaseSiteInput(): string; private _hdfsSite?; get hdfsSite(): string; set hdfsSite(value: string); resetHdfsSite(): void; get hdfsSiteInput(): string; private _hiveSite?; get hiveSite(): string; set hiveSite(value: string); resetHiveSite(): void; get hiveSiteInput(): string; private _keyStore?; get keyStore(): string; set keyStore(value: string); resetKeyStore(): void; get keyStoreInput(): string; private _keyTab?; get keyTab(): string; set keyTab(value: string); resetKeyTab(): void; get keyTabInput(): string; private _krb5Conf?; get krb5Conf(): string; set krb5Conf(value: string); resetKrb5Conf(): void; get krb5ConfInput(): string; private _privateKey?; get privateKey(): string; set privateKey(value: string); resetPrivateKey(): void; get privateKeyInput(): string; private _publicKey?; get publicKey(): string; set publicKey(value: string); resetPublicKey(): void; get publicKeyInput(): string; private _trustStore?; get trustStore(): string; set trustStore(value: string); resetTrustStore(): void; get trustStoreInput(): string; } export interface WedataDataSourceProdFileUpload { /** * core-site.xml file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#core_site WedataDataSource#core_site} */ readonly coreSite?: string; /** * hbase-site file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#hbase_site WedataDataSource#hbase_site} */ readonly hbaseSite?: string; /** * hdfs-site.xml file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#hdfs_site WedataDataSource#hdfs_site} */ readonly hdfsSite?: string; /** * hive-site.xml file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#hive_site WedataDataSource#hive_site} */ readonly hiveSite?: string; /** * Keystore authentication file, default filename keystore.jks. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#key_store WedataDataSource#key_store} */ readonly keyStore?: string; /** * keytab file, default filename [data source name].keytab. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#key_tab WedataDataSource#key_tab} */ readonly keyTab?: string; /** * krb5.conf file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#krb5_conf WedataDataSource#krb5_conf} */ readonly krb5Conf?: string; /** * Private key, default filename private_key.pem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#private_key WedataDataSource#private_key} */ readonly privateKey?: string; /** * Public key, default filename public_key.pem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#public_key WedataDataSource#public_key} */ readonly publicKey?: string; /** * Truststore authentication file, default filename truststore.jks. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#trust_store WedataDataSource#trust_store} */ readonly trustStore?: string; } export declare function wedataDataSourceProdFileUploadToTerraform(struct?: WedataDataSourceProdFileUploadOutputReference | WedataDataSourceProdFileUpload): any; export declare function wedataDataSourceProdFileUploadToHclTerraform(struct?: WedataDataSourceProdFileUploadOutputReference | WedataDataSourceProdFileUpload): any; export declare class WedataDataSourceProdFileUploadOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): WedataDataSourceProdFileUpload | undefined; set internalValue(value: WedataDataSourceProdFileUpload | undefined); private _coreSite?; get coreSite(): string; set coreSite(value: string); resetCoreSite(): void; get coreSiteInput(): string; private _hbaseSite?; get hbaseSite(): string; set hbaseSite(value: string); resetHbaseSite(): void; get hbaseSiteInput(): string; private _hdfsSite?; get hdfsSite(): string; set hdfsSite(value: string); resetHdfsSite(): void; get hdfsSiteInput(): string; private _hiveSite?; get hiveSite(): string; set hiveSite(value: string); resetHiveSite(): void; get hiveSiteInput(): string; private _keyStore?; get keyStore(): string; set keyStore(value: string); resetKeyStore(): void; get keyStoreInput(): string; private _keyTab?; get keyTab(): string; set keyTab(value: string); resetKeyTab(): void; get keyTabInput(): string; private _krb5Conf?; get krb5Conf(): string; set krb5Conf(value: string); resetKrb5Conf(): void; get krb5ConfInput(): string; private _privateKey?; get privateKey(): string; set privateKey(value: string); resetPrivateKey(): void; get privateKeyInput(): string; private _publicKey?; get publicKey(): string; set publicKey(value: string); resetPublicKey(): void; get publicKeyInput(): string; private _trustStore?; get trustStore(): string; set trustStore(value: string); resetTrustStore(): void; get trustStoreInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source tencentcloud_wedata_data_source} */ export declare class WedataDataSource extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_wedata_data_source"; /** * Generates CDKTF code for importing a WedataDataSource resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the WedataDataSource to import * @param importFromId The id of the existing WedataDataSource that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WedataDataSource to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_data_source tencentcloud_wedata_data_source} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options WedataDataSourceConfig */ constructor(scope: Construct, id: string, config: WedataDataSourceConfig); get dataSourceId(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _devConProperties?; get devConProperties(): string; set devConProperties(value: string); resetDevConProperties(): void; get devConPropertiesInput(): string; private _displayName?; get displayName(): string; set displayName(value: string); resetDisplayName(): void; get displayNameInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _prodConProperties?; get prodConProperties(): string; set prodConProperties(value: string); get prodConPropertiesInput(): string; private _projectId?; get projectId(): string; set projectId(value: string); get projectIdInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _devFileUpload; get devFileUpload(): WedataDataSourceDevFileUploadOutputReference; putDevFileUpload(value: WedataDataSourceDevFileUpload): void; resetDevFileUpload(): void; get devFileUploadInput(): WedataDataSourceDevFileUpload; private _prodFileUpload; get prodFileUpload(): WedataDataSourceProdFileUploadOutputReference; putProdFileUpload(value: WedataDataSourceProdFileUpload): void; resetProdFileUpload(): void; get prodFileUploadInput(): WedataDataSourceProdFileUpload; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }