import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TrocketRocketmqInstanceConfig extends cdktf.TerraformMetaArguments { /** * Public network bandwidth. `bandwidth` must be greater than zero when `enable_public` equal true. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#bandwidth TrocketRocketmqInstance#bandwidth} */ readonly bandwidth?: number; /** * Whether to enable the public network. Must set `bandwidth` when `enable_public` equal true. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#enable_public TrocketRocketmqInstance#enable_public} */ readonly enablePublic?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#id TrocketRocketmqInstance#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; /** * Instance type. Valid values: `EXPERIMENT`, `BASIC`, `PRO`, `PLATINUM`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#instance_type TrocketRocketmqInstance#instance_type} */ readonly instanceType: string; /** * Message retention time in hours. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#message_retention TrocketRocketmqInstance#message_retention} */ readonly messageRetention?: number; /** * Instance name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#name TrocketRocketmqInstance#name} */ readonly name: string; /** * Remark. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#remark TrocketRocketmqInstance#remark} */ readonly remark?: string; /** * SKU code. Available specifications are as follows: experiment_500, basic_1k, basic_2k, basic_3k, basic_4k, basic_5k, basic_6k, basic_7k, basic_8k, basic_9k, basic_10k, pro_4k, pro_6k, pro_8k, pro_1w, pro_15k, pro_2w, pro_25k, pro_3w, pro_35k, pro_4w, pro_45k, pro_5w, pro_55k, pro_60k, pro_65k, pro_70k, pro_75k, pro_80k, pro_85k, pro_90k, pro_95k, pro_100k, platinum_1w, platinum_2w, platinum_3w, platinum_4w, platinum_5w, platinum_6w, platinum_7w, platinum_8w, platinum_9w, platinum_10w, platinum_12w, platinum_14w, platinum_16w, platinum_18w, platinum_20w, platinum_25w, platinum_30w, platinum_35w, platinum_40w, platinum_45w, platinum_50w, platinum_60w, platinum_70w, platinum_80w, platinum_90w, platinum_100w. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#sku_code TrocketRocketmqInstance#sku_code} */ readonly skuCode: string; /** * Subnet id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#subnet_id TrocketRocketmqInstance#subnet_id} */ readonly subnetId: string; /** * Tag description list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#tags TrocketRocketmqInstance#tags} */ readonly tags?: { [key: string]: string; }; /** * VPC id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#vpc_id TrocketRocketmqInstance#vpc_id} */ readonly vpcId: string; /** * ip_rules block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#ip_rules TrocketRocketmqInstance#ip_rules} */ readonly ipRules?: TrocketRocketmqInstanceIpRules[] | cdktf.IResolvable; } export interface TrocketRocketmqInstanceIpRules { /** * Whether to allow release or not. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#allow TrocketRocketmqInstance#allow} */ readonly allow: boolean | cdktf.IResolvable; /** * IP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#ip TrocketRocketmqInstance#ip} */ readonly ip: string; /** * Remark. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#remark TrocketRocketmqInstance#remark} */ readonly remark: string; } export declare function trocketRocketmqInstanceIpRulesToTerraform(struct?: TrocketRocketmqInstanceIpRules | cdktf.IResolvable): any; export declare function trocketRocketmqInstanceIpRulesToHclTerraform(struct?: TrocketRocketmqInstanceIpRules | cdktf.IResolvable): any; export declare class TrocketRocketmqInstanceIpRulesOutputReference 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(): TrocketRocketmqInstanceIpRules | cdktf.IResolvable | undefined; set internalValue(value: TrocketRocketmqInstanceIpRules | cdktf.IResolvable | undefined); private _allow?; get allow(): boolean | cdktf.IResolvable; set allow(value: boolean | cdktf.IResolvable); get allowInput(): any; private _ip?; get ip(): string; set ip(value: string); get ipInput(): string; private _remark?; get remark(): string; set remark(value: string); get remarkInput(): string; } export declare class TrocketRocketmqInstanceIpRulesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TrocketRocketmqInstanceIpRules[] | 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): TrocketRocketmqInstanceIpRulesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance tencentcloud_trocket_rocketmq_instance} */ export declare class TrocketRocketmqInstance extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_trocket_rocketmq_instance"; /** * Generates CDKTF code for importing a TrocketRocketmqInstance 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 TrocketRocketmqInstance to import * @param importFromId The id of the existing TrocketRocketmqInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/trocket_rocketmq_instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TrocketRocketmqInstance 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/trocket_rocketmq_instance tencentcloud_trocket_rocketmq_instance} 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 TrocketRocketmqInstanceConfig */ constructor(scope: Construct, id: string, config: TrocketRocketmqInstanceConfig); private _bandwidth?; get bandwidth(): number; set bandwidth(value: number); resetBandwidth(): void; get bandwidthInput(): number; private _enablePublic?; get enablePublic(): boolean | cdktf.IResolvable; set enablePublic(value: boolean | cdktf.IResolvable); resetEnablePublic(): void; get enablePublicInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceType?; get instanceType(): string; set instanceType(value: string); get instanceTypeInput(): string; private _messageRetention?; get messageRetention(): number; set messageRetention(value: number); resetMessageRetention(): void; get messageRetentionInput(): number; private _name?; get name(): string; set name(value: string); get nameInput(): string; get publicEndPoint(): any; private _remark?; get remark(): string; set remark(value: string); resetRemark(): void; get remarkInput(): string; private _skuCode?; get skuCode(): string; set skuCode(value: string); get skuCodeInput(): string; private _subnetId?; get subnetId(): string; set subnetId(value: string); get subnetIdInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; get vpcEndPoint(): any; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; private _ipRules; get ipRules(): TrocketRocketmqInstanceIpRulesList; putIpRules(value: TrocketRocketmqInstanceIpRules[] | cdktf.IResolvable): void; resetIpRules(): void; get ipRulesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }