import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TeoRealtimeLogDeliveryConfig extends cdktf.TerraformMetaArguments { /** * Data delivery area, possible values are: `mainland`: within mainland China; `overseas`: worldwide (excluding mainland China). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#area TeoRealtimeLogDelivery#area} */ readonly area: string; /** * The status of the real-time log delivery task. The values are: `enabled`: enabled; `disabled`: disabled. Leave it blank to keep the original configuration. Not required when creating. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#delivery_status TeoRealtimeLogDelivery#delivery_status} */ readonly deliveryStatus?: string; /** * List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: `domain.example.com`; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: `https://cloud.tencent.com/document/api/1552/80690`, `https://cloud.tencent.com/document/api/1552/86336`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#entity_list TeoRealtimeLogDelivery#entity_list} */ readonly entityList: string[]; /** * A list of preset fields for delivery. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#fields TeoRealtimeLogDelivery#fields} */ readonly fields: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#id TeoRealtimeLogDelivery#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 delivery type, the values are: `domain`: site acceleration log; `application`: four-layer proxy log; `web-rateLiming`: rate limit and CC attack protection log; `web-attack`: managed rule log; `web-rule`: custom rule log; `web-bot`: Bot management log. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#log_type TeoRealtimeLogDelivery#log_type} */ readonly logType: string; /** * The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#sample TeoRealtimeLogDelivery#sample} */ readonly sample: number; /** * The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#task_name TeoRealtimeLogDelivery#task_name} */ readonly taskName: string; /** * The real-time log delivery task type. The possible values are: `cls`: push to Tencent Cloud CLS; `custom_endpoint`: push to a custom HTTP(S) address; `s3`: push to an AWS S3 compatible storage bucket address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#task_type TeoRealtimeLogDelivery#task_type} */ readonly taskType: string; /** * ID of the site. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#zone_id TeoRealtimeLogDelivery#zone_id} */ readonly zoneId: string; /** * cls block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#cls TeoRealtimeLogDelivery#cls} */ readonly cls?: TeoRealtimeLogDeliveryCls; /** * custom_endpoint block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#custom_endpoint TeoRealtimeLogDelivery#custom_endpoint} */ readonly customEndpoint?: TeoRealtimeLogDeliveryCustomEndpoint; /** * custom_fields block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#custom_fields TeoRealtimeLogDelivery#custom_fields} */ readonly customFields?: TeoRealtimeLogDeliveryCustomFields[] | cdktf.IResolvable; /** * delivery_conditions block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#delivery_conditions TeoRealtimeLogDelivery#delivery_conditions} */ readonly deliveryConditions?: TeoRealtimeLogDeliveryDeliveryConditions[] | cdktf.IResolvable; /** * log_format block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#log_format TeoRealtimeLogDelivery#log_format} */ readonly logFormat?: TeoRealtimeLogDeliveryLogFormat; /** * s3 block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#s3 TeoRealtimeLogDelivery#s3} */ readonly s3?: TeoRealtimeLogDeliveryS3; } export interface TeoRealtimeLogDeliveryCls { /** * Tencent Cloud CLS log set ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#log_set_id TeoRealtimeLogDelivery#log_set_id} */ readonly logSetId: string; /** * The region where the Tencent Cloud CLS log set is located. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#log_set_region TeoRealtimeLogDelivery#log_set_region} */ readonly logSetRegion: string; /** * Tencent Cloud CLS log topic ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#topic_id TeoRealtimeLogDelivery#topic_id} */ readonly topicId: string; } export declare function teoRealtimeLogDeliveryClsToTerraform(struct?: TeoRealtimeLogDeliveryClsOutputReference | TeoRealtimeLogDeliveryCls): any; export declare function teoRealtimeLogDeliveryClsToHclTerraform(struct?: TeoRealtimeLogDeliveryClsOutputReference | TeoRealtimeLogDeliveryCls): any; export declare class TeoRealtimeLogDeliveryClsOutputReference 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(): TeoRealtimeLogDeliveryCls | undefined; set internalValue(value: TeoRealtimeLogDeliveryCls | undefined); private _logSetId?; get logSetId(): string; set logSetId(value: string); get logSetIdInput(): string; private _logSetRegion?; get logSetRegion(): string; set logSetRegion(value: string); get logSetRegionInput(): string; private _topicId?; get topicId(): string; set topicId(value: string); get topicIdInput(): string; } export interface TeoRealtimeLogDeliveryCustomEndpointHeaders { /** * HTTP header name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#name TeoRealtimeLogDelivery#name} */ readonly name: string; /** * HTTP header value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#value TeoRealtimeLogDelivery#value} */ readonly value: string; } export declare function teoRealtimeLogDeliveryCustomEndpointHeadersToTerraform(struct?: TeoRealtimeLogDeliveryCustomEndpointHeaders | cdktf.IResolvable): any; export declare function teoRealtimeLogDeliveryCustomEndpointHeadersToHclTerraform(struct?: TeoRealtimeLogDeliveryCustomEndpointHeaders | cdktf.IResolvable): any; export declare class TeoRealtimeLogDeliveryCustomEndpointHeadersOutputReference 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(): TeoRealtimeLogDeliveryCustomEndpointHeaders | cdktf.IResolvable | undefined; set internalValue(value: TeoRealtimeLogDeliveryCustomEndpointHeaders | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class TeoRealtimeLogDeliveryCustomEndpointHeadersList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeoRealtimeLogDeliveryCustomEndpointHeaders[] | 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): TeoRealtimeLogDeliveryCustomEndpointHeadersOutputReference; } export interface TeoRealtimeLogDeliveryCustomEndpoint { /** * Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#access_id TeoRealtimeLogDelivery#access_id} */ readonly accessId?: string; /** * Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#access_key TeoRealtimeLogDelivery#access_key} */ readonly accessKey?: string; /** * Data compression type, the possible values are: `gzip`: use gzip compression. If it is not filled in, compression is not enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#compress_type TeoRealtimeLogDelivery#compress_type} */ readonly compressType?: string; /** * When sending logs via POST request, the application layer protocol type used can be: `http`: HTTP protocol; `https`: HTTPS protocol. If not filled in, the protocol type will be parsed according to the filled in URL address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#protocol TeoRealtimeLogDelivery#protocol} */ readonly protocol?: string; /** * The custom HTTP interface address for real-time log delivery. Currently, only HTTP/HTTPS protocols are supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#url TeoRealtimeLogDelivery#url} */ readonly url: string; /** * headers block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#headers TeoRealtimeLogDelivery#headers} */ readonly headers?: TeoRealtimeLogDeliveryCustomEndpointHeaders[] | cdktf.IResolvable; } export declare function teoRealtimeLogDeliveryCustomEndpointToTerraform(struct?: TeoRealtimeLogDeliveryCustomEndpointOutputReference | TeoRealtimeLogDeliveryCustomEndpoint): any; export declare function teoRealtimeLogDeliveryCustomEndpointToHclTerraform(struct?: TeoRealtimeLogDeliveryCustomEndpointOutputReference | TeoRealtimeLogDeliveryCustomEndpoint): any; export declare class TeoRealtimeLogDeliveryCustomEndpointOutputReference 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(): TeoRealtimeLogDeliveryCustomEndpoint | undefined; set internalValue(value: TeoRealtimeLogDeliveryCustomEndpoint | undefined); private _accessId?; get accessId(): string; set accessId(value: string); resetAccessId(): void; get accessIdInput(): string; private _accessKey?; get accessKey(): string; set accessKey(value: string); resetAccessKey(): void; get accessKeyInput(): string; private _compressType?; get compressType(): string; set compressType(value: string); resetCompressType(): void; get compressTypeInput(): string; private _protocol?; get protocol(): string; set protocol(value: string); resetProtocol(): void; get protocolInput(): string; private _url?; get url(): string; set url(value: string); get urlInput(): string; private _headers; get headers(): TeoRealtimeLogDeliveryCustomEndpointHeadersList; putHeaders(value: TeoRealtimeLogDeliveryCustomEndpointHeaders[] | cdktf.IResolvable): void; resetHeaders(): void; get headersInput(): any; } export interface TeoRealtimeLogDeliveryCustomFields { /** * Whether to deliver this field. If left blank, this field will not be delivered. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#enabled TeoRealtimeLogDelivery#enabled} */ readonly enabled?: boolean | cdktf.IResolvable; /** * Extract data from the specified location in the HTTP request and response. The values are: `ReqHeader`: extract the specified field value from the HTTP request header; `RspHeader`: extract the specified field value from the HTTP response header; `Cookie`: extract the specified field value from the Cookie. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#name TeoRealtimeLogDelivery#name} */ readonly name: string; /** * The name of the parameter whose value needs to be extracted, for example: Accept-Language. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#value TeoRealtimeLogDelivery#value} */ readonly value: string; } export declare function teoRealtimeLogDeliveryCustomFieldsToTerraform(struct?: TeoRealtimeLogDeliveryCustomFields | cdktf.IResolvable): any; export declare function teoRealtimeLogDeliveryCustomFieldsToHclTerraform(struct?: TeoRealtimeLogDeliveryCustomFields | cdktf.IResolvable): any; export declare class TeoRealtimeLogDeliveryCustomFieldsOutputReference 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(): TeoRealtimeLogDeliveryCustomFields | cdktf.IResolvable | undefined; set internalValue(value: TeoRealtimeLogDeliveryCustomFields | cdktf.IResolvable | undefined); private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); resetEnabled(): void; get enabledInput(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class TeoRealtimeLogDeliveryCustomFieldsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeoRealtimeLogDeliveryCustomFields[] | 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): TeoRealtimeLogDeliveryCustomFieldsOutputReference; } export interface TeoRealtimeLogDeliveryDeliveryConditionsConditions { /** * The key of the filter condition. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#key TeoRealtimeLogDelivery#key} */ readonly key: string; /** * Query condition operator, operation types are: `equals`: equal; `notEquals`: not equal; `include`: include; `notInclude`: not include; `startWith`: start with value; `notStartWith`: not start with value; `endWith`: end with value; `notEndWith`: not end with value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#operator TeoRealtimeLogDelivery#operator} */ readonly operator: string; /** * The value of the filter condition. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#value TeoRealtimeLogDelivery#value} */ readonly value: string[]; } export declare function teoRealtimeLogDeliveryDeliveryConditionsConditionsToTerraform(struct?: TeoRealtimeLogDeliveryDeliveryConditionsConditions | cdktf.IResolvable): any; export declare function teoRealtimeLogDeliveryDeliveryConditionsConditionsToHclTerraform(struct?: TeoRealtimeLogDeliveryDeliveryConditionsConditions | cdktf.IResolvable): any; export declare class TeoRealtimeLogDeliveryDeliveryConditionsConditionsOutputReference 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(): TeoRealtimeLogDeliveryDeliveryConditionsConditions | cdktf.IResolvable | undefined; set internalValue(value: TeoRealtimeLogDeliveryDeliveryConditionsConditions | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _operator?; get operator(): string; set operator(value: string); get operatorInput(): string; private _value?; get value(): string[]; set value(value: string[]); get valueInput(): string[]; } export declare class TeoRealtimeLogDeliveryDeliveryConditionsConditionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeoRealtimeLogDeliveryDeliveryConditionsConditions[] | 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): TeoRealtimeLogDeliveryDeliveryConditionsConditionsOutputReference; } export interface TeoRealtimeLogDeliveryDeliveryConditions { /** * conditions block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#conditions TeoRealtimeLogDelivery#conditions} */ readonly conditions?: TeoRealtimeLogDeliveryDeliveryConditionsConditions[] | cdktf.IResolvable; } export declare function teoRealtimeLogDeliveryDeliveryConditionsToTerraform(struct?: TeoRealtimeLogDeliveryDeliveryConditions | cdktf.IResolvable): any; export declare function teoRealtimeLogDeliveryDeliveryConditionsToHclTerraform(struct?: TeoRealtimeLogDeliveryDeliveryConditions | cdktf.IResolvable): any; export declare class TeoRealtimeLogDeliveryDeliveryConditionsOutputReference 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(): TeoRealtimeLogDeliveryDeliveryConditions | cdktf.IResolvable | undefined; set internalValue(value: TeoRealtimeLogDeliveryDeliveryConditions | cdktf.IResolvable | undefined); private _conditions; get conditions(): TeoRealtimeLogDeliveryDeliveryConditionsConditionsList; putConditions(value: TeoRealtimeLogDeliveryDeliveryConditionsConditions[] | cdktf.IResolvable): void; resetConditions(): void; get conditionsInput(): any; } export declare class TeoRealtimeLogDeliveryDeliveryConditionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeoRealtimeLogDeliveryDeliveryConditions[] | 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): TeoRealtimeLogDeliveryDeliveryConditionsOutputReference; } export interface TeoRealtimeLogDeliveryLogFormat { /** * A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#batch_prefix TeoRealtimeLogDelivery#batch_prefix} */ readonly batchPrefix?: string; /** * A string to append after each log delivery batch. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#batch_suffix TeoRealtimeLogDelivery#batch_suffix} */ readonly batchSuffix?: string; /** * In a single log record, a string is inserted between fields as a separator. The possible values are: ` `: tab character; `,`: comma; `;`: semicolon. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#field_delimiter TeoRealtimeLogDelivery#field_delimiter} */ readonly fieldDelimiter?: string; /** * The default output format type for log delivery. The possible values are: `json`: Use the default log output format JSON Lines. The fields in a single log are presented as key-value pairs; `csv`: Use the default log output format csv. Only field values are presented in a single log, without field names. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#format_type TeoRealtimeLogDelivery#format_type} */ readonly formatType: string; /** * The string inserted between log records as a separator. The possible values are: ` * `: newline character; ` `: tab character; `,`: comma. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#record_delimiter TeoRealtimeLogDelivery#record_delimiter} */ readonly recordDelimiter?: string; /** * A string to prepend to each log record. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#record_prefix TeoRealtimeLogDelivery#record_prefix} */ readonly recordPrefix?: string; /** * A string to append to each log record. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#record_suffix TeoRealtimeLogDelivery#record_suffix} */ readonly recordSuffix?: string; } export declare function teoRealtimeLogDeliveryLogFormatToTerraform(struct?: TeoRealtimeLogDeliveryLogFormatOutputReference | TeoRealtimeLogDeliveryLogFormat): any; export declare function teoRealtimeLogDeliveryLogFormatToHclTerraform(struct?: TeoRealtimeLogDeliveryLogFormatOutputReference | TeoRealtimeLogDeliveryLogFormat): any; export declare class TeoRealtimeLogDeliveryLogFormatOutputReference 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(): TeoRealtimeLogDeliveryLogFormat | undefined; set internalValue(value: TeoRealtimeLogDeliveryLogFormat | undefined); private _batchPrefix?; get batchPrefix(): string; set batchPrefix(value: string); resetBatchPrefix(): void; get batchPrefixInput(): string; private _batchSuffix?; get batchSuffix(): string; set batchSuffix(value: string); resetBatchSuffix(): void; get batchSuffixInput(): string; private _fieldDelimiter?; get fieldDelimiter(): string; set fieldDelimiter(value: string); resetFieldDelimiter(): void; get fieldDelimiterInput(): string; private _formatType?; get formatType(): string; set formatType(value: string); get formatTypeInput(): string; private _recordDelimiter?; get recordDelimiter(): string; set recordDelimiter(value: string); resetRecordDelimiter(): void; get recordDelimiterInput(): string; private _recordPrefix?; get recordPrefix(): string; set recordPrefix(value: string); resetRecordPrefix(): void; get recordPrefixInput(): string; private _recordSuffix?; get recordSuffix(): string; set recordSuffix(value: string); resetRecordSuffix(): void; get recordSuffixInput(): string; } export interface TeoRealtimeLogDeliveryS3 { /** * The Access Key ID used to access the bucket. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#access_id TeoRealtimeLogDelivery#access_id} */ readonly accessId: string; /** * The secret key used to access the bucket. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#access_key TeoRealtimeLogDelivery#access_key} */ readonly accessKey: string; /** * Bucket name and log storage directory, for example: `your_bucket_name/EO-logs/`. If this directory does not exist in the bucket, it will be created automatically. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#bucket TeoRealtimeLogDelivery#bucket} */ readonly bucket: string; /** * Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#compress_type TeoRealtimeLogDelivery#compress_type} */ readonly compressType?: string; /** * URLs that do not include bucket names or paths, for example: `https://storage.googleapis.com`, `https://s3.ap-northeast-2.amazonaws.com`, `https://cos.ap-nanjing.myqcloud.com`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#endpoint TeoRealtimeLogDelivery#endpoint} */ readonly endpoint: string; /** * The region where the bucket is located, for example: ap-northeast-2. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#region TeoRealtimeLogDelivery#region} */ readonly region: string; } export declare function teoRealtimeLogDeliveryS3ToTerraform(struct?: TeoRealtimeLogDeliveryS3OutputReference | TeoRealtimeLogDeliveryS3): any; export declare function teoRealtimeLogDeliveryS3ToHclTerraform(struct?: TeoRealtimeLogDeliveryS3OutputReference | TeoRealtimeLogDeliveryS3): any; export declare class TeoRealtimeLogDeliveryS3OutputReference 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(): TeoRealtimeLogDeliveryS3 | undefined; set internalValue(value: TeoRealtimeLogDeliveryS3 | undefined); private _accessId?; get accessId(): string; set accessId(value: string); get accessIdInput(): string; private _accessKey?; get accessKey(): string; set accessKey(value: string); get accessKeyInput(): string; private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; private _compressType?; get compressType(): string; set compressType(value: string); resetCompressType(): void; get compressTypeInput(): string; private _endpoint?; get endpoint(): string; set endpoint(value: string); get endpointInput(): string; private _region?; get region(): string; set region(value: string); get regionInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery tencentcloud_teo_realtime_log_delivery} */ export declare class TeoRealtimeLogDelivery extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_teo_realtime_log_delivery"; /** * Generates CDKTF code for importing a TeoRealtimeLogDelivery 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 TeoRealtimeLogDelivery to import * @param importFromId The id of the existing TeoRealtimeLogDelivery that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_realtime_log_delivery#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TeoRealtimeLogDelivery 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/teo_realtime_log_delivery tencentcloud_teo_realtime_log_delivery} 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 TeoRealtimeLogDeliveryConfig */ constructor(scope: Construct, id: string, config: TeoRealtimeLogDeliveryConfig); private _area?; get area(): string; set area(value: string); get areaInput(): string; private _deliveryStatus?; get deliveryStatus(): string; set deliveryStatus(value: string); resetDeliveryStatus(): void; get deliveryStatusInput(): string; private _entityList?; get entityList(): string[]; set entityList(value: string[]); get entityListInput(): string[]; private _fields?; get fields(): string[]; set fields(value: string[]); get fieldsInput(): 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 _sample?; get sample(): number; set sample(value: number); get sampleInput(): number; get taskId(): any; private _taskName?; get taskName(): string; set taskName(value: string); get taskNameInput(): string; private _taskType?; get taskType(): string; set taskType(value: string); get taskTypeInput(): string; private _zoneId?; get zoneId(): string; set zoneId(value: string); get zoneIdInput(): string; private _cls; get cls(): TeoRealtimeLogDeliveryClsOutputReference; putCls(value: TeoRealtimeLogDeliveryCls): void; resetCls(): void; get clsInput(): TeoRealtimeLogDeliveryCls; private _customEndpoint; get customEndpoint(): TeoRealtimeLogDeliveryCustomEndpointOutputReference; putCustomEndpoint(value: TeoRealtimeLogDeliveryCustomEndpoint): void; resetCustomEndpoint(): void; get customEndpointInput(): TeoRealtimeLogDeliveryCustomEndpoint; private _customFields; get customFields(): TeoRealtimeLogDeliveryCustomFieldsList; putCustomFields(value: TeoRealtimeLogDeliveryCustomFields[] | cdktf.IResolvable): void; resetCustomFields(): void; get customFieldsInput(): any; private _deliveryConditions; get deliveryConditions(): TeoRealtimeLogDeliveryDeliveryConditionsList; putDeliveryConditions(value: TeoRealtimeLogDeliveryDeliveryConditions[] | cdktf.IResolvable): void; resetDeliveryConditions(): void; get deliveryConditionsInput(): any; private _logFormat; get logFormat(): TeoRealtimeLogDeliveryLogFormatOutputReference; putLogFormat(value: TeoRealtimeLogDeliveryLogFormat): void; resetLogFormat(): void; get logFormatInput(): TeoRealtimeLogDeliveryLogFormat; private _s3; get s3(): TeoRealtimeLogDeliveryS3OutputReference; putS3(value: TeoRealtimeLogDeliveryS3): void; resetS3(): void; get s3Input(): TeoRealtimeLogDeliveryS3; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }