published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleOriginTlsComplianceModes = new cloudflare.OriginTlsComplianceModes("example_origin_tls_compliance_modes", {
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
values: [
"fips",
"pqh",
],
});
import pulumi
import pulumi_cloudflare as cloudflare
example_origin_tls_compliance_modes = cloudflare.OriginTlsComplianceModes("example_origin_tls_compliance_modes",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
values=[
"fips",
"pqh",
])
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.NewOriginTlsComplianceModes(ctx, "example_origin_tls_compliance_modes", &cloudflare.OriginTlsComplianceModesArgs{
ZoneId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
Values: pulumi.StringArray{
pulumi.String("fips"),
pulumi.String("pqh"),
},
})
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 exampleOriginTlsComplianceModes = new Cloudflare.OriginTlsComplianceModes("example_origin_tls_compliance_modes", new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
Values = new[]
{
"fips",
"pqh",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.OriginTlsComplianceModes;
import com.pulumi.cloudflare.OriginTlsComplianceModesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleOriginTlsComplianceModes = new OriginTlsComplianceModes("exampleOriginTlsComplianceModes", OriginTlsComplianceModesArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.values(
"fips",
"pqh")
.build());
}
}
resources:
exampleOriginTlsComplianceModes:
type: cloudflare:OriginTlsComplianceModes
name: example_origin_tls_compliance_modes
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
values:
- fips
- pqh
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
resource "cloudflare_origintlscompliancemodes" "example_origin_tls_compliance_modes" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
values = ["fips", "pqh"]
}
Create OriginTlsComplianceModes Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OriginTlsComplianceModes(name: string, args: OriginTlsComplianceModesArgs, opts?: CustomResourceOptions);@overload
def OriginTlsComplianceModes(resource_name: str,
args: OriginTlsComplianceModesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OriginTlsComplianceModes(resource_name: str,
opts: Optional[ResourceOptions] = None,
values: Optional[Sequence[str]] = None,
zone_id: Optional[str] = None)func NewOriginTlsComplianceModes(ctx *Context, name string, args OriginTlsComplianceModesArgs, opts ...ResourceOption) (*OriginTlsComplianceModes, error)public OriginTlsComplianceModes(string name, OriginTlsComplianceModesArgs args, CustomResourceOptions? opts = null)
public OriginTlsComplianceModes(String name, OriginTlsComplianceModesArgs args)
public OriginTlsComplianceModes(String name, OriginTlsComplianceModesArgs args, CustomResourceOptions options)
type: cloudflare:OriginTlsComplianceModes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "cloudflare_origin_tls_compliance_modes" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OriginTlsComplianceModesArgs
- 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 OriginTlsComplianceModesArgs
- 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 OriginTlsComplianceModesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OriginTlsComplianceModesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OriginTlsComplianceModesArgs
- 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 originTlsComplianceModesResource = new Cloudflare.OriginTlsComplianceModes("originTlsComplianceModesResource", new()
{
Values = new[]
{
"string",
},
ZoneId = "string",
});
example, err := cloudflare.NewOriginTlsComplianceModes(ctx, "originTlsComplianceModesResource", &cloudflare.OriginTlsComplianceModesArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
ZoneId: pulumi.String("string"),
})
resource "cloudflare_origin_tls_compliance_modes" "originTlsComplianceModesResource" {
lifecycle {
create_before_destroy = true
}
values = ["string"]
zone_id = "string"
}
var originTlsComplianceModesResource = new OriginTlsComplianceModes("originTlsComplianceModesResource", OriginTlsComplianceModesArgs.builder()
.values("string")
.zoneId("string")
.build());
origin_tls_compliance_modes_resource = cloudflare.OriginTlsComplianceModes("originTlsComplianceModesResource",
values=["string"],
zone_id="string")
const originTlsComplianceModesResource = new cloudflare.OriginTlsComplianceModes("originTlsComplianceModesResource", {
values: ["string"],
zoneId: "string",
});
type: cloudflare:OriginTlsComplianceModes
properties:
values:
- string
zoneId: string
OriginTlsComplianceModes 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 OriginTlsComplianceModes resource accepts the following input properties:
- Values List<string>
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - Zone
Id string - Identifier.
- Values []string
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - Zone
Id string - Identifier.
- values list(string)
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone_
id string - Identifier.
- values List<String>
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone
Id String - Identifier.
- values string[]
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone
Id string - Identifier.
- values Sequence[str]
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone_
id str - Identifier.
- values List<String>
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone
Id String - Identifier.
Outputs
All input properties are implicitly available as output properties. Additionally, the OriginTlsComplianceModes resource produces the following output properties:
- Editable bool
- Whether the setting is editable.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - Last time this setting was modified.
- Editable bool
- Whether the setting is editable.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - Last time this setting was modified.
- editable bool
- Whether the setting is editable.
- id string
- The provider-assigned unique ID for this managed resource.
- modified_
on string - Last time this setting was modified.
- editable Boolean
- Whether the setting is editable.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
On String - Last time this setting was modified.
- editable boolean
- Whether the setting is editable.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
On string - Last time this setting was modified.
- editable bool
- Whether the setting is editable.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
on str - Last time this setting was modified.
- editable Boolean
- Whether the setting is editable.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
On String - Last time this setting was modified.
Look up Existing OriginTlsComplianceModes Resource
Get an existing OriginTlsComplianceModes 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?: OriginTlsComplianceModesState, opts?: CustomResourceOptions): OriginTlsComplianceModes@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
editable: Optional[bool] = None,
modified_on: Optional[str] = None,
values: Optional[Sequence[str]] = None,
zone_id: Optional[str] = None) -> OriginTlsComplianceModesfunc GetOriginTlsComplianceModes(ctx *Context, name string, id IDInput, state *OriginTlsComplianceModesState, opts ...ResourceOption) (*OriginTlsComplianceModes, error)public static OriginTlsComplianceModes Get(string name, Input<string> id, OriginTlsComplianceModesState? state, CustomResourceOptions? opts = null)public static OriginTlsComplianceModes get(String name, Output<String> id, OriginTlsComplianceModesState state, CustomResourceOptions options)resources: _: type: cloudflare:OriginTlsComplianceModes get: id: ${id}import {
to = cloudflare_origin_tls_compliance_modes.example
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.
- Editable bool
- Whether the setting is editable.
- Modified
On string - Last time this setting was modified.
- Values List<string>
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - Zone
Id string - Identifier.
- Editable bool
- Whether the setting is editable.
- Modified
On string - Last time this setting was modified.
- Values []string
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - Zone
Id string - Identifier.
- editable bool
- Whether the setting is editable.
- modified_
on string - Last time this setting was modified.
- values list(string)
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone_
id string - Identifier.
- editable Boolean
- Whether the setting is editable.
- modified
On String - Last time this setting was modified.
- values List<String>
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone
Id String - Identifier.
- editable boolean
- Whether the setting is editable.
- modified
On string - Last time this setting was modified.
- values string[]
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone
Id string - Identifier.
- editable bool
- Whether the setting is editable.
- modified_
on str - Last time this setting was modified.
- values Sequence[str]
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone_
id str - Identifier.
- editable Boolean
- Whether the setting is editable.
- modified
On String - Last time this setting was modified.
- values List<String>
- List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are
fips(FIPS-approved curves) andpqh(post-quantum hybrid). Future modes (e.g.cnsa2) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint. - zone
Id String - Identifier.
Import
$ pulumi import cloudflare:index/originTlsComplianceModes:OriginTlsComplianceModes example '<zone_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
published on Thursday, Jul 16, 2026 by Pulumi