import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ClbRedirectionConfig extends cdktf.TerraformMetaArguments { /** * ID of CLB instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#clb_id ClbRedirection#clb_id} */ readonly clbId: string; /** * Indicates whether delete all auto redirection. Default is `false`. It will take effect only when this redirection is auto-rewrite and this auto-rewrite auto redirected more than one rules. All the auto-rewrite relations will be deleted when this parameter set true. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#delete_all_auto_rewrite ClbRedirection#delete_all_auto_rewrite} */ readonly deleteAllAutoRewrite?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#id ClbRedirection#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; /** * Indicates whether automatic forwarding is enable, default is `false`. If enabled, the source listener and location should be empty, the target listener must be https protocol and port is 443. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#is_auto_rewrite ClbRedirection#is_auto_rewrite} */ readonly isAutoRewrite?: boolean | cdktf.IResolvable; /** * ID of source listener. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#source_listener_id ClbRedirection#source_listener_id} */ readonly sourceListenerId?: string; /** * Rule ID of source listener. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#source_rule_id ClbRedirection#source_rule_id} */ readonly sourceRuleId?: string; /** * ID of source listener. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#target_listener_id ClbRedirection#target_listener_id} */ readonly targetListenerId: string; /** * Rule ID of target listener. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#target_rule_id ClbRedirection#target_rule_id} */ readonly targetRuleId: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection tencentcloud_clb_redirection} */ export declare class ClbRedirection extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_clb_redirection"; /** * Generates CDKTF code for importing a ClbRedirection 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 ClbRedirection to import * @param importFromId The id of the existing ClbRedirection that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/clb_redirection#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ClbRedirection 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/clb_redirection tencentcloud_clb_redirection} 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 ClbRedirectionConfig */ constructor(scope: Construct, id: string, config: ClbRedirectionConfig); private _clbId?; get clbId(): string; set clbId(value: string); get clbIdInput(): string; private _deleteAllAutoRewrite?; get deleteAllAutoRewrite(): boolean | cdktf.IResolvable; set deleteAllAutoRewrite(value: boolean | cdktf.IResolvable); resetDeleteAllAutoRewrite(): void; get deleteAllAutoRewriteInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _isAutoRewrite?; get isAutoRewrite(): boolean | cdktf.IResolvable; set isAutoRewrite(value: boolean | cdktf.IResolvable); resetIsAutoRewrite(): void; get isAutoRewriteInput(): any; private _sourceListenerId?; get sourceListenerId(): string; set sourceListenerId(value: string); resetSourceListenerId(): void; get sourceListenerIdInput(): string; private _sourceRuleId?; get sourceRuleId(): string; set sourceRuleId(value: string); resetSourceRuleId(): void; get sourceRuleIdInput(): string; private _targetListenerId?; get targetListenerId(): string; set targetListenerId(value: string); get targetListenerIdInput(): string; private _targetRuleId?; get targetRuleId(): string; set targetRuleId(value: string); get targetRuleIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }