gcp.firebase.HostingCustomDomain
Explore with Pulumi AI
Example Usage
Firebasehosting Customdomain Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.firebase.HostingCustomDomain("default", {
    project: "my-project-name",
    siteId: "site-id",
    customDomain: "custom.domain.com",
});
import pulumi
import pulumi_gcp as gcp
default = gcp.firebase.HostingCustomDomain("default",
    project="my-project-name",
    site_id="site-id",
    custom_domain="custom.domain.com")
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/firebase"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewHostingCustomDomain(ctx, "default", &firebase.HostingCustomDomainArgs{
			Project:      pulumi.String("my-project-name"),
			SiteId:       pulumi.String("site-id"),
			CustomDomain: pulumi.String("custom.domain.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.Firebase.HostingCustomDomain("default", new()
    {
        Project = "my-project-name",
        SiteId = "site-id",
        CustomDomain = "custom.domain.com",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.firebase.HostingCustomDomain;
import com.pulumi.gcp.firebase.HostingCustomDomainArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var default_ = new HostingCustomDomain("default", HostingCustomDomainArgs.builder()
            .project("my-project-name")
            .siteId("site-id")
            .customDomain("custom.domain.com")
            .build());
    }
}
resources:
  default:
    type: gcp:firebase:HostingCustomDomain
    properties:
      project: my-project-name
      siteId: site-id
      customDomain: custom.domain.com
Firebasehosting Customdomain Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.firebase.HostingSite("default", {
    project: "my-project-name",
    siteId: "site-id-full",
});
const defaultHostingCustomDomain = new gcp.firebase.HostingCustomDomain("default", {
    project: "my-project-name",
    siteId: _default.siteId,
    customDomain: "source.domain.com",
    certPreference: "GROUPED",
    redirectTarget: "destination.domain.com",
    waitDnsVerification: false,
});
import pulumi
import pulumi_gcp as gcp
default = gcp.firebase.HostingSite("default",
    project="my-project-name",
    site_id="site-id-full")
default_hosting_custom_domain = gcp.firebase.HostingCustomDomain("default",
    project="my-project-name",
    site_id=default.site_id,
    custom_domain="source.domain.com",
    cert_preference="GROUPED",
    redirect_target="destination.domain.com",
    wait_dns_verification=False)
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/firebase"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := firebase.NewHostingSite(ctx, "default", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-id-full"),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingCustomDomain(ctx, "default", &firebase.HostingCustomDomainArgs{
			Project:             pulumi.String("my-project-name"),
			SiteId:              _default.SiteId,
			CustomDomain:        pulumi.String("source.domain.com"),
			CertPreference:      pulumi.String("GROUPED"),
			RedirectTarget:      pulumi.String("destination.domain.com"),
			WaitDnsVerification: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.Firebase.HostingSite("default", new()
    {
        Project = "my-project-name",
        SiteId = "site-id-full",
    });
    var defaultHostingCustomDomain = new Gcp.Firebase.HostingCustomDomain("default", new()
    {
        Project = "my-project-name",
        SiteId = @default.SiteId,
        CustomDomain = "source.domain.com",
        CertPreference = "GROUPED",
        RedirectTarget = "destination.domain.com",
        WaitDnsVerification = false,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.firebase.HostingSite;
import com.pulumi.gcp.firebase.HostingSiteArgs;
import com.pulumi.gcp.firebase.HostingCustomDomain;
import com.pulumi.gcp.firebase.HostingCustomDomainArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var default_ = new HostingSite("default", HostingSiteArgs.builder()
            .project("my-project-name")
            .siteId("site-id-full")
            .build());
        var defaultHostingCustomDomain = new HostingCustomDomain("defaultHostingCustomDomain", HostingCustomDomainArgs.builder()
            .project("my-project-name")
            .siteId(default_.siteId())
            .customDomain("source.domain.com")
            .certPreference("GROUPED")
            .redirectTarget("destination.domain.com")
            .waitDnsVerification(false)
            .build());
    }
}
resources:
  default:
    type: gcp:firebase:HostingSite
    properties:
      project: my-project-name
      siteId: site-id-full
  defaultHostingCustomDomain:
    type: gcp:firebase:HostingCustomDomain
    name: default
    properties:
      project: my-project-name
      siteId: ${default.siteId}
      customDomain: source.domain.com
      certPreference: GROUPED
      redirectTarget: destination.domain.com
      waitDnsVerification: false
Firebasehosting Customdomain Cloud Run
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.firebase.HostingSite("default", {
    project: "my-project-name",
    siteId: "site-id",
});
const defaultService = new gcp.cloudrunv2.Service("default", {
    project: "my-project-name",
    name: "cloud-run-service-via-hosting",
    location: "us-central1",
    ingress: "INGRESS_TRAFFIC_ALL",
    template: {
        containers: [{
            image: "us-docker.pkg.dev/cloudrun/container/hello",
        }],
    },
    deletionProtection: true,
});
const defaultHostingVersion = new gcp.firebase.HostingVersion("default", {
    siteId: _default.siteId,
    config: {
        rewrites: [{
            glob: "/hello/**",
            run: {
                serviceId: defaultService.name,
                region: defaultService.location,
            },
        }],
    },
});
const defaultHostingRelease = new gcp.firebase.HostingRelease("default", {
    siteId: _default.siteId,
    versionName: defaultHostingVersion.name,
    message: "Cloud Run Integration",
});
const defaultHostingCustomDomain = new gcp.firebase.HostingCustomDomain("default", {
    project: "my-project-name",
    siteId: _default.siteId,
    customDomain: "run.custom.domain.com",
    waitDnsVerification: false,
});
import pulumi
import pulumi_gcp as gcp
default = gcp.firebase.HostingSite("default",
    project="my-project-name",
    site_id="site-id")
default_service = gcp.cloudrunv2.Service("default",
    project="my-project-name",
    name="cloud-run-service-via-hosting",
    location="us-central1",
    ingress="INGRESS_TRAFFIC_ALL",
    template={
        "containers": [{
            "image": "us-docker.pkg.dev/cloudrun/container/hello",
        }],
    },
    deletion_protection=True)
default_hosting_version = gcp.firebase.HostingVersion("default",
    site_id=default.site_id,
    config={
        "rewrites": [{
            "glob": "/hello/**",
            "run": {
                "service_id": default_service.name,
                "region": default_service.location,
            },
        }],
    })
default_hosting_release = gcp.firebase.HostingRelease("default",
    site_id=default.site_id,
    version_name=default_hosting_version.name,
    message="Cloud Run Integration")
default_hosting_custom_domain = gcp.firebase.HostingCustomDomain("default",
    project="my-project-name",
    site_id=default.site_id,
    custom_domain="run.custom.domain.com",
    wait_dns_verification=False)
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrunv2"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/firebase"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := firebase.NewHostingSite(ctx, "default", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-id"),
		})
		if err != nil {
			return err
		}
		defaultService, err := cloudrunv2.NewService(ctx, "default", &cloudrunv2.ServiceArgs{
			Project:  pulumi.String("my-project-name"),
			Name:     pulumi.String("cloud-run-service-via-hosting"),
			Location: pulumi.String("us-central1"),
			Ingress:  pulumi.String("INGRESS_TRAFFIC_ALL"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
					},
				},
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "default", &firebase.HostingVersionArgs{
			SiteId: _default.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Rewrites: firebase.HostingVersionConfigRewriteArray{
					&firebase.HostingVersionConfigRewriteArgs{
						Glob: pulumi.String("/hello/**"),
						Run: &firebase.HostingVersionConfigRewriteRunArgs{
							ServiceId: defaultService.Name,
							Region:    defaultService.Location,
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "default", &firebase.HostingReleaseArgs{
			SiteId:      _default.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Cloud Run Integration"),
		})
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingCustomDomain(ctx, "default", &firebase.HostingCustomDomainArgs{
			Project:             pulumi.String("my-project-name"),
			SiteId:              _default.SiteId,
			CustomDomain:        pulumi.String("run.custom.domain.com"),
			WaitDnsVerification: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.Firebase.HostingSite("default", new()
    {
        Project = "my-project-name",
        SiteId = "site-id",
    });
    var defaultService = new Gcp.CloudRunV2.Service("default", new()
    {
        Project = "my-project-name",
        Name = "cloud-run-service-via-hosting",
        Location = "us-central1",
        Ingress = "INGRESS_TRAFFIC_ALL",
        Template = new Gcp.CloudRunV2.Inputs.ServiceTemplateArgs
        {
            Containers = new[]
            {
                new Gcp.CloudRunV2.Inputs.ServiceTemplateContainerArgs
                {
                    Image = "us-docker.pkg.dev/cloudrun/container/hello",
                },
            },
        },
        DeletionProtection = true,
    });
    var defaultHostingVersion = new Gcp.Firebase.HostingVersion("default", new()
    {
        SiteId = @default.SiteId,
        Config = new Gcp.Firebase.Inputs.HostingVersionConfigArgs
        {
            Rewrites = new[]
            {
                new Gcp.Firebase.Inputs.HostingVersionConfigRewriteArgs
                {
                    Glob = "/hello/**",
                    Run = new Gcp.Firebase.Inputs.HostingVersionConfigRewriteRunArgs
                    {
                        ServiceId = defaultService.Name,
                        Region = defaultService.Location,
                    },
                },
            },
        },
    });
    var defaultHostingRelease = new Gcp.Firebase.HostingRelease("default", new()
    {
        SiteId = @default.SiteId,
        VersionName = defaultHostingVersion.Name,
        Message = "Cloud Run Integration",
    });
    var defaultHostingCustomDomain = new Gcp.Firebase.HostingCustomDomain("default", new()
    {
        Project = "my-project-name",
        SiteId = @default.SiteId,
        CustomDomain = "run.custom.domain.com",
        WaitDnsVerification = false,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.firebase.HostingSite;
import com.pulumi.gcp.firebase.HostingSiteArgs;
import com.pulumi.gcp.cloudrunv2.Service;
import com.pulumi.gcp.cloudrunv2.ServiceArgs;
import com.pulumi.gcp.cloudrunv2.inputs.ServiceTemplateArgs;
import com.pulumi.gcp.firebase.HostingVersion;
import com.pulumi.gcp.firebase.HostingVersionArgs;
import com.pulumi.gcp.firebase.inputs.HostingVersionConfigArgs;
import com.pulumi.gcp.firebase.HostingRelease;
import com.pulumi.gcp.firebase.HostingReleaseArgs;
import com.pulumi.gcp.firebase.HostingCustomDomain;
import com.pulumi.gcp.firebase.HostingCustomDomainArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var default_ = new HostingSite("default", HostingSiteArgs.builder()
            .project("my-project-name")
            .siteId("site-id")
            .build());
        var defaultService = new Service("defaultService", ServiceArgs.builder()
            .project("my-project-name")
            .name("cloud-run-service-via-hosting")
            .location("us-central1")
            .ingress("INGRESS_TRAFFIC_ALL")
            .template(ServiceTemplateArgs.builder()
                .containers(ServiceTemplateContainerArgs.builder()
                    .image("us-docker.pkg.dev/cloudrun/container/hello")
                    .build())
                .build())
            .deletionProtection(true)
            .build());
        var defaultHostingVersion = new HostingVersion("defaultHostingVersion", HostingVersionArgs.builder()
            .siteId(default_.siteId())
            .config(HostingVersionConfigArgs.builder()
                .rewrites(HostingVersionConfigRewriteArgs.builder()
                    .glob("/hello/**")
                    .run(HostingVersionConfigRewriteRunArgs.builder()
                        .serviceId(defaultService.name())
                        .region(defaultService.location())
                        .build())
                    .build())
                .build())
            .build());
        var defaultHostingRelease = new HostingRelease("defaultHostingRelease", HostingReleaseArgs.builder()
            .siteId(default_.siteId())
            .versionName(defaultHostingVersion.name())
            .message("Cloud Run Integration")
            .build());
        var defaultHostingCustomDomain = new HostingCustomDomain("defaultHostingCustomDomain", HostingCustomDomainArgs.builder()
            .project("my-project-name")
            .siteId(default_.siteId())
            .customDomain("run.custom.domain.com")
            .waitDnsVerification(false)
            .build());
    }
}
resources:
  default:
    type: gcp:firebase:HostingSite
    properties:
      project: my-project-name
      siteId: site-id
  defaultService:
    type: gcp:cloudrunv2:Service
    name: default
    properties:
      project: my-project-name
      name: cloud-run-service-via-hosting
      location: us-central1
      ingress: INGRESS_TRAFFIC_ALL
      template:
        containers:
          - image: us-docker.pkg.dev/cloudrun/container/hello
      deletionProtection: true
  defaultHostingVersion:
    type: gcp:firebase:HostingVersion
    name: default
    properties:
      siteId: ${default.siteId}
      config:
        rewrites:
          - glob: /hello/**
            run:
              serviceId: ${defaultService.name}
              region: ${defaultService.location}
  defaultHostingRelease:
    type: gcp:firebase:HostingRelease
    name: default
    properties:
      siteId: ${default.siteId}
      versionName: ${defaultHostingVersion.name}
      message: Cloud Run Integration
  defaultHostingCustomDomain:
    type: gcp:firebase:HostingCustomDomain
    name: default
    properties:
      project: my-project-name
      siteId: ${default.siteId}
      customDomain: run.custom.domain.com
      waitDnsVerification: false
Create HostingCustomDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HostingCustomDomain(name: string, args: HostingCustomDomainArgs, opts?: CustomResourceOptions);@overload
def HostingCustomDomain(resource_name: str,
                        args: HostingCustomDomainArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def HostingCustomDomain(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        custom_domain: Optional[str] = None,
                        site_id: Optional[str] = None,
                        cert_preference: Optional[str] = None,
                        project: Optional[str] = None,
                        redirect_target: Optional[str] = None,
                        wait_dns_verification: Optional[bool] = None)func NewHostingCustomDomain(ctx *Context, name string, args HostingCustomDomainArgs, opts ...ResourceOption) (*HostingCustomDomain, error)public HostingCustomDomain(string name, HostingCustomDomainArgs args, CustomResourceOptions? opts = null)
public HostingCustomDomain(String name, HostingCustomDomainArgs args)
public HostingCustomDomain(String name, HostingCustomDomainArgs args, CustomResourceOptions options)
type: gcp:firebase:HostingCustomDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HostingCustomDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HostingCustomDomainArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HostingCustomDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HostingCustomDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HostingCustomDomainArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var hostingCustomDomainResource = new Gcp.Firebase.HostingCustomDomain("hostingCustomDomainResource", new()
{
    CustomDomain = "string",
    SiteId = "string",
    CertPreference = "string",
    Project = "string",
    RedirectTarget = "string",
    WaitDnsVerification = false,
});
example, err := firebase.NewHostingCustomDomain(ctx, "hostingCustomDomainResource", &firebase.HostingCustomDomainArgs{
	CustomDomain:        pulumi.String("string"),
	SiteId:              pulumi.String("string"),
	CertPreference:      pulumi.String("string"),
	Project:             pulumi.String("string"),
	RedirectTarget:      pulumi.String("string"),
	WaitDnsVerification: pulumi.Bool(false),
})
var hostingCustomDomainResource = new HostingCustomDomain("hostingCustomDomainResource", HostingCustomDomainArgs.builder()
    .customDomain("string")
    .siteId("string")
    .certPreference("string")
    .project("string")
    .redirectTarget("string")
    .waitDnsVerification(false)
    .build());
hosting_custom_domain_resource = gcp.firebase.HostingCustomDomain("hostingCustomDomainResource",
    custom_domain="string",
    site_id="string",
    cert_preference="string",
    project="string",
    redirect_target="string",
    wait_dns_verification=False)
const hostingCustomDomainResource = new gcp.firebase.HostingCustomDomain("hostingCustomDomainResource", {
    customDomain: "string",
    siteId: "string",
    certPreference: "string",
    project: "string",
    redirectTarget: "string",
    waitDnsVerification: false,
});
type: gcp:firebase:HostingCustomDomain
properties:
    certPreference: string
    customDomain: string
    project: string
    redirectTarget: string
    siteId: string
    waitDnsVerification: false
HostingCustomDomain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HostingCustomDomain resource accepts the following input properties:
- CustomDomain string
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- SiteId string
- The ID of the site in which to create this custom domain association.
- CertPreference string
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- RedirectTarget string
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- WaitDns boolVerification 
- CustomDomain string
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- SiteId string
- The ID of the site in which to create this custom domain association.
- CertPreference string
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- RedirectTarget string
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- WaitDns boolVerification 
- customDomain String
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- siteId String
- The ID of the site in which to create this custom domain association.
- certPreference String
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- redirectTarget String
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- waitDns BooleanVerification 
- customDomain string
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- siteId string
- The ID of the site in which to create this custom domain association.
- certPreference string
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- redirectTarget string
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- waitDns booleanVerification 
- custom_domain str
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- site_id str
- The ID of the site in which to create this custom domain association.
- cert_preference str
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- redirect_target str
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- wait_dns_ boolverification 
- customDomain String
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- siteId String
- The ID of the site in which to create this custom domain association.
- certPreference String
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- redirectTarget String
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- waitDns BooleanVerification 
Outputs
All input properties are implicitly available as output properties. Additionally, the HostingCustomDomain resource produces the following output properties:
- Certs
List<HostingCustom Domain Cert> 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- CreateTime string
- The CustomDomain's create time.
- DeleteTime string
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- Etag string
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- ExpireTime string
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- HostState string
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issues
List<HostingCustom Domain Issue> 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- Name string
- The fully-qualified name of the CustomDomain.
- OwnershipState string
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- Reconciling bool
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- RequiredDns List<HostingUpdates Custom Domain Required Dns Update> 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- UpdateTime string
- The last time the CustomDomainwas updated.
- Certs
[]HostingCustom Domain Cert 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- CreateTime string
- The CustomDomain's create time.
- DeleteTime string
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- Etag string
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- ExpireTime string
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- HostState string
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issues
[]HostingCustom Domain Issue 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- Name string
- The fully-qualified name of the CustomDomain.
- OwnershipState string
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- Reconciling bool
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- RequiredDns []HostingUpdates Custom Domain Required Dns Update 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- UpdateTime string
- The last time the CustomDomainwas updated.
- certs
List<HostingCustom Domain Cert> 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- createTime String
- The CustomDomain's create time.
- deleteTime String
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- etag String
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- expireTime String
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- hostState String
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- id String
- The provider-assigned unique ID for this managed resource.
- issues
List<HostingCustom Domain Issue> 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- name String
- The fully-qualified name of the CustomDomain.
- ownershipState String
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- reconciling Boolean
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- requiredDns List<HostingUpdates Custom Domain Required Dns Update> 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- updateTime String
- The last time the CustomDomainwas updated.
- certs
HostingCustom Domain Cert[] 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- createTime string
- The CustomDomain's create time.
- deleteTime string
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- etag string
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- expireTime string
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- hostState string
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- id string
- The provider-assigned unique ID for this managed resource.
- issues
HostingCustom Domain Issue[] 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- name string
- The fully-qualified name of the CustomDomain.
- ownershipState string
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- reconciling boolean
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- requiredDns HostingUpdates Custom Domain Required Dns Update[] 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- updateTime string
- The last time the CustomDomainwas updated.
- certs
Sequence[HostingCustom Domain Cert] 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- create_time str
- The CustomDomain's create time.
- delete_time str
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- etag str
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- expire_time str
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- host_state str
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- id str
- The provider-assigned unique ID for this managed resource.
- issues
Sequence[HostingCustom Domain Issue] 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- name str
- The fully-qualified name of the CustomDomain.
- ownership_state str
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- reconciling bool
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- required_dns_ Sequence[Hostingupdates Custom Domain Required Dns Update] 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- update_time str
- The last time the CustomDomainwas updated.
- certs List<Property Map>
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- createTime String
- The CustomDomain's create time.
- deleteTime String
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- etag String
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- expireTime String
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- hostState String
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- id String
- The provider-assigned unique ID for this managed resource.
- issues List<Property Map>
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- name String
- The fully-qualified name of the CustomDomain.
- ownershipState String
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- reconciling Boolean
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- requiredDns List<Property Map>Updates 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- updateTime String
- The last time the CustomDomainwas updated.
Look up Existing HostingCustomDomain Resource
Get an existing HostingCustomDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: HostingCustomDomainState, opts?: CustomResourceOptions): HostingCustomDomain@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cert_preference: Optional[str] = None,
        certs: Optional[Sequence[HostingCustomDomainCertArgs]] = None,
        create_time: Optional[str] = None,
        custom_domain: Optional[str] = None,
        delete_time: Optional[str] = None,
        etag: Optional[str] = None,
        expire_time: Optional[str] = None,
        host_state: Optional[str] = None,
        issues: Optional[Sequence[HostingCustomDomainIssueArgs]] = None,
        name: Optional[str] = None,
        ownership_state: Optional[str] = None,
        project: Optional[str] = None,
        reconciling: Optional[bool] = None,
        redirect_target: Optional[str] = None,
        required_dns_updates: Optional[Sequence[HostingCustomDomainRequiredDnsUpdateArgs]] = None,
        site_id: Optional[str] = None,
        update_time: Optional[str] = None,
        wait_dns_verification: Optional[bool] = None) -> HostingCustomDomainfunc GetHostingCustomDomain(ctx *Context, name string, id IDInput, state *HostingCustomDomainState, opts ...ResourceOption) (*HostingCustomDomain, error)public static HostingCustomDomain Get(string name, Input<string> id, HostingCustomDomainState? state, CustomResourceOptions? opts = null)public static HostingCustomDomain get(String name, Output<String> id, HostingCustomDomainState state, CustomResourceOptions options)resources:  _:    type: gcp:firebase:HostingCustomDomain    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CertPreference string
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- Certs
List<HostingCustom Domain Cert> 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- CreateTime string
- The CustomDomain's create time.
- CustomDomain string
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- DeleteTime string
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- Etag string
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- ExpireTime string
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- HostState string
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- Issues
List<HostingCustom Domain Issue> 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- Name string
- The fully-qualified name of the CustomDomain.
- OwnershipState string
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Reconciling bool
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- RedirectTarget string
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- RequiredDns List<HostingUpdates Custom Domain Required Dns Update> 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- SiteId string
- The ID of the site in which to create this custom domain association.
- UpdateTime string
- The last time the CustomDomainwas updated.
- WaitDns boolVerification 
- CertPreference string
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- Certs
[]HostingCustom Domain Cert Args 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- CreateTime string
- The CustomDomain's create time.
- CustomDomain string
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- DeleteTime string
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- Etag string
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- ExpireTime string
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- HostState string
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- Issues
[]HostingCustom Domain Issue Args 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- Name string
- The fully-qualified name of the CustomDomain.
- OwnershipState string
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Reconciling bool
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- RedirectTarget string
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- RequiredDns []HostingUpdates Custom Domain Required Dns Update Args 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- SiteId string
- The ID of the site in which to create this custom domain association.
- UpdateTime string
- The last time the CustomDomainwas updated.
- WaitDns boolVerification 
- certPreference String
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- certs
List<HostingCustom Domain Cert> 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- createTime String
- The CustomDomain's create time.
- customDomain String
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- deleteTime String
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- etag String
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- expireTime String
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- hostState String
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- issues
List<HostingCustom Domain Issue> 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- name String
- The fully-qualified name of the CustomDomain.
- ownershipState String
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- reconciling Boolean
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- redirectTarget String
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- requiredDns List<HostingUpdates Custom Domain Required Dns Update> 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- siteId String
- The ID of the site in which to create this custom domain association.
- updateTime String
- The last time the CustomDomainwas updated.
- waitDns BooleanVerification 
- certPreference string
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- certs
HostingCustom Domain Cert[] 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- createTime string
- The CustomDomain's create time.
- customDomain string
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- deleteTime string
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- etag string
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- expireTime string
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- hostState string
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- issues
HostingCustom Domain Issue[] 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- name string
- The fully-qualified name of the CustomDomain.
- ownershipState string
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- reconciling boolean
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- redirectTarget string
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- requiredDns HostingUpdates Custom Domain Required Dns Update[] 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- siteId string
- The ID of the site in which to create this custom domain association.
- updateTime string
- The last time the CustomDomainwas updated.
- waitDns booleanVerification 
- cert_preference str
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- certs
Sequence[HostingCustom Domain Cert Args] 
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- create_time str
- The CustomDomain's create time.
- custom_domain str
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- delete_time str
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- etag str
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- expire_time str
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- host_state str
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- issues
Sequence[HostingCustom Domain Issue Args] 
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- name str
- The fully-qualified name of the CustomDomain.
- ownership_state str
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- reconciling bool
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- redirect_target str
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- required_dns_ Sequence[Hostingupdates Custom Domain Required Dns Update Args] 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- site_id str
- The ID of the site in which to create this custom domain association.
- update_time str
- The last time the CustomDomainwas updated.
- wait_dns_ boolverification 
- certPreference String
- A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.
- certs List<Property Map>
- The SSL certificate Hosting has for this CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.
- createTime String
- The CustomDomain's create time.
- customDomain String
- The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
- deleteTime String
- The time the CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.
- etag String
- A string that represents the current state of the CustomDomainand allows you to confirm its initial state in requests that would modify it.
- expireTime String
- The minimum time before a soft-deleted CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.
- hostState String
- The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.
- issues List<Property Map>
- A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your CustomDomainbehaves properly. Structure is documented below.
- name String
- The fully-qualified name of the CustomDomain.
- ownershipState String
- The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- reconciling Boolean
- if true, indicates that Hosting's systems are attempting to
make the CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcert_preference
- redirectTarget String
- A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified redirect_targetinstead.
- requiredDns List<Property Map>Updates 
- A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf. Structure is documented below.
- siteId String
- The ID of the site in which to create this custom domain association.
- updateTime String
- The last time the CustomDomainwas updated.
- waitDns BooleanVerification 
Supporting Types
HostingCustomDomainCert, HostingCustomDomainCertArgs        
- State string
- The state of the certificate. Only the CERT_ACTIVEandCERT_EXPIRING_SOONstates provide SSL coverage for a domain name. If the state isPROPAGATINGand Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
- Type string
- The record's type, which determines what data the record contains.
- Verification
HostingCustom Domain Cert Verification 
- A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting. Structure is documented below.
- State string
- The state of the certificate. Only the CERT_ACTIVEandCERT_EXPIRING_SOONstates provide SSL coverage for a domain name. If the state isPROPAGATINGand Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
- Type string
- The record's type, which determines what data the record contains.
- Verification
HostingCustom Domain Cert Verification 
- A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting. Structure is documented below.
- state String
- The state of the certificate. Only the CERT_ACTIVEandCERT_EXPIRING_SOONstates provide SSL coverage for a domain name. If the state isPROPAGATINGand Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
- type String
- The record's type, which determines what data the record contains.
- verification
HostingCustom Domain Cert Verification 
- A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting. Structure is documented below.
- state string
- The state of the certificate. Only the CERT_ACTIVEandCERT_EXPIRING_SOONstates provide SSL coverage for a domain name. If the state isPROPAGATINGand Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
- type string
- The record's type, which determines what data the record contains.
- verification
HostingCustom Domain Cert Verification 
- A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting. Structure is documented below.
- state str
- The state of the certificate. Only the CERT_ACTIVEandCERT_EXPIRING_SOONstates provide SSL coverage for a domain name. If the state isPROPAGATINGand Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
- type str
- The record's type, which determines what data the record contains.
- verification
HostingCustom Domain Cert Verification 
- A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting. Structure is documented below.
- state String
- The state of the certificate. Only the CERT_ACTIVEandCERT_EXPIRING_SOONstates provide SSL coverage for a domain name. If the state isPROPAGATINGand Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
- type String
- The record's type, which determines what data the record contains.
- verification Property Map
- A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting. Structure is documented below.
HostingCustomDomainCertVerification, HostingCustomDomainCertVerificationArgs          
- Dns
HostingCustom Domain Cert Verification Dns 
- A TXTrecord to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- Http
HostingCustom Domain Cert Verification Http 
- A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- Dns
HostingCustom Domain Cert Verification Dns 
- A TXTrecord to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- Http
HostingCustom Domain Cert Verification Http 
- A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- dns
HostingCustom Domain Cert Verification Dns 
- A TXTrecord to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- http
HostingCustom Domain Cert Verification Http 
- A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- dns
HostingCustom Domain Cert Verification Dns 
- A TXTrecord to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- http
HostingCustom Domain Cert Verification Http 
- A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- dns
HostingCustom Domain Cert Verification Dns 
- A TXTrecord to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- http
HostingCustom Domain Cert Verification Http 
- A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- dns Property Map
- A TXTrecord to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
- http Property Map
- A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name. Structure is documented below.
HostingCustomDomainCertVerificationDns, HostingCustomDomainCertVerificationDnsArgs            
- CheckTime string
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- Desireds
List<HostingCustom Domain Cert Verification Dns Desired> 
- A text string to serve at the path.
- Discovereds
List<HostingCustom Domain Cert Verification Dns Discovered> 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- CheckTime string
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- Desireds
[]HostingCustom Domain Cert Verification Dns Desired 
- A text string to serve at the path.
- Discovereds
[]HostingCustom Domain Cert Verification Dns Discovered 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- checkTime String
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- desireds
List<HostingCustom Domain Cert Verification Dns Desired> 
- A text string to serve at the path.
- discovereds
List<HostingCustom Domain Cert Verification Dns Discovered> 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- checkTime string
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- desireds
HostingCustom Domain Cert Verification Dns Desired[] 
- A text string to serve at the path.
- discovereds
HostingCustom Domain Cert Verification Dns Discovered[] 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- check_time str
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- desireds
Sequence[HostingCustom Domain Cert Verification Dns Desired] 
- A text string to serve at the path.
- discovereds
Sequence[HostingCustom Domain Cert Verification Dns Discovered] 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- checkTime String
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- desireds List<Property Map>
- A text string to serve at the path.
- discovereds List<Property Map>
- Whether Hosting was able to find the required file contents on the specified path during its last check.
HostingCustomDomainCertVerificationDnsDesired, HostingCustomDomainCertVerificationDnsDesiredArgs              
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Records
List<HostingCustom Domain Cert Verification Dns Desired Record> 
- Records on the domain Structure is documented below.
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Records
[]HostingCustom Domain Cert Verification Dns Desired Record 
- Records on the domain Structure is documented below.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- records
List<HostingCustom Domain Cert Verification Dns Desired Record> 
- Records on the domain Structure is documented below.
- domainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- records
HostingCustom Domain Cert Verification Dns Desired Record[] 
- Records on the domain Structure is documented below.
- domain_name str
- The domain name the record pertains to, e.g. foo.bar.com..
- records
Sequence[HostingCustom Domain Cert Verification Dns Desired Record] 
- Records on the domain Structure is documented below.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- records List<Property Map>
- Records on the domain Structure is documented below.
HostingCustomDomainCertVerificationDnsDesiredRecord, HostingCustomDomainCertVerificationDnsDesiredRecordArgs                
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- RequiredAction string
- Indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- RequiredAction string
- Indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata String
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction String
- Indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
- domainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction string
- Indicates the a required action for this record.
- type string
- The record's type, which determines what data the record contains.
- domain_name str
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata str
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- required_action str
- Indicates the a required action for this record.
- type str
- The record's type, which determines what data the record contains.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata String
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction String
- Indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
HostingCustomDomainCertVerificationDnsDiscovered, HostingCustomDomainCertVerificationDnsDiscoveredArgs              
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Records
List<HostingCustom Domain Cert Verification Dns Discovered Record> 
- Records on the domain Structure is documented below.
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Records
[]HostingCustom Domain Cert Verification Dns Discovered Record 
- Records on the domain Structure is documented below.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- records
List<HostingCustom Domain Cert Verification Dns Discovered Record> 
- Records on the domain Structure is documented below.
- domainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- records
HostingCustom Domain Cert Verification Dns Discovered Record[] 
- Records on the domain Structure is documented below.
- domain_name str
- The domain name the record pertains to, e.g. foo.bar.com..
- records
Sequence[HostingCustom Domain Cert Verification Dns Discovered Record] 
- Records on the domain Structure is documented below.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- records List<Property Map>
- Records on the domain Structure is documented below.
HostingCustomDomainCertVerificationDnsDiscoveredRecord, HostingCustomDomainCertVerificationDnsDiscoveredRecordArgs                
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- RequiredAction string
- Indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- RequiredAction string
- Indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata String
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction String
- Indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
- domainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction string
- Indicates the a required action for this record.
- type string
- The record's type, which determines what data the record contains.
- domain_name str
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata str
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- required_action str
- Indicates the a required action for this record.
- type str
- The record's type, which determines what data the record contains.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata String
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction String
- Indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
HostingCustomDomainCertVerificationHttp, HostingCustomDomainCertVerificationHttpArgs            
- Desired string
- A text string to serve at the path.
- Discovered string
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- LastCheck stringTime 
- (Output) The last time Hosting systems checked for the file contents.
- Path string
- The path to the file.
- Desired string
- A text string to serve at the path.
- Discovered string
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- LastCheck stringTime 
- (Output) The last time Hosting systems checked for the file contents.
- Path string
- The path to the file.
- desired String
- A text string to serve at the path.
- discovered String
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- lastCheck StringTime 
- (Output) The last time Hosting systems checked for the file contents.
- path String
- The path to the file.
- desired string
- A text string to serve at the path.
- discovered string
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- lastCheck stringTime 
- (Output) The last time Hosting systems checked for the file contents.
- path string
- The path to the file.
- desired str
- A text string to serve at the path.
- discovered str
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- last_check_ strtime 
- (Output) The last time Hosting systems checked for the file contents.
- path str
- The path to the file.
- desired String
- A text string to serve at the path.
- discovered String
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- lastCheck StringTime 
- (Output) The last time Hosting systems checked for the file contents.
- path String
- The path to the file.
HostingCustomDomainIssue, HostingCustomDomainIssueArgs        
HostingCustomDomainRequiredDnsUpdate, HostingCustomDomainRequiredDnsUpdateArgs            
- CheckTime string
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- Desireds
List<HostingCustom Domain Required Dns Update Desired> 
- A text string to serve at the path.
- Discovereds
List<HostingCustom Domain Required Dns Update Discovered> 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- CheckTime string
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- Desireds
[]HostingCustom Domain Required Dns Update Desired 
- A text string to serve at the path.
- Discovereds
[]HostingCustom Domain Required Dns Update Discovered 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- checkTime String
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- desireds
List<HostingCustom Domain Required Dns Update Desired> 
- A text string to serve at the path.
- discovereds
List<HostingCustom Domain Required Dns Update Discovered> 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- checkTime string
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- desireds
HostingCustom Domain Required Dns Update Desired[] 
- A text string to serve at the path.
- discovereds
HostingCustom Domain Required Dns Update Discovered[] 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- check_time str
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- desireds
Sequence[HostingCustom Domain Required Dns Update Desired] 
- A text string to serve at the path.
- discovereds
Sequence[HostingCustom Domain Required Dns Update Discovered] 
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- checkTime String
- (Output) The last time Hosting checked your CustomDomain's DNS records.
- desireds List<Property Map>
- A text string to serve at the path.
- discovereds List<Property Map>
- Whether Hosting was able to find the required file contents on the specified path during its last check.
HostingCustomDomainRequiredDnsUpdateDesired, HostingCustomDomainRequiredDnsUpdateDesiredArgs              
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Records
List<HostingCustom Domain Required Dns Update Desired Record> 
- Records on the domain Structure is documented below.
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Records
[]HostingCustom Domain Required Dns Update Desired Record 
- Records on the domain Structure is documented below.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- records
List<HostingCustom Domain Required Dns Update Desired Record> 
- Records on the domain Structure is documented below.
- domainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- records
HostingCustom Domain Required Dns Update Desired Record[] 
- Records on the domain Structure is documented below.
- domain_name str
- The domain name the record pertains to, e.g. foo.bar.com..
- records
Sequence[HostingCustom Domain Required Dns Update Desired Record] 
- Records on the domain Structure is documented below.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- records List<Property Map>
- Records on the domain Structure is documented below.
HostingCustomDomainRequiredDnsUpdateDesiredRecord, HostingCustomDomainRequiredDnsUpdateDesiredRecordArgs                
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- RequiredAction string
- Indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- RequiredAction string
- Indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata String
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction String
- Indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
- domainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction string
- Indicates the a required action for this record.
- type string
- The record's type, which determines what data the record contains.
- domain_name str
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata str
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- required_action str
- Indicates the a required action for this record.
- type str
- The record's type, which determines what data the record contains.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata String
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction String
- Indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
HostingCustomDomainRequiredDnsUpdateDiscovered, HostingCustomDomainRequiredDnsUpdateDiscoveredArgs              
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Records
List<HostingCustom Domain Required Dns Update Discovered Record> 
- Records on the domain Structure is documented below.
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Records
[]HostingCustom Domain Required Dns Update Discovered Record 
- Records on the domain Structure is documented below.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- records
List<HostingCustom Domain Required Dns Update Discovered Record> 
- Records on the domain Structure is documented below.
- domainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- records
HostingCustom Domain Required Dns Update Discovered Record[] 
- Records on the domain Structure is documented below.
- domain_name str
- The domain name the record pertains to, e.g. foo.bar.com..
- records
Sequence[HostingCustom Domain Required Dns Update Discovered Record] 
- Records on the domain Structure is documented below.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- records List<Property Map>
- Records on the domain Structure is documented below.
HostingCustomDomainRequiredDnsUpdateDiscoveredRecord, HostingCustomDomainRequiredDnsUpdateDiscoveredRecordArgs                
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- RequiredAction string
- Indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- DomainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- Rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- RequiredAction string
- Indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata String
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction String
- Indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
- domainName string
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata string
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction string
- Indicates the a required action for this record.
- type string
- The record's type, which determines what data the record contains.
- domain_name str
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata str
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- required_action str
- Indicates the a required action for this record.
- type str
- The record's type, which determines what data the record contains.
- domainName String
- The domain name the record pertains to, e.g. foo.bar.com..
- rdata String
- The data of the record. The meaning of the value depends on record type:- A and AAAA: IP addresses for the domain name.
- CNAME: Another domain to check for records.
- TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf.
- CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
 
- requiredAction String
- Indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
Import
CustomDomain can be imported using any of these accepted formats:
- projects/{{project}}/sites/{{site_id}}/customDomains/{{custom_domain}}
- sites/{{site_id}}/customDomains/{{custom_domain}}
- {{project}}/{{site_id}}/{{custom_domain}}
- {{site_id}}/{{custom_domain}}
When using the pulumi import command, CustomDomain can be imported using one of the formats above. For example:
$ pulumi import gcp:firebase/hostingCustomDomain:HostingCustomDomain default projects/{{project}}/sites/{{site_id}}/customDomains/{{custom_domain}}
$ pulumi import gcp:firebase/hostingCustomDomain:HostingCustomDomain default sites/{{site_id}}/customDomains/{{custom_domain}}
$ pulumi import gcp:firebase/hostingCustomDomain:HostingCustomDomain default {{project}}/{{site_id}}/{{custom_domain}}
$ pulumi import gcp:firebase/hostingCustomDomain:HostingCustomDomain default {{site_id}}/{{custom_domain}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.