import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface AntiddosCcBlackWhiteIpConfig extends cdktf.TerraformMetaArguments { /** * domain. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#domain AntiddosCcBlackWhiteIp#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#id AntiddosCcBlackWhiteIp#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 id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#instance_id AntiddosCcBlackWhiteIp#instance_id} */ readonly instanceId: string; /** * ip address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#ip AntiddosCcBlackWhiteIp#ip} */ readonly ip: string; /** * protocol. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#protocol AntiddosCcBlackWhiteIp#protocol} */ readonly protocol: string; /** * IP type, value [black(blacklist IP), white(whitelist IP)]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#type AntiddosCcBlackWhiteIp#type} */ readonly type: string; /** * black_white_ip block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#black_white_ip AntiddosCcBlackWhiteIp#black_white_ip} */ readonly blackWhiteIp: AntiddosCcBlackWhiteIpBlackWhiteIp; } export interface AntiddosCcBlackWhiteIpBlackWhiteIp { /** * ip address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#ip AntiddosCcBlackWhiteIp#ip} */ readonly ip: string; /** * ip mask. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#mask AntiddosCcBlackWhiteIp#mask} */ readonly mask: number; } export declare function antiddosCcBlackWhiteIpBlackWhiteIpToTerraform(struct?: AntiddosCcBlackWhiteIpBlackWhiteIpOutputReference | AntiddosCcBlackWhiteIpBlackWhiteIp): any; export declare function antiddosCcBlackWhiteIpBlackWhiteIpToHclTerraform(struct?: AntiddosCcBlackWhiteIpBlackWhiteIpOutputReference | AntiddosCcBlackWhiteIpBlackWhiteIp): any; export declare class AntiddosCcBlackWhiteIpBlackWhiteIpOutputReference 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(): AntiddosCcBlackWhiteIpBlackWhiteIp | undefined; set internalValue(value: AntiddosCcBlackWhiteIpBlackWhiteIp | undefined); private _ip?; get ip(): string; set ip(value: string); get ipInput(): string; private _mask?; get mask(): number; set mask(value: number); get maskInput(): number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip tencentcloud_antiddos_cc_black_white_ip} */ export declare class AntiddosCcBlackWhiteIp extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_antiddos_cc_black_white_ip"; /** * Generates CDKTF code for importing a AntiddosCcBlackWhiteIp 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 AntiddosCcBlackWhiteIp to import * @param importFromId The id of the existing AntiddosCcBlackWhiteIp that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/antiddos_cc_black_white_ip#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the AntiddosCcBlackWhiteIp 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_cc_black_white_ip tencentcloud_antiddos_cc_black_white_ip} 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 AntiddosCcBlackWhiteIpConfig */ constructor(scope: Construct, id: string, config: AntiddosCcBlackWhiteIpConfig); private _domain?; get domain(): string; set domain(value: string); get domainInput(): string; 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 _ip?; get ip(): string; set ip(value: string); get ipInput(): string; private _protocol?; get protocol(): string; set protocol(value: string); get protocolInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _blackWhiteIp; get blackWhiteIp(): AntiddosCcBlackWhiteIpBlackWhiteIpOutputReference; putBlackWhiteIp(value: AntiddosCcBlackWhiteIpBlackWhiteIp): void; get blackWhiteIpInput(): AntiddosCcBlackWhiteIpBlackWhiteIp; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }