cloudflare.CustomHostname
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
exampleCustomHostname:
type: cloudflare:CustomHostname
name: example_custom_hostname
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
hostname: app.example.com
ssl:
bundle_method: ubiquitous
certificate_authority: google
cloudflare_branding: false
custom_cert_bundle:
- customCertificate: |2+
-----BEGIN CERTIFICATE-----
MIIDdjCCAl6gAwIBAgIJAPnMg0Fs+/B0MA0GCSqGSIb3DQEBCwUAMFsx...
-----END CERTIFICATE-----
customKey: |2+
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC/SCB5...
-----END PRIVATE KEY-----
custom_certificate: '-----BEGIN CERTIFICATE-----\nMIIFJDCCBAygAwIBAgIQD0ifmj/Yi5NP/2gdUySbfzANBgkqhkiG9w0BAQsFADBN\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMScwJQYDVQQDEx5E...SzSHfXp5lnu/3V08I72q1QNzOCgY1XeL4GKVcj4or6cT6tX6oJH7ePPmfrBfqI/O\nOeH8gMJ+FuwtXYEPa4hBf38M5eU5xWG7\n-----END CERTIFICATE-----\n'
custom_key: |2+
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG
dtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn
abIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid
tnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py
FxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE
ewooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb
HBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/
axiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb
+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g
+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv
KLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7
9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo
/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu
iacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9
N2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe
VAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB
vULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U
lySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR
9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7
mEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX
dFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe
PG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS
fhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W
qu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T
lv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi
-----END RSA PRIVATE KEY-----
method: http
settings:
ciphers:
- ECDHE-RSA-AES128-GCM-SHA256
- AES128-SHA
earlyHints: on
http2: on
minTlsVersion: '1.2'
tls13: on
type: dv
wildcard: false
customMetadata:
foo: string
Create CustomHostname Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomHostname(name: string, args: CustomHostnameArgs, opts?: CustomResourceOptions);
@overload
def CustomHostname(resource_name: str,
args: CustomHostnameArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomHostname(resource_name: str,
opts: Optional[ResourceOptions] = None,
hostname: Optional[str] = None,
ssl: Optional[CustomHostnameSslArgs] = None,
zone_id: Optional[str] = None,
custom_metadata: Optional[Mapping[str, str]] = None,
custom_origin_server: Optional[str] = None,
custom_origin_sni: Optional[str] = None)
func NewCustomHostname(ctx *Context, name string, args CustomHostnameArgs, opts ...ResourceOption) (*CustomHostname, error)
public CustomHostname(string name, CustomHostnameArgs args, CustomResourceOptions? opts = null)
public CustomHostname(String name, CustomHostnameArgs args)
public CustomHostname(String name, CustomHostnameArgs args, CustomResourceOptions options)
type: cloudflare:CustomHostname
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 CustomHostnameArgs
- 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 CustomHostnameArgs
- 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 CustomHostnameArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomHostnameArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomHostnameArgs
- 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 customHostnameResource = new Cloudflare.CustomHostname("customHostnameResource", new()
{
Hostname = "string",
Ssl = new Cloudflare.Inputs.CustomHostnameSslArgs
{
BundleMethod = "string",
CertificateAuthority = "string",
CloudflareBranding = false,
CustomCertBundles = new[]
{
new Cloudflare.Inputs.CustomHostnameSslCustomCertBundleArgs
{
CustomCertificate = "string",
CustomKey = "string",
},
},
CustomCertificate = "string",
CustomKey = "string",
Method = "string",
Settings = new Cloudflare.Inputs.CustomHostnameSslSettingsArgs
{
Ciphers = new[]
{
"string",
},
EarlyHints = "string",
Http2 = "string",
MinTlsVersion = "string",
Tls13 = "string",
},
Type = "string",
Wildcard = false,
},
ZoneId = "string",
CustomMetadata =
{
{ "string", "string" },
},
CustomOriginServer = "string",
CustomOriginSni = "string",
});
example, err := cloudflare.NewCustomHostname(ctx, "customHostnameResource", &cloudflare.CustomHostnameArgs{
Hostname: pulumi.String("string"),
Ssl: &cloudflare.CustomHostnameSslArgs{
BundleMethod: pulumi.String("string"),
CertificateAuthority: pulumi.String("string"),
CloudflareBranding: pulumi.Bool(false),
CustomCertBundles: cloudflare.CustomHostnameSslCustomCertBundleArray{
&cloudflare.CustomHostnameSslCustomCertBundleArgs{
CustomCertificate: pulumi.String("string"),
CustomKey: pulumi.String("string"),
},
},
CustomCertificate: pulumi.String("string"),
CustomKey: pulumi.String("string"),
Method: pulumi.String("string"),
Settings: &cloudflare.CustomHostnameSslSettingsArgs{
Ciphers: pulumi.StringArray{
pulumi.String("string"),
},
EarlyHints: pulumi.String("string"),
Http2: pulumi.String("string"),
MinTlsVersion: pulumi.String("string"),
Tls13: pulumi.String("string"),
},
Type: pulumi.String("string"),
Wildcard: pulumi.Bool(false),
},
ZoneId: pulumi.String("string"),
CustomMetadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
CustomOriginServer: pulumi.String("string"),
CustomOriginSni: pulumi.String("string"),
})
var customHostnameResource = new CustomHostname("customHostnameResource", CustomHostnameArgs.builder()
.hostname("string")
.ssl(CustomHostnameSslArgs.builder()
.bundleMethod("string")
.certificateAuthority("string")
.cloudflareBranding(false)
.customCertBundles(CustomHostnameSslCustomCertBundleArgs.builder()
.customCertificate("string")
.customKey("string")
.build())
.customCertificate("string")
.customKey("string")
.method("string")
.settings(CustomHostnameSslSettingsArgs.builder()
.ciphers("string")
.earlyHints("string")
.http2("string")
.minTlsVersion("string")
.tls13("string")
.build())
.type("string")
.wildcard(false)
.build())
.zoneId("string")
.customMetadata(Map.of("string", "string"))
.customOriginServer("string")
.customOriginSni("string")
.build());
custom_hostname_resource = cloudflare.CustomHostname("customHostnameResource",
hostname="string",
ssl={
"bundle_method": "string",
"certificate_authority": "string",
"cloudflare_branding": False,
"custom_cert_bundles": [{
"custom_certificate": "string",
"custom_key": "string",
}],
"custom_certificate": "string",
"custom_key": "string",
"method": "string",
"settings": {
"ciphers": ["string"],
"early_hints": "string",
"http2": "string",
"min_tls_version": "string",
"tls13": "string",
},
"type": "string",
"wildcard": False,
},
zone_id="string",
custom_metadata={
"string": "string",
},
custom_origin_server="string",
custom_origin_sni="string")
const customHostnameResource = new cloudflare.CustomHostname("customHostnameResource", {
hostname: "string",
ssl: {
bundleMethod: "string",
certificateAuthority: "string",
cloudflareBranding: false,
customCertBundles: [{
customCertificate: "string",
customKey: "string",
}],
customCertificate: "string",
customKey: "string",
method: "string",
settings: {
ciphers: ["string"],
earlyHints: "string",
http2: "string",
minTlsVersion: "string",
tls13: "string",
},
type: "string",
wildcard: false,
},
zoneId: "string",
customMetadata: {
string: "string",
},
customOriginServer: "string",
customOriginSni: "string",
});
type: cloudflare:CustomHostname
properties:
customMetadata:
string: string
customOriginServer: string
customOriginSni: string
hostname: string
ssl:
bundleMethod: string
certificateAuthority: string
cloudflareBranding: false
customCertBundles:
- customCertificate: string
customKey: string
customCertificate: string
customKey: string
method: string
settings:
ciphers:
- string
earlyHints: string
http2: string
minTlsVersion: string
tls13: string
type: string
wildcard: false
zoneId: string
CustomHostname 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 CustomHostname resource accepts the following input properties:
- Hostname string
- The custom hostname that will point to your hostname via CNAME.
- Ssl
Custom
Hostname Ssl - SSL properties used when creating the custom hostname.
- Zone
Id string - Identifier
- Custom
Metadata Dictionary<string, string> - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- Custom
Origin stringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- Custom
Origin stringSni - 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.
- Ssl
Custom
Hostname Ssl Args - SSL properties used when creating the custom hostname.
- Zone
Id string - Identifier
- Custom
Metadata map[string]string - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- Custom
Origin stringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- Custom
Origin stringSni - 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.
- ssl
Custom
Hostname Ssl - SSL properties used when creating the custom hostname.
- zone
Id String - Identifier
- custom
Metadata Map<String,String> - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- custom
Origin StringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- custom
Origin StringSni - 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.
- ssl
Custom
Hostname Ssl - SSL properties used when creating the custom hostname.
- zone
Id string - Identifier
- custom
Metadata {[key: string]: string} - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- custom
Origin stringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- custom
Origin stringSni - 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.
- ssl
Custom
Hostname Ssl Args - SSL properties used when creating the custom hostname.
- zone_
id str - Identifier
- custom_
metadata Mapping[str, str] - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- custom_
origin_ strserver - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- custom_
origin_ strsni - 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.
- ssl Property Map
- SSL properties used when creating the custom hostname.
- zone
Id String - Identifier
- custom
Metadata Map<String> - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- custom
Origin StringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- custom
Origin StringSni - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomHostname resource produces the following output properties:
- Created
At string - This is the time the hostname was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ownership
Verification CustomHostname Ownership Verification - This is a record which can be placed to activate a hostname.
- Ownership
Verification CustomHttp Hostname Ownership Verification Http - This presents the token to be served by the given http url to activate a hostname.
- 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".
- Verification
Errors List<string> - These are errors that were encountered while trying to activate a hostname.
- Created
At string - This is the time the hostname was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ownership
Verification CustomHostname Ownership Verification - This is a record which can be placed to activate a hostname.
- Ownership
Verification CustomHttp Hostname Ownership Verification Http - This presents the token to be served by the given http url to activate a hostname.
- 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".
- Verification
Errors []string - These are errors that were encountered while trying to activate a hostname.
- created
At String - This is the time the hostname was created.
- id String
- The provider-assigned unique ID for this managed resource.
- ownership
Verification CustomHostname Ownership Verification - This is a record which can be placed to activate a hostname.
- ownership
Verification CustomHttp Hostname Ownership Verification Http - This presents the token to be served by the given http url to activate a hostname.
- 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".
- verification
Errors List<String> - These are errors that were encountered while trying to activate a hostname.
- created
At string - This is the time the hostname was created.
- id string
- The provider-assigned unique ID for this managed resource.
- ownership
Verification CustomHostname Ownership Verification - This is a record which can be placed to activate a hostname.
- ownership
Verification CustomHttp Hostname Ownership Verification Http - This presents the token to be served by the given http url to activate a hostname.
- 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".
- verification
Errors string[] - These are errors that were encountered while trying to activate a hostname.
- created_
at str - This is the time the hostname was created.
- id str
- The provider-assigned unique ID for this managed resource.
- ownership_
verification CustomHostname Ownership Verification - This is a record which can be placed to activate a hostname.
- ownership_
verification_ Customhttp Hostname Ownership Verification Http - This presents the token to be served by the given http url to activate a hostname.
- 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.
- created
At String - This is the time the hostname was created.
- id String
- The provider-assigned unique ID for this managed resource.
- ownership
Verification Property Map - This is a record which can be placed to activate a hostname.
- ownership
Verification Property MapHttp - This presents the token to be served by the given http url to activate a hostname.
- 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".
- verification
Errors List<String> - These are errors that were encountered while trying to activate a hostname.
Look up Existing CustomHostname Resource
Get an existing CustomHostname 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?: CustomHostnameState, opts?: CustomResourceOptions): CustomHostname
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
custom_metadata: Optional[Mapping[str, str]] = None,
custom_origin_server: Optional[str] = None,
custom_origin_sni: Optional[str] = None,
hostname: Optional[str] = None,
ownership_verification: Optional[CustomHostnameOwnershipVerificationArgs] = None,
ownership_verification_http: Optional[CustomHostnameOwnershipVerificationHttpArgs] = None,
ssl: Optional[CustomHostnameSslArgs] = None,
status: Optional[str] = None,
verification_errors: Optional[Sequence[str]] = None,
zone_id: Optional[str] = None) -> CustomHostname
func GetCustomHostname(ctx *Context, name string, id IDInput, state *CustomHostnameState, opts ...ResourceOption) (*CustomHostname, error)
public static CustomHostname Get(string name, Input<string> id, CustomHostnameState? state, CustomResourceOptions? opts = null)
public static CustomHostname get(String name, Output<String> id, CustomHostnameState state, CustomResourceOptions options)
resources: _: type: cloudflare:CustomHostname 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.
- Created
At string - This is the time the hostname was created.
- Custom
Metadata Dictionary<string, string> - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- Custom
Origin stringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- Custom
Origin stringSni - 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.
- Ownership
Verification CustomHostname Ownership Verification - This is a record which can be placed to activate a hostname.
- Ownership
Verification CustomHttp Hostname Ownership Verification Http - This presents the token to be served by the given http url to activate a hostname.
- Ssl
Custom
Hostname Ssl - SSL properties used when creating the custom hostname.
- 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".
- Verification
Errors List<string> - These are errors that were encountered while trying to activate a hostname.
- Zone
Id string - Identifier
- Created
At string - This is the time the hostname was created.
- Custom
Metadata map[string]string - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- Custom
Origin stringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- Custom
Origin stringSni - 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.
- Ownership
Verification CustomHostname Ownership Verification Args - This is a record which can be placed to activate a hostname.
- Ownership
Verification CustomHttp Hostname Ownership Verification Http Args - This presents the token to be served by the given http url to activate a hostname.
- Ssl
Custom
Hostname Ssl Args - SSL properties used when creating the custom hostname.
- 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".
- Verification
Errors []string - These are errors that were encountered while trying to activate a hostname.
- Zone
Id string - Identifier
- created
At String - This is the time the hostname was created.
- custom
Metadata Map<String,String> - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- custom
Origin StringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- custom
Origin StringSni - 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.
- ownership
Verification CustomHostname Ownership Verification - This is a record which can be placed to activate a hostname.
- ownership
Verification CustomHttp Hostname Ownership Verification Http - This presents the token to be served by the given http url to activate a hostname.
- ssl
Custom
Hostname Ssl - SSL properties used when creating the custom hostname.
- 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".
- verification
Errors List<String> - These are errors that were encountered while trying to activate a hostname.
- zone
Id String - Identifier
- created
At string - This is the time the hostname was created.
- custom
Metadata {[key: string]: string} - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- custom
Origin stringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- custom
Origin stringSni - 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.
- ownership
Verification CustomHostname Ownership Verification - This is a record which can be placed to activate a hostname.
- ownership
Verification CustomHttp Hostname Ownership Verification Http - This presents the token to be served by the given http url to activate a hostname.
- ssl
Custom
Hostname Ssl - SSL properties used when creating the custom hostname.
- 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".
- verification
Errors string[] - These are errors that were encountered while trying to activate a hostname.
- zone
Id string - Identifier
- 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_ strserver - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- custom_
origin_ strsni - 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.
- ownership_
verification CustomHostname Ownership Verification Args - This is a record which can be placed to activate a hostname.
- ownership_
verification_ Customhttp Hostname Ownership Verification Http Args - This presents the token to be served by the given http url to activate a hostname.
- ssl
Custom
Hostname Ssl Args - SSL properties used when creating the custom hostname.
- 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
- created
At String - This is the time the hostname was created.
- custom
Metadata Map<String> - Unique key/value metadata for this hostname. These are per-hostname (customer) settings.
- custom
Origin StringServer - a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.
- custom
Origin StringSni - 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.
- ownership
Verification Property Map - This is a record which can be placed to activate a hostname.
- ownership
Verification Property MapHttp - This presents the token to be served by the given http url to activate a hostname.
- ssl Property Map
- SSL properties used when creating the custom hostname.
- 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".
- verification
Errors List<String> - These are errors that were encountered while trying to activate a hostname.
- zone
Id String - Identifier
Supporting Types
CustomHostnameOwnershipVerification, CustomHostnameOwnershipVerificationArgs
CustomHostnameOwnershipVerificationHttp, CustomHostnameOwnershipVerificationHttpArgs
CustomHostnameSsl, CustomHostnameSslArgs
- Bundle
Method 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".
- string
- The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
- Cloudflare
Branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true
- Custom
Cert List<CustomBundles Hostname Ssl Custom Cert Bundle> - Array of custom certificate and key pairs (1 or 2 pairs allowed)
- Custom
Certificate string - If a custom uploaded certificate is used.
- Custom
Key string - The key for a custom uploaded certificate.
- Method string
- Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
- Settings
Custom
Hostname Ssl Settings - SSL specific settings.
- Type string
- Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
- Wildcard bool
- Indicates whether the certificate covers a wildcard.
- Bundle
Method 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".
- string
- The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
- Cloudflare
Branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true
- Custom
Cert []CustomBundles Hostname Ssl Custom Cert Bundle - Array of custom certificate and key pairs (1 or 2 pairs allowed)
- Custom
Certificate string - If a custom uploaded certificate is used.
- Custom
Key string - The key for a custom uploaded certificate.
- Method string
- Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
- Settings
Custom
Hostname Ssl Settings - SSL specific settings.
- Type string
- Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
- Wildcard bool
- Indicates whether the certificate covers a wildcard.
- bundle
Method 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".
- String
- The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
- cloudflare
Branding Boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true
- custom
Cert List<CustomBundles Hostname Ssl Custom Cert Bundle> - Array of custom certificate and key pairs (1 or 2 pairs allowed)
- custom
Certificate String - If a custom uploaded certificate is used.
- custom
Key String - The key for a custom uploaded certificate.
- method String
- Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
- settings
Custom
Hostname Ssl Settings - SSL specific settings.
- type String
- Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
- wildcard Boolean
- Indicates whether the certificate covers a wildcard.
- bundle
Method 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".
- string
- The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
- cloudflare
Branding boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true
- custom
Cert CustomBundles Hostname Ssl Custom Cert Bundle[] - Array of custom certificate and key pairs (1 or 2 pairs allowed)
- custom
Certificate string - If a custom uploaded certificate is used.
- custom
Key string - The key for a custom uploaded certificate.
- method string
- Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
- settings
Custom
Hostname Ssl Settings - SSL specific settings.
- type string
- Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
- wildcard boolean
- Indicates whether the certificate covers a wildcard.
- bundle_
method 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".
- str
- The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
- cloudflare_
branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true
- custom_
cert_ Sequence[Custombundles Hostname Ssl Custom Cert Bundle] - Array of custom certificate and key pairs (1 or 2 pairs allowed)
- custom_
certificate str - If a custom uploaded certificate is used.
- custom_
key str - The key for a custom uploaded certificate.
- method str
- Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
- settings
Custom
Hostname Ssl Settings - SSL specific settings.
- type str
- Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
- wildcard bool
- Indicates whether the certificate covers a wildcard.
- bundle
Method 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".
- String
- The Certificate Authority that will issue the certificate Available values: "digicert", "google", "letsencrypt", "sslcom".
- cloudflare
Branding Boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true
- custom
Cert List<Property Map>Bundles - Array of custom certificate and key pairs (1 or 2 pairs allowed)
- custom
Certificate String - If a custom uploaded certificate is used.
- custom
Key String - The key for a custom uploaded certificate.
- method String
- Domain control validation (DCV) method used for this hostname. Available values: "http", "txt", "email".
- settings Property Map
- SSL specific settings.
- type String
- Level of validation to be used for this hostname. Domain validation (dv) must be used. Available values: "dv".
- wildcard Boolean
- Indicates whether the certificate covers a wildcard.
CustomHostnameSslCustomCertBundle, CustomHostnameSslCustomCertBundleArgs
- Custom
Certificate string - If a custom uploaded certificate is used.
- Custom
Key string - The key for a custom uploaded certificate.
- Custom
Certificate string - If a custom uploaded certificate is used.
- Custom
Key string - The key for a custom uploaded certificate.
- custom
Certificate String - If a custom uploaded certificate is used.
- custom
Key String - The key for a custom uploaded certificate.
- custom
Certificate string - If a custom uploaded certificate is used.
- custom
Key string - The key for a custom uploaded certificate.
- custom_
certificate str - If a custom uploaded certificate is used.
- custom_
key str - The key for a custom uploaded certificate.
- custom
Certificate String - If a custom uploaded certificate is used.
- custom
Key String - The key for a custom uploaded certificate.
CustomHostnameSslSettings, CustomHostnameSslSettingsArgs
- Ciphers List<string>
- An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
- Early
Hints string - Whether or not Early Hints is enabled. Available values: "on", "off".
- Http2 string
- Whether or not HTTP2 is enabled. Available values: "on", "off".
- Min
Tls stringVersion - The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
- Tls13 string
- Whether or not TLS 1.3 is enabled. Available values: "on", "off".
- Ciphers []string
- An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
- Early
Hints string - Whether or not Early Hints is enabled. Available values: "on", "off".
- Http2 string
- Whether or not HTTP2 is enabled. Available values: "on", "off".
- Min
Tls stringVersion - The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
- Tls13 string
- Whether or not TLS 1.3 is enabled. Available values: "on", "off".
- ciphers List<String>
- An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
- early
Hints String - Whether or not Early Hints is enabled. Available values: "on", "off".
- http2 String
- Whether or not HTTP2 is enabled. Available values: "on", "off".
- min
Tls StringVersion - The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
- tls13 String
- Whether or not TLS 1.3 is enabled. Available values: "on", "off".
- ciphers string[]
- An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
- early
Hints string - Whether or not Early Hints is enabled. Available values: "on", "off".
- http2 string
- Whether or not HTTP2 is enabled. Available values: "on", "off".
- min
Tls stringVersion - The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
- tls13 string
- Whether or not TLS 1.3 is enabled. Available values: "on", "off".
- ciphers Sequence[str]
- An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
- early_
hints str - Whether or not Early Hints is enabled. Available values: "on", "off".
- http2 str
- Whether or not HTTP2 is enabled. Available values: "on", "off".
- min_
tls_ strversion - The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
- tls13 str
- Whether or not TLS 1.3 is enabled. Available values: "on", "off".
- ciphers List<String>
- An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
- early
Hints String - Whether or not Early Hints is enabled. Available values: "on", "off".
- http2 String
- Whether or not HTTP2 is enabled. Available values: "on", "off".
- min
Tls StringVersion - The minimum TLS version supported. Available values: "1.0", "1.1", "1.2", "1.3".
- tls13 String
- Whether or not TLS 1.3 is enabled. Available values: "on", "off".
Import
$ pulumi import cloudflare:index/customHostname:CustomHostname example '<zone_id>/<custom_hostname_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.