import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApiGatewayCustomDomainConfig extends cdktf.TerraformMetaArguments { /** * Unique certificate ID of the custom domain name to be bound. You can choose to upload for the `protocol` attribute value `https` or `http&https`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#certificate_id ApiGatewayCustomDomain#certificate_id} */ readonly certificateId?: string; /** * Default domain name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#default_domain ApiGatewayCustomDomain#default_domain} */ readonly defaultDomain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#id ApiGatewayCustomDomain#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; /** * Whether the default path mapping is used. The default value is `true`. When it is `false`, it means custom path mapping. In this case, the `path_mappings` attribute is required. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#is_default_mapping ApiGatewayCustomDomain#is_default_mapping} */ readonly isDefaultMapping?: boolean | cdktf.IResolvable; /** * Whether to force HTTP requests to jump to HTTPS, default to false. When the parameter is true, the API gateway will redirect all HTTP protocol requests using the custom domain name to the HTTPS protocol for forwarding. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#is_forced_https ApiGatewayCustomDomain#is_forced_https} */ readonly isForcedHttps?: boolean | cdktf.IResolvable; /** * Network type. Valid values: `OUTER`, `INNER`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#net_type ApiGatewayCustomDomain#net_type} */ readonly netType: string; /** * Custom domain name path mapping. The data format is: `path#environment`. Optional values for the environment are `test`, `prepub`, and `release`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#path_mappings ApiGatewayCustomDomain#path_mappings} */ readonly pathMappings?: string[]; /** * Protocol supported by service. Valid values: `http`, `https`, `http&https`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#protocol ApiGatewayCustomDomain#protocol} */ readonly protocol: string; /** * Unique service ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#service_id ApiGatewayCustomDomain#service_id} */ readonly serviceId: string; /** * Custom domain name to be bound. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain#sub_domain ApiGatewayCustomDomain#sub_domain} */ readonly subDomain: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_custom_domain tencentcloud_api_gateway_custom_domain} */ export declare class ApiGatewayCustomDomain extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_api_gateway_custom_domain"; /** * Generates CDKTF code for importing a ApiGatewayCustomDomain 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 ApiGatewayCustomDomain to import * @param importFromId The id of the existing ApiGatewayCustomDomain that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_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 ApiGatewayCustomDomain 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_custom_domain tencentcloud_api_gateway_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 ApiGatewayCustomDomainConfig */ constructor(scope: Construct, id: string, config: ApiGatewayCustomDomainConfig); private _certificateId?; get certificateId(): string; set certificateId(value: string); resetCertificateId(): void; get certificateIdInput(): string; private _defaultDomain?; get defaultDomain(): string; set defaultDomain(value: string); get defaultDomainInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _isDefaultMapping?; get isDefaultMapping(): boolean | cdktf.IResolvable; set isDefaultMapping(value: boolean | cdktf.IResolvable); resetIsDefaultMapping(): void; get isDefaultMappingInput(): any; private _isForcedHttps?; get isForcedHttps(): boolean | cdktf.IResolvable; set isForcedHttps(value: boolean | cdktf.IResolvable); resetIsForcedHttps(): void; get isForcedHttpsInput(): any; private _netType?; get netType(): string; set netType(value: string); get netTypeInput(): string; private _pathMappings?; get pathMappings(): string[]; set pathMappings(value: string[]); resetPathMappings(): void; get pathMappingsInput(): string[]; private _protocol?; get protocol(): string; set protocol(value: string); get protocolInput(): string; private _serviceId?; get serviceId(): string; set serviceId(value: string); get serviceIdInput(): string; get status(): any; private _subDomain?; get subDomain(): string; set subDomain(value: string); get subDomainInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }