import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ClsCosRechargeConfig extends cdktf.TerraformMetaArguments { /** * cos bucket. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#bucket ClsCosRecharge#bucket} */ readonly bucket: string; /** * cos bucket region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#bucket_region ClsCosRecharge#bucket_region} */ readonly bucketRegion: string; /** * supported gzip, lzop, snappy. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#compress ClsCosRecharge#compress} */ readonly compress?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#id ClsCosRecharge#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; /** * log type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#log_type ClsCosRecharge#log_type} */ readonly logType: string; /** * logset id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#logset_id ClsCosRecharge#logset_id} */ readonly logsetId: string; /** * recharge name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#name ClsCosRecharge#name} */ readonly name: string; /** * cos file prefix. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#prefix ClsCosRecharge#prefix} */ readonly prefix: string; /** * topic id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#topic_id ClsCosRecharge#topic_id} */ readonly topicId: string; /** * extract_rule_info block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#extract_rule_info ClsCosRecharge#extract_rule_info} */ readonly extractRuleInfo?: ClsCosRechargeExtractRuleInfo; } export interface ClsCosRechargeExtractRuleInfoFilterKeyRegex { /** * need filter log key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#key ClsCosRecharge#key} */ readonly key: string; /** * need filter log regex. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#regex ClsCosRecharge#regex} */ readonly regex: string; } export declare function clsCosRechargeExtractRuleInfoFilterKeyRegexToTerraform(struct?: ClsCosRechargeExtractRuleInfoFilterKeyRegex | cdktf.IResolvable): any; export declare function clsCosRechargeExtractRuleInfoFilterKeyRegexToHclTerraform(struct?: ClsCosRechargeExtractRuleInfoFilterKeyRegex | cdktf.IResolvable): any; export declare class ClsCosRechargeExtractRuleInfoFilterKeyRegexOutputReference 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(): ClsCosRechargeExtractRuleInfoFilterKeyRegex | cdktf.IResolvable | undefined; set internalValue(value: ClsCosRechargeExtractRuleInfoFilterKeyRegex | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _regex?; get regex(): string; set regex(value: string); get regexInput(): string; } export declare class ClsCosRechargeExtractRuleInfoFilterKeyRegexList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ClsCosRechargeExtractRuleInfoFilterKeyRegex[] | 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): ClsCosRechargeExtractRuleInfoFilterKeyRegexOutputReference; } export interface ClsCosRechargeExtractRuleInfoMetaTags { /** * metadata key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#key ClsCosRecharge#key} */ readonly key?: string; /** * metadata value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#value ClsCosRecharge#value} */ readonly value?: string; } export declare function clsCosRechargeExtractRuleInfoMetaTagsToTerraform(struct?: ClsCosRechargeExtractRuleInfoMetaTags | cdktf.IResolvable): any; export declare function clsCosRechargeExtractRuleInfoMetaTagsToHclTerraform(struct?: ClsCosRechargeExtractRuleInfoMetaTags | cdktf.IResolvable): any; export declare class ClsCosRechargeExtractRuleInfoMetaTagsOutputReference 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(): ClsCosRechargeExtractRuleInfoMetaTags | cdktf.IResolvable | undefined; set internalValue(value: ClsCosRechargeExtractRuleInfoMetaTags | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); resetKey(): void; get keyInput(): string; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string; } export declare class ClsCosRechargeExtractRuleInfoMetaTagsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ClsCosRechargeExtractRuleInfoMetaTags[] | 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): ClsCosRechargeExtractRuleInfoMetaTagsOutputReference; } export interface ClsCosRechargeExtractRuleInfo { /** * syslog address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#address ClsCosRecharge#address} */ readonly address?: string; /** * backtracking data volume in incremental acquisition mode. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#backtracking ClsCosRecharge#backtracking} */ readonly backtracking?: number; /** * begin line regex. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#begin_regex ClsCosRecharge#begin_regex} */ readonly beginRegex?: string; /** * log delimiter. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#delimiter ClsCosRecharge#delimiter} */ readonly delimiter?: string; /** * gbk encoding. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#is_gbk ClsCosRecharge#is_gbk} */ readonly isGbk?: number; /** * is standard json. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#json_standard ClsCosRecharge#json_standard} */ readonly jsonStandard?: number; /** * key list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#keys ClsCosRecharge#keys} */ readonly keys?: string[]; /** * log regex. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#log_regex ClsCosRecharge#log_regex} */ readonly logRegex?: string; /** * metadata type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#metadata_type ClsCosRecharge#metadata_type} */ readonly metadataType?: number; /** * parse protocol. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#parse_protocol ClsCosRecharge#parse_protocol} */ readonly parseProtocol?: string; /** * metadata path regex. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#path_regex ClsCosRecharge#path_regex} */ readonly pathRegex?: string; /** * syslog protocol. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#protocol ClsCosRecharge#protocol} */ readonly protocol?: string; /** * time format. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#time_format ClsCosRecharge#time_format} */ readonly timeFormat?: string; /** * time key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#time_key ClsCosRecharge#time_key} */ readonly timeKey?: string; /** * parsing failure log key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#un_match_log_key ClsCosRecharge#un_match_log_key} */ readonly unMatchLogKey?: string; /** * whether to upload the parsing failure log. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#un_match_up_load_switch ClsCosRecharge#un_match_up_load_switch} */ readonly unMatchUpLoadSwitch?: boolean | cdktf.IResolvable; /** * filter_key_regex block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#filter_key_regex ClsCosRecharge#filter_key_regex} */ readonly filterKeyRegex?: ClsCosRechargeExtractRuleInfoFilterKeyRegex[] | cdktf.IResolvable; /** * meta_tags block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#meta_tags ClsCosRecharge#meta_tags} */ readonly metaTags?: ClsCosRechargeExtractRuleInfoMetaTags[] | cdktf.IResolvable; } export declare function clsCosRechargeExtractRuleInfoToTerraform(struct?: ClsCosRechargeExtractRuleInfoOutputReference | ClsCosRechargeExtractRuleInfo): any; export declare function clsCosRechargeExtractRuleInfoToHclTerraform(struct?: ClsCosRechargeExtractRuleInfoOutputReference | ClsCosRechargeExtractRuleInfo): any; export declare class ClsCosRechargeExtractRuleInfoOutputReference 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(): ClsCosRechargeExtractRuleInfo | undefined; set internalValue(value: ClsCosRechargeExtractRuleInfo | undefined); private _address?; get address(): string; set address(value: string); resetAddress(): void; get addressInput(): string; private _backtracking?; get backtracking(): number; set backtracking(value: number); resetBacktracking(): void; get backtrackingInput(): number; private _beginRegex?; get beginRegex(): string; set beginRegex(value: string); resetBeginRegex(): void; get beginRegexInput(): string; private _delimiter?; get delimiter(): string; set delimiter(value: string); resetDelimiter(): void; get delimiterInput(): string; private _isGbk?; get isGbk(): number; set isGbk(value: number); resetIsGbk(): void; get isGbkInput(): number; private _jsonStandard?; get jsonStandard(): number; set jsonStandard(value: number); resetJsonStandard(): void; get jsonStandardInput(): number; private _keys?; get keys(): string[]; set keys(value: string[]); resetKeys(): void; get keysInput(): string[]; private _logRegex?; get logRegex(): string; set logRegex(value: string); resetLogRegex(): void; get logRegexInput(): string; private _metadataType?; get metadataType(): number; set metadataType(value: number); resetMetadataType(): void; get metadataTypeInput(): number; private _parseProtocol?; get parseProtocol(): string; set parseProtocol(value: string); resetParseProtocol(): void; get parseProtocolInput(): string; private _pathRegex?; get pathRegex(): string; set pathRegex(value: string); resetPathRegex(): void; get pathRegexInput(): string; private _protocol?; get protocol(): string; set protocol(value: string); resetProtocol(): void; get protocolInput(): string; private _timeFormat?; get timeFormat(): string; set timeFormat(value: string); resetTimeFormat(): void; get timeFormatInput(): string; private _timeKey?; get timeKey(): string; set timeKey(value: string); resetTimeKey(): void; get timeKeyInput(): string; private _unMatchLogKey?; get unMatchLogKey(): string; set unMatchLogKey(value: string); resetUnMatchLogKey(): void; get unMatchLogKeyInput(): string; private _unMatchUpLoadSwitch?; get unMatchUpLoadSwitch(): boolean | cdktf.IResolvable; set unMatchUpLoadSwitch(value: boolean | cdktf.IResolvable); resetUnMatchUpLoadSwitch(): void; get unMatchUpLoadSwitchInput(): any; private _filterKeyRegex; get filterKeyRegex(): ClsCosRechargeExtractRuleInfoFilterKeyRegexList; putFilterKeyRegex(value: ClsCosRechargeExtractRuleInfoFilterKeyRegex[] | cdktf.IResolvable): void; resetFilterKeyRegex(): void; get filterKeyRegexInput(): any; private _metaTags; get metaTags(): ClsCosRechargeExtractRuleInfoMetaTagsList; putMetaTags(value: ClsCosRechargeExtractRuleInfoMetaTags[] | cdktf.IResolvable): void; resetMetaTags(): void; get metaTagsInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge tencentcloud_cls_cos_recharge} */ export declare class ClsCosRecharge extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cls_cos_recharge"; /** * Generates CDKTF code for importing a ClsCosRecharge 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 ClsCosRecharge to import * @param importFromId The id of the existing ClsCosRecharge that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_cos_recharge#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ClsCosRecharge 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_cos_recharge tencentcloud_cls_cos_recharge} 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 ClsCosRechargeConfig */ constructor(scope: Construct, id: string, config: ClsCosRechargeConfig); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; private _bucketRegion?; get bucketRegion(): string; set bucketRegion(value: string); get bucketRegionInput(): string; private _compress?; get compress(): string; set compress(value: string); resetCompress(): void; get compressInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _logType?; get logType(): string; set logType(value: string); get logTypeInput(): string; private _logsetId?; get logsetId(): string; set logsetId(value: string); get logsetIdInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _prefix?; get prefix(): string; set prefix(value: string); get prefixInput(): string; private _topicId?; get topicId(): string; set topicId(value: string); get topicIdInput(): string; private _extractRuleInfo; get extractRuleInfo(): ClsCosRechargeExtractRuleInfoOutputReference; putExtractRuleInfo(value: ClsCosRechargeExtractRuleInfo): void; resetExtractRuleInfo(): void; get extractRuleInfoInput(): ClsCosRechargeExtractRuleInfo; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }