cloudflare.CertificatePack
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCertificatePack = new cloudflare.CertificatePack("example_certificate_pack", {
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
certificateAuthority: "lets_encrypt",
hosts: [
"example.com",
"*.example.com",
"www.example.com",
],
type: "advanced",
validationMethod: "txt",
validityDays: 14,
cloudflareBranding: false,
});
import pulumi
import pulumi_cloudflare as cloudflare
example_certificate_pack = cloudflare.CertificatePack("example_certificate_pack",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
certificate_authority="lets_encrypt",
hosts=[
"example.com",
"*.example.com",
"www.example.com",
],
type="advanced",
validation_method="txt",
validity_days=14,
cloudflare_branding=False)
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.NewCertificatePack(ctx, "example_certificate_pack", &cloudflare.CertificatePackArgs{
ZoneId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
CertificateAuthority: pulumi.String("lets_encrypt"),
Hosts: pulumi.StringArray{
pulumi.String("example.com"),
pulumi.String("*.example.com"),
pulumi.String("www.example.com"),
},
Type: pulumi.String("advanced"),
ValidationMethod: pulumi.String("txt"),
ValidityDays: pulumi.Int(14),
CloudflareBranding: pulumi.Bool(false),
})
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 exampleCertificatePack = new Cloudflare.CertificatePack("example_certificate_pack", new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
CertificateAuthority = "lets_encrypt",
Hosts = new[]
{
"example.com",
"*.example.com",
"www.example.com",
},
Type = "advanced",
ValidationMethod = "txt",
ValidityDays = 14,
CloudflareBranding = false,
});
});
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 exampleCertificatePack = new CertificatePack("exampleCertificatePack", CertificatePackArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.certificateAuthority("lets_encrypt")
.hosts(
"example.com",
"*.example.com",
"www.example.com")
.type("advanced")
.validationMethod("txt")
.validityDays(14)
.cloudflareBranding(false)
.build());
}
}
resources:
exampleCertificatePack:
type: cloudflare:CertificatePack
name: example_certificate_pack
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
certificateAuthority: lets_encrypt
hosts:
- example.com
- '*.example.com'
- www.example.com
type: advanced
validationMethod: txt
validityDays: 14
cloudflareBranding: false
Create CertificatePack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CertificatePack(name: string, args: CertificatePackArgs, opts?: CustomResourceOptions);
@overload
def CertificatePack(resource_name: str,
args: CertificatePackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CertificatePack(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate_authority: Optional[str] = None,
hosts: Optional[Sequence[str]] = None,
type: Optional[str] = None,
validation_method: Optional[str] = None,
validity_days: Optional[int] = None,
zone_id: Optional[str] = None,
cloudflare_branding: Optional[bool] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var certificatePackResource = new Cloudflare.CertificatePack("certificatePackResource", new()
{
CertificateAuthority = "string",
Hosts = new[]
{
"string",
},
Type = "string",
ValidationMethod = "string",
ValidityDays = 0,
ZoneId = "string",
CloudflareBranding = false,
});
example, err := cloudflare.NewCertificatePack(ctx, "certificatePackResource", &cloudflare.CertificatePackArgs{
CertificateAuthority: pulumi.String("string"),
Hosts: pulumi.StringArray{
pulumi.String("string"),
},
Type: pulumi.String("string"),
ValidationMethod: pulumi.String("string"),
ValidityDays: pulumi.Int(0),
ZoneId: pulumi.String("string"),
CloudflareBranding: pulumi.Bool(false),
})
var certificatePackResource = new CertificatePack("certificatePackResource", CertificatePackArgs.builder()
.certificateAuthority("string")
.hosts("string")
.type("string")
.validationMethod("string")
.validityDays(0)
.zoneId("string")
.cloudflareBranding(false)
.build());
certificate_pack_resource = cloudflare.CertificatePack("certificatePackResource",
certificate_authority="string",
hosts=["string"],
type="string",
validation_method="string",
validity_days=0,
zone_id="string",
cloudflare_branding=False)
const certificatePackResource = new cloudflare.CertificatePack("certificatePackResource", {
certificateAuthority: "string",
hosts: ["string"],
type: "string",
validationMethod: "string",
validityDays: 0,
zoneId: "string",
cloudflareBranding: false,
});
type: cloudflare:CertificatePack
properties:
certificateAuthority: string
cloudflareBranding: false
hosts:
- string
type: string
validationMethod: string
validityDays: 0
zoneId: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CertificatePack resource accepts the following input properties:
- string
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- Hosts List<string>
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- Type string
- Type of certificate pack. Available values: "advanced".
- Validation
Method string - Validation Method selected for the order. Available values: "txt", "http", "email".
- Validity
Days int - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- Zone
Id string - Identifier.
- Cloudflare
Branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- string
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- Hosts []string
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- Type string
- Type of certificate pack. Available values: "advanced".
- Validation
Method string - Validation Method selected for the order. Available values: "txt", "http", "email".
- Validity
Days int - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- Zone
Id string - Identifier.
- Cloudflare
Branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- String
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- hosts List<String>
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- type String
- Type of certificate pack. Available values: "advanced".
- validation
Method String - Validation Method selected for the order. Available values: "txt", "http", "email".
- validity
Days Integer - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- zone
Id String - Identifier.
- cloudflare
Branding Boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- string
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- hosts string[]
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- type string
- Type of certificate pack. Available values: "advanced".
- validation
Method string - Validation Method selected for the order. Available values: "txt", "http", "email".
- validity
Days number - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- zone
Id string - Identifier.
- cloudflare
Branding boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- str
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- hosts Sequence[str]
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- type str
- Type of certificate pack. Available values: "advanced".
- validation_
method str - Validation Method selected for the order. Available values: "txt", "http", "email".
- validity_
days int - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- zone_
id str - Identifier.
- cloudflare_
branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- String
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- hosts List<String>
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- type String
- Type of certificate pack. Available values: "advanced".
- validation
Method String - Validation Method selected for the order. Available values: "txt", "http", "email".
- validity
Days Number - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- zone
Id String - Identifier.
- cloudflare
Branding Boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
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.
- Status string
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- Validation
Errors List<CertificatePack Validation Error> - Domain validation errors that have been received by the certificate authority (CA).
- Validation
Records List<CertificatePack Validation Record> - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- Validation
Errors []CertificatePack Validation Error - Domain validation errors that have been received by the certificate authority (CA).
- Validation
Records []CertificatePack Validation Record - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- validation
Errors List<CertificatePack Validation Error> - Domain validation errors that have been received by the certificate authority (CA).
- validation
Records List<CertificatePack Validation Record> - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- validation
Errors CertificatePack Validation Error[] - Domain validation errors that have been received by the certificate authority (CA).
- validation
Records CertificatePack Validation Record[] - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- validation_
errors Sequence[CertificatePack Validation Error] - Domain validation errors that have been received by the certificate authority (CA).
- validation_
records Sequence[CertificatePack Validation Record] - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- validation
Errors List<Property Map> - Domain validation errors that have been received by the certificate authority (CA).
- validation
Records List<Property Map> - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
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,
status: Optional[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,
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)
resources: _: type: cloudflare:CertificatePack 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.
- string
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- Cloudflare
Branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- Hosts List<string>
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- Status string
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- Type string
- Type of certificate pack. Available values: "advanced".
- Validation
Errors List<CertificatePack Validation Error> - Domain validation errors that have been received by the certificate authority (CA).
- Validation
Method string - Validation Method selected for the order. Available values: "txt", "http", "email".
- Validation
Records List<CertificatePack Validation Record> - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- Validity
Days int - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- Zone
Id string - Identifier.
- string
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- Cloudflare
Branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- Hosts []string
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- Status string
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- Type string
- Type of certificate pack. Available values: "advanced".
- Validation
Errors []CertificatePack Validation Error Args - Domain validation errors that have been received by the certificate authority (CA).
- Validation
Method string - Validation Method selected for the order. Available values: "txt", "http", "email".
- Validation
Records []CertificatePack Validation Record Args - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- Validity
Days int - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- Zone
Id string - Identifier.
- String
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- cloudflare
Branding Boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- hosts List<String>
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- status String
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- type String
- Type of certificate pack. Available values: "advanced".
- validation
Errors List<CertificatePack Validation Error> - Domain validation errors that have been received by the certificate authority (CA).
- validation
Method String - Validation Method selected for the order. Available values: "txt", "http", "email".
- validation
Records List<CertificatePack Validation Record> - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- validity
Days Integer - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- zone
Id String - Identifier.
- string
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- cloudflare
Branding boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- hosts string[]
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- status string
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- type string
- Type of certificate pack. Available values: "advanced".
- validation
Errors CertificatePack Validation Error[] - Domain validation errors that have been received by the certificate authority (CA).
- validation
Method string - Validation Method selected for the order. Available values: "txt", "http", "email".
- validation
Records CertificatePack Validation Record[] - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- validity
Days number - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- zone
Id string - Identifier.
- str
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- cloudflare_
branding bool - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- hosts Sequence[str]
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- status str
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- type str
- Type of certificate pack. Available values: "advanced".
- validation_
errors Sequence[CertificatePack Validation Error Args] - Domain validation errors that have been received by the certificate authority (CA).
- validation_
method str - Validation Method selected for the order. Available values: "txt", "http", "email".
- validation_
records Sequence[CertificatePack Validation Record Args] - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- validity_
days int - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- zone_
id str - Identifier.
- String
- Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions see this page for more details. Available values: "google", "letsencrypt", "sslcom".
- cloudflare
Branding Boolean - Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.
- hosts List<String>
- Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.
- status String
- Status of certificate pack. Available values: "initializing", "pendingvalidation", "deleted", "pendingissuance", "pendingdeployment", "pendingdeletion", "pendingexpiration", "expired", "active", "initializingtimedout", "validationtimedout", "issuancetimedout", "deploymenttimedout", "deletiontimedout", "pendingcleanup", "stagingdeployment", "stagingactive", "deactivating", "inactive", "backupissued", "holdingdeployment".
- type String
- Type of certificate pack. Available values: "advanced".
- validation
Errors List<Property Map> - Domain validation errors that have been received by the certificate authority (CA).
- validation
Method String - Validation Method selected for the order. Available values: "txt", "http", "email".
- validation
Records List<Property Map> - Certificates' validation records. Only present when certificate pack is in "pending*validation" status
- validity
Days Number - Validity Days selected for the order. Available values: 14, 30, 90, 365.
- zone
Id String - Identifier.
Supporting Types
CertificatePackValidationError, CertificatePackValidationErrorArgs
- Message string
- A domain validation error.
- Message string
- A domain validation error.
- message String
- A domain validation error.
- message string
- A domain validation error.
- message str
- A domain validation error.
- message String
- A domain validation error.
CertificatePackValidationRecord, CertificatePackValidationRecordArgs
- Emails List<string>
- The set of email addresses that the certificate authority (CA) will use to complete domain validation.
- Http
Body string - The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
- Http
Url string - The url that will be checked during domain validation.
- Txt
Name string - The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
- Txt
Value string - The TXT record that the certificate authority (CA) will check during domain validation.
- Emails []string
- The set of email addresses that the certificate authority (CA) will use to complete domain validation.
- Http
Body string - The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
- Http
Url string - The url that will be checked during domain validation.
- Txt
Name string - The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
- Txt
Value string - The TXT record that the certificate authority (CA) will check during domain validation.
- emails List<String>
- The set of email addresses that the certificate authority (CA) will use to complete domain validation.
- http
Body String - The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
- http
Url String - The url that will be checked during domain validation.
- txt
Name String - The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
- txt
Value String - The TXT record that the certificate authority (CA) will check during domain validation.
- emails string[]
- The set of email addresses that the certificate authority (CA) will use to complete domain validation.
- http
Body string - The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
- http
Url string - The url that will be checked during domain validation.
- txt
Name string - The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
- txt
Value string - The TXT record that the certificate authority (CA) will check during domain validation.
- emails Sequence[str]
- The set of email addresses that the certificate authority (CA) will use to complete domain validation.
- http_
body str - The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
- http_
url str - The url that will be checked during domain validation.
- txt_
name str - The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
- txt_
value str - The TXT record that the certificate authority (CA) will check during domain validation.
- emails List<String>
- The set of email addresses that the certificate authority (CA) will use to complete domain validation.
- http
Body String - The content that the certificate authority (CA) will expect to find at the http_url during the domain validation.
- http
Url String - The url that will be checked during domain validation.
- txt
Name String - The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
- txt
Value String - The TXT record that the certificate authority (CA) will check during domain validation.
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.
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.