import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. * Auto-naming is currently not supported for this resource. */ export declare class DomainMapping extends pulumi.CustomResource { /** * Get an existing DomainMapping 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DomainMapping; /** * Returns true if the given object is an instance of DomainMapping. 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 DomainMapping; readonly appId: pulumi.Output; /** * Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com. */ readonly name: pulumi.Output; /** * Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */ readonly overrideStrategy: pulumi.Output; /** * The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. */ readonly resourceRecords: pulumi.Output; /** * SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. */ readonly sslSettings: pulumi.Output; /** * Create a DomainMapping 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: DomainMappingArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DomainMapping resource. */ export interface DomainMappingArgs { appId: pulumi.Input; /** * Relative name of the domain serving the application. Example: example.com. */ id?: pulumi.Input; /** * Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */ overrideStrategy?: pulumi.Input; /** * SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. */ sslSettings?: pulumi.Input; }