1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getCustomHostname
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.getCustomHostname

Explore with Pulumi AI

Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleCustomHostname = cloudflare.getCustomHostname({
    zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    customHostnameId: "023e105f4ecef8ad9ca31a8372d0c353",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_custom_hostname = cloudflare.get_custom_hostname(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
    custom_hostname_id="023e105f4ecef8ad9ca31a8372d0c353")
Copy
package main

import (
	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudflare.LookupCustomHostname(ctx, &cloudflare.LookupCustomHostnameArgs{
			ZoneId:           "023e105f4ecef8ad9ca31a8372d0c353",
			CustomHostnameId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleCustomHostname = Cloudflare.GetCustomHostname.Invoke(new()
    {
        ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
        CustomHostnameId = "023e105f4ecef8ad9ca31a8372d0c353",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetCustomHostnameArgs;
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) {
        final var exampleCustomHostname = CloudflareFunctions.getCustomHostname(GetCustomHostnameArgs.builder()
            .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
            .customHostnameId("023e105f4ecef8ad9ca31a8372d0c353")
            .build());

    }
}
Copy
variables:
  exampleCustomHostname:
    fn::invoke:
      function: cloudflare:getCustomHostname
      arguments:
        zoneId: 023e105f4ecef8ad9ca31a8372d0c353
        customHostnameId: 023e105f4ecef8ad9ca31a8372d0c353
Copy

Using getCustomHostname

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

function getCustomHostname(args: GetCustomHostnameArgs, opts?: InvokeOptions): Promise<GetCustomHostnameResult>
function getCustomHostnameOutput(args: GetCustomHostnameOutputArgs, opts?: InvokeOptions): Output<GetCustomHostnameResult>
Copy
def get_custom_hostname(custom_hostname_id: Optional[str] = None,
                        filter: Optional[GetCustomHostnameFilter] = None,
                        zone_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCustomHostnameResult
def get_custom_hostname_output(custom_hostname_id: Optional[pulumi.Input[str]] = None,
                        filter: Optional[pulumi.Input[GetCustomHostnameFilterArgs]] = None,
                        zone_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCustomHostnameResult]
Copy
func LookupCustomHostname(ctx *Context, args *LookupCustomHostnameArgs, opts ...InvokeOption) (*LookupCustomHostnameResult, error)
func LookupCustomHostnameOutput(ctx *Context, args *LookupCustomHostnameOutputArgs, opts ...InvokeOption) LookupCustomHostnameResultOutput
Copy

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

public static class GetCustomHostname 
{
    public static Task<GetCustomHostnameResult> InvokeAsync(GetCustomHostnameArgs args, InvokeOptions? opts = null)
    public static Output<GetCustomHostnameResult> Invoke(GetCustomHostnameInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCustomHostnameResult> getCustomHostname(GetCustomHostnameArgs args, InvokeOptions options)
public static Output<GetCustomHostnameResult> getCustomHostname(GetCustomHostnameArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getCustomHostname:getCustomHostname
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ZoneId This property is required. string
Identifier
CustomHostnameId string
Identifier
Filter GetCustomHostnameFilter
ZoneId This property is required. string
Identifier
CustomHostnameId string
Identifier
Filter GetCustomHostnameFilter
zoneId This property is required. String
Identifier
customHostnameId String
Identifier
filter GetCustomHostnameFilter
zoneId This property is required. string
Identifier
customHostnameId string
Identifier
filter GetCustomHostnameFilter
zone_id This property is required. str
Identifier
custom_hostname_id str
Identifier
filter GetCustomHostnameFilter
zoneId This property is required. String
Identifier
customHostnameId String
Identifier
filter Property Map

getCustomHostname Result

The following output properties are available:

CreatedAt string
This is the time the hostname was created.
CustomMetadata Dictionary<string, string>
Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
CustomOriginServer string
a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
CustomOriginSni string
A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':requesthostheader:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.
Hostname string
The custom hostname that will point to your hostname via CNAME.
Id string
Identifier
OwnershipVerification GetCustomHostnameOwnershipVerification
This is a record which can be placed to activate a hostname.
OwnershipVerificationHttp GetCustomHostnameOwnershipVerificationHttp
This presents the token to be served by the given http url to activate a hostname.
Ssl GetCustomHostnameSsl
Status string
Status of the hostname's activation. Available values: "active", "pending", "activeredeploying", "moved", "pendingdeletion", "deleted", "pendingblocked", "pendingmigration", "pendingprovisioned", "testpending", "testactive", "testactiveapex", "testblocked", "test_failed", "provisioned", "blocked".
VerificationErrors List<string>
These are errors that were encountered while trying to activate a hostname.
ZoneId string
Identifier
CustomHostnameId string
Identifier
Filter GetCustomHostnameFilter
CreatedAt string
This is the time the hostname was created.
CustomMetadata map[string]string
Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
CustomOriginServer string
a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
CustomOriginSni string
A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':requesthostheader:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.
Hostname string
The custom hostname that will point to your hostname via CNAME.
Id string
Identifier
OwnershipVerification GetCustomHostnameOwnershipVerification
This is a record which can be placed to activate a hostname.
OwnershipVerificationHttp GetCustomHostnameOwnershipVerificationHttp
This presents the token to be served by the given http url to activate a hostname.
Ssl GetCustomHostnameSsl
Status string
Status of the hostname's activation. Available values: "active", "pending", "activeredeploying", "moved", "pendingdeletion", "deleted", "pendingblocked", "pendingmigration", "pendingprovisioned", "testpending", "testactive", "testactiveapex", "testblocked", "test_failed", "provisioned", "blocked".
VerificationErrors []string
These are errors that were encountered while trying to activate a hostname.
ZoneId string
Identifier
CustomHostnameId string
Identifier
Filter GetCustomHostnameFilter
createdAt String
This is the time the hostname was created.
customMetadata Map<String,String>
Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
customOriginServer String
a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
customOriginSni String
A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':requesthostheader:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.
hostname String
The custom hostname that will point to your hostname via CNAME.
id String
Identifier
ownershipVerification GetCustomHostnameOwnershipVerification
This is a record which can be placed to activate a hostname.
ownershipVerificationHttp GetCustomHostnameOwnershipVerificationHttp
This presents the token to be served by the given http url to activate a hostname.
ssl GetCustomHostnameSsl
status String
Status of the hostname's activation. Available values: "active", "pending", "activeredeploying", "moved", "pendingdeletion", "deleted", "pendingblocked", "pendingmigration", "pendingprovisioned", "testpending", "testactive", "testactiveapex", "testblocked", "test_failed", "provisioned", "blocked".
verificationErrors List<String>
These are errors that were encountered while trying to activate a hostname.
zoneId String
Identifier
customHostnameId String
Identifier
filter GetCustomHostnameFilter
createdAt string
This is the time the hostname was created.
customMetadata {[key: string]: string}
Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
customOriginServer string
a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
customOriginSni string
A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':requesthostheader:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.
hostname string
The custom hostname that will point to your hostname via CNAME.
id string
Identifier
ownershipVerification GetCustomHostnameOwnershipVerification
This is a record which can be placed to activate a hostname.
ownershipVerificationHttp GetCustomHostnameOwnershipVerificationHttp
This presents the token to be served by the given http url to activate a hostname.
ssl GetCustomHostnameSsl
status string
Status of the hostname's activation. Available values: "active", "pending", "activeredeploying", "moved", "pendingdeletion", "deleted", "pendingblocked", "pendingmigration", "pendingprovisioned", "testpending", "testactive", "testactiveapex", "testblocked", "test_failed", "provisioned", "blocked".
verificationErrors string[]
These are errors that were encountered while trying to activate a hostname.
zoneId string
Identifier
customHostnameId string
Identifier
filter GetCustomHostnameFilter
created_at str
This is the time the hostname was created.
custom_metadata Mapping[str, str]
Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
custom_origin_server str
a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
custom_origin_sni str
A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':requesthostheader:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.
hostname str
The custom hostname that will point to your hostname via CNAME.
id str
Identifier
ownership_verification GetCustomHostnameOwnershipVerification
This is a record which can be placed to activate a hostname.
ownership_verification_http GetCustomHostnameOwnershipVerificationHttp
This presents the token to be served by the given http url to activate a hostname.
ssl GetCustomHostnameSsl
status str
Status of the hostname's activation. Available values: "active", "pending", "activeredeploying", "moved", "pendingdeletion", "deleted", "pendingblocked", "pendingmigration", "pendingprovisioned", "testpending", "testactive", "testactiveapex", "testblocked", "test_failed", "provisioned", "blocked".
verification_errors Sequence[str]
These are errors that were encountered while trying to activate a hostname.
zone_id str
Identifier
custom_hostname_id str
Identifier
filter GetCustomHostnameFilter
createdAt String
This is the time the hostname was created.
customMetadata Map<String>
Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
customOriginServer String
a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
customOriginSni String
A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':requesthostheader:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.
hostname String
The custom hostname that will point to your hostname via CNAME.
id String
Identifier
ownershipVerification Property Map
This is a record which can be placed to activate a hostname.
ownershipVerificationHttp Property Map
This presents the token to be served by the given http url to activate a hostname.
ssl Property Map
status String
Status of the hostname's activation. Available values: "active", "pending", "activeredeploying", "moved", "pendingdeletion", "deleted", "pendingblocked", "pendingmigration", "pendingprovisioned", "testpending", "testactive", "testactiveapex", "testblocked", "test_failed", "provisioned", "blocked".
verificationErrors List<String>
These are errors that were encountered while trying to activate a hostname.
zoneId String
Identifier
customHostnameId String
Identifier
filter Property Map

Supporting Types

GetCustomHostnameFilter

Order This property is required. string
Field to order hostnames by. Available values: "ssl", "ssl_status".
Direction string
Direction to order hostnames. Available values: "asc", "desc".
Hostname string
Fully qualified domain name to match against. This parameter cannot be used with the 'id' parameter.
Id string
Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname' parameter.
Ssl double
Whether to filter hostnames based on if they have SSL enabled. Available values: 0, 1.
Order This property is required. string
Field to order hostnames by. Available values: "ssl", "ssl_status".
Direction string
Direction to order hostnames. Available values: "asc", "desc".
Hostname string
Fully qualified domain name to match against. This parameter cannot be used with the 'id' parameter.
Id string
Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname' parameter.
Ssl float64
Whether to filter hostnames based on if they have SSL enabled. Available values: 0, 1.
order This property is required. String
Field to order hostnames by. Available values: "ssl", "ssl_status".
direction String
Direction to order hostnames. Available values: "asc", "desc".
hostname String
Fully qualified domain name to match against. This parameter cannot be used with the 'id' parameter.
id String
Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname' parameter.
ssl Double
Whether to filter hostnames based on if they have SSL enabled. Available values: 0, 1.
order This property is required. string
Field to order hostnames by. Available values: "ssl", "ssl_status".
direction string
Direction to order hostnames. Available values: "asc", "desc".
hostname string
Fully qualified domain name to match against. This parameter cannot be used with the 'id' parameter.
id string
Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname' parameter.
ssl number
Whether to filter hostnames based on if they have SSL enabled. Available values: 0, 1.
order This property is required. str
Field to order hostnames by. Available values: "ssl", "ssl_status".
direction str
Direction to order hostnames. Available values: "asc", "desc".
hostname str
Fully qualified domain name to match against. This parameter cannot be used with the 'id' parameter.
id str
Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname' parameter.
ssl float
Whether to filter hostnames based on if they have SSL enabled. Available values: 0, 1.
order This property is required. String
Field to order hostnames by. Available values: "ssl", "ssl_status".
direction String
Direction to order hostnames. Available values: "asc", "desc".
hostname String
Fully qualified domain name to match against. This parameter cannot be used with the 'id' parameter.
id String
Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname' parameter.
ssl Number
Whether to filter hostnames based on if they have SSL enabled. Available values: 0, 1.

GetCustomHostnameOwnershipVerification

Name This property is required. string
DNS Name for record.
Type This property is required. string
DNS Record type. Available values: "txt".
Value This property is required. string
Content for the record.
Name This property is required. string
DNS Name for record.
Type This property is required. string
DNS Record type. Available values: "txt".
Value This property is required. string
Content for the record.
name This property is required. String
DNS Name for record.
type This property is required. String
DNS Record type. Available values: "txt".
value This property is required. String
Content for the record.
name This property is required. string
DNS Name for record.
type This property is required. string
DNS Record type. Available values: "txt".
value This property is required. string
Content for the record.
name This property is required. str
DNS Name for record.
type This property is required. str
DNS Record type. Available values: "txt".
value This property is required. str
Content for the record.
name This property is required. String
DNS Name for record.
type This property is required. String
DNS Record type. Available values: "txt".
value This property is required. String
Content for the record.

GetCustomHostnameOwnershipVerificationHttp

HttpBody This property is required. string
Token to be served.
HttpUrl This property is required. string
The HTTP URL that will be checked during custom hostname verification and where the customer should host the token.
HttpBody This property is required. string
Token to be served.
HttpUrl This property is required. string
The HTTP URL that will be checked during custom hostname verification and where the customer should host the token.
httpBody This property is required. String
Token to be served.
httpUrl This property is required. String
The HTTP URL that will be checked during custom hostname verification and where the customer should host the token.
httpBody This property is required. string
Token to be served.
httpUrl This property is required. string
The HTTP URL that will be checked during custom hostname verification and where the customer should host the token.
http_body This property is required. str
Token to be served.
http_url This property is required. str
The HTTP URL that will be checked during custom hostname verification and where the customer should host the token.
httpBody This property is required. String
Token to be served.
httpUrl This property is required. String
The HTTP URL that will be checked during custom hostname verification and where the customer should host the token.

GetCustomHostnameSsl

BundleMethod This property is required. string
A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: "ubiquitous", "optimal", "force".
CertificateAuthority This property is required. string
The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
CustomCertificate This property is required. string
If a custom uploaded certificate is used.
CustomCsrId This property is required. string
The identifier for the Custom CSR that was used.
CustomKey This property is required. string
The key for a custom uploaded certificate.
ExpiresOn This property is required. string
The time the custom certificate expires on.
Hosts This property is required. List<string>
A list of Hostnames on a custom uploaded certificate.
Id This property is required. string
Custom hostname SSL identifier tag.
Issuer This property is required. string
The issuer on a custom uploaded certificate.
Method This property is required. string
Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
SerialNumber This property is required. string
The serial number on a custom uploaded certificate.
Settings This property is required. GetCustomHostnameSslSettings
Signature This property is required. string
The signature on a custom uploaded certificate.
Status This property is required. string
Status of the hostname's SSL certificates. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
Type This property is required. string
Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
UploadedOn This property is required. string
The time the custom certificate was uploaded.
ValidationErrors This property is required. List<GetCustomHostnameSslValidationError>
Domain validation errors that have been received by the certificate authority (CA).
ValidationRecords This property is required. List<GetCustomHostnameSslValidationRecord>
Wildcard This property is required. bool
Indicates whether the certificate covers a wildcard.
BundleMethod This property is required. string
A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: "ubiquitous", "optimal", "force".
CertificateAuthority This property is required. string
The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
CustomCertificate This property is required. string
If a custom uploaded certificate is used.
CustomCsrId This property is required. string
The identifier for the Custom CSR that was used.
CustomKey This property is required. string
The key for a custom uploaded certificate.
ExpiresOn This property is required. string
The time the custom certificate expires on.
Hosts This property is required. []string
A list of Hostnames on a custom uploaded certificate.
Id This property is required. string
Custom hostname SSL identifier tag.
Issuer This property is required. string
The issuer on a custom uploaded certificate.
Method This property is required. string
Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
SerialNumber This property is required. string
The serial number on a custom uploaded certificate.
Settings This property is required. GetCustomHostnameSslSettings
Signature This property is required. string
The signature on a custom uploaded certificate.
Status This property is required. string
Status of the hostname's SSL certificates. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
Type This property is required. string
Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
UploadedOn This property is required. string
The time the custom certificate was uploaded.
ValidationErrors This property is required. []GetCustomHostnameSslValidationError
Domain validation errors that have been received by the certificate authority (CA).
ValidationRecords This property is required. []GetCustomHostnameSslValidationRecord
Wildcard This property is required. bool
Indicates whether the certificate covers a wildcard.
bundleMethod This property is required. String
A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: "ubiquitous", "optimal", "force".
certificateAuthority This property is required. String
The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
customCertificate This property is required. String
If a custom uploaded certificate is used.
customCsrId This property is required. String
The identifier for the Custom CSR that was used.
customKey This property is required. String
The key for a custom uploaded certificate.
expiresOn This property is required. String
The time the custom certificate expires on.
hosts This property is required. List<String>
A list of Hostnames on a custom uploaded certificate.
id This property is required. String
Custom hostname SSL identifier tag.
issuer This property is required. String
The issuer on a custom uploaded certificate.
method This property is required. String
Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
serialNumber This property is required. String
The serial number on a custom uploaded certificate.
settings This property is required. GetCustomHostnameSslSettings
signature This property is required. String
The signature on a custom uploaded certificate.
status This property is required. String
Status of the hostname's SSL certificates. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
type This property is required. String
Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
uploadedOn This property is required. String
The time the custom certificate was uploaded.
validationErrors This property is required. List<GetCustomHostnameSslValidationError>
Domain validation errors that have been received by the certificate authority (CA).
validationRecords This property is required. List<GetCustomHostnameSslValidationRecord>
wildcard This property is required. Boolean
Indicates whether the certificate covers a wildcard.
bundleMethod This property is required. string
A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: "ubiquitous", "optimal", "force".
certificateAuthority This property is required. string
The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
customCertificate This property is required. string
If a custom uploaded certificate is used.
customCsrId This property is required. string
The identifier for the Custom CSR that was used.
customKey This property is required. string
The key for a custom uploaded certificate.
expiresOn This property is required. string
The time the custom certificate expires on.
hosts This property is required. string[]
A list of Hostnames on a custom uploaded certificate.
id This property is required. string
Custom hostname SSL identifier tag.
issuer This property is required. string
The issuer on a custom uploaded certificate.
method This property is required. string
Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
serialNumber This property is required. string
The serial number on a custom uploaded certificate.
settings This property is required. GetCustomHostnameSslSettings
signature This property is required. string
The signature on a custom uploaded certificate.
status This property is required. string
Status of the hostname's SSL certificates. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
type This property is required. string
Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
uploadedOn This property is required. string
The time the custom certificate was uploaded.
validationErrors This property is required. GetCustomHostnameSslValidationError[]
Domain validation errors that have been received by the certificate authority (CA).
validationRecords This property is required. GetCustomHostnameSslValidationRecord[]
wildcard This property is required. boolean
Indicates whether the certificate covers a wildcard.
bundle_method This property is required. str
A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: "ubiquitous", "optimal", "force".
certificate_authority This property is required. str
The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
custom_certificate This property is required. str
If a custom uploaded certificate is used.
custom_csr_id This property is required. str
The identifier for the Custom CSR that was used.
custom_key This property is required. str
The key for a custom uploaded certificate.
expires_on This property is required. str
The time the custom certificate expires on.
hosts This property is required. Sequence[str]
A list of Hostnames on a custom uploaded certificate.
id This property is required. str
Custom hostname SSL identifier tag.
issuer This property is required. str
The issuer on a custom uploaded certificate.
method This property is required. str
Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
serial_number This property is required. str
The serial number on a custom uploaded certificate.
settings This property is required. GetCustomHostnameSslSettings
signature This property is required. str
The signature on a custom uploaded certificate.
status This property is required. str
Status of the hostname's SSL certificates. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
type This property is required. str
Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
uploaded_on This property is required. str
The time the custom certificate was uploaded.
validation_errors This property is required. Sequence[GetCustomHostnameSslValidationError]
Domain validation errors that have been received by the certificate authority (CA).
validation_records This property is required. Sequence[GetCustomHostnameSslValidationRecord]
wildcard This property is required. bool
Indicates whether the certificate covers a wildcard.
bundleMethod This property is required. String
A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: "ubiquitous", "optimal", "force".
certificateAuthority This property is required. String
The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
customCertificate This property is required. String
If a custom uploaded certificate is used.
customCsrId This property is required. String
The identifier for the Custom CSR that was used.
customKey This property is required. String
The key for a custom uploaded certificate.
expiresOn This property is required. String
The time the custom certificate expires on.
hosts This property is required. List<String>
A list of Hostnames on a custom uploaded certificate.
id This property is required. String
Custom hostname SSL identifier tag.
issuer This property is required. String
The issuer on a custom uploaded certificate.
method This property is required. String
Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
serialNumber This property is required. String
The serial number on a custom uploaded certificate.
settings This property is required. Property Map
signature This property is required. String
The signature on a custom uploaded certificate.
status This property is required. String
Status of the hostname's SSL certificates. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
type This property is required. String
Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
uploadedOn This property is required. String
The time the custom certificate was uploaded.
validationErrors This property is required. List<Property Map>
Domain validation errors that have been received by the certificate authority (CA).
validationRecords This property is required. List<Property Map>
wildcard This property is required. Boolean
Indicates whether the certificate covers a wildcard.

GetCustomHostnameSslSettings

Ciphers This property is required. List<string>
An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
EarlyHints This property is required. string
Whether or not Early Hints is enabled. Available values: "on", "off".
Http2 This property is required. string
Whether or not HTTP2 is enabled. Available values: "on", "off".
MinTlsVersion This property is required. string
The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
Tls13 This property is required. string
Whether or not TLS 1.3 is enabled. Available values: "on", "off".
Ciphers This property is required. []string
An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
EarlyHints This property is required. string
Whether or not Early Hints is enabled. Available values: "on", "off".
Http2 This property is required. string
Whether or not HTTP2 is enabled. Available values: "on", "off".
MinTlsVersion This property is required. string
The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
Tls13 This property is required. string
Whether or not TLS 1.3 is enabled. Available values: "on", "off".
ciphers This property is required. List<String>
An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
earlyHints This property is required. String
Whether or not Early Hints is enabled. Available values: "on", "off".
http2 This property is required. String
Whether or not HTTP2 is enabled. Available values: "on", "off".
minTlsVersion This property is required. String
The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
tls13 This property is required. String
Whether or not TLS 1.3 is enabled. Available values: "on", "off".
ciphers This property is required. string[]
An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
earlyHints This property is required. string
Whether or not Early Hints is enabled. Available values: "on", "off".
http2 This property is required. string
Whether or not HTTP2 is enabled. Available values: "on", "off".
minTlsVersion This property is required. string
The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
tls13 This property is required. string
Whether or not TLS 1.3 is enabled. Available values: "on", "off".
ciphers This property is required. Sequence[str]
An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
early_hints This property is required. str
Whether or not Early Hints is enabled. Available values: "on", "off".
http2 This property is required. str
Whether or not HTTP2 is enabled. Available values: "on", "off".
min_tls_version This property is required. str
The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
tls13 This property is required. str
Whether or not TLS 1.3 is enabled. Available values: "on", "off".
ciphers This property is required. List<String>
An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
earlyHints This property is required. String
Whether or not Early Hints is enabled. Available values: "on", "off".
http2 This property is required. String
Whether or not HTTP2 is enabled. Available values: "on", "off".
minTlsVersion This property is required. String
The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
tls13 This property is required. String
Whether or not TLS 1.3 is enabled. Available values: "on", "off".

GetCustomHostnameSslValidationError

Message This property is required. string
A domain validation error.
Message This property is required. string
A domain validation error.
message This property is required. String
A domain validation error.
message This property is required. string
A domain validation error.
message This property is required. str
A domain validation error.
message This property is required. String
A domain validation error.

GetCustomHostnameSslValidationRecord

Emails This property is required. List<string>
The set of email addresses that the certificate authority (CA) will use to complete domain validation.
HttpBody This property is required. string
The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
HttpUrl This property is required. string
The url that will be checked during domain validation.
TxtName This property is required. string
The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
TxtValue This property is required. string
The TXT record that the certificate authority (CA) will check during domain validation.
Emails This property is required. []string
The set of email addresses that the certificate authority (CA) will use to complete domain validation.
HttpBody This property is required. string
The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
HttpUrl This property is required. string
The url that will be checked during domain validation.
TxtName This property is required. string
The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
TxtValue This property is required. string
The TXT record that the certificate authority (CA) will check during domain validation.
emails This property is required. List<String>
The set of email addresses that the certificate authority (CA) will use to complete domain validation.
httpBody This property is required. String
The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
httpUrl This property is required. String
The url that will be checked during domain validation.
txtName This property is required. String
The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
txtValue This property is required. String
The TXT record that the certificate authority (CA) will check during domain validation.
emails This property is required. string[]
The set of email addresses that the certificate authority (CA) will use to complete domain validation.
httpBody This property is required. string
The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
httpUrl This property is required. string
The url that will be checked during domain validation.
txtName This property is required. string
The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
txtValue This property is required. string
The TXT record that the certificate authority (CA) will check during domain validation.
emails This property is required. Sequence[str]
The set of email addresses that the certificate authority (CA) will use to complete domain validation.
http_body This property is required. str
The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
http_url This property is required. str
The url that will be checked during domain validation.
txt_name This property is required. str
The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
txt_value This property is required. str
The TXT record that the certificate authority (CA) will check during domain validation.
emails This property is required. List<String>
The set of email addresses that the certificate authority (CA) will use to complete domain validation.
httpBody This property is required. String
The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
httpUrl This property is required. String
The url that will be checked during domain validation.
txtName This property is required. String
The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
txtValue This property is required. String
The TXT record that the certificate authority (CA) will check during domain validation.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi