import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApiGatewayUpstreamConfig extends cdktf.TerraformMetaArguments { /** * Load balancing algorithm, value range: ROUND-ROBIN. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#algorithm ApiGatewayUpstream#algorithm} */ readonly algorithm: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#id ApiGatewayUpstream#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; /** * Request retry count, default to 3 times. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#retries ApiGatewayUpstream#retries} */ readonly retries?: number; /** * Backend protocol, value range: HTTP, HTTPS, gRPC, gRPCs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#scheme ApiGatewayUpstream#scheme} */ readonly scheme: string; /** * Tag description list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#tags ApiGatewayUpstream#tags} */ readonly tags?: { [key: string]: string; }; /** * VPC Unique ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#uniq_vpc_id ApiGatewayUpstream#uniq_vpc_id} */ readonly uniqVpcId: string; /** * Backend channel description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#upstream_description ApiGatewayUpstream#upstream_description} */ readonly upstreamDescription?: string; /** * Host request header forwarded by gateway to backend. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#upstream_host ApiGatewayUpstream#upstream_host} */ readonly upstreamHost?: string; /** * Backend channel name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#upstream_name ApiGatewayUpstream#upstream_name} */ readonly upstreamName?: string; /** * Backend access type, value range: IP_PORT, K8S. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#upstream_type ApiGatewayUpstream#upstream_type} */ readonly upstreamType?: string; /** * health_checker block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#health_checker ApiGatewayUpstream#health_checker} */ readonly healthChecker?: ApiGatewayUpstreamHealthChecker; /** * k8s_service block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#k8s_service ApiGatewayUpstream#k8s_service} */ readonly k8SService?: ApiGatewayUpstreamK8SService[] | cdktf.IResolvable; /** * nodes block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#nodes ApiGatewayUpstream#nodes} */ readonly nodes?: ApiGatewayUpstreamNodes[] | cdktf.IResolvable; } export interface ApiGatewayUpstreamHealthChecker { /** * Detect the requested path during active health checks. The default is'/'. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#active_check_http_path ApiGatewayUpstream#active_check_http_path} */ readonly activeCheckHttpPath?: string; /** * The time interval for active health checks is 5 seconds by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#active_check_interval ApiGatewayUpstream#active_check_interval} */ readonly activeCheckInterval?: number; /** * The detection request for active health check timed out in seconds. The default is 5 seconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#active_check_timeout ApiGatewayUpstream#active_check_timeout} */ readonly activeCheckTimeout?: number; /** * Identify whether active health checks are enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#enable_active_check ApiGatewayUpstream#enable_active_check} */ readonly enableActiveCheck: boolean | cdktf.IResolvable; /** * Identify whether passive health checks are enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#enable_passive_check ApiGatewayUpstream#enable_passive_check} */ readonly enablePassiveCheck: boolean | cdktf.IResolvable; /** * The HTTP status code that determines a successful request during a health check. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#healthy_http_status ApiGatewayUpstream#healthy_http_status} */ readonly healthyHttpStatus: string; /** * HTTP continuous error threshold. 0 means HTTP checking is disabled. Value range: [0, 254]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#http_failure_threshold ApiGatewayUpstream#http_failure_threshold} */ readonly httpFailureThreshold: number; /** * TCP continuous error threshold. 0 indicates disabling TCP checking. Value range: [0, 254]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#tcp_failure_threshold ApiGatewayUpstream#tcp_failure_threshold} */ readonly tcpFailureThreshold: number; /** * Continuous timeout threshold. 0 indicates disabling timeout checking. Value range: [0, 254]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#timeout_threshold ApiGatewayUpstream#timeout_threshold} */ readonly timeoutThreshold: number; /** * The HTTP status code that determines a failed request during a health check. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#unhealthy_http_status ApiGatewayUpstream#unhealthy_http_status} */ readonly unhealthyHttpStatus: string; /** * The automatic recovery time of abnormal node status, in seconds. When only passive checking is enabled, it must be set to a value>0, otherwise the passive exception node will not be able to recover. The default is 30 seconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#unhealthy_timeout ApiGatewayUpstream#unhealthy_timeout} */ readonly unhealthyTimeout?: number; } export declare function apiGatewayUpstreamHealthCheckerToTerraform(struct?: ApiGatewayUpstreamHealthCheckerOutputReference | ApiGatewayUpstreamHealthChecker): any; export declare function apiGatewayUpstreamHealthCheckerToHclTerraform(struct?: ApiGatewayUpstreamHealthCheckerOutputReference | ApiGatewayUpstreamHealthChecker): any; export declare class ApiGatewayUpstreamHealthCheckerOutputReference 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(): ApiGatewayUpstreamHealthChecker | undefined; set internalValue(value: ApiGatewayUpstreamHealthChecker | undefined); private _activeCheckHttpPath?; get activeCheckHttpPath(): string; set activeCheckHttpPath(value: string); resetActiveCheckHttpPath(): void; get activeCheckHttpPathInput(): string; private _activeCheckInterval?; get activeCheckInterval(): number; set activeCheckInterval(value: number); resetActiveCheckInterval(): void; get activeCheckIntervalInput(): number; private _activeCheckTimeout?; get activeCheckTimeout(): number; set activeCheckTimeout(value: number); resetActiveCheckTimeout(): void; get activeCheckTimeoutInput(): number; private _enableActiveCheck?; get enableActiveCheck(): boolean | cdktf.IResolvable; set enableActiveCheck(value: boolean | cdktf.IResolvable); get enableActiveCheckInput(): any; private _enablePassiveCheck?; get enablePassiveCheck(): boolean | cdktf.IResolvable; set enablePassiveCheck(value: boolean | cdktf.IResolvable); get enablePassiveCheckInput(): any; private _healthyHttpStatus?; get healthyHttpStatus(): string; set healthyHttpStatus(value: string); get healthyHttpStatusInput(): string; private _httpFailureThreshold?; get httpFailureThreshold(): number; set httpFailureThreshold(value: number); get httpFailureThresholdInput(): number; private _tcpFailureThreshold?; get tcpFailureThreshold(): number; set tcpFailureThreshold(value: number); get tcpFailureThresholdInput(): number; private _timeoutThreshold?; get timeoutThreshold(): number; set timeoutThreshold(value: number); get timeoutThresholdInput(): number; private _unhealthyHttpStatus?; get unhealthyHttpStatus(): string; set unhealthyHttpStatus(value: string); get unhealthyHttpStatusInput(): string; private _unhealthyTimeout?; get unhealthyTimeout(): number; set unhealthyTimeout(value: number); resetUnhealthyTimeout(): void; get unhealthyTimeoutInput(): number; } export interface ApiGatewayUpstreamK8SServiceExtraLabels { /** * Key of Label. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#key ApiGatewayUpstream#key} */ readonly key: string; /** * Value of Label. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#value ApiGatewayUpstream#value} */ readonly value: string; } export declare function apiGatewayUpstreamK8SServiceExtraLabelsToTerraform(struct?: ApiGatewayUpstreamK8SServiceExtraLabels | cdktf.IResolvable): any; export declare function apiGatewayUpstreamK8SServiceExtraLabelsToHclTerraform(struct?: ApiGatewayUpstreamK8SServiceExtraLabels | cdktf.IResolvable): any; export declare class ApiGatewayUpstreamK8SServiceExtraLabelsOutputReference 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(): ApiGatewayUpstreamK8SServiceExtraLabels | cdktf.IResolvable | undefined; set internalValue(value: ApiGatewayUpstreamK8SServiceExtraLabels | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class ApiGatewayUpstreamK8SServiceExtraLabelsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ApiGatewayUpstreamK8SServiceExtraLabels[] | 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): ApiGatewayUpstreamK8SServiceExtraLabelsOutputReference; } export interface ApiGatewayUpstreamK8SService { /** * K8s cluster ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#cluster_id ApiGatewayUpstream#cluster_id} */ readonly clusterId: string; /** * Customized service name, optional. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#name ApiGatewayUpstream#name} */ readonly name?: string; /** * Container namespace. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#namespace ApiGatewayUpstream#namespace} */ readonly namespace: string; /** * Port of service. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#port ApiGatewayUpstream#port} */ readonly port: number; /** * The name of the container service. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#service_name ApiGatewayUpstream#service_name} */ readonly serviceName: string; /** * weight. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#weight ApiGatewayUpstream#weight} */ readonly weight: number; /** * extra_labels block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#extra_labels ApiGatewayUpstream#extra_labels} */ readonly extraLabels: ApiGatewayUpstreamK8SServiceExtraLabels[] | cdktf.IResolvable; } export declare function apiGatewayUpstreamK8SServiceToTerraform(struct?: ApiGatewayUpstreamK8SService | cdktf.IResolvable): any; export declare function apiGatewayUpstreamK8SServiceToHclTerraform(struct?: ApiGatewayUpstreamK8SService | cdktf.IResolvable): any; export declare class ApiGatewayUpstreamK8SServiceOutputReference 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(): ApiGatewayUpstreamK8SService | cdktf.IResolvable | undefined; set internalValue(value: ApiGatewayUpstreamK8SService | cdktf.IResolvable | undefined); private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _namespace?; get namespace(): string; set namespace(value: string); get namespaceInput(): string; private _port?; get port(): number; set port(value: number); get portInput(): number; private _serviceName?; get serviceName(): string; set serviceName(value: string); get serviceNameInput(): string; private _weight?; get weight(): number; set weight(value: number); get weightInput(): number; private _extraLabels; get extraLabels(): ApiGatewayUpstreamK8SServiceExtraLabelsList; putExtraLabels(value: ApiGatewayUpstreamK8SServiceExtraLabels[] | cdktf.IResolvable): void; get extraLabelsInput(): any; } export declare class ApiGatewayUpstreamK8SServiceList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ApiGatewayUpstreamK8SService[] | 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): ApiGatewayUpstreamK8SServiceOutputReference; } export interface ApiGatewayUpstreamNodes { /** * The ID of the TKE clusterNote: 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/api_gateway_upstream#cluster_id ApiGatewayUpstream#cluster_id} */ readonly clusterId?: string; /** * IP or domain name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#host ApiGatewayUpstream#host} */ readonly host: string; /** * K8S namespaceNote: 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/api_gateway_upstream#name_space ApiGatewayUpstream#name_space} */ readonly nameSpace?: string; /** * Port [0, 65535]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#port ApiGatewayUpstream#port} */ readonly port: number; /** * K8S container service nameNote: 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/api_gateway_upstream#service_name ApiGatewayUpstream#service_name} */ readonly serviceName?: string; /** * Source of Node, value range: K8SNote: 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/api_gateway_upstream#source ApiGatewayUpstream#source} */ readonly source?: string; /** * Dye labelNote: 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/api_gateway_upstream#tags ApiGatewayUpstream#tags} */ readonly tags?: string[]; /** * Unique service name recorded internally by API gatewayNote: 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/api_gateway_upstream#unique_service_name ApiGatewayUpstream#unique_service_name} */ readonly uniqueServiceName?: string; /** * CVM instance IDNote: 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/api_gateway_upstream#vm_instance_id ApiGatewayUpstream#vm_instance_id} */ readonly vmInstanceId?: string; /** * Weight [0, 100], 0 is disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#weight ApiGatewayUpstream#weight} */ readonly weight: number; } export declare function apiGatewayUpstreamNodesToTerraform(struct?: ApiGatewayUpstreamNodes | cdktf.IResolvable): any; export declare function apiGatewayUpstreamNodesToHclTerraform(struct?: ApiGatewayUpstreamNodes | cdktf.IResolvable): any; export declare class ApiGatewayUpstreamNodesOutputReference 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(): ApiGatewayUpstreamNodes | cdktf.IResolvable | undefined; set internalValue(value: ApiGatewayUpstreamNodes | cdktf.IResolvable | undefined); private _clusterId?; get clusterId(): string; set clusterId(value: string); resetClusterId(): void; get clusterIdInput(): string; private _host?; get host(): string; set host(value: string); get hostInput(): string; private _nameSpace?; get nameSpace(): string; set nameSpace(value: string); resetNameSpace(): void; get nameSpaceInput(): string; private _port?; get port(): number; set port(value: number); get portInput(): number; private _serviceName?; get serviceName(): string; set serviceName(value: string); resetServiceName(): void; get serviceNameInput(): string; private _source?; get source(): string; set source(value: string); resetSource(): void; get sourceInput(): string; private _tags?; get tags(): string[]; set tags(value: string[]); resetTags(): void; get tagsInput(): string[]; private _uniqueServiceName?; get uniqueServiceName(): string; set uniqueServiceName(value: string); resetUniqueServiceName(): void; get uniqueServiceNameInput(): string; private _vmInstanceId?; get vmInstanceId(): string; set vmInstanceId(value: string); resetVmInstanceId(): void; get vmInstanceIdInput(): string; private _weight?; get weight(): number; set weight(value: number); get weightInput(): number; } export declare class ApiGatewayUpstreamNodesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ApiGatewayUpstreamNodes[] | 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): ApiGatewayUpstreamNodesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream tencentcloud_api_gateway_upstream} */ export declare class ApiGatewayUpstream extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_api_gateway_upstream"; /** * Generates CDKTF code for importing a ApiGatewayUpstream 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 ApiGatewayUpstream to import * @param importFromId The id of the existing ApiGatewayUpstream that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_upstream#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ApiGatewayUpstream 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/api_gateway_upstream tencentcloud_api_gateway_upstream} 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 ApiGatewayUpstreamConfig */ constructor(scope: Construct, id: string, config: ApiGatewayUpstreamConfig); private _algorithm?; get algorithm(): string; set algorithm(value: string); get algorithmInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _retries?; get retries(): number; set retries(value: number); resetRetries(): void; get retriesInput(): number; private _scheme?; get scheme(): string; set scheme(value: string); get schemeInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; private _uniqVpcId?; get uniqVpcId(): string; set uniqVpcId(value: string); get uniqVpcIdInput(): string; private _upstreamDescription?; get upstreamDescription(): string; set upstreamDescription(value: string); resetUpstreamDescription(): void; get upstreamDescriptionInput(): string; private _upstreamHost?; get upstreamHost(): string; set upstreamHost(value: string); resetUpstreamHost(): void; get upstreamHostInput(): string; private _upstreamName?; get upstreamName(): string; set upstreamName(value: string); resetUpstreamName(): void; get upstreamNameInput(): string; private _upstreamType?; get upstreamType(): string; set upstreamType(value: string); resetUpstreamType(): void; get upstreamTypeInput(): string; private _healthChecker; get healthChecker(): ApiGatewayUpstreamHealthCheckerOutputReference; putHealthChecker(value: ApiGatewayUpstreamHealthChecker): void; resetHealthChecker(): void; get healthCheckerInput(): ApiGatewayUpstreamHealthChecker; private _k8SService; get k8SService(): ApiGatewayUpstreamK8SServiceList; putK8SService(value: ApiGatewayUpstreamK8SService[] | cdktf.IResolvable): void; resetK8SService(): void; get k8SServiceInput(): any; private _nodes; get nodes(): ApiGatewayUpstreamNodesList; putNodes(value: ApiGatewayUpstreamNodes[] | cdktf.IResolvable): void; resetNodes(): void; get nodesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }