cloudflare.CertificatePack
Explore with Pulumi AI
Example Usage
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,
validation_errors: Optional[Sequence[CertificatePackValidationErrorArgs]] = None,
validation_records: Optional[Sequence[CertificatePackValidationRecordArgs]] = None,
wait_for_active_status: 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,
ValidationErrors = new[]
{
new Cloudflare.Inputs.CertificatePackValidationErrorArgs
{
Message = "string",
},
},
ValidationRecords = new[]
{
new Cloudflare.Inputs.CertificatePackValidationRecordArgs
{
CnameName = "string",
CnameTarget = "string",
Emails = new[]
{
"string",
},
HttpBody = "string",
HttpUrl = "string",
TxtName = "string",
TxtValue = "string",
},
},
WaitForActiveStatus = 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),
ValidationErrors: cloudflare.CertificatePackValidationErrorArray{
&cloudflare.CertificatePackValidationErrorArgs{
Message: pulumi.String("string"),
},
},
ValidationRecords: cloudflare.CertificatePackValidationRecordArray{
&cloudflare.CertificatePackValidationRecordArgs{
CnameName: pulumi.String("string"),
CnameTarget: pulumi.String("string"),
Emails: pulumi.StringArray{
pulumi.String("string"),
},
HttpBody: pulumi.String("string"),
HttpUrl: pulumi.String("string"),
TxtName: pulumi.String("string"),
TxtValue: pulumi.String("string"),
},
},
WaitForActiveStatus: pulumi.Bool(false),
})
var certificatePackResource = new CertificatePack("certificatePackResource", CertificatePackArgs.builder()
.certificateAuthority("string")
.hosts("string")
.type("string")
.validationMethod("string")
.validityDays(0)
.zoneId("string")
.cloudflareBranding(false)
.validationErrors(CertificatePackValidationErrorArgs.builder()
.message("string")
.build())
.validationRecords(CertificatePackValidationRecordArgs.builder()
.cnameName("string")
.cnameTarget("string")
.emails("string")
.httpBody("string")
.httpUrl("string")
.txtName("string")
.txtValue("string")
.build())
.waitForActiveStatus(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,
validation_errors=[{
"message": "string",
}],
validation_records=[{
"cname_name": "string",
"cname_target": "string",
"emails": ["string"],
"http_body": "string",
"http_url": "string",
"txt_name": "string",
"txt_value": "string",
}],
wait_for_active_status=False)
const certificatePackResource = new cloudflare.CertificatePack("certificatePackResource", {
certificateAuthority: "string",
hosts: ["string"],
type: "string",
validationMethod: "string",
validityDays: 0,
zoneId: "string",
cloudflareBranding: false,
validationErrors: [{
message: "string",
}],
validationRecords: [{
cnameName: "string",
cnameTarget: "string",
emails: ["string"],
httpBody: "string",
httpUrl: "string",
txtName: "string",
txtValue: "string",
}],
waitForActiveStatus: false,
});
type: cloudflare:CertificatePack
properties:
certificateAuthority: string
cloudflareBranding: false
hosts:
- string
type: string
validationErrors:
- message: string
validationMethod: string
validationRecords:
- cnameName: string
cnameTarget: string
emails:
- string
httpBody: string
httpUrl: string
txtName: string
txtValue: string
validityDays: 0
waitForActiveStatus: false
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
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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. - Validation
Method 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. - 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 string - 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 totrue
. Modifying this attribute will force creation of a new resource. - Validation
Errors List<CertificatePack Validation Error> - Validation
Records List<CertificatePack Validation Record> - Wait
For boolActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource.
- string
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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. - Validation
Method 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. - 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 string - 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 totrue
. Modifying this attribute will force creation of a new resource. - Validation
Errors []CertificatePack Validation Error Args - Validation
Records []CertificatePack Validation Record Args - Wait
For boolActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource.
- String
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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. - validation
Method 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. - validity
Days 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. - zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- cloudflare
Branding Boolean - Whether or not to include Cloudflare branding. This will add
sni.cloudflaressl.com
as the Common Name if set totrue
. Modifying this attribute will force creation of a new resource. - validation
Errors List<CertificatePack Validation Error> - validation
Records List<CertificatePack Validation Record> - wait
For BooleanActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource.
- string
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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. - validation
Method 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. - validity
Days 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. - zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- cloudflare
Branding boolean - Whether or not to include Cloudflare branding. This will add
sni.cloudflaressl.com
as the Common Name if set totrue
. Modifying this attribute will force creation of a new resource. - validation
Errors CertificatePack Validation Error[] - validation
Records CertificatePack Validation Record[] - wait
For booleanActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource.
- str
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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 totrue
. Modifying this attribute will force creation of a new resource. - validation_
errors Sequence[CertificatePack Validation Error Args] - validation_
records Sequence[CertificatePack Validation Record Args] - wait_
for_ boolactive_ status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource.
- String
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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. - validation
Method 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. - validity
Days 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. - zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- cloudflare
Branding Boolean - Whether or not to include Cloudflare branding. This will add
sni.cloudflaressl.com
as the Common Name if set totrue
. Modifying this attribute will force creation of a new resource. - validation
Errors List<Property Map> - validation
Records List<Property Map> - wait
For BooleanActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. 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.
- string
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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 totrue
. 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. - Validation
Errors List<CertificatePack Validation Error> - Validation
Method 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. - Validation
Records List<CertificatePack Validation Record> - 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 boolActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource. - Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- string
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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 totrue
. 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. - Validation
Errors []CertificatePack Validation Error Args - Validation
Method 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. - Validation
Records []CertificatePack Validation Record Args - 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 boolActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource. - Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- String
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. Modifying this attribute will force creation of a new resource. - cloudflare
Branding Boolean - Whether or not to include Cloudflare branding. This will add
sni.cloudflaressl.com
as the Common Name if set totrue
. 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. - validation
Errors List<CertificatePack Validation Error> - validation
Method 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. - validation
Records List<CertificatePack Validation Record> - validity
Days 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. - wait
For BooleanActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource. - zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- string
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. Modifying this attribute will force creation of a new resource. - cloudflare
Branding boolean - Whether or not to include Cloudflare branding. This will add
sni.cloudflaressl.com
as the Common Name if set totrue
. 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. - validation
Errors CertificatePack Validation Error[] - validation
Method 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. - validation
Records CertificatePack Validation Record[] - validity
Days 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. - wait
For booleanActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource. - zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- str
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. 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 totrue
. 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[CertificatePack Validation Error Args] - 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[CertificatePack Validation Record Args] - 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_ boolactive_ status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. 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.
- String
- Which certificate authority to issue the certificate pack. Available values:
digicert
,lets_encrypt
,google
,ssl_com
. Modifying this attribute will force creation of a new resource. - cloudflare
Branding Boolean - Whether or not to include Cloudflare branding. This will add
sni.cloudflaressl.com
as the Common Name if set totrue
. 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. - validation
Errors List<Property Map> - validation
Method 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. - validation
Records List<Property Map> - validity
Days 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. - wait
For BooleanActive Status - Whether or not to wait for a certificate pack to reach status
active
during creation. Defaults tofalse
. Modifying this attribute will force creation of a new resource. - zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
Supporting Types
CertificatePackValidationError, CertificatePackValidationErrorArgs
- Message string
- Message string
- message String
- message string
- message str
- message String
CertificatePackValidationRecord, CertificatePackValidationRecordArgs
- cname_
name str - cname_
target str - emails Sequence[str]
- http_
body str - http_
url str - txt_
name str - txt_
value str
Import
$ pulumi import cloudflare:index/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.