1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getCustomDomain
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    A CustomDomain object represents an additional customer-owned domain that routes to a Files.com site.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleCustomDomain = filescom.getCustomDomain({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_custom_domain = filescom.get_custom_domain(id=1)
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.GetCustomDomain(ctx, &filescom.LookupCustomDomainArgs{
    			Id: 1,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCustomDomain = Filescom.GetCustomDomain.Invoke(new()
        {
            Id = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.FilescomFunctions;
    import com.pulumi.filescom.inputs.GetCustomDomainArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleCustomDomain = FilescomFunctions.getCustomDomain(GetCustomDomainArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleCustomDomain:
        fn::invoke:
          function: filescom:getCustomDomain
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getcustomdomain" "exampleCustomDomain" {
      id = 1
    }
    

    Using getCustomDomain

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCustomDomain(args: GetCustomDomainArgs, opts?: InvokeOptions): Promise<GetCustomDomainResult>
    function getCustomDomainOutput(args: GetCustomDomainOutputArgs, opts?: InvokeOutputOptions): Output<GetCustomDomainResult>
    def get_custom_domain(id: Optional[int] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCustomDomainResult
    def get_custom_domain_output(id: pulumi.Input[Optional[int]] = None,
                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetCustomDomainResult]
    func LookupCustomDomain(ctx *Context, args *LookupCustomDomainArgs, opts ...InvokeOption) (*LookupCustomDomainResult, error)
    func LookupCustomDomainOutput(ctx *Context, args *LookupCustomDomainOutputArgs, opts ...InvokeOption) LookupCustomDomainResultOutput

    > Note: This function is named LookupCustomDomain in the Go SDK.

    public static class GetCustomDomain 
    {
        public static Task<GetCustomDomainResult> InvokeAsync(GetCustomDomainArgs args, InvokeOptions? opts = null)
        public static Output<GetCustomDomainResult> Invoke(GetCustomDomainInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCustomDomainResult> Invoke(GetCustomDomainInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCustomDomainResult> getCustomDomain(GetCustomDomainArgs args, InvokeOptions options)
    public static Output<GetCustomDomainResult> getCustomDomain(GetCustomDomainArgs args, InvokeOptions options)
    public static Output<GetCustomDomainResult> getCustomDomain(GetCustomDomainArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getCustomDomain:getCustomDomain
      arguments:
        # arguments dictionary
    data "filescom_get_custom_domain" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Custom Domain ID.
    Id int
    Custom Domain ID.
    id number
    Custom Domain ID.
    id Integer
    Custom Domain ID.
    id number
    Custom Domain ID.
    id int
    Custom Domain ID.
    id Number
    Custom Domain ID.

    getCustomDomain Result

    The following output properties are available:

    BrickManaged bool
    Is this domain's SSL certificate automatically managed and renewed by Files.com?
    CreatedAt string
    When this Custom Domain was created.
    Destination string
    Where this custom domain routes. Can be siteAlias, publicHosting, s3Endpoint, or unassigned (not routing traffic). Set to unassigned automatically when a bound publicHosting folder behavior is deleted, and can be set manually via the API for any reason.
    DnsStatus string
    Current DNS verification status.
    Domain string
    Customer-owned domain name.
    FolderBehaviorId int
    Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when destination becomes unassigned.
    Id int
    Custom Domain ID.
    SslCertificateId int
    Current SSL certificate ID.
    UpdatedAt string
    When this Custom Domain was last updated.
    BrickManaged bool
    Is this domain's SSL certificate automatically managed and renewed by Files.com?
    CreatedAt string
    When this Custom Domain was created.
    Destination string
    Where this custom domain routes. Can be siteAlias, publicHosting, s3Endpoint, or unassigned (not routing traffic). Set to unassigned automatically when a bound publicHosting folder behavior is deleted, and can be set manually via the API for any reason.
    DnsStatus string
    Current DNS verification status.
    Domain string
    Customer-owned domain name.
    FolderBehaviorId int
    Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when destination becomes unassigned.
    Id int
    Custom Domain ID.
    SslCertificateId int
    Current SSL certificate ID.
    UpdatedAt string
    When this Custom Domain was last updated.
    brick_managed bool
    Is this domain's SSL certificate automatically managed and renewed by Files.com?
    created_at string
    When this Custom Domain was created.
    destination string
    Where this custom domain routes. Can be siteAlias, publicHosting, s3Endpoint, or unassigned (not routing traffic). Set to unassigned automatically when a bound publicHosting folder behavior is deleted, and can be set manually via the API for any reason.
    dns_status string
    Current DNS verification status.
    domain string
    Customer-owned domain name.
    folder_behavior_id number
    Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when destination becomes unassigned.
    id number
    Custom Domain ID.
    ssl_certificate_id number
    Current SSL certificate ID.
    updated_at string
    When this Custom Domain was last updated.
    brickManaged Boolean
    Is this domain's SSL certificate automatically managed and renewed by Files.com?
    createdAt String
    When this Custom Domain was created.
    destination String
    Where this custom domain routes. Can be siteAlias, publicHosting, s3Endpoint, or unassigned (not routing traffic). Set to unassigned automatically when a bound publicHosting folder behavior is deleted, and can be set manually via the API for any reason.
    dnsStatus String
    Current DNS verification status.
    domain String
    Customer-owned domain name.
    folderBehaviorId Integer
    Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when destination becomes unassigned.
    id Integer
    Custom Domain ID.
    sslCertificateId Integer
    Current SSL certificate ID.
    updatedAt String
    When this Custom Domain was last updated.
    brickManaged boolean
    Is this domain's SSL certificate automatically managed and renewed by Files.com?
    createdAt string
    When this Custom Domain was created.
    destination string
    Where this custom domain routes. Can be siteAlias, publicHosting, s3Endpoint, or unassigned (not routing traffic). Set to unassigned automatically when a bound publicHosting folder behavior is deleted, and can be set manually via the API for any reason.
    dnsStatus string
    Current DNS verification status.
    domain string
    Customer-owned domain name.
    folderBehaviorId number
    Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when destination becomes unassigned.
    id number
    Custom Domain ID.
    sslCertificateId number
    Current SSL certificate ID.
    updatedAt string
    When this Custom Domain was last updated.
    brick_managed bool
    Is this domain's SSL certificate automatically managed and renewed by Files.com?
    created_at str
    When this Custom Domain was created.
    destination str
    Where this custom domain routes. Can be siteAlias, publicHosting, s3Endpoint, or unassigned (not routing traffic). Set to unassigned automatically when a bound publicHosting folder behavior is deleted, and can be set manually via the API for any reason.
    dns_status str
    Current DNS verification status.
    domain str
    Customer-owned domain name.
    folder_behavior_id int
    Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when destination becomes unassigned.
    id int
    Custom Domain ID.
    ssl_certificate_id int
    Current SSL certificate ID.
    updated_at str
    When this Custom Domain was last updated.
    brickManaged Boolean
    Is this domain's SSL certificate automatically managed and renewed by Files.com?
    createdAt String
    When this Custom Domain was created.
    destination String
    Where this custom domain routes. Can be siteAlias, publicHosting, s3Endpoint, or unassigned (not routing traffic). Set to unassigned automatically when a bound publicHosting folder behavior is deleted, and can be set manually via the API for any reason.
    dnsStatus String
    Current DNS verification status.
    domain String
    Customer-owned domain name.
    folderBehaviorId Number
    Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when destination becomes unassigned.
    id Number
    Custom Domain ID.
    sslCertificateId Number
    Current SSL certificate ID.
    updatedAt String
    When this Custom Domain was last updated.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial