@cdktf/provider-upcloud
Version:
Prebuilt upcloud Provider for Terraform CDK (cdktf)
892 lines • 116 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface LoadbalancerFrontendRuleConfig extends cdktf.TerraformMetaArguments {
/**
* ID of the load balancer frontend to which the frontend rule is connected.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#frontend LoadbalancerFrontendRule#frontend}
*/
readonly frontend: string;
/**
* Defines boolean operator used to combine multiple matchers. Defaults to `and`.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#matching_condition LoadbalancerFrontendRule#matching_condition}
*/
readonly matchingCondition?: string;
/**
* The name of the frontend rule. Must be unique within the frontend.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#name LoadbalancerFrontendRule#name}
*/
readonly name: string;
/**
* Rule with the higher priority goes first. Rules with the same priority processed in alphabetical order.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#priority LoadbalancerFrontendRule#priority}
*/
readonly priority: number;
/**
* actions block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#actions LoadbalancerFrontendRule#actions}
*/
readonly actions?: LoadbalancerFrontendRuleActions[] | cdktf.IResolvable;
/**
* matchers block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#matchers LoadbalancerFrontendRule#matchers}
*/
readonly matchers?: LoadbalancerFrontendRuleMatchers[] | cdktf.IResolvable;
}
export interface LoadbalancerFrontendRuleActionsHttpRedirect {
/**
* Target location.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#location LoadbalancerFrontendRule#location}
*/
readonly location?: string;
/**
* Target scheme.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#scheme LoadbalancerFrontendRule#scheme}
*/
readonly scheme?: string;
/**
* HTTP status code.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#status LoadbalancerFrontendRule#status}
*/
readonly status?: number;
}
export declare function loadbalancerFrontendRuleActionsHttpRedirectToTerraform(struct?: LoadbalancerFrontendRuleActionsHttpRedirect | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleActionsHttpRedirectToHclTerraform(struct?: LoadbalancerFrontendRuleActionsHttpRedirect | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleActionsHttpRedirectOutputReference 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(): LoadbalancerFrontendRuleActionsHttpRedirect | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleActionsHttpRedirect | cdktf.IResolvable | undefined);
private _location?;
get location(): string;
set location(value: string);
resetLocation(): void;
get locationInput(): string | undefined;
private _scheme?;
get scheme(): string;
set scheme(value: string);
resetScheme(): void;
get schemeInput(): string | undefined;
private _status?;
get status(): number;
set status(value: number);
resetStatus(): void;
get statusInput(): number | undefined;
}
export declare class LoadbalancerFrontendRuleActionsHttpRedirectList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleActionsHttpRedirect[] | 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): LoadbalancerFrontendRuleActionsHttpRedirectOutputReference;
}
export interface LoadbalancerFrontendRuleActionsHttpReturn {
/**
* Content type.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#content_type LoadbalancerFrontendRule#content_type}
*/
readonly contentType: string;
/**
* The payload.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#payload LoadbalancerFrontendRule#payload}
*/
readonly payload: string;
/**
* HTTP status code.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#status LoadbalancerFrontendRule#status}
*/
readonly status: number;
}
export declare function loadbalancerFrontendRuleActionsHttpReturnToTerraform(struct?: LoadbalancerFrontendRuleActionsHttpReturn | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleActionsHttpReturnToHclTerraform(struct?: LoadbalancerFrontendRuleActionsHttpReturn | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleActionsHttpReturnOutputReference 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(): LoadbalancerFrontendRuleActionsHttpReturn | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleActionsHttpReturn | cdktf.IResolvable | undefined);
private _contentType?;
get contentType(): string;
set contentType(value: string);
get contentTypeInput(): string | undefined;
private _payload?;
get payload(): string;
set payload(value: string);
get payloadInput(): string | undefined;
private _status?;
get status(): number;
set status(value: number);
get statusInput(): number | undefined;
}
export declare class LoadbalancerFrontendRuleActionsHttpReturnList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleActionsHttpReturn[] | 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): LoadbalancerFrontendRuleActionsHttpReturnOutputReference;
}
export interface LoadbalancerFrontendRuleActionsSetForwardedHeaders {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#active LoadbalancerFrontendRule#active}
*/
readonly active?: boolean | cdktf.IResolvable;
}
export declare function loadbalancerFrontendRuleActionsSetForwardedHeadersToTerraform(struct?: LoadbalancerFrontendRuleActionsSetForwardedHeaders | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleActionsSetForwardedHeadersToHclTerraform(struct?: LoadbalancerFrontendRuleActionsSetForwardedHeaders | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleActionsSetForwardedHeadersOutputReference 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(): LoadbalancerFrontendRuleActionsSetForwardedHeaders | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleActionsSetForwardedHeaders | cdktf.IResolvable | undefined);
private _active?;
get active(): boolean | cdktf.IResolvable;
set active(value: boolean | cdktf.IResolvable);
resetActive(): void;
get activeInput(): boolean | cdktf.IResolvable | undefined;
}
export declare class LoadbalancerFrontendRuleActionsSetForwardedHeadersList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleActionsSetForwardedHeaders[] | 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): LoadbalancerFrontendRuleActionsSetForwardedHeadersOutputReference;
}
export interface LoadbalancerFrontendRuleActionsSetRequestHeader {
/**
* Header name.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#header LoadbalancerFrontendRule#header}
*/
readonly header: string;
/**
* Header value.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#value LoadbalancerFrontendRule#value}
*/
readonly value?: string;
}
export declare function loadbalancerFrontendRuleActionsSetRequestHeaderToTerraform(struct?: LoadbalancerFrontendRuleActionsSetRequestHeader | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleActionsSetRequestHeaderToHclTerraform(struct?: LoadbalancerFrontendRuleActionsSetRequestHeader | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleActionsSetRequestHeaderOutputReference 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(): LoadbalancerFrontendRuleActionsSetRequestHeader | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleActionsSetRequestHeader | cdktf.IResolvable | undefined);
private _header?;
get header(): string;
set header(value: string);
get headerInput(): string | undefined;
private _value?;
get value(): string;
set value(value: string);
resetValue(): void;
get valueInput(): string | undefined;
}
export declare class LoadbalancerFrontendRuleActionsSetRequestHeaderList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleActionsSetRequestHeader[] | 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): LoadbalancerFrontendRuleActionsSetRequestHeaderOutputReference;
}
export interface LoadbalancerFrontendRuleActionsSetResponseHeader {
/**
* Header name.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#header LoadbalancerFrontendRule#header}
*/
readonly header: string;
/**
* Header value.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#value LoadbalancerFrontendRule#value}
*/
readonly value?: string;
}
export declare function loadbalancerFrontendRuleActionsSetResponseHeaderToTerraform(struct?: LoadbalancerFrontendRuleActionsSetResponseHeader | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleActionsSetResponseHeaderToHclTerraform(struct?: LoadbalancerFrontendRuleActionsSetResponseHeader | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleActionsSetResponseHeaderOutputReference 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(): LoadbalancerFrontendRuleActionsSetResponseHeader | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleActionsSetResponseHeader | cdktf.IResolvable | undefined);
private _header?;
get header(): string;
set header(value: string);
get headerInput(): string | undefined;
private _value?;
get value(): string;
set value(value: string);
resetValue(): void;
get valueInput(): string | undefined;
}
export declare class LoadbalancerFrontendRuleActionsSetResponseHeaderList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleActionsSetResponseHeader[] | 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): LoadbalancerFrontendRuleActionsSetResponseHeaderOutputReference;
}
export interface LoadbalancerFrontendRuleActionsTcpReject {
/**
* Indicates if the rule is active.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#active LoadbalancerFrontendRule#active}
*/
readonly active?: boolean | cdktf.IResolvable;
}
export declare function loadbalancerFrontendRuleActionsTcpRejectToTerraform(struct?: LoadbalancerFrontendRuleActionsTcpReject | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleActionsTcpRejectToHclTerraform(struct?: LoadbalancerFrontendRuleActionsTcpReject | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleActionsTcpRejectOutputReference 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(): LoadbalancerFrontendRuleActionsTcpReject | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleActionsTcpReject | cdktf.IResolvable | undefined);
private _active?;
get active(): boolean | cdktf.IResolvable;
set active(value: boolean | cdktf.IResolvable);
resetActive(): void;
get activeInput(): boolean | cdktf.IResolvable | undefined;
}
export declare class LoadbalancerFrontendRuleActionsTcpRejectList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleActionsTcpReject[] | 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): LoadbalancerFrontendRuleActionsTcpRejectOutputReference;
}
export interface LoadbalancerFrontendRuleActionsUseBackend {
/**
* The name of the backend where traffic will be routed.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#backend_name LoadbalancerFrontendRule#backend_name}
*/
readonly backendName: string;
}
export declare function loadbalancerFrontendRuleActionsUseBackendToTerraform(struct?: LoadbalancerFrontendRuleActionsUseBackend | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleActionsUseBackendToHclTerraform(struct?: LoadbalancerFrontendRuleActionsUseBackend | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleActionsUseBackendOutputReference 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(): LoadbalancerFrontendRuleActionsUseBackend | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleActionsUseBackend | cdktf.IResolvable | undefined);
private _backendName?;
get backendName(): string;
set backendName(value: string);
get backendNameInput(): string | undefined;
}
export declare class LoadbalancerFrontendRuleActionsUseBackendList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleActionsUseBackend[] | 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): LoadbalancerFrontendRuleActionsUseBackendOutputReference;
}
export interface LoadbalancerFrontendRuleActions {
/**
* http_redirect block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#http_redirect LoadbalancerFrontendRule#http_redirect}
*/
readonly httpRedirect?: LoadbalancerFrontendRuleActionsHttpRedirect[] | cdktf.IResolvable;
/**
* http_return block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#http_return LoadbalancerFrontendRule#http_return}
*/
readonly httpReturn?: LoadbalancerFrontendRuleActionsHttpReturn[] | cdktf.IResolvable;
/**
* set_forwarded_headers block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#set_forwarded_headers LoadbalancerFrontendRule#set_forwarded_headers}
*/
readonly setForwardedHeaders?: LoadbalancerFrontendRuleActionsSetForwardedHeaders[] | cdktf.IResolvable;
/**
* set_request_header block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#set_request_header LoadbalancerFrontendRule#set_request_header}
*/
readonly setRequestHeader?: LoadbalancerFrontendRuleActionsSetRequestHeader[] | cdktf.IResolvable;
/**
* set_response_header block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#set_response_header LoadbalancerFrontendRule#set_response_header}
*/
readonly setResponseHeader?: LoadbalancerFrontendRuleActionsSetResponseHeader[] | cdktf.IResolvable;
/**
* tcp_reject block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#tcp_reject LoadbalancerFrontendRule#tcp_reject}
*/
readonly tcpReject?: LoadbalancerFrontendRuleActionsTcpReject[] | cdktf.IResolvable;
/**
* use_backend block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#use_backend LoadbalancerFrontendRule#use_backend}
*/
readonly useBackend?: LoadbalancerFrontendRuleActionsUseBackend[] | cdktf.IResolvable;
}
export declare function loadbalancerFrontendRuleActionsToTerraform(struct?: LoadbalancerFrontendRuleActions | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleActionsToHclTerraform(struct?: LoadbalancerFrontendRuleActions | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleActionsOutputReference 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(): LoadbalancerFrontendRuleActions | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleActions | cdktf.IResolvable | undefined);
private _httpRedirect;
get httpRedirect(): LoadbalancerFrontendRuleActionsHttpRedirectList;
putHttpRedirect(value: LoadbalancerFrontendRuleActionsHttpRedirect[] | cdktf.IResolvable): void;
resetHttpRedirect(): void;
get httpRedirectInput(): cdktf.IResolvable | LoadbalancerFrontendRuleActionsHttpRedirect[] | undefined;
private _httpReturn;
get httpReturn(): LoadbalancerFrontendRuleActionsHttpReturnList;
putHttpReturn(value: LoadbalancerFrontendRuleActionsHttpReturn[] | cdktf.IResolvable): void;
resetHttpReturn(): void;
get httpReturnInput(): cdktf.IResolvable | LoadbalancerFrontendRuleActionsHttpReturn[] | undefined;
private _setForwardedHeaders;
get setForwardedHeaders(): LoadbalancerFrontendRuleActionsSetForwardedHeadersList;
putSetForwardedHeaders(value: LoadbalancerFrontendRuleActionsSetForwardedHeaders[] | cdktf.IResolvable): void;
resetSetForwardedHeaders(): void;
get setForwardedHeadersInput(): cdktf.IResolvable | LoadbalancerFrontendRuleActionsSetForwardedHeaders[] | undefined;
private _setRequestHeader;
get setRequestHeader(): LoadbalancerFrontendRuleActionsSetRequestHeaderList;
putSetRequestHeader(value: LoadbalancerFrontendRuleActionsSetRequestHeader[] | cdktf.IResolvable): void;
resetSetRequestHeader(): void;
get setRequestHeaderInput(): cdktf.IResolvable | LoadbalancerFrontendRuleActionsSetRequestHeader[] | undefined;
private _setResponseHeader;
get setResponseHeader(): LoadbalancerFrontendRuleActionsSetResponseHeaderList;
putSetResponseHeader(value: LoadbalancerFrontendRuleActionsSetResponseHeader[] | cdktf.IResolvable): void;
resetSetResponseHeader(): void;
get setResponseHeaderInput(): cdktf.IResolvable | LoadbalancerFrontendRuleActionsSetResponseHeader[] | undefined;
private _tcpReject;
get tcpReject(): LoadbalancerFrontendRuleActionsTcpRejectList;
putTcpReject(value: LoadbalancerFrontendRuleActionsTcpReject[] | cdktf.IResolvable): void;
resetTcpReject(): void;
get tcpRejectInput(): cdktf.IResolvable | LoadbalancerFrontendRuleActionsTcpReject[] | undefined;
private _useBackend;
get useBackend(): LoadbalancerFrontendRuleActionsUseBackendList;
putUseBackend(value: LoadbalancerFrontendRuleActionsUseBackend[] | cdktf.IResolvable): void;
resetUseBackend(): void;
get useBackendInput(): cdktf.IResolvable | LoadbalancerFrontendRuleActionsUseBackend[] | undefined;
}
export declare class LoadbalancerFrontendRuleActionsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleActions[] | 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): LoadbalancerFrontendRuleActionsOutputReference;
}
export interface LoadbalancerFrontendRuleMatchersBodySize {
/**
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#inverse LoadbalancerFrontendRule#inverse}
*/
readonly inverse?: boolean | cdktf.IResolvable;
/**
* Match method (`equal`, `greater`, `greater_or_equal`, `less`, `less_or_equal`).
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#method LoadbalancerFrontendRule#method}
*/
readonly method: string;
/**
* Integer value.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#value LoadbalancerFrontendRule#value}
*/
readonly value: number;
}
export declare function loadbalancerFrontendRuleMatchersBodySizeToTerraform(struct?: LoadbalancerFrontendRuleMatchersBodySize | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleMatchersBodySizeToHclTerraform(struct?: LoadbalancerFrontendRuleMatchersBodySize | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleMatchersBodySizeOutputReference 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(): LoadbalancerFrontendRuleMatchersBodySize | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleMatchersBodySize | cdktf.IResolvable | undefined);
private _inverse?;
get inverse(): boolean | cdktf.IResolvable;
set inverse(value: boolean | cdktf.IResolvable);
resetInverse(): void;
get inverseInput(): boolean | cdktf.IResolvable | undefined;
private _method?;
get method(): string;
set method(value: string);
get methodInput(): string | undefined;
private _value?;
get value(): number;
set value(value: number);
get valueInput(): number | undefined;
}
export declare class LoadbalancerFrontendRuleMatchersBodySizeList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleMatchersBodySize[] | 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): LoadbalancerFrontendRuleMatchersBodySizeOutputReference;
}
export interface LoadbalancerFrontendRuleMatchersBodySizeRange {
/**
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#inverse LoadbalancerFrontendRule#inverse}
*/
readonly inverse?: boolean | cdktf.IResolvable;
/**
* Integer value.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#range_end LoadbalancerFrontendRule#range_end}
*/
readonly rangeEnd: number;
/**
* Integer value.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#range_start LoadbalancerFrontendRule#range_start}
*/
readonly rangeStart: number;
}
export declare function loadbalancerFrontendRuleMatchersBodySizeRangeToTerraform(struct?: LoadbalancerFrontendRuleMatchersBodySizeRange | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleMatchersBodySizeRangeToHclTerraform(struct?: LoadbalancerFrontendRuleMatchersBodySizeRange | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleMatchersBodySizeRangeOutputReference 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(): LoadbalancerFrontendRuleMatchersBodySizeRange | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleMatchersBodySizeRange | cdktf.IResolvable | undefined);
private _inverse?;
get inverse(): boolean | cdktf.IResolvable;
set inverse(value: boolean | cdktf.IResolvable);
resetInverse(): void;
get inverseInput(): boolean | cdktf.IResolvable | undefined;
private _rangeEnd?;
get rangeEnd(): number;
set rangeEnd(value: number);
get rangeEndInput(): number | undefined;
private _rangeStart?;
get rangeStart(): number;
set rangeStart(value: number);
get rangeStartInput(): number | undefined;
}
export declare class LoadbalancerFrontendRuleMatchersBodySizeRangeList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleMatchersBodySizeRange[] | 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): LoadbalancerFrontendRuleMatchersBodySizeRangeOutputReference;
}
export interface LoadbalancerFrontendRuleMatchersCookie {
/**
* Defines if case should be ignored. Defaults to `false`.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#ignore_case LoadbalancerFrontendRule#ignore_case}
*/
readonly ignoreCase?: boolean | cdktf.IResolvable;
/**
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#inverse LoadbalancerFrontendRule#inverse}
*/
readonly inverse?: boolean | cdktf.IResolvable;
/**
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignore_case` fields.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#method LoadbalancerFrontendRule#method}
*/
readonly method: string;
/**
* Name of the argument.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#name LoadbalancerFrontendRule#name}
*/
readonly name: string;
/**
* String value.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#value LoadbalancerFrontendRule#value}
*/
readonly value?: string;
}
export declare function loadbalancerFrontendRuleMatchersCookieToTerraform(struct?: LoadbalancerFrontendRuleMatchersCookie | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleMatchersCookieToHclTerraform(struct?: LoadbalancerFrontendRuleMatchersCookie | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleMatchersCookieOutputReference 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(): LoadbalancerFrontendRuleMatchersCookie | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleMatchersCookie | cdktf.IResolvable | undefined);
private _ignoreCase?;
get ignoreCase(): boolean | cdktf.IResolvable;
set ignoreCase(value: boolean | cdktf.IResolvable);
resetIgnoreCase(): void;
get ignoreCaseInput(): boolean | cdktf.IResolvable | undefined;
private _inverse?;
get inverse(): boolean | cdktf.IResolvable;
set inverse(value: boolean | cdktf.IResolvable);
resetInverse(): void;
get inverseInput(): boolean | cdktf.IResolvable | undefined;
private _method?;
get method(): string;
set method(value: string);
get methodInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _value?;
get value(): string;
set value(value: string);
resetValue(): void;
get valueInput(): string | undefined;
}
export declare class LoadbalancerFrontendRuleMatchersCookieList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleMatchersCookie[] | 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): LoadbalancerFrontendRuleMatchersCookieOutputReference;
}
export interface LoadbalancerFrontendRuleMatchersHeader {
/**
* Defines if case should be ignored. Defaults to `false`.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#ignore_case LoadbalancerFrontendRule#ignore_case}
*/
readonly ignoreCase?: boolean | cdktf.IResolvable;
/**
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#inverse LoadbalancerFrontendRule#inverse}
*/
readonly inverse?: boolean | cdktf.IResolvable;
/**
* Match method (`exact`, `substring`, `regexp`, `starts`, `ends`, `domain`, `ip`, `exists`). Matcher with `exists` and `ip` methods must be used without `value` and `ignore_case` fields.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#method LoadbalancerFrontendRule#method}
*/
readonly method: string;
/**
* Name of the argument.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#name LoadbalancerFrontendRule#name}
*/
readonly name: string;
/**
* String value.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#value LoadbalancerFrontendRule#value}
*/
readonly value?: string;
}
export declare function loadbalancerFrontendRuleMatchersHeaderToTerraform(struct?: LoadbalancerFrontendRuleMatchersHeader | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleMatchersHeaderToHclTerraform(struct?: LoadbalancerFrontendRuleMatchersHeader | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleMatchersHeaderOutputReference 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(): LoadbalancerFrontendRuleMatchersHeader | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleMatchersHeader | cdktf.IResolvable | undefined);
private _ignoreCase?;
get ignoreCase(): boolean | cdktf.IResolvable;
set ignoreCase(value: boolean | cdktf.IResolvable);
resetIgnoreCase(): void;
get ignoreCaseInput(): boolean | cdktf.IResolvable | undefined;
private _inverse?;
get inverse(): boolean | cdktf.IResolvable;
set inverse(value: boolean | cdktf.IResolvable);
resetInverse(): void;
get inverseInput(): boolean | cdktf.IResolvable | undefined;
private _method?;
get method(): string;
set method(value: string);
get methodInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _value?;
get value(): string;
set value(value: string);
resetValue(): void;
get valueInput(): string | undefined;
}
export declare class LoadbalancerFrontendRuleMatchersHeaderList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleMatchersHeader[] | 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): LoadbalancerFrontendRuleMatchersHeaderOutputReference;
}
export interface LoadbalancerFrontendRuleMatchersHost {
/**
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#inverse LoadbalancerFrontendRule#inverse}
*/
readonly inverse?: boolean | cdktf.IResolvable;
/**
* String value.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#value LoadbalancerFrontendRule#value}
*/
readonly value: string;
}
export declare function loadbalancerFrontendRuleMatchersHostToTerraform(struct?: LoadbalancerFrontendRuleMatchersHost | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleMatchersHostToHclTerraform(struct?: LoadbalancerFrontendRuleMatchersHost | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleMatchersHostOutputReference 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(): LoadbalancerFrontendRuleMatchersHost | cdktf.IResolvable | undefined;
set internalValue(value: LoadbalancerFrontendRuleMatchersHost | cdktf.IResolvable | undefined);
private _inverse?;
get inverse(): boolean | cdktf.IResolvable;
set inverse(value: boolean | cdktf.IResolvable);
resetInverse(): void;
get inverseInput(): boolean | cdktf.IResolvable | undefined;
private _value?;
get value(): string;
set value(value: string);
get valueInput(): string | undefined;
}
export declare class LoadbalancerFrontendRuleMatchersHostList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: LoadbalancerFrontendRuleMatchersHost[] | 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): LoadbalancerFrontendRuleMatchersHostOutputReference;
}
export interface LoadbalancerFrontendRuleMatchersHttpMethod {
/**
* Defines if the condition should be inverted. Works similarly to logical NOT operator.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#inverse LoadbalancerFrontendRule#inverse}
*/
readonly inverse?: boolean | cdktf.IResolvable;
/**
* String value (`GET`, `HEAD`, `POST`, `PUT`, `PATCH`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE`).
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/loadbalancer_frontend_rule#value LoadbalancerFrontendRule#value}
*/
readonly value: string;
}
export declare function loadbalancerFrontendRuleMatchersHttpMethodToTerraform(struct?: LoadbalancerFrontendRuleMatchersHttpMethod | cdktf.IResolvable): any;
export declare function loadbalancerFrontendRuleMatchersHttpMethodToHclTerraform(struct?: LoadbalancerFrontendRuleMatchersHttpMethod | cdktf.IResolvable): any;
export declare class LoadbalancerFrontendRuleMatchersHttpMethodOutputReference extends cdktf.ComplexObject {
private