import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ClsDataTransformConfig extends cdktf.TerraformMetaArguments { /** * Task enable flag. `1`: enable, `2`: disable, Default is `1`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#enable_flag ClsDataTransform#enable_flag} */ readonly enableFlag?: number; /** * Data transform content. If `func_type` is `2`, must use `log_auto_output`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#etl_content ClsDataTransform#etl_content} */ readonly etlContent: string; /** * Task type. `1`: Specify the theme; `2`: Dynamic creation. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#func_type ClsDataTransform#func_type} */ readonly funcType: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#id ClsDataTransform#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; /** * Task name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#name ClsDataTransform#name} */ readonly name: string; /** * Source topic ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#src_topic_id ClsDataTransform#src_topic_id} */ readonly srcTopicId: string; /** * Task type. `1`: Use random data from the source log theme for processing preview; `2`: Use user-defined test data for processing preview; `3`: Create real machining tasks. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#task_type ClsDataTransform#task_type} */ readonly taskType: number; /** * dst_resources block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#dst_resources ClsDataTransform#dst_resources} */ readonly dstResources?: ClsDataTransformDstResources[] | cdktf.IResolvable; } export interface ClsDataTransformDstResources { /** * Alias. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#alias ClsDataTransform#alias} */ readonly alias: string; /** * Dst topic ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#topic_id ClsDataTransform#topic_id} */ readonly topicId: string; } export declare function clsDataTransformDstResourcesToTerraform(struct?: ClsDataTransformDstResources | cdktf.IResolvable): any; export declare function clsDataTransformDstResourcesToHclTerraform(struct?: ClsDataTransformDstResources | cdktf.IResolvable): any; export declare class ClsDataTransformDstResourcesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ClsDataTransformDstResources | cdktf.IResolvable | undefined; set internalValue(value: ClsDataTransformDstResources | cdktf.IResolvable | undefined); private _alias?; get alias(): string; set alias(value: string); get aliasInput(): string; private _topicId?; get topicId(): string; set topicId(value: string); get topicIdInput(): string; } export declare class ClsDataTransformDstResourcesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ClsDataTransformDstResources[] | cdktf.IResolvable; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ClsDataTransformDstResourcesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform tencentcloud_cls_data_transform} */ export declare class ClsDataTransform extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cls_data_transform"; /** * Generates CDKTF code for importing a ClsDataTransform 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 ClsDataTransform to import * @param importFromId The id of the existing ClsDataTransform that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_data_transform#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ClsDataTransform 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_data_transform tencentcloud_cls_data_transform} 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 ClsDataTransformConfig */ constructor(scope: Construct, id: string, config: ClsDataTransformConfig); private _enableFlag?; get enableFlag(): number; set enableFlag(value: number); resetEnableFlag(): void; get enableFlagInput(): number; private _etlContent?; get etlContent(): string; set etlContent(value: string); get etlContentInput(): string; private _funcType?; get funcType(): number; set funcType(value: number); get funcTypeInput(): number; 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 _srcTopicId?; get srcTopicId(): string; set srcTopicId(value: string); get srcTopicIdInput(): string; private _taskType?; get taskType(): number; set taskType(value: number); get taskTypeInput(): number; private _dstResources; get dstResources(): ClsDataTransformDstResourcesList; putDstResources(value: ClsDataTransformDstResources[] | cdktf.IResolvable): void; resetDstResources(): void; get dstResourcesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }