import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ClsCkafkaConsumerConfig extends cdktf.TerraformMetaArguments { /** * compression method. 0 for NONE, 2 for SNAPPY, 3 for LZ4. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#compression ClsCkafkaConsumer#compression} */ readonly compression?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#id ClsCkafkaConsumer#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; /** * whether to deliver the metadata information of the log. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#need_content ClsCkafkaConsumer#need_content} */ readonly needContent?: boolean | cdktf.IResolvable; /** * topic id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#topic_id ClsCkafkaConsumer#topic_id} */ readonly topicId: string; /** * ckafka block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#ckafka ClsCkafkaConsumer#ckafka} */ readonly ckafka?: ClsCkafkaConsumerCkafka; /** * content block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#content ClsCkafkaConsumer#content} */ readonly content?: ClsCkafkaConsumerContent; } export interface ClsCkafkaConsumerCkafka { /** * instance id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#instance_id ClsCkafkaConsumer#instance_id} */ readonly instanceId: string; /** * instance name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#instance_name ClsCkafkaConsumer#instance_name} */ readonly instanceName: string; /** * topic id of ckafka. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#topic_id ClsCkafkaConsumer#topic_id} */ readonly topicId: string; /** * topic name of ckafka. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#topic_name ClsCkafkaConsumer#topic_name} */ readonly topicName: string; /** * vip. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#vip ClsCkafkaConsumer#vip} */ readonly vip: string; /** * vport. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#vport ClsCkafkaConsumer#vport} */ readonly vport: string; } export declare function clsCkafkaConsumerCkafkaToTerraform(struct?: ClsCkafkaConsumerCkafkaOutputReference | ClsCkafkaConsumerCkafka): any; export declare function clsCkafkaConsumerCkafkaToHclTerraform(struct?: ClsCkafkaConsumerCkafkaOutputReference | ClsCkafkaConsumerCkafka): any; export declare class ClsCkafkaConsumerCkafkaOutputReference 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(): ClsCkafkaConsumerCkafka | undefined; set internalValue(value: ClsCkafkaConsumerCkafka | undefined); private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _instanceName?; get instanceName(): string; set instanceName(value: string); get instanceNameInput(): string; private _topicId?; get topicId(): string; set topicId(value: string); get topicIdInput(): string; private _topicName?; get topicName(): string; set topicName(value: string); get topicNameInput(): string; private _vip?; get vip(): string; set vip(value: string); get vipInput(): string; private _vport?; get vport(): string; set vport(value: string); get vportInput(): string; } export interface ClsCkafkaConsumerContent { /** * whether to deliver the TAG info. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#enable_tag ClsCkafkaConsumer#enable_tag} */ readonly enableTag: boolean | cdktf.IResolvable; /** * metadata info list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#meta_fields ClsCkafkaConsumer#meta_fields} */ readonly metaFields: string[]; /** * whether to tiling tag json. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#tag_json_not_tiled ClsCkafkaConsumer#tag_json_not_tiled} */ readonly tagJsonNotTiled?: boolean | cdktf.IResolvable; /** * delivery timestamp precision,1 for second, 2 for millisecond. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#timestamp_accuracy ClsCkafkaConsumer#timestamp_accuracy} */ readonly timestampAccuracy?: number; } export declare function clsCkafkaConsumerContentToTerraform(struct?: ClsCkafkaConsumerContentOutputReference | ClsCkafkaConsumerContent): any; export declare function clsCkafkaConsumerContentToHclTerraform(struct?: ClsCkafkaConsumerContentOutputReference | ClsCkafkaConsumerContent): any; export declare class ClsCkafkaConsumerContentOutputReference 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(): ClsCkafkaConsumerContent | undefined; set internalValue(value: ClsCkafkaConsumerContent | undefined); private _enableTag?; get enableTag(): boolean | cdktf.IResolvable; set enableTag(value: boolean | cdktf.IResolvable); get enableTagInput(): any; private _metaFields?; get metaFields(): string[]; set metaFields(value: string[]); get metaFieldsInput(): string[]; private _tagJsonNotTiled?; get tagJsonNotTiled(): boolean | cdktf.IResolvable; set tagJsonNotTiled(value: boolean | cdktf.IResolvable); resetTagJsonNotTiled(): void; get tagJsonNotTiledInput(): any; private _timestampAccuracy?; get timestampAccuracy(): number; set timestampAccuracy(value: number); resetTimestampAccuracy(): void; get timestampAccuracyInput(): number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer tencentcloud_cls_ckafka_consumer} */ export declare class ClsCkafkaConsumer extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cls_ckafka_consumer"; /** * Generates CDKTF code for importing a ClsCkafkaConsumer 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 ClsCkafkaConsumer to import * @param importFromId The id of the existing ClsCkafkaConsumer that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_ckafka_consumer#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ClsCkafkaConsumer 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_ckafka_consumer tencentcloud_cls_ckafka_consumer} 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 ClsCkafkaConsumerConfig */ constructor(scope: Construct, id: string, config: ClsCkafkaConsumerConfig); private _compression?; get compression(): number; set compression(value: number); resetCompression(): void; get compressionInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _needContent?; get needContent(): boolean | cdktf.IResolvable; set needContent(value: boolean | cdktf.IResolvable); resetNeedContent(): void; get needContentInput(): any; private _topicId?; get topicId(): string; set topicId(value: string); get topicIdInput(): string; private _ckafka; get ckafka(): ClsCkafkaConsumerCkafkaOutputReference; putCkafka(value: ClsCkafkaConsumerCkafka): void; resetCkafka(): void; get ckafkaInput(): ClsCkafkaConsumerCkafka; private _content; get content(): ClsCkafkaConsumerContentOutputReference; putContent(value: ClsCkafkaConsumerContent): void; resetContent(): void; get contentInput(): ClsCkafkaConsumerContent; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }