import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DdosProtectionConfig extends cdktf.TerraformMetaArguments { /** * Activate profile * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#active DdosProtection#active} */ readonly active?: boolean | cdktf.IResolvable; /** * Activate BGP protocol * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#bgp DdosProtection#bgp} */ readonly bgp?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#bm_instance_id DdosProtection#bm_instance_id} */ readonly bmInstanceId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#id DdosProtection#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; /** * IP address * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#ip_address DdosProtection#ip_address} */ readonly ipAddress: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#last_updated DdosProtection#last_updated} */ readonly lastUpdated?: string; /** * Profile template ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#profile_template DdosProtection#profile_template} */ readonly profileTemplate: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#project_id DdosProtection#project_id} */ readonly projectId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#project_name DdosProtection#project_name} */ readonly projectName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#region_id DdosProtection#region_id} */ readonly regionId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#region_name DdosProtection#region_name} */ readonly regionName?: string; /** * fields block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#fields DdosProtection#fields} */ readonly fields?: DdosProtectionFields[] | cdktf.IResolvable; } export interface DdosProtectionProtocols { } export declare function ddosProtectionProtocolsToTerraform(struct?: DdosProtectionProtocols): any; export declare function ddosProtectionProtocolsToHclTerraform(struct?: DdosProtectionProtocols): any; export declare class DdosProtectionProtocolsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DdosProtectionProtocols | undefined; set internalValue(value: DdosProtectionProtocols | undefined); get port(): any; get protocols(): any; } export declare class DdosProtectionProtocolsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): DdosProtectionProtocolsOutputReference; } export interface DdosProtectionFields { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#base_field DdosProtection#base_field} */ readonly baseField: number; /** * Complex value. Only one of 'value' or 'field_value' must be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#field_value DdosProtection#field_value} */ readonly fieldValue?: string; /** * Basic type value. Only one of 'value' or 'field_value' must be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#value DdosProtection#value} */ readonly value?: string; } export declare function ddosProtectionFieldsToTerraform(struct?: DdosProtectionFields | cdktf.IResolvable): any; export declare function ddosProtectionFieldsToHclTerraform(struct?: DdosProtectionFields | cdktf.IResolvable): any; export declare class DdosProtectionFieldsOutputReference 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(): DdosProtectionFields | cdktf.IResolvable | undefined; set internalValue(value: DdosProtectionFields | cdktf.IResolvable | undefined); private _baseField?; get baseField(): number; set baseField(value: number); get baseFieldInput(): number; get default(): any; get description(): any; get fieldType(): any; private _fieldValue?; get fieldValue(): string; set fieldValue(value: string); resetFieldValue(): void; get fieldValueInput(): string; get id(): any; get name(): any; get required(): any; get validationSchema(): any; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string; } export declare class DdosProtectionFieldsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DdosProtectionFields[] | 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): DdosProtectionFieldsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection gcore_ddos_protection} */ export declare class DdosProtection extends cdktf.TerraformResource { static readonly tfResourceType = "gcore_ddos_protection"; /** * Generates CDKTF code for importing a DdosProtection 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 DdosProtection to import * @param importFromId The id of the existing DdosProtection that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/ddos_protection#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DdosProtection 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/g-core/gcore/0.32.5/docs/resources/ddos_protection gcore_ddos_protection} 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 DdosProtectionConfig */ constructor(scope: Construct, id: string, config: DdosProtectionConfig); private _active?; get active(): boolean | cdktf.IResolvable; set active(value: boolean | cdktf.IResolvable); resetActive(): void; get activeInput(): any; private _bgp?; get bgp(): boolean | cdktf.IResolvable; set bgp(value: boolean | cdktf.IResolvable); resetBgp(): void; get bgpInput(): any; private _bmInstanceId?; get bmInstanceId(): string; set bmInstanceId(value: string); get bmInstanceIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ipAddress?; get ipAddress(): string; set ipAddress(value: string); get ipAddressInput(): string; private _lastUpdated?; get lastUpdated(): string; set lastUpdated(value: string); resetLastUpdated(): void; get lastUpdatedInput(): string; private _profileTemplate?; get profileTemplate(): number; set profileTemplate(value: number); get profileTemplateInput(): number; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _projectName?; get projectName(): string; set projectName(value: string); resetProjectName(): void; get projectNameInput(): string; private _protocols; get protocols(): DdosProtectionProtocolsList; private _regionId?; get regionId(): number; set regionId(value: number); resetRegionId(): void; get regionIdInput(): number; private _regionName?; get regionName(): string; set regionName(value: string); resetRegionName(): void; get regionNameInput(): string; get site(): any; private _fields; get fields(): DdosProtectionFieldsList; putFields(value: DdosProtectionFields[] | cdktf.IResolvable): void; resetFields(): void; get fieldsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }