import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TemGatewayConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#id TemGateway#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; /** * ingress block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#ingress TemGateway#ingress} */ readonly ingress?: TemGatewayIngress; } export interface TemGatewayIngressRulesHttpPathsBackend { /** * backend name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#service_name TemGateway#service_name} */ readonly serviceName: string; /** * backend port. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#service_port TemGateway#service_port} */ readonly servicePort: number; } export declare function temGatewayIngressRulesHttpPathsBackendToTerraform(struct?: TemGatewayIngressRulesHttpPathsBackendOutputReference | TemGatewayIngressRulesHttpPathsBackend): any; export declare function temGatewayIngressRulesHttpPathsBackendToHclTerraform(struct?: TemGatewayIngressRulesHttpPathsBackendOutputReference | TemGatewayIngressRulesHttpPathsBackend): any; export declare class TemGatewayIngressRulesHttpPathsBackendOutputReference 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(): TemGatewayIngressRulesHttpPathsBackend | undefined; set internalValue(value: TemGatewayIngressRulesHttpPathsBackend | undefined); private _serviceName?; get serviceName(): string; set serviceName(value: string); get serviceNameInput(): string; private _servicePort?; get servicePort(): number; set servicePort(value: number); get servicePortInput(): number; } export interface TemGatewayIngressRulesHttpPaths { /** * path. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#path TemGateway#path} */ readonly path: string; /** * backend block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#backend TemGateway#backend} */ readonly backend: TemGatewayIngressRulesHttpPathsBackend; } export declare function temGatewayIngressRulesHttpPathsToTerraform(struct?: TemGatewayIngressRulesHttpPaths | cdktf.IResolvable): any; export declare function temGatewayIngressRulesHttpPathsToHclTerraform(struct?: TemGatewayIngressRulesHttpPaths | cdktf.IResolvable): any; export declare class TemGatewayIngressRulesHttpPathsOutputReference 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(): TemGatewayIngressRulesHttpPaths | cdktf.IResolvable | undefined; set internalValue(value: TemGatewayIngressRulesHttpPaths | cdktf.IResolvable | undefined); private _path?; get path(): string; set path(value: string); get pathInput(): string; private _backend; get backend(): TemGatewayIngressRulesHttpPathsBackendOutputReference; putBackend(value: TemGatewayIngressRulesHttpPathsBackend): void; get backendInput(): TemGatewayIngressRulesHttpPathsBackend; } export declare class TemGatewayIngressRulesHttpPathsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TemGatewayIngressRulesHttpPaths[] | 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): TemGatewayIngressRulesHttpPathsOutputReference; } export interface TemGatewayIngressRulesHttp { /** * paths block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#paths TemGateway#paths} */ readonly paths: TemGatewayIngressRulesHttpPaths[] | cdktf.IResolvable; } export declare function temGatewayIngressRulesHttpToTerraform(struct?: TemGatewayIngressRulesHttpOutputReference | TemGatewayIngressRulesHttp): any; export declare function temGatewayIngressRulesHttpToHclTerraform(struct?: TemGatewayIngressRulesHttpOutputReference | TemGatewayIngressRulesHttp): any; export declare class TemGatewayIngressRulesHttpOutputReference 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(): TemGatewayIngressRulesHttp | undefined; set internalValue(value: TemGatewayIngressRulesHttp | undefined); private _paths; get paths(): TemGatewayIngressRulesHttpPathsList; putPaths(value: TemGatewayIngressRulesHttpPaths[] | cdktf.IResolvable): void; get pathsInput(): any; } export interface TemGatewayIngressRules { /** * host name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#host TemGateway#host} */ readonly host?: string; /** * protocol. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#protocol TemGateway#protocol} */ readonly protocol?: string; /** * http block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#http TemGateway#http} */ readonly http: TemGatewayIngressRulesHttp; } export declare function temGatewayIngressRulesToTerraform(struct?: TemGatewayIngressRules | cdktf.IResolvable): any; export declare function temGatewayIngressRulesToHclTerraform(struct?: TemGatewayIngressRules | cdktf.IResolvable): any; export declare class TemGatewayIngressRulesOutputReference 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(): TemGatewayIngressRules | cdktf.IResolvable | undefined; set internalValue(value: TemGatewayIngressRules | cdktf.IResolvable | undefined); private _host?; get host(): string; set host(value: string); resetHost(): void; get hostInput(): string; private _protocol?; get protocol(): string; set protocol(value: string); resetProtocol(): void; get protocolInput(): string; private _http; get http(): TemGatewayIngressRulesHttpOutputReference; putHttp(value: TemGatewayIngressRulesHttp): void; get httpInput(): TemGatewayIngressRulesHttp; } export declare class TemGatewayIngressRulesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TemGatewayIngressRules[] | 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): TemGatewayIngressRulesOutputReference; } export interface TemGatewayIngressTls { /** * certificate ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#certificate_id TemGateway#certificate_id} */ readonly certificateId: string; /** * host names. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#hosts TemGateway#hosts} */ readonly hosts: string[]; /** * secret name, if you use a certificate, you don't need to fill in this field. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#secret_name TemGateway#secret_name} */ readonly secretName?: string; } export declare function temGatewayIngressTlsToTerraform(struct?: TemGatewayIngressTls | cdktf.IResolvable): any; export declare function temGatewayIngressTlsToHclTerraform(struct?: TemGatewayIngressTls | cdktf.IResolvable): any; export declare class TemGatewayIngressTlsOutputReference 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(): TemGatewayIngressTls | cdktf.IResolvable | undefined; set internalValue(value: TemGatewayIngressTls | cdktf.IResolvable | undefined); private _certificateId?; get certificateId(): string; set certificateId(value: string); get certificateIdInput(): string; private _hosts?; get hosts(): string[]; set hosts(value: string[]); get hostsInput(): string[]; private _secretName?; get secretName(): string; set secretName(value: string); resetSecretName(): void; get secretNameInput(): string; } export declare class TemGatewayIngressTlsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TemGatewayIngressTls[] | 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): TemGatewayIngressTlsOutputReference; } export interface TemGatewayIngress { /** * ip version, support IPV4. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#address_ip_version TemGateway#address_ip_version} */ readonly addressIpVersion: string; /** * related CLB ID, support binding existing clb, does not support modification. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#clb_id TemGateway#clb_id} */ readonly clbId?: string; /** * environment ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#environment_id TemGateway#environment_id} */ readonly environmentId: string; /** * gateway name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#ingress_name TemGateway#ingress_name} */ readonly ingressName: string; /** * mixing HTTP and HTTPS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#mixed TemGateway#mixed} */ readonly mixed: boolean | cdktf.IResolvable; /** * redirect mode, support AUTO and NONE. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#rewrite_type TemGateway#rewrite_type} */ readonly rewriteType?: string; /** * rules block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#rules TemGateway#rules} */ readonly rules: TemGatewayIngressRules[] | cdktf.IResolvable; /** * tls block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#tls TemGateway#tls} */ readonly tls?: TemGatewayIngressTls[] | cdktf.IResolvable; } export declare function temGatewayIngressToTerraform(struct?: TemGatewayIngressOutputReference | TemGatewayIngress): any; export declare function temGatewayIngressToHclTerraform(struct?: TemGatewayIngressOutputReference | TemGatewayIngress): any; export declare class TemGatewayIngressOutputReference 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(): TemGatewayIngress | undefined; set internalValue(value: TemGatewayIngress | undefined); private _addressIpVersion?; get addressIpVersion(): string; set addressIpVersion(value: string); get addressIpVersionInput(): string; private _clbId?; get clbId(): string; set clbId(value: string); resetClbId(): void; get clbIdInput(): string; get createTime(): any; private _environmentId?; get environmentId(): string; set environmentId(value: string); get environmentIdInput(): string; private _ingressName?; get ingressName(): string; set ingressName(value: string); get ingressNameInput(): string; private _mixed?; get mixed(): boolean | cdktf.IResolvable; set mixed(value: boolean | cdktf.IResolvable); get mixedInput(): any; private _rewriteType?; get rewriteType(): string; set rewriteType(value: string); resetRewriteType(): void; get rewriteTypeInput(): string; get vip(): any; private _rules; get rules(): TemGatewayIngressRulesList; putRules(value: TemGatewayIngressRules[] | cdktf.IResolvable): void; get rulesInput(): any; private _tls; get tls(): TemGatewayIngressTlsList; putTls(value: TemGatewayIngressTls[] | cdktf.IResolvable): void; resetTls(): void; get tlsInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway tencentcloud_tem_gateway} */ export declare class TemGateway extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tem_gateway"; /** * Generates CDKTF code for importing a TemGateway 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 TemGateway to import * @param importFromId The id of the existing TemGateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tem_gateway#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TemGateway 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/tem_gateway tencentcloud_tem_gateway} 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 TemGatewayConfig = {} */ constructor(scope: Construct, id: string, config?: TemGatewayConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ingress; get ingress(): TemGatewayIngressOutputReference; putIngress(value: TemGatewayIngress): void; resetIngress(): void; get ingressInput(): TemGatewayIngress; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }