import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TdmqSubscriptionConfig extends cdktf.TerraformMetaArguments { /** * Whether to automatically create a dead letter topic and a retry letter topic. true: yes; false: no(default value). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#auto_create_policy_topic TdmqSubscription#auto_create_policy_topic} */ readonly autoCreatePolicyTopic?: boolean | cdktf.IResolvable; /** * Whether to automatically delete a dead letter topic and a retry letter topic. Setting is only allowed when `auto_create_policy_topic` is true. Default is false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#auto_delete_policy_topic TdmqSubscription#auto_delete_policy_topic} */ readonly autoDeletePolicyTopic?: boolean | cdktf.IResolvable; /** * Pulsar cluster ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#cluster_id TdmqSubscription#cluster_id} */ readonly clusterId: string; /** * Environment (namespace) name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#environment_id TdmqSubscription#environment_id} */ readonly environmentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#id TdmqSubscription#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; /** * Remarks (up to 128 characters). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#remark TdmqSubscription#remark} */ readonly remark?: string; /** * Subscriber name, which can contain up to 128 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#subscription_name TdmqSubscription#subscription_name} */ readonly subscriptionName: string; /** * Topic name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#topic_name TdmqSubscription#topic_name} */ readonly topicName: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription tencentcloud_tdmq_subscription} */ export declare class TdmqSubscription extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tdmq_subscription"; /** * Generates CDKTF code for importing a TdmqSubscription 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 TdmqSubscription to import * @param importFromId The id of the existing TdmqSubscription that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_subscription#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TdmqSubscription 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/tdmq_subscription tencentcloud_tdmq_subscription} 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 TdmqSubscriptionConfig */ constructor(scope: Construct, id: string, config: TdmqSubscriptionConfig); private _autoCreatePolicyTopic?; get autoCreatePolicyTopic(): boolean | cdktf.IResolvable; set autoCreatePolicyTopic(value: boolean | cdktf.IResolvable); resetAutoCreatePolicyTopic(): void; get autoCreatePolicyTopicInput(): any; private _autoDeletePolicyTopic?; get autoDeletePolicyTopic(): boolean | cdktf.IResolvable; set autoDeletePolicyTopic(value: boolean | cdktf.IResolvable); resetAutoDeletePolicyTopic(): void; get autoDeletePolicyTopicInput(): any; private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): string; private _environmentId?; get environmentId(): string; set environmentId(value: string); get environmentIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _remark?; get remark(): string; set remark(value: string); resetRemark(): void; get remarkInput(): string; private _subscriptionName?; get subscriptionName(): string; set subscriptionName(value: string); get subscriptionNameInput(): string; private _topicName?; get topicName(): string; set topicName(value: string); get topicNameInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }