import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ClsCloudProductLogTaskV2Config extends cdktf.TerraformMetaArguments { /** * Cloud product identification, Values: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#assumer_name ClsCloudProductLogTaskV2#assumer_name} */ readonly assumerName: string; /** * Cloud product region. There are differences in the input format of different log types in different regions. Please refer to the following example: * - CDS(all log type): ap-guangzhou * - CDB-AUDIT: gz * - TDSQL-C-AUDIT: gz * - MongoDB-AUDIT: gz * - MongoDB-SlowLog: ap-guangzhou * - MongoDB-ErrorLog: ap-guangzhou * - TDMYSQL-SLOW: gz * - DCDB(all log type): gz * - MariaDB(all log type): gz * - PostgreSQL(all log type): gz * - BH(all log type): overseas-polaris(Domestic sites overseas)/fsi-polaris(Domestic sites finance)/general-polaris(Domestic sites)/intl-sg-prod(International sites) * - APIS(all log type): gz. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#cloud_product_region ClsCloudProductLogTaskV2#cloud_product_region} */ readonly cloudProductRegion: string; /** * CLS target region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#cls_region ClsCloudProductLogTaskV2#cls_region} */ readonly clsRegion: string; /** * Log configuration extension information, generally used to store additional log delivery configurations. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#extend ClsCloudProductLogTaskV2#extend} */ readonly extend?: string; /** * Indicate whether to forcibly delete the corresponding logset and topic. If set to true, it will be forcibly deleted. Default is false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#force_delete ClsCloudProductLogTaskV2#force_delete} */ readonly forceDelete?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#id ClsCloudProductLogTaskV2#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; /** * Instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#instance_id ClsCloudProductLogTaskV2#instance_id} */ readonly instanceId: string; /** * Log type, Values: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#log_type ClsCloudProductLogTaskV2#log_type} */ readonly logType: string; /** * Log set ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#logset_id ClsCloudProductLogTaskV2#logset_id} */ readonly logsetId?: string; /** * Log set name, required if `logset_id` is not filled in. If the log set does not exist, it will be automatically created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#logset_name ClsCloudProductLogTaskV2#logset_name} */ readonly logsetName?: string; /** * Log theme ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#topic_id ClsCloudProductLogTaskV2#topic_id} */ readonly topicId?: string; /** * The name of the log topic is required when `topic_id` is not filled in. If the log theme does not exist, it will be automatically created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#topic_name ClsCloudProductLogTaskV2#topic_name} */ readonly topicName?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2 tencentcloud_cls_cloud_product_log_task_v2} */ export declare class ClsCloudProductLogTaskV2 extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cls_cloud_product_log_task_v2"; /** * Generates CDKTF code for importing a ClsCloudProductLogTaskV2 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 ClsCloudProductLogTaskV2 to import * @param importFromId The id of the existing ClsCloudProductLogTaskV2 that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cloud_product_log_task_v2#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ClsCloudProductLogTaskV2 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/cls_cloud_product_log_task_v2 tencentcloud_cls_cloud_product_log_task_v2} 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 ClsCloudProductLogTaskV2Config */ constructor(scope: Construct, id: string, config: ClsCloudProductLogTaskV2Config); private _assumerName?; get assumerName(): string; set assumerName(value: string); get assumerNameInput(): string; private _cloudProductRegion?; get cloudProductRegion(): string; set cloudProductRegion(value: string); get cloudProductRegionInput(): string; private _clsRegion?; get clsRegion(): string; set clsRegion(value: string); get clsRegionInput(): string; private _extend?; get extend(): string; set extend(value: string); resetExtend(): void; get extendInput(): string; private _forceDelete?; get forceDelete(): boolean | cdktf.IResolvable; set forceDelete(value: boolean | cdktf.IResolvable); resetForceDelete(): void; get forceDeleteInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _logType?; get logType(): string; set logType(value: string); get logTypeInput(): string; private _logsetId?; get logsetId(): string; set logsetId(value: string); resetLogsetId(): void; get logsetIdInput(): string; private _logsetName?; get logsetName(): string; set logsetName(value: string); resetLogsetName(): void; get logsetNameInput(): string; private _topicId?; get topicId(): string; set topicId(value: string); resetTopicId(): void; get topicIdInput(): string; private _topicName?; get topicName(): string; set topicName(value: string); resetTopicName(): void; get topicNameInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }