import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface AntiddosPortAclConfigConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#id AntiddosPortAclConfig#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; /** * InstanceIdList. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#instance_id AntiddosPortAclConfig#instance_id} */ readonly instanceId: string; /** * acl_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#acl_config AntiddosPortAclConfig#acl_config} */ readonly aclConfig: AntiddosPortAclConfigAclConfig; } export interface AntiddosPortAclConfigAclConfig { /** * Action, can take values: drop, transmit, forward. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#action AntiddosPortAclConfig#action} */ readonly action: string; /** * end from port, with a range of 0~65535 values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#d_port_end AntiddosPortAclConfig#d_port_end} */ readonly dPortEnd: number; /** * Starting from port, with a range of 0~65535 values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#d_port_start AntiddosPortAclConfig#d_port_start} */ readonly dPortStart: number; /** * Protocol type, can take TCP, udp, all values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#forward_protocol AntiddosPortAclConfig#forward_protocol} */ readonly forwardProtocol: string; /** * The policy priority, the smaller the number, the higher the level, and the higher the matching of the rule, with values ranging from 1 to 1000. Note: This field may return null, indicating that a valid value cannot be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#priority AntiddosPortAclConfig#priority} */ readonly priority?: number; /** * end from the source port, with a value range of 0~65535. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#s_port_end AntiddosPortAclConfig#s_port_end} */ readonly sPortEnd: number; /** * Starting from the source port, with a value range of 0~65535. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#s_port_start AntiddosPortAclConfig#s_port_start} */ readonly sPortStart: number; } export declare function antiddosPortAclConfigAclConfigToTerraform(struct?: AntiddosPortAclConfigAclConfigOutputReference | AntiddosPortAclConfigAclConfig): any; export declare function antiddosPortAclConfigAclConfigToHclTerraform(struct?: AntiddosPortAclConfigAclConfigOutputReference | AntiddosPortAclConfigAclConfig): any; export declare class AntiddosPortAclConfigAclConfigOutputReference 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(): AntiddosPortAclConfigAclConfig | undefined; set internalValue(value: AntiddosPortAclConfigAclConfig | undefined); private _action?; get action(): string; set action(value: string); get actionInput(): string; private _dPortEnd?; get dPortEnd(): number; set dPortEnd(value: number); get dPortEndInput(): number; private _dPortStart?; get dPortStart(): number; set dPortStart(value: number); get dPortStartInput(): number; private _forwardProtocol?; get forwardProtocol(): string; set forwardProtocol(value: string); get forwardProtocolInput(): string; private _priority?; get priority(): number; set priority(value: number); resetPriority(): void; get priorityInput(): number; private _sPortEnd?; get sPortEnd(): number; set sPortEnd(value: number); get sPortEndInput(): number; private _sPortStart?; get sPortStart(): number; set sPortStart(value: number); get sPortStartInput(): number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config tencentcloud_antiddos_port_acl_config} */ export declare class AntiddosPortAclConfig extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_antiddos_port_acl_config"; /** * Generates CDKTF code for importing a AntiddosPortAclConfig 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 AntiddosPortAclConfig to import * @param importFromId The id of the existing AntiddosPortAclConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_port_acl_config#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the AntiddosPortAclConfig 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/antiddos_port_acl_config tencentcloud_antiddos_port_acl_config} 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 AntiddosPortAclConfigConfig */ constructor(scope: Construct, id: string, config: AntiddosPortAclConfigConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _aclConfig; get aclConfig(): AntiddosPortAclConfigAclConfigOutputReference; putAclConfig(value: AntiddosPortAclConfigAclConfig): void; get aclConfigInput(): AntiddosPortAclConfigAclConfig; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }