cloudflare.CustomSsl
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCustomSsl = new cloudflare.CustomSsl("example_custom_ssl", {
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
certificate: ` -----BEGIN CERTIFICATE-----
MIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1
CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB
KwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5
0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI
dZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2
izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4
9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI
GKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV
BAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/P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ni_custom",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_custom_ssl = cloudflare.CustomSsl("example_custom_ssl",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
certificate=""" -----BEGIN CERTIFICATE-----
MIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1
CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB
KwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5
0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI
dZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2
izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4
9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI
GKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV
BAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/PWMAwGA1UdEwQF
MAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHHFw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rTkf/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-----
""",
bundle_method="ubiquitous",
geo_restrictions={
"label": "us",
},
policy="(country: US) or (region: EU)",
type="sni_custom")
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.NewCustomSsl(ctx, "example_custom_ssl", &cloudflare.CustomSslArgs{
ZoneId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
Certificate: pulumi.String(` -----BEGIN CERTIFICATE-----
MIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1
CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB
KwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5
0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI
dZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2
izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4
9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI
GKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV
BAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJ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flare.CustomSslGeoRestrictionsArgs{
Label: pulumi.String("us"),
},
Policy: pulumi.String("(country: US) or (region: EU)"),
Type: pulumi.String("sni_custom"),
})
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 exampleCustomSsl = new Cloudflare.CustomSsl("example_custom_ssl", new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
Certificate = @" -----BEGIN CERTIFICATE-----
MIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1
CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB
KwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5
0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI
dZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2
izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4
9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI
GKFJpEc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3qXMxHMO/b13EePXpDMpY7HQpoLDi
-----END RSA PRIVATE KEY-----
",
BundleMethod = "ubiquitous",
GeoRestrictions = new Cloudflare.Inputs.CustomSslGeoRestrictionsArgs
{
Label = "us",
},
Policy = "(country: US) or (region: EU)",
Type = "sni_custom",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CustomSsl;
import com.pulumi.cloudflare.CustomSslArgs;
import com.pulumi.cloudflare.inputs.CustomSslGeoRestrictionsArgs;
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 exampleCustomSsl = new CustomSsl("exampleCustomSsl", CustomSslArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.certificate("""
-----BEGIN CERTIFICATE-----
MIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1
CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB
KwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5
0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4na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fEVe
PG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS
fhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W
qu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T
lv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi
-----END RSA PRIVATE KEY-----
""")
.bundleMethod("ubiquitous")
.geoRestrictions(CustomSslGeoRestrictionsArgs.builder()
.label("us")
.build())
.policy("(country: US) or (region: EU)")
.type("sni_custom")
.build());
}
}
resources:
exampleCustomSsl:
type: cloudflare:CustomSsl
name: example_custom_ssl
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
certificate: |2+
-----BEGIN CERTIFICATE-----
MIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1
CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB
KwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5
0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbE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mWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS
fhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W
qu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T
lv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi
-----END RSA PRIVATE KEY-----
bundleMethod: ubiquitous
geoRestrictions:
label: us
policy: '(country: US) or (region: EU)'
type: sni_custom
Create CustomSsl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomSsl(name: string, args: CustomSslArgs, opts?: CustomResourceOptions);
@overload
def CustomSsl(resource_name: str,
args: CustomSslArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomSsl(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
private_key: Optional[str] = None,
zone_id: Optional[str] = None,
bundle_method: Optional[str] = None,
geo_restrictions: Optional[CustomSslGeoRestrictionsArgs] = None,
policy: Optional[str] = None,
type: Optional[str] = None)
func NewCustomSsl(ctx *Context, name string, args CustomSslArgs, opts ...ResourceOption) (*CustomSsl, error)
public CustomSsl(string name, CustomSslArgs args, CustomResourceOptions? opts = null)
public CustomSsl(String name, CustomSslArgs args)
public CustomSsl(String name, CustomSslArgs args, CustomResourceOptions options)
type: cloudflare:CustomSsl
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 CustomSslArgs
- 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 CustomSslArgs
- 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 CustomSslArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomSslArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomSslArgs
- 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 customSslResource = new Cloudflare.CustomSsl("customSslResource", new()
{
Certificate = "string",
PrivateKey = "string",
ZoneId = "string",
BundleMethod = "string",
GeoRestrictions = new Cloudflare.Inputs.CustomSslGeoRestrictionsArgs
{
Label = "string",
},
Policy = "string",
Type = "string",
});
example, err := cloudflare.NewCustomSsl(ctx, "customSslResource", &cloudflare.CustomSslArgs{
Certificate: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
ZoneId: pulumi.String("string"),
BundleMethod: pulumi.String("string"),
GeoRestrictions: &cloudflare.CustomSslGeoRestrictionsArgs{
Label: pulumi.String("string"),
},
Policy: pulumi.String("string"),
Type: pulumi.String("string"),
})
var customSslResource = new CustomSsl("customSslResource", CustomSslArgs.builder()
.certificate("string")
.privateKey("string")
.zoneId("string")
.bundleMethod("string")
.geoRestrictions(CustomSslGeoRestrictionsArgs.builder()
.label("string")
.build())
.policy("string")
.type("string")
.build());
custom_ssl_resource = cloudflare.CustomSsl("customSslResource",
certificate="string",
private_key="string",
zone_id="string",
bundle_method="string",
geo_restrictions={
"label": "string",
},
policy="string",
type="string")
const customSslResource = new cloudflare.CustomSsl("customSslResource", {
certificate: "string",
privateKey: "string",
zoneId: "string",
bundleMethod: "string",
geoRestrictions: {
label: "string",
},
policy: "string",
type: "string",
});
type: cloudflare:CustomSsl
properties:
bundleMethod: string
certificate: string
geoRestrictions:
label: string
policy: string
privateKey: string
type: string
zoneId: string
CustomSsl 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 CustomSsl resource accepts the following input properties:
- Certificate string
- The zone's SSL certificate or certificate and the intermediate(s).
- Private
Key string - The zone's private key.
- Zone
Id string - Identifier
- 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".
- Geo
Restrictions CustomSsl Geo Restrictions - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- Policy string
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- Type string
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- Certificate string
- The zone's SSL certificate or certificate and the intermediate(s).
- Private
Key string - The zone's private key.
- Zone
Id string - Identifier
- 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".
- Geo
Restrictions CustomSsl Geo Restrictions Args - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- Policy string
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- Type string
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- certificate String
- The zone's SSL certificate or certificate and the intermediate(s).
- private
Key String - The zone's private key.
- zone
Id String - Identifier
- 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".
- geo
Restrictions CustomSsl Geo Restrictions - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- policy String
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- type String
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- certificate string
- The zone's SSL certificate or certificate and the intermediate(s).
- private
Key string - The zone's private key.
- zone
Id string - Identifier
- 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".
- geo
Restrictions CustomSsl Geo Restrictions - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- policy string
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- type string
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- certificate str
- The zone's SSL certificate or certificate and the intermediate(s).
- private_
key str - The zone's private key.
- zone_
id str - Identifier
- 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".
- geo_
restrictions CustomSsl Geo Restrictions Args - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- policy str
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- type str
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- certificate String
- The zone's SSL certificate or certificate and the intermediate(s).
- private
Key String - The zone's private key.
- zone
Id String - Identifier
- 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".
- geo
Restrictions Property Map - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- policy String
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- type String
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomSsl resource produces the following output properties:
- Expires
On string - When the certificate from the authority expires.
- Hosts List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuer string
- The certificate authority that issued the certificate.
- Keyless
Server CustomSsl Keyless Server - Modified
On string - When the certificate was last modified.
- Priority double
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- Signature string
- The type of hash used for the certificate.
- Status string
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- Uploaded
On string - When the certificate was uploaded to Cloudflare.
- Expires
On string - When the certificate from the authority expires.
- Hosts []string
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuer string
- The certificate authority that issued the certificate.
- Keyless
Server CustomSsl Keyless Server - Modified
On string - When the certificate was last modified.
- Priority float64
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- Signature string
- The type of hash used for the certificate.
- Status string
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- Uploaded
On string - When the certificate was uploaded to Cloudflare.
- expires
On String - When the certificate from the authority expires.
- hosts List<String>
- id String
- The provider-assigned unique ID for this managed resource.
- issuer String
- The certificate authority that issued the certificate.
- keyless
Server CustomSsl Keyless Server - modified
On String - When the certificate was last modified.
- priority Double
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- signature String
- The type of hash used for the certificate.
- status String
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- uploaded
On String - When the certificate was uploaded to Cloudflare.
- expires
On string - When the certificate from the authority expires.
- hosts string[]
- id string
- The provider-assigned unique ID for this managed resource.
- issuer string
- The certificate authority that issued the certificate.
- keyless
Server CustomSsl Keyless Server - modified
On string - When the certificate was last modified.
- priority number
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- signature string
- The type of hash used for the certificate.
- status string
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- uploaded
On string - When the certificate was uploaded to Cloudflare.
- expires_
on str - When the certificate from the authority expires.
- hosts Sequence[str]
- id str
- The provider-assigned unique ID for this managed resource.
- issuer str
- The certificate authority that issued the certificate.
- keyless_
server CustomSsl Keyless Server - modified_
on str - When the certificate was last modified.
- priority float
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- signature str
- The type of hash used for the certificate.
- status str
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- uploaded_
on str - When the certificate was uploaded to Cloudflare.
- expires
On String - When the certificate from the authority expires.
- hosts List<String>
- id String
- The provider-assigned unique ID for this managed resource.
- issuer String
- The certificate authority that issued the certificate.
- keyless
Server Property Map - modified
On String - When the certificate was last modified.
- priority Number
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- signature String
- The type of hash used for the certificate.
- status String
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- uploaded
On String - When the certificate was uploaded to Cloudflare.
Look up Existing CustomSsl Resource
Get an existing CustomSsl 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?: CustomSslState, opts?: CustomResourceOptions): CustomSsl
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bundle_method: Optional[str] = None,
certificate: Optional[str] = None,
expires_on: Optional[str] = None,
geo_restrictions: Optional[CustomSslGeoRestrictionsArgs] = None,
hosts: Optional[Sequence[str]] = None,
issuer: Optional[str] = None,
keyless_server: Optional[CustomSslKeylessServerArgs] = None,
modified_on: Optional[str] = None,
policy: Optional[str] = None,
priority: Optional[float] = None,
private_key: Optional[str] = None,
signature: Optional[str] = None,
status: Optional[str] = None,
type: Optional[str] = None,
uploaded_on: Optional[str] = None,
zone_id: Optional[str] = None) -> CustomSsl
func GetCustomSsl(ctx *Context, name string, id IDInput, state *CustomSslState, opts ...ResourceOption) (*CustomSsl, error)
public static CustomSsl Get(string name, Input<string> id, CustomSslState? state, CustomResourceOptions? opts = null)
public static CustomSsl get(String name, Output<String> id, CustomSslState state, CustomResourceOptions options)
resources: _: type: cloudflare:CustomSsl 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.
- 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".
- Certificate string
- The zone's SSL certificate or certificate and the intermediate(s).
- Expires
On string - When the certificate from the authority expires.
- Geo
Restrictions CustomSsl Geo Restrictions - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- Hosts List<string>
- Issuer string
- The certificate authority that issued the certificate.
- Keyless
Server CustomSsl Keyless Server - Modified
On string - When the certificate was last modified.
- Policy string
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- Priority double
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- Private
Key string - The zone's private key.
- Signature string
- The type of hash used for the certificate.
- Status string
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- Type string
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- Uploaded
On string - When the certificate was uploaded to Cloudflare.
- Zone
Id string - Identifier
- 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".
- Certificate string
- The zone's SSL certificate or certificate and the intermediate(s).
- Expires
On string - When the certificate from the authority expires.
- Geo
Restrictions CustomSsl Geo Restrictions Args - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- Hosts []string
- Issuer string
- The certificate authority that issued the certificate.
- Keyless
Server CustomSsl Keyless Server Args - Modified
On string - When the certificate was last modified.
- Policy string
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- Priority float64
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- Private
Key string - The zone's private key.
- Signature string
- The type of hash used for the certificate.
- Status string
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- Type string
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- Uploaded
On string - When the certificate was uploaded to Cloudflare.
- Zone
Id string - Identifier
- 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".
- certificate String
- The zone's SSL certificate or certificate and the intermediate(s).
- expires
On String - When the certificate from the authority expires.
- geo
Restrictions CustomSsl Geo Restrictions - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- hosts List<String>
- issuer String
- The certificate authority that issued the certificate.
- keyless
Server CustomSsl Keyless Server - modified
On String - When the certificate was last modified.
- policy String
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- priority Double
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- private
Key String - The zone's private key.
- signature String
- The type of hash used for the certificate.
- status String
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- type String
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- uploaded
On String - When the certificate was uploaded to Cloudflare.
- zone
Id String - Identifier
- 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".
- certificate string
- The zone's SSL certificate or certificate and the intermediate(s).
- expires
On string - When the certificate from the authority expires.
- geo
Restrictions CustomSsl Geo Restrictions - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- hosts string[]
- issuer string
- The certificate authority that issued the certificate.
- keyless
Server CustomSsl Keyless Server - modified
On string - When the certificate was last modified.
- policy string
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- priority number
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- private
Key string - The zone's private key.
- signature string
- The type of hash used for the certificate.
- status string
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- type string
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- uploaded
On string - When the certificate was uploaded to Cloudflare.
- zone
Id string - Identifier
- 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".
- certificate str
- The zone's SSL certificate or certificate and the intermediate(s).
- expires_
on str - When the certificate from the authority expires.
- geo_
restrictions CustomSsl Geo Restrictions Args - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- hosts Sequence[str]
- issuer str
- The certificate authority that issued the certificate.
- keyless_
server CustomSsl Keyless Server Args - modified_
on str - When the certificate was last modified.
- policy str
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- priority float
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- private_
key str - The zone's private key.
- signature str
- The type of hash used for the certificate.
- status str
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- type str
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- uploaded_
on str - When the certificate was uploaded to Cloudflare.
- zone_
id str - Identifier
- 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".
- certificate String
- The zone's SSL certificate or certificate and the intermediate(s).
- expires
On String - When the certificate from the authority expires.
- geo
Restrictions Property Map - Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.
- hosts List<String>
- issuer String
- The certificate authority that issued the certificate.
- keyless
Server Property Map - modified
On String - When the certificate was last modified.
- policy String
- Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO3166-1alpha-2#Officiallyassignedcode_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.
- priority Number
- The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacycustom' certificates, but 'legacycustom' certificates will always supercede 'sni_custom' certificates.
- private
Key String - The zone's private key.
- signature String
- The type of hash used for the certificate.
- status String
- Status of the zone's custom SSL. Available values: "active", "expired", "deleted", "pending", "initializing".
- type String
- The type 'legacycustom' enables support for legacy clients which do not include SNI in the TLS handshake. Available values: "legacycustom", "sni_custom".
- uploaded
On String - When the certificate was uploaded to Cloudflare.
- zone
Id String - Identifier
Supporting Types
CustomSslGeoRestrictions, CustomSslGeoRestrictionsArgs
- Label string
- Available values: "us", "eu", "highest_security".
- Label string
- Available values: "us", "eu", "highest_security".
- label String
- Available values: "us", "eu", "highest_security".
- label string
- Available values: "us", "eu", "highest_security".
- label str
- Available values: "us", "eu", "highest_security".
- label String
- Available values: "us", "eu", "highest_security".
CustomSslKeylessServer, CustomSslKeylessServerArgs
- Created
On string - When the Keyless SSL was created.
- Enabled bool
- Whether or not the Keyless SSL is on or off.
- Host string
- The keyless SSL name.
- Id string
- Keyless certificate identifier tag.
- Modified
On string - When the Keyless SSL was last modified.
- Name string
- The keyless SSL name.
- Permissions List<string>
- Available permissions for the Keyless SSL for the current user requesting the item.
- Port double
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- Status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- Tunnel
Custom
Ssl Keyless Server Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- Created
On string - When the Keyless SSL was created.
- Enabled bool
- Whether or not the Keyless SSL is on or off.
- Host string
- The keyless SSL name.
- Id string
- Keyless certificate identifier tag.
- Modified
On string - When the Keyless SSL was last modified.
- Name string
- The keyless SSL name.
- Permissions []string
- Available permissions for the Keyless SSL for the current user requesting the item.
- Port float64
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- Status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- Tunnel
Custom
Ssl Keyless Server Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- created
On String - When the Keyless SSL was created.
- enabled Boolean
- Whether or not the Keyless SSL is on or off.
- host String
- The keyless SSL name.
- id String
- Keyless certificate identifier tag.
- modified
On String - When the Keyless SSL was last modified.
- name String
- The keyless SSL name.
- permissions List<String>
- Available permissions for the Keyless SSL for the current user requesting the item.
- port Double
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- status String
- Status of the Keyless SSL. Available values: "active", "deleted".
- tunnel
Custom
Ssl Keyless Server Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- created
On string - When the Keyless SSL was created.
- enabled boolean
- Whether or not the Keyless SSL is on or off.
- host string
- The keyless SSL name.
- id string
- Keyless certificate identifier tag.
- modified
On string - When the Keyless SSL was last modified.
- name string
- The keyless SSL name.
- permissions string[]
- Available permissions for the Keyless SSL for the current user requesting the item.
- port number
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- status string
- Status of the Keyless SSL. Available values: "active", "deleted".
- tunnel
Custom
Ssl Keyless Server Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- created_
on str - When the Keyless SSL was created.
- enabled bool
- Whether or not the Keyless SSL is on or off.
- host str
- The keyless SSL name.
- id str
- Keyless certificate identifier tag.
- modified_
on str - When the Keyless SSL was last modified.
- name str
- The keyless SSL name.
- permissions Sequence[str]
- Available permissions for the Keyless SSL for the current user requesting the item.
- port float
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- status str
- Status of the Keyless SSL. Available values: "active", "deleted".
- tunnel
Custom
Ssl Keyless Server Tunnel - Configuration for using Keyless SSL through a Cloudflare Tunnel
- created
On String - When the Keyless SSL was created.
- enabled Boolean
- Whether or not the Keyless SSL is on or off.
- host String
- The keyless SSL name.
- id String
- Keyless certificate identifier tag.
- modified
On String - When the Keyless SSL was last modified.
- name String
- The keyless SSL name.
- permissions List<String>
- Available permissions for the Keyless SSL for the current user requesting the item.
- port Number
- The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.
- status String
- Status of the Keyless SSL. Available values: "active", "deleted".
- tunnel Property Map
- Configuration for using Keyless SSL through a Cloudflare Tunnel
CustomSslKeylessServerTunnel, CustomSslKeylessServerTunnelArgs
- private_
ip str - Private IP of the Key Server Host
- vnet_
id str - Cloudflare Tunnel Virtual Network ID
Import
$ pulumi import cloudflare:index/customSsl:CustomSsl example '<zone_id>/<custom_certificate_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.