import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ScfCustomDomainConfig extends cdktf.TerraformMetaArguments { /** * Domain names, pan-domain names are not supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#domain ScfCustomDomain#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#id ScfCustomDomain#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; /** * Protocol, value range: HTTP, HTTPS, HTTP&HTTPS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#protocol ScfCustomDomain#protocol} */ readonly protocol: string; /** * cert_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#cert_config ScfCustomDomain#cert_config} */ readonly certConfig?: ScfCustomDomainCertConfig; /** * endpoints_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#endpoints_config ScfCustomDomain#endpoints_config} */ readonly endpointsConfig: ScfCustomDomainEndpointsConfig[] | cdktf.IResolvable; /** * waf_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#waf_config ScfCustomDomain#waf_config} */ readonly wafConfig?: ScfCustomDomainWafConfig; } export interface ScfCustomDomainCertConfig { /** * SSL Certificates ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#certificate_id ScfCustomDomain#certificate_id} */ readonly certificateId?: string; } export declare function scfCustomDomainCertConfigToTerraform(struct?: ScfCustomDomainCertConfigOutputReference | ScfCustomDomainCertConfig): any; export declare function scfCustomDomainCertConfigToHclTerraform(struct?: ScfCustomDomainCertConfigOutputReference | ScfCustomDomainCertConfig): any; export declare class ScfCustomDomainCertConfigOutputReference 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(): ScfCustomDomainCertConfig | undefined; set internalValue(value: ScfCustomDomainCertConfig | undefined); private _certificateId?; get certificateId(): string; set certificateId(value: string); resetCertificateId(): void; get certificateIdInput(): string; } export interface ScfCustomDomainEndpointsConfigPathRewrite { /** * Path that needs to be rerouted, value specification: /,/*,/xxx,/xxx/a,/xxx/*. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#path ScfCustomDomain#path} */ readonly path: string; /** * Replacement values: such as/, /$. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#rewrite ScfCustomDomain#rewrite} */ readonly rewrite: string; /** * Matching rules, value range: WildcardRules wildcard matching, ExactRules exact matching. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#type ScfCustomDomain#type} */ readonly type: string; } export declare function scfCustomDomainEndpointsConfigPathRewriteToTerraform(struct?: ScfCustomDomainEndpointsConfigPathRewrite | cdktf.IResolvable): any; export declare function scfCustomDomainEndpointsConfigPathRewriteToHclTerraform(struct?: ScfCustomDomainEndpointsConfigPathRewrite | cdktf.IResolvable): any; export declare class ScfCustomDomainEndpointsConfigPathRewriteOutputReference 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(): ScfCustomDomainEndpointsConfigPathRewrite | cdktf.IResolvable | undefined; set internalValue(value: ScfCustomDomainEndpointsConfigPathRewrite | cdktf.IResolvable | undefined); private _path?; get path(): string; set path(value: string); get pathInput(): string; private _rewrite?; get rewrite(): string; set rewrite(value: string); get rewriteInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; } export declare class ScfCustomDomainEndpointsConfigPathRewriteList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ScfCustomDomainEndpointsConfigPathRewrite[] | 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): ScfCustomDomainEndpointsConfigPathRewriteOutputReference; } export interface ScfCustomDomainEndpointsConfig { /** * Function name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#function_name ScfCustomDomain#function_name} */ readonly functionName: string; /** * Function namespace. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#namespace ScfCustomDomain#namespace} */ readonly namespace: string; /** * Path, value specification: /,/*,/xxx,/xxx/a,/xxx/*. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#path_match ScfCustomDomain#path_match} */ readonly pathMatch: string; /** * Function alias or version. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#qualifier ScfCustomDomain#qualifier} */ readonly qualifier: string; /** * path_rewrite block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#path_rewrite ScfCustomDomain#path_rewrite} */ readonly pathRewrite?: ScfCustomDomainEndpointsConfigPathRewrite[] | cdktf.IResolvable; } export declare function scfCustomDomainEndpointsConfigToTerraform(struct?: ScfCustomDomainEndpointsConfig | cdktf.IResolvable): any; export declare function scfCustomDomainEndpointsConfigToHclTerraform(struct?: ScfCustomDomainEndpointsConfig | cdktf.IResolvable): any; export declare class ScfCustomDomainEndpointsConfigOutputReference 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(): ScfCustomDomainEndpointsConfig | cdktf.IResolvable | undefined; set internalValue(value: ScfCustomDomainEndpointsConfig | cdktf.IResolvable | undefined); private _functionName?; get functionName(): string; set functionName(value: string); get functionNameInput(): string; private _namespace?; get namespace(): string; set namespace(value: string); get namespaceInput(): string; private _pathMatch?; get pathMatch(): string; set pathMatch(value: string); get pathMatchInput(): string; private _qualifier?; get qualifier(): string; set qualifier(value: string); get qualifierInput(): string; private _pathRewrite; get pathRewrite(): ScfCustomDomainEndpointsConfigPathRewriteList; putPathRewrite(value: ScfCustomDomainEndpointsConfigPathRewrite[] | cdktf.IResolvable): void; resetPathRewrite(): void; get pathRewriteInput(): any; } export declare class ScfCustomDomainEndpointsConfigList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ScfCustomDomainEndpointsConfig[] | 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): ScfCustomDomainEndpointsConfigOutputReference; } export interface ScfCustomDomainWafConfig { /** * Web Application Firewall Instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#waf_instance_id ScfCustomDomain#waf_instance_id} */ readonly wafInstanceId?: string; /** * Whether the Web Application Firewall is turned on, value range:OPEN, CLOSE. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#waf_open ScfCustomDomain#waf_open} */ readonly wafOpen?: string; } export declare function scfCustomDomainWafConfigToTerraform(struct?: ScfCustomDomainWafConfigOutputReference | ScfCustomDomainWafConfig): any; export declare function scfCustomDomainWafConfigToHclTerraform(struct?: ScfCustomDomainWafConfigOutputReference | ScfCustomDomainWafConfig): any; export declare class ScfCustomDomainWafConfigOutputReference 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(): ScfCustomDomainWafConfig | undefined; set internalValue(value: ScfCustomDomainWafConfig | undefined); private _wafInstanceId?; get wafInstanceId(): string; set wafInstanceId(value: string); resetWafInstanceId(): void; get wafInstanceIdInput(): string; private _wafOpen?; get wafOpen(): string; set wafOpen(value: string); resetWafOpen(): void; get wafOpenInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain tencentcloud_scf_custom_domain} */ export declare class ScfCustomDomain extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_scf_custom_domain"; /** * Generates CDKTF code for importing a ScfCustomDomain 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 ScfCustomDomain to import * @param importFromId The id of the existing ScfCustomDomain that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_custom_domain#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ScfCustomDomain 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/scf_custom_domain tencentcloud_scf_custom_domain} 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 ScfCustomDomainConfig */ constructor(scope: Construct, id: string, config: ScfCustomDomainConfig); private _domain?; get domain(): string; set domain(value: string); get domainInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _protocol?; get protocol(): string; set protocol(value: string); get protocolInput(): string; private _certConfig; get certConfig(): ScfCustomDomainCertConfigOutputReference; putCertConfig(value: ScfCustomDomainCertConfig): void; resetCertConfig(): void; get certConfigInput(): ScfCustomDomainCertConfig; private _endpointsConfig; get endpointsConfig(): ScfCustomDomainEndpointsConfigList; putEndpointsConfig(value: ScfCustomDomainEndpointsConfig[] | cdktf.IResolvable): void; get endpointsConfigInput(): any; private _wafConfig; get wafConfig(): ScfCustomDomainWafConfigOutputReference; putWafConfig(value: ScfCustomDomainWafConfig): void; resetWafConfig(): void; get wafConfigInput(): ScfCustomDomainWafConfig; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }