1. Packages
  2. Cloudflare
  3. API Docs
  4. CertificatePack
Cloudflare v5.16.0 published on Tuesday, Nov 28, 2023 by Pulumi

cloudflare.CertificatePack

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.16.0 published on Tuesday, Nov 28, 2023 by Pulumi

    Import

     $ pulumi import cloudflare:index/certificatePack:CertificatePack example <zone_id>/<certificate_pack_id>
    

    While supported, importing isn’t recommended and it is advised to replace the certificate entirely instead.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        // Advanced certificate manager for Let's Encrypt
        var example = new Cloudflare.CertificatePack("example", new()
        {
            CertificateAuthority = "lets_encrypt",
            CloudflareBranding = false,
            Hosts = new[]
            {
                "example.com",
                "*.example.com",
            },
            Type = "advanced",
            ValidationMethod = "http",
            ValidityDays = 90,
            WaitForActiveStatus = true,
            ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
        });
    
    });
    
    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.NewCertificatePack(ctx, "example", &cloudflare.CertificatePackArgs{
    			CertificateAuthority: pulumi.String("lets_encrypt"),
    			CloudflareBranding:   pulumi.Bool(false),
    			Hosts: pulumi.StringArray{
    				pulumi.String("example.com"),
    				pulumi.String("*.example.com"),
    			},
    			Type:                pulumi.String("advanced"),
    			ValidationMethod:    pulumi.String("http"),
    			ValidityDays:        pulumi.Int(90),
    			WaitForActiveStatus: pulumi.Bool(true),
    			ZoneId:              pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CertificatePack;
    import com.pulumi.cloudflare.CertificatePackArgs;
    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 CertificatePack("example", CertificatePackArgs.builder()        
                .certificateAuthority("lets_encrypt")
                .cloudflareBranding(false)
                .hosts(            
                    "example.com",
                    "*.example.com")
                .type("advanced")
                .validationMethod("http")
                .validityDays(90)
                .waitForActiveStatus(true)
                .zoneId("0da42c8d2132a9ddaf714f9e7c920711")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    # Advanced certificate manager for Let's Encrypt
    example = cloudflare.CertificatePack("example",
        certificate_authority="lets_encrypt",
        cloudflare_branding=False,
        hosts=[
            "example.com",
            "*.example.com",
        ],
        type="advanced",
        validation_method="http",
        validity_days=90,
        wait_for_active_status=True,
        zone_id="0da42c8d2132a9ddaf714f9e7c920711")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    // Advanced certificate manager for Let's Encrypt
    const example = new cloudflare.CertificatePack("example", {
        certificateAuthority: "lets_encrypt",
        cloudflareBranding: false,
        hosts: [
            "example.com",
            "*.example.com",
        ],
        type: "advanced",
        validationMethod: "http",
        validityDays: 90,
        waitForActiveStatus: true,
        zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
    });
    
    resources:
      # Advanced certificate manager for Let's Encrypt
      example:
        type: cloudflare:CertificatePack
        properties:
          certificateAuthority: lets_encrypt
          cloudflareBranding: false
          hosts:
            - example.com
            - '*.example.com'
          type: advanced
          validationMethod: http
          validityDays: 90
          waitForActiveStatus: true
          zoneId: 0da42c8d2132a9ddaf714f9e7c920711
    

    Create CertificatePack Resource

    new CertificatePack(name: string, args: CertificatePackArgs, opts?: CustomResourceOptions);
    @overload
    def CertificatePack(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        certificate_authority: Optional[str] = None,
                        cloudflare_branding: Optional[bool] = None,
                        hosts: Optional[Sequence[str]] = None,
                        type: Optional[str] = None,
                        validation_errors: Optional[Sequence[CertificatePackValidationErrorArgs]] = None,
                        validation_method: Optional[str] = None,
                        validation_records: Optional[Sequence[CertificatePackValidationRecordArgs]] = None,
                        validity_days: Optional[int] = None,
                        wait_for_active_status: Optional[bool] = None,
                        zone_id: Optional[str] = None)
    @overload
    def CertificatePack(resource_name: str,
                        args: CertificatePackArgs,
                        opts: Optional[ResourceOptions] = None)
    func NewCertificatePack(ctx *Context, name string, args CertificatePackArgs, opts ...ResourceOption) (*CertificatePack, error)
    public CertificatePack(string name, CertificatePackArgs args, CustomResourceOptions? opts = null)
    public CertificatePack(String name, CertificatePackArgs args)
    public CertificatePack(String name, CertificatePackArgs args, CustomResourceOptions options)
    
    type: cloudflare:CertificatePack
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args CertificatePackArgs
    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 CertificatePackArgs
    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 CertificatePackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CertificatePackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CertificatePackArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CertificatePack Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The CertificatePack resource accepts the following input properties:

    CertificateAuthority string

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    Hosts List<string>

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    Type string

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    ValidationMethod string

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    ValidityDays int

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    ZoneId string

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    CloudflareBranding bool

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    ValidationErrors List<CertificatePackValidationError>
    ValidationRecords List<CertificatePackValidationRecord>
    WaitForActiveStatus bool

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    CertificateAuthority string

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    Hosts []string

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    Type string

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    ValidationMethod string

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    ValidityDays int

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    ZoneId string

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    CloudflareBranding bool

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    ValidationErrors []CertificatePackValidationErrorArgs
    ValidationRecords []CertificatePackValidationRecordArgs
    WaitForActiveStatus bool

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    certificateAuthority String

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    hosts List<String>

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    type String

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    validationMethod String

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    validityDays Integer

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    zoneId String

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    cloudflareBranding Boolean

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    validationErrors List<CertificatePackValidationError>
    validationRecords List<CertificatePackValidationRecord>
    waitForActiveStatus Boolean

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    certificateAuthority string

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    hosts string[]

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    type string

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    validationMethod string

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    validityDays number

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    zoneId string

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    cloudflareBranding boolean

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    validationErrors CertificatePackValidationError[]
    validationRecords CertificatePackValidationRecord[]
    waitForActiveStatus boolean

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    certificate_authority str

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    hosts Sequence[str]

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    type str

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    validation_method str

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    validity_days int

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. 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.

    cloudflare_branding bool

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    validation_errors Sequence[CertificatePackValidationErrorArgs]
    validation_records Sequence[CertificatePackValidationRecordArgs]
    wait_for_active_status bool

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    certificateAuthority String

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    hosts List<String>

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    type String

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    validationMethod String

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    validityDays Number

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    zoneId String

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    cloudflareBranding Boolean

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    validationErrors List<Property Map>
    validationRecords List<Property Map>
    waitForActiveStatus Boolean

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CertificatePack resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing CertificatePack Resource

    Get an existing CertificatePack 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?: CertificatePackState, opts?: CustomResourceOptions): CertificatePack
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate_authority: Optional[str] = None,
            cloudflare_branding: Optional[bool] = None,
            hosts: Optional[Sequence[str]] = None,
            type: Optional[str] = None,
            validation_errors: Optional[Sequence[CertificatePackValidationErrorArgs]] = None,
            validation_method: Optional[str] = None,
            validation_records: Optional[Sequence[CertificatePackValidationRecordArgs]] = None,
            validity_days: Optional[int] = None,
            wait_for_active_status: Optional[bool] = None,
            zone_id: Optional[str] = None) -> CertificatePack
    func GetCertificatePack(ctx *Context, name string, id IDInput, state *CertificatePackState, opts ...ResourceOption) (*CertificatePack, error)
    public static CertificatePack Get(string name, Input<string> id, CertificatePackState? state, CustomResourceOptions? opts = null)
    public static CertificatePack get(String name, Output<String> id, CertificatePackState 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.
    The following state arguments are supported:
    CertificateAuthority string

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    CloudflareBranding bool

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    Hosts List<string>

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    Type string

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    ValidationErrors List<CertificatePackValidationError>
    ValidationMethod string

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    ValidationRecords List<CertificatePackValidationRecord>
    ValidityDays int

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    WaitForActiveStatus bool

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    ZoneId string

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    CertificateAuthority string

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    CloudflareBranding bool

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    Hosts []string

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    Type string

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    ValidationErrors []CertificatePackValidationErrorArgs
    ValidationMethod string

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    ValidationRecords []CertificatePackValidationRecordArgs
    ValidityDays int

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    WaitForActiveStatus bool

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    ZoneId string

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    certificateAuthority String

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    cloudflareBranding Boolean

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    hosts List<String>

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    type String

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    validationErrors List<CertificatePackValidationError>
    validationMethod String

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    validationRecords List<CertificatePackValidationRecord>
    validityDays Integer

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    waitForActiveStatus Boolean

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    zoneId String

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    certificateAuthority string

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    cloudflareBranding boolean

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    hosts string[]

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    type string

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    validationErrors CertificatePackValidationError[]
    validationMethod string

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    validationRecords CertificatePackValidationRecord[]
    validityDays number

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    waitForActiveStatus boolean

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    zoneId string

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    certificate_authority str

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    cloudflare_branding bool

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    hosts Sequence[str]

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    type str

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    validation_errors Sequence[CertificatePackValidationErrorArgs]
    validation_method str

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    validation_records Sequence[CertificatePackValidationRecordArgs]
    validity_days int

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    wait_for_active_status bool

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. 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.

    certificateAuthority String

    Which certificate authority to issue the certificate pack. Available values: digicert, lets_encrypt, google. Modifying this attribute will force creation of a new resource.

    cloudflareBranding Boolean

    Whether or not to include Cloudflare branding. This will add sni.cloudflaressl.com as the Common Name if set to true. Modifying this attribute will force creation of a new resource.

    hosts List<String>

    List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. Modifying this attribute will force creation of a new resource.

    type String

    Certificate pack configuration type. Available values: advanced. Modifying this attribute will force creation of a new resource.

    validationErrors List<Property Map>
    validationMethod String

    Which validation method to use in order to prove domain ownership. Available values: txt, http, email. Modifying this attribute will force creation of a new resource.

    validationRecords List<Property Map>
    validityDays Number

    How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: 14, 30, 90, 365. Modifying this attribute will force creation of a new resource.

    waitForActiveStatus Boolean

    Whether or not to wait for a certificate pack to reach status active during creation. Defaults to false. Modifying this attribute will force creation of a new resource.

    zoneId String

    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    Supporting Types

    CertificatePackValidationError, CertificatePackValidationErrorArgs

    Message string
    Message string
    message String
    message string
    message String

    CertificatePackValidationRecord, CertificatePackValidationRecordArgs

    CnameName string
    CnameTarget string
    Emails List<string>
    HttpBody string
    HttpUrl string
    TxtName string
    TxtValue string
    CnameName string
    CnameTarget string
    Emails []string
    HttpBody string
    HttpUrl string
    TxtName string
    TxtValue string
    cnameName String
    cnameTarget String
    emails List<String>
    httpBody String
    httpUrl String
    txtName String
    txtValue String
    cnameName string
    cnameTarget string
    emails string[]
    httpBody string
    httpUrl string
    txtName string
    txtValue string
    cnameName String
    cnameTarget String
    emails List<String>
    httpBody String
    httpUrl String
    txtName String
    txtValue String

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the cloudflare Terraform Provider.

    cloudflare logo
    Cloudflare v5.16.0 published on Tuesday, Nov 28, 2023 by Pulumi