cloudflare.CustomHostname
Explore with Pulumi AI
Provides a Cloudflare custom hostname (also known as SSL for SaaS) resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const example = new cloudflare.CustomHostname("example", {
zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
hostname: "hostname.example.com",
ssls: [{
method: "txt",
}],
});
import pulumi
import pulumi_cloudflare as cloudflare
example = cloudflare.CustomHostname("example",
zone_id="0da42c8d2132a9ddaf714f9e7c920711",
hostname="hostname.example.com",
ssls=[{
"method": "txt",
}])
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewCustomHostname(ctx, "example", &cloudflare.CustomHostnameArgs{
ZoneId: pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
Hostname: pulumi.String("hostname.example.com"),
Ssls: cloudflare.CustomHostnameSslArray{
&cloudflare.CustomHostnameSslArgs{
Method: pulumi.String("txt"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var example = new Cloudflare.CustomHostname("example", new()
{
ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
Hostname = "hostname.example.com",
Ssls = new[]
{
new Cloudflare.Inputs.CustomHostnameSslArgs
{
Method = "txt",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CustomHostname;
import com.pulumi.cloudflare.CustomHostnameArgs;
import com.pulumi.cloudflare.inputs.CustomHostnameSslArgs;
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 example = new CustomHostname("example", CustomHostnameArgs.builder()
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.hostname("hostname.example.com")
.ssls(CustomHostnameSslArgs.builder()
.method("txt")
.build())
.build());
}
}
resources:
example:
type: cloudflare:CustomHostname
properties:
zoneId: 0da42c8d2132a9ddaf714f9e7c920711
hostname: hostname.example.com
ssls:
- method: txt
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,
zone_id: Optional[str] = None,
custom_metadata: Optional[Mapping[str, str]] = None,
custom_origin_server: Optional[str] = None,
custom_origin_sni: Optional[str] = None,
ssls: Optional[Sequence[CustomHostnameSslArgs]] = None,
wait_for_ssl_pending_validation: Optional[bool] = 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",
ZoneId = "string",
CustomMetadata =
{
{ "string", "string" },
},
CustomOriginServer = "string",
CustomOriginSni = "string",
Ssls = new[]
{
new Cloudflare.Inputs.CustomHostnameSslArgs
{
BundleMethod = "string",
CertificateAuthority = "string",
CustomCertificate = "string",
CustomKey = "string",
Method = "string",
Settings = new[]
{
new Cloudflare.Inputs.CustomHostnameSslSettingArgs
{
Ciphers = new[]
{
"string",
},
EarlyHints = "string",
Http2 = "string",
MinTlsVersion = "string",
Tls13 = "string",
},
},
Status = "string",
Type = "string",
ValidationErrors = new[]
{
new Cloudflare.Inputs.CustomHostnameSslValidationErrorArgs
{
Message = "string",
},
},
ValidationRecords = new[]
{
new Cloudflare.Inputs.CustomHostnameSslValidationRecordArgs
{
CnameName = "string",
CnameTarget = "string",
Emails = new[]
{
"string",
},
HttpBody = "string",
HttpUrl = "string",
TxtName = "string",
TxtValue = "string",
},
},
Wildcard = false,
},
},
WaitForSslPendingValidation = false,
});
example, err := cloudflare.NewCustomHostname(ctx, "customHostnameResource", &cloudflare.CustomHostnameArgs{
Hostname: pulumi.String("string"),
ZoneId: pulumi.String("string"),
CustomMetadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
CustomOriginServer: pulumi.String("string"),
CustomOriginSni: pulumi.String("string"),
Ssls: cloudflare.CustomHostnameSslArray{
&cloudflare.CustomHostnameSslArgs{
BundleMethod: pulumi.String("string"),
CertificateAuthority: pulumi.String("string"),
CustomCertificate: pulumi.String("string"),
CustomKey: pulumi.String("string"),
Method: pulumi.String("string"),
Settings: cloudflare.CustomHostnameSslSettingArray{
&cloudflare.CustomHostnameSslSettingArgs{
Ciphers: pulumi.StringArray{
pulumi.String("string"),
},
EarlyHints: pulumi.String("string"),
Http2: pulumi.String("string"),
MinTlsVersion: pulumi.String("string"),
Tls13: pulumi.String("string"),
},
},
Status: pulumi.String("string"),
Type: pulumi.String("string"),
ValidationErrors: cloudflare.CustomHostnameSslValidationErrorArray{
&cloudflare.CustomHostnameSslValidationErrorArgs{
Message: pulumi.String("string"),
},
},
ValidationRecords: cloudflare.CustomHostnameSslValidationRecordArray{
&cloudflare.CustomHostnameSslValidationRecordArgs{
CnameName: pulumi.String("string"),
CnameTarget: pulumi.String("string"),
Emails: pulumi.StringArray{
pulumi.String("string"),
},
HttpBody: pulumi.String("string"),
HttpUrl: pulumi.String("string"),
TxtName: pulumi.String("string"),
TxtValue: pulumi.String("string"),
},
},
Wildcard: pulumi.Bool(false),
},
},
WaitForSslPendingValidation: pulumi.Bool(false),
})
var customHostnameResource = new CustomHostname("customHostnameResource", CustomHostnameArgs.builder()
.hostname("string")
.zoneId("string")
.customMetadata(Map.of("string", "string"))
.customOriginServer("string")
.customOriginSni("string")
.ssls(CustomHostnameSslArgs.builder()
.bundleMethod("string")
.certificateAuthority("string")
.customCertificate("string")
.customKey("string")
.method("string")
.settings(CustomHostnameSslSettingArgs.builder()
.ciphers("string")
.earlyHints("string")
.http2("string")
.minTlsVersion("string")
.tls13("string")
.build())
.status("string")
.type("string")
.validationErrors(CustomHostnameSslValidationErrorArgs.builder()
.message("string")
.build())
.validationRecords(CustomHostnameSslValidationRecordArgs.builder()
.cnameName("string")
.cnameTarget("string")
.emails("string")
.httpBody("string")
.httpUrl("string")
.txtName("string")
.txtValue("string")
.build())
.wildcard(false)
.build())
.waitForSslPendingValidation(false)
.build());
custom_hostname_resource = cloudflare.CustomHostname("customHostnameResource",
hostname="string",
zone_id="string",
custom_metadata={
"string": "string",
},
custom_origin_server="string",
custom_origin_sni="string",
ssls=[{
"bundle_method": "string",
"certificate_authority": "string",
"custom_certificate": "string",
"custom_key": "string",
"method": "string",
"settings": [{
"ciphers": ["string"],
"early_hints": "string",
"http2": "string",
"min_tls_version": "string",
"tls13": "string",
}],
"status": "string",
"type": "string",
"validation_errors": [{
"message": "string",
}],
"validation_records": [{
"cname_name": "string",
"cname_target": "string",
"emails": ["string"],
"http_body": "string",
"http_url": "string",
"txt_name": "string",
"txt_value": "string",
}],
"wildcard": False,
}],
wait_for_ssl_pending_validation=False)
const customHostnameResource = new cloudflare.CustomHostname("customHostnameResource", {
hostname: "string",
zoneId: "string",
customMetadata: {
string: "string",
},
customOriginServer: "string",
customOriginSni: "string",
ssls: [{
bundleMethod: "string",
certificateAuthority: "string",
customCertificate: "string",
customKey: "string",
method: "string",
settings: [{
ciphers: ["string"],
earlyHints: "string",
http2: "string",
minTlsVersion: "string",
tls13: "string",
}],
status: "string",
type: "string",
validationErrors: [{
message: "string",
}],
validationRecords: [{
cnameName: "string",
cnameTarget: "string",
emails: ["string"],
httpBody: "string",
httpUrl: "string",
txtName: "string",
txtValue: "string",
}],
wildcard: false,
}],
waitForSslPendingValidation: false,
});
type: cloudflare:CustomHostname
properties:
customMetadata:
string: string
customOriginServer: string
customOriginSni: string
hostname: string
ssls:
- bundleMethod: string
certificateAuthority: string
customCertificate: string
customKey: string
method: string
settings:
- ciphers:
- string
earlyHints: string
http2: string
minTlsVersion: string
tls13: string
status: string
type: string
validationErrors:
- message: string
validationRecords:
- cnameName: string
cnameTarget: string
emails:
- string
httpBody: string
httpUrl: string
txtName: string
txtValue: string
wildcard: false
waitForSslPendingValidation: 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
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- Custom
Metadata Dictionary<string, string> - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- Custom
Origin stringServer - The custom origin server used for certificates.
- Custom
Origin stringSni - The custom origin SNI used for certificates.
- Ssls
List<Custom
Hostname Ssl> - SSL properties used when creating the custom hostname.
- Wait
For boolSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
.
- Hostname string
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- Custom
Metadata map[string]string - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- Custom
Origin stringServer - The custom origin server used for certificates.
- Custom
Origin stringSni - The custom origin SNI used for certificates.
- Ssls
[]Custom
Hostname Ssl Args - SSL properties used when creating the custom hostname.
- Wait
For boolSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
.
- hostname String
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- custom
Metadata Map<String,String> - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- custom
Origin StringServer - The custom origin server used for certificates.
- custom
Origin StringSni - The custom origin SNI used for certificates.
- ssls
List<Custom
Hostname Ssl> - SSL properties used when creating the custom hostname.
- wait
For BooleanSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
.
- hostname string
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- custom
Metadata {[key: string]: string} - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- custom
Origin stringServer - The custom origin server used for certificates.
- custom
Origin stringSni - The custom origin SNI used for certificates.
- ssls
Custom
Hostname Ssl[] - SSL properties used when creating the custom hostname.
- wait
For booleanSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
.
- hostname str
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- zone_
id str - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- custom_
metadata Mapping[str, str] - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- custom_
origin_ strserver - The custom origin server used for certificates.
- custom_
origin_ strsni - The custom origin SNI used for certificates.
- ssls
Sequence[Custom
Hostname Ssl Args] - SSL properties used when creating the custom hostname.
- wait_
for_ boolssl_ pending_ validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
.
- hostname String
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- custom
Metadata Map<String> - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- custom
Origin StringServer - The custom origin server used for certificates.
- custom
Origin StringSni - The custom origin SNI used for certificates.
- ssls List<Property Map>
- SSL properties used when creating the custom hostname.
- wait
For BooleanSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomHostname resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ownership
Verification Dictionary<string, string> - Ownership
Verification Dictionary<string, string>Http - Status string
- Status of the certificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ownership
Verification map[string]string - Ownership
Verification map[string]stringHttp - Status string
- Status of the certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- ownership
Verification Map<String,String> - ownership
Verification Map<String,String>Http - status String
- Status of the certificate.
- id string
- The provider-assigned unique ID for this managed resource.
- ownership
Verification {[key: string]: string} - ownership
Verification {[key: string]: string}Http - status string
- Status of the certificate.
- id str
- The provider-assigned unique ID for this managed resource.
- ownership_
verification Mapping[str, str] - ownership_
verification_ Mapping[str, str]http - status str
- Status of the certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- ownership
Verification Map<String> - ownership
Verification Map<String>Http - status String
- Status of the certificate.
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,
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[Mapping[str, str]] = None,
ownership_verification_http: Optional[Mapping[str, str]] = None,
ssls: Optional[Sequence[CustomHostnameSslArgs]] = None,
status: Optional[str] = None,
wait_for_ssl_pending_validation: Optional[bool] = 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)
Resource lookup is not supported in YAML
- 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.
- Custom
Metadata Dictionary<string, string> - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- Custom
Origin stringServer - The custom origin server used for certificates.
- Custom
Origin stringSni - The custom origin SNI used for certificates.
- Hostname string
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- Ownership
Verification Dictionary<string, string> - Ownership
Verification Dictionary<string, string>Http - Ssls
List<Custom
Hostname Ssl> - SSL properties used when creating the custom hostname.
- Status string
- Status of the certificate.
- Wait
For boolSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
. - Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- Custom
Metadata map[string]string - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- Custom
Origin stringServer - The custom origin server used for certificates.
- Custom
Origin stringSni - The custom origin SNI used for certificates.
- Hostname string
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- Ownership
Verification map[string]string - Ownership
Verification map[string]stringHttp - Ssls
[]Custom
Hostname Ssl Args - SSL properties used when creating the custom hostname.
- Status string
- Status of the certificate.
- Wait
For boolSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
. - Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- custom
Metadata Map<String,String> - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- custom
Origin StringServer - The custom origin server used for certificates.
- custom
Origin StringSni - The custom origin SNI used for certificates.
- hostname String
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- ownership
Verification Map<String,String> - ownership
Verification Map<String,String>Http - ssls
List<Custom
Hostname Ssl> - SSL properties used when creating the custom hostname.
- status String
- Status of the certificate.
- wait
For BooleanSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
. - zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- custom
Metadata {[key: string]: string} - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- custom
Origin stringServer - The custom origin server used for certificates.
- custom
Origin stringSni - The custom origin SNI used for certificates.
- hostname string
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- ownership
Verification {[key: string]: string} - ownership
Verification {[key: string]: string}Http - ssls
Custom
Hostname Ssl[] - SSL properties used when creating the custom hostname.
- status string
- Status of the certificate.
- wait
For booleanSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
. - zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- custom_
metadata Mapping[str, str] - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- custom_
origin_ strserver - The custom origin server used for certificates.
- custom_
origin_ strsni - The custom origin SNI used for certificates.
- hostname str
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- ownership_
verification Mapping[str, str] - ownership_
verification_ Mapping[str, str]http - ssls
Sequence[Custom
Hostname Ssl Args] - SSL properties used when creating the custom hostname.
- status str
- Status of the certificate.
- wait_
for_ boolssl_ pending_ validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
. - zone_
id str - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- custom
Metadata Map<String> - Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly.
- custom
Origin StringServer - The custom origin server used for certificates.
- custom
Origin StringSni - The custom origin SNI used for certificates.
- hostname String
- Hostname you intend to request a certificate for. Modifying this attribute will force creation of a new resource.
- ownership
Verification Map<String> - ownership
Verification Map<String>Http - ssls List<Property Map>
- SSL properties used when creating the custom hostname.
- status String
- Status of the certificate.
- wait
For BooleanSsl Pending Validation - Whether to wait for a custom hostname SSL sub-object to reach status
pending_validation
during creation. Defaults tofalse
. - zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
Supporting Types
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
- 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
List<Custom
Hostname Ssl Setting> - SSL/TLS settings for the certificate.
- Status string
- Type string
- Level of validation to be used for this hostname. Available values:
dv
. Defaults todv
. - Validation
Errors List<CustomHostname Ssl Validation Error> - Validation
Records List<CustomHostname Ssl Validation Record> - 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
- 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 Setting - SSL/TLS settings for the certificate.
- Status string
- Type string
- Level of validation to be used for this hostname. Available values:
dv
. Defaults todv
. - Validation
Errors []CustomHostname Ssl Validation Error - Validation
Records []CustomHostname Ssl Validation Record - 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
- 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
List<Custom
Hostname Ssl Setting> - SSL/TLS settings for the certificate.
- status String
- type String
- Level of validation to be used for this hostname. Available values:
dv
. Defaults todv
. - validation
Errors List<CustomHostname Ssl Validation Error> - validation
Records List<CustomHostname Ssl Validation Record> - 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
- 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 Setting[] - SSL/TLS settings for the certificate.
- status string
- type string
- Level of validation to be used for this hostname. Available values:
dv
. Defaults todv
. - validation
Errors CustomHostname Ssl Validation Error[] - validation
Records CustomHostname Ssl Validation Record[] - 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
- 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
Sequence[Custom
Hostname Ssl Setting] - SSL/TLS settings for the certificate.
- status str
- type str
- Level of validation to be used for this hostname. Available values:
dv
. Defaults todv
. - validation_
errors Sequence[CustomHostname Ssl Validation Error] - validation_
records Sequence[CustomHostname Ssl Validation Record] - 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
- 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 List<Property Map>
- SSL/TLS settings for the certificate.
- status String
- type String
- Level of validation to be used for this hostname. Available values:
dv
. Defaults todv
. - validation
Errors List<Property Map> - validation
Records List<Property Map> - wildcard Boolean
- Indicates whether the certificate covers a wildcard.
CustomHostnameSslSetting, CustomHostnameSslSettingArgs
- Ciphers List<string>
- List of SSL/TLS ciphers to associate with this certificate.
- Early
Hints string - Whether early hints should be supported. Available values:
on
,off
. - Http2 string
- Whether HTTP2 should be supported. Available values:
on
,off
. - Min
Tls stringVersion - Lowest version of TLS this certificate should support. Available values:
1.0
,1.1
,1.2
,1.3
. - Tls13 string
- Whether TLSv1.3 should be supported. Available values:
on
,off
.
- Ciphers []string
- List of SSL/TLS ciphers to associate with this certificate.
- Early
Hints string - Whether early hints should be supported. Available values:
on
,off
. - Http2 string
- Whether HTTP2 should be supported. Available values:
on
,off
. - Min
Tls stringVersion - Lowest version of TLS this certificate should support. Available values:
1.0
,1.1
,1.2
,1.3
. - Tls13 string
- Whether TLSv1.3 should be supported. Available values:
on
,off
.
- ciphers List<String>
- List of SSL/TLS ciphers to associate with this certificate.
- early
Hints String - Whether early hints should be supported. Available values:
on
,off
. - http2 String
- Whether HTTP2 should be supported. Available values:
on
,off
. - min
Tls StringVersion - Lowest version of TLS this certificate should support. Available values:
1.0
,1.1
,1.2
,1.3
. - tls13 String
- Whether TLSv1.3 should be supported. Available values:
on
,off
.
- ciphers string[]
- List of SSL/TLS ciphers to associate with this certificate.
- early
Hints string - Whether early hints should be supported. Available values:
on
,off
. - http2 string
- Whether HTTP2 should be supported. Available values:
on
,off
. - min
Tls stringVersion - Lowest version of TLS this certificate should support. Available values:
1.0
,1.1
,1.2
,1.3
. - tls13 string
- Whether TLSv1.3 should be supported. Available values:
on
,off
.
- ciphers Sequence[str]
- List of SSL/TLS ciphers to associate with this certificate.
- early_
hints str - Whether early hints should be supported. Available values:
on
,off
. - http2 str
- Whether HTTP2 should be supported. Available values:
on
,off
. - min_
tls_ strversion - Lowest version of TLS this certificate should support. Available values:
1.0
,1.1
,1.2
,1.3
. - tls13 str
- Whether TLSv1.3 should be supported. Available values:
on
,off
.
- ciphers List<String>
- List of SSL/TLS ciphers to associate with this certificate.
- early
Hints String - Whether early hints should be supported. Available values:
on
,off
. - http2 String
- Whether HTTP2 should be supported. Available values:
on
,off
. - min
Tls StringVersion - Lowest version of TLS this certificate should support. Available values:
1.0
,1.1
,1.2
,1.3
. - tls13 String
- Whether TLSv1.3 should be supported. Available values:
on
,off
.
CustomHostnameSslValidationError, CustomHostnameSslValidationErrorArgs
- Message string
- Message string
- message String
- message string
- message str
- message String
CustomHostnameSslValidationRecord, CustomHostnameSslValidationRecordArgs
- cname_
name str - cname_
target str - emails Sequence[str]
- http_
body str - http_
url str - txt_
name str - txt_
value str
Import
$ pulumi import cloudflare:index/customHostname:CustomHostname example 1d5fdc9e88c8a8c4518b068cd94331fe/0d89c70d-ad9f-4843-b99f-6cc0252067e9
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.