import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WafLogPostCkafkaFlowConfig extends cdktf.TerraformMetaArguments { /** * The supporting environment is IP:PORT, The external network environment is domain:PORT. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#brokers WafLogPostCkafkaFlow#brokers} */ readonly brokers: string; /** * CKafka ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#ckafka_id WafLogPostCkafkaFlow#ckafka_id} */ readonly ckafkaId: string; /** * The region where CKafka is located for delivery. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#ckafka_region WafLogPostCkafkaFlow#ckafka_region} */ readonly ckafkaRegion: string; /** * Default to none, supports snappy, gzip, and lz4 compression, recommended snappy. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#compression WafLogPostCkafkaFlow#compression} */ readonly compression: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#id WafLogPostCkafkaFlow#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; /** * Version number of Kafka cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#kafka_version WafLogPostCkafkaFlow#kafka_version} */ readonly kafkaVersion: string; /** * 1- Access log, 2- Attack log, the default is access log. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#log_type WafLogPostCkafkaFlow#log_type} */ readonly logType: number; /** * Whether to enable SASL verification, default not enabled, 0-off, 1-on. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#sasl_enable WafLogPostCkafkaFlow#sasl_enable} */ readonly saslEnable?: number; /** * SASL password. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#sasl_password WafLogPostCkafkaFlow#sasl_password} */ readonly saslPassword?: string; /** * SASL username. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#sasl_user WafLogPostCkafkaFlow#sasl_user} */ readonly saslUser?: string; /** * Theme name, default not to pass or pass empty string, default value is waf_post_access_log. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#topic WafLogPostCkafkaFlow#topic} */ readonly topic: string; /** * 1. External network TGW, 2. Supporting environment, default is supporting environment. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#vip_type WafLogPostCkafkaFlow#vip_type} */ readonly vipType: number; /** * write_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#write_config WafLogPostCkafkaFlow#write_config} */ readonly writeConfig?: WafLogPostCkafkaFlowWriteConfig; } export interface WafLogPostCkafkaFlowWriteConfig { /** * 1: Enable 0: Do not enable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#enable_body WafLogPostCkafkaFlow#enable_body} */ readonly enableBody?: number; /** * 1: Enable 0: Do not enable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#enable_bot WafLogPostCkafkaFlow#enable_bot} */ readonly enableBot?: number; /** * 1: Enable 0: Do not enable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#enable_headers WafLogPostCkafkaFlow#enable_headers} */ readonly enableHeaders?: number; } export declare function wafLogPostCkafkaFlowWriteConfigToTerraform(struct?: WafLogPostCkafkaFlowWriteConfigOutputReference | WafLogPostCkafkaFlowWriteConfig): any; export declare function wafLogPostCkafkaFlowWriteConfigToHclTerraform(struct?: WafLogPostCkafkaFlowWriteConfigOutputReference | WafLogPostCkafkaFlowWriteConfig): any; export declare class WafLogPostCkafkaFlowWriteConfigOutputReference 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(): WafLogPostCkafkaFlowWriteConfig | undefined; set internalValue(value: WafLogPostCkafkaFlowWriteConfig | undefined); private _enableBody?; get enableBody(): number; set enableBody(value: number); resetEnableBody(): void; get enableBodyInput(): number; private _enableBot?; get enableBot(): number; set enableBot(value: number); resetEnableBot(): void; get enableBotInput(): number; private _enableHeaders?; get enableHeaders(): number; set enableHeaders(value: number); resetEnableHeaders(): void; get enableHeadersInput(): number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow tencentcloud_waf_log_post_ckafka_flow} */ export declare class WafLogPostCkafkaFlow extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_waf_log_post_ckafka_flow"; /** * Generates CDKTF code for importing a WafLogPostCkafkaFlow 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 WafLogPostCkafkaFlow to import * @param importFromId The id of the existing WafLogPostCkafkaFlow that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/waf_log_post_ckafka_flow#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WafLogPostCkafkaFlow 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/waf_log_post_ckafka_flow tencentcloud_waf_log_post_ckafka_flow} 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 WafLogPostCkafkaFlowConfig */ constructor(scope: Construct, id: string, config: WafLogPostCkafkaFlowConfig); private _brokers?; get brokers(): string; set brokers(value: string); get brokersInput(): string; private _ckafkaId?; get ckafkaId(): string; set ckafkaId(value: string); get ckafkaIdInput(): string; private _ckafkaRegion?; get ckafkaRegion(): string; set ckafkaRegion(value: string); get ckafkaRegionInput(): string; private _compression?; get compression(): string; set compression(value: string); get compressionInput(): string; get flowId(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _kafkaVersion?; get kafkaVersion(): string; set kafkaVersion(value: string); get kafkaVersionInput(): string; private _logType?; get logType(): number; set logType(value: number); get logTypeInput(): number; private _saslEnable?; get saslEnable(): number; set saslEnable(value: number); resetSaslEnable(): void; get saslEnableInput(): number; private _saslPassword?; get saslPassword(): string; set saslPassword(value: string); resetSaslPassword(): void; get saslPasswordInput(): string; private _saslUser?; get saslUser(): string; set saslUser(value: string); resetSaslUser(): void; get saslUserInput(): string; get status(): any; private _topic?; get topic(): string; set topic(value: string); get topicInput(): string; private _vipType?; get vipType(): number; set vipType(value: number); get vipTypeInput(): number; private _writeConfig; get writeConfig(): WafLogPostCkafkaFlowWriteConfigOutputReference; putWriteConfig(value: WafLogPostCkafkaFlowWriteConfig): void; resetWriteConfig(): void; get writeConfigInput(): WafLogPostCkafkaFlowWriteConfig; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }