import * as pulumi from "@pulumi/pulumi"; /** * The service serves as the entry point for external access. You can bind your custom domain to the service using the domain binding feature * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const apigCustomDomainDemo = new volcenginecc.apig.CustomDomain("ApigCustomDomainDemo", { * serviceId: "sd50d3h5xxxm0t5xxxxx", * domain: "www.****.com", * protocols: [ * "HTTP", * "HTTPS", * ], * certificateId: "cert-775906d873xxx5bc9d1d372b5dxxxxx", * comments: "ApigCustomDomainDemo custom domain", * sslRedirect: true, * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:apig/customDomain:CustomDomain example "custom_domain_id" * ``` */ export declare class CustomDomain extends pulumi.CustomResource { /** * Get an existing CustomDomain resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CustomDomainState, opts?: pulumi.CustomResourceOptions): CustomDomain; /** * Returns true if the given object is an instance of CustomDomain. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CustomDomain; /** * Custom Domain Certificate ID */ readonly certificateId: pulumi.Output; /** * Remarks */ readonly comments: pulumi.Output; /** * Creation Time */ readonly createdTime: pulumi.Output; /** * Custom Domain ID */ readonly customDomainId: pulumi.Output; /** * Custom Domain */ readonly domain: pulumi.Output; /** * Protocol. Values: HTTP, HTTPS */ readonly protocols: pulumi.Output; /** * Service ID */ readonly serviceId: pulumi.Output; /** * Redirect to HTTPS */ readonly sslRedirect: pulumi.Output; /** * Status. Values: Creating: configuring; CreationFailed: configuration failed; Deleting: deleting; DeletionFailed: deletion failed; Verified: active */ readonly status: pulumi.Output; /** * Update Time */ readonly updatedTime: pulumi.Output; /** * Create a CustomDomain resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CustomDomainArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomDomain resources. */ export interface CustomDomainState { /** * Custom Domain Certificate ID */ certificateId?: pulumi.Input; /** * Remarks */ comments?: pulumi.Input; /** * Creation Time */ createdTime?: pulumi.Input; /** * Custom Domain ID */ customDomainId?: pulumi.Input; /** * Custom Domain */ domain?: pulumi.Input; /** * Protocol. Values: HTTP, HTTPS */ protocols?: pulumi.Input[]>; /** * Service ID */ serviceId?: pulumi.Input; /** * Redirect to HTTPS */ sslRedirect?: pulumi.Input; /** * Status. Values: Creating: configuring; CreationFailed: configuration failed; Deleting: deleting; DeletionFailed: deletion failed; Verified: active */ status?: pulumi.Input; /** * Update Time */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a CustomDomain resource. */ export interface CustomDomainArgs { /** * Custom Domain Certificate ID */ certificateId?: pulumi.Input; /** * Remarks */ comments?: pulumi.Input; /** * Custom Domain */ domain: pulumi.Input; /** * Protocol. Values: HTTP, HTTPS */ protocols: pulumi.Input[]>; /** * Service ID */ serviceId: pulumi.Input; /** * Redirect to HTTPS */ sslRedirect?: pulumi.Input; }