published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Provides a Cloudflare Spectrum Application. You can extend the power of Cloudflare’s DDoS, TLS, and IP Firewall to your other TCP-based services.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var example = new Cloudflare.SpectrumApplication("example", new()
{
Dns = new Cloudflare.Inputs.SpectrumApplicationDnsArgs
{
Name = "ssh.example.com",
Type = "CNAME",
},
OriginDirects = new[]
{
"tcp://192.0.2.1:22",
},
Protocol = "tcp/22",
TrafficType = "direct",
ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v4/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewSpectrumApplication(ctx, "example", &cloudflare.SpectrumApplicationArgs{
Dns: &cloudflare.SpectrumApplicationDnsArgs{
Name: pulumi.String("ssh.example.com"),
Type: pulumi.String("CNAME"),
},
OriginDirects: pulumi.StringArray{
pulumi.String("tcp://192.0.2.1:22"),
},
Protocol: pulumi.String("tcp/22"),
TrafficType: pulumi.String("direct"),
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.SpectrumApplication;
import com.pulumi.cloudflare.SpectrumApplicationArgs;
import com.pulumi.cloudflare.inputs.SpectrumApplicationDnsArgs;
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 SpectrumApplication("example", SpectrumApplicationArgs.builder()
.dns(SpectrumApplicationDnsArgs.builder()
.name("ssh.example.com")
.type("CNAME")
.build())
.originDirects("tcp://192.0.2.1:22")
.protocol("tcp/22")
.trafficType("direct")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const example = new cloudflare.SpectrumApplication("example", {
dns: {
name: "ssh.example.com",
type: "CNAME",
},
originDirects: ["tcp://192.0.2.1:22"],
protocol: "tcp/22",
trafficType: "direct",
zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
});
import pulumi
import pulumi_cloudflare as cloudflare
example = cloudflare.SpectrumApplication("example",
dns=cloudflare.SpectrumApplicationDnsArgs(
name="ssh.example.com",
type="CNAME",
),
origin_directs=["tcp://192.0.2.1:22"],
protocol="tcp/22",
traffic_type="direct",
zone_id="0da42c8d2132a9ddaf714f9e7c920711")
resources:
example:
type: cloudflare:SpectrumApplication
properties:
dns:
name: ssh.example.com
type: CNAME
originDirects:
- tcp://192.0.2.1:22
protocol: tcp/22
trafficType: direct
zoneId: 0da42c8d2132a9ddaf714f9e7c920711
Create SpectrumApplication Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SpectrumApplication(name: string, args: SpectrumApplicationArgs, opts?: CustomResourceOptions);@overload
def SpectrumApplication(resource_name: str,
args: SpectrumApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SpectrumApplication(resource_name: str,
opts: Optional[ResourceOptions] = None,
protocol: Optional[str] = None,
dns: Optional[SpectrumApplicationDnsArgs] = None,
zone_id: Optional[str] = None,
edge_ips: Optional[Sequence[str]] = None,
ip_firewall: Optional[bool] = None,
origin_directs: Optional[Sequence[str]] = None,
origin_dns: Optional[SpectrumApplicationOriginDnsArgs] = None,
origin_port: Optional[int] = None,
origin_port_range: Optional[SpectrumApplicationOriginPortRangeArgs] = None,
argo_smart_routing: Optional[bool] = None,
proxy_protocol: Optional[str] = None,
tls: Optional[str] = None,
traffic_type: Optional[str] = None,
edge_ip_connectivity: Optional[str] = None)func NewSpectrumApplication(ctx *Context, name string, args SpectrumApplicationArgs, opts ...ResourceOption) (*SpectrumApplication, error)public SpectrumApplication(string name, SpectrumApplicationArgs args, CustomResourceOptions? opts = null)
public SpectrumApplication(String name, SpectrumApplicationArgs args)
public SpectrumApplication(String name, SpectrumApplicationArgs args, CustomResourceOptions options)
type: cloudflare:SpectrumApplication
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 SpectrumApplicationArgs
- 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 SpectrumApplicationArgs
- 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 SpectrumApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SpectrumApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SpectrumApplicationArgs
- 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 spectrumApplicationResource = new Cloudflare.SpectrumApplication("spectrumApplicationResource", new()
{
Protocol = "string",
Dns = new Cloudflare.Inputs.SpectrumApplicationDnsArgs
{
Name = "string",
Type = "string",
},
ZoneId = "string",
EdgeIps = new[]
{
"string",
},
IpFirewall = false,
OriginDirects = new[]
{
"string",
},
OriginDns = new Cloudflare.Inputs.SpectrumApplicationOriginDnsArgs
{
Name = "string",
},
OriginPort = 0,
OriginPortRange = new Cloudflare.Inputs.SpectrumApplicationOriginPortRangeArgs
{
End = 0,
Start = 0,
},
ArgoSmartRouting = false,
ProxyProtocol = "string",
Tls = "string",
TrafficType = "string",
EdgeIpConnectivity = "string",
});
example, err := cloudflare.NewSpectrumApplication(ctx, "spectrumApplicationResource", &cloudflare.SpectrumApplicationArgs{
Protocol: pulumi.String("string"),
Dns: &cloudflare.SpectrumApplicationDnsArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
ZoneId: pulumi.String("string"),
EdgeIps: pulumi.StringArray{
pulumi.String("string"),
},
IpFirewall: pulumi.Bool(false),
OriginDirects: pulumi.StringArray{
pulumi.String("string"),
},
OriginDns: &cloudflare.SpectrumApplicationOriginDnsArgs{
Name: pulumi.String("string"),
},
OriginPort: pulumi.Int(0),
OriginPortRange: &cloudflare.SpectrumApplicationOriginPortRangeArgs{
End: pulumi.Int(0),
Start: pulumi.Int(0),
},
ArgoSmartRouting: pulumi.Bool(false),
ProxyProtocol: pulumi.String("string"),
Tls: pulumi.String("string"),
TrafficType: pulumi.String("string"),
EdgeIpConnectivity: pulumi.String("string"),
})
var spectrumApplicationResource = new SpectrumApplication("spectrumApplicationResource", SpectrumApplicationArgs.builder()
.protocol("string")
.dns(SpectrumApplicationDnsArgs.builder()
.name("string")
.type("string")
.build())
.zoneId("string")
.edgeIps("string")
.ipFirewall(false)
.originDirects("string")
.originDns(SpectrumApplicationOriginDnsArgs.builder()
.name("string")
.build())
.originPort(0)
.originPortRange(SpectrumApplicationOriginPortRangeArgs.builder()
.end(0)
.start(0)
.build())
.argoSmartRouting(false)
.proxyProtocol("string")
.tls("string")
.trafficType("string")
.edgeIpConnectivity("string")
.build());
spectrum_application_resource = cloudflare.SpectrumApplication("spectrumApplicationResource",
protocol="string",
dns={
"name": "string",
"type": "string",
},
zone_id="string",
edge_ips=["string"],
ip_firewall=False,
origin_directs=["string"],
origin_dns={
"name": "string",
},
origin_port=0,
origin_port_range={
"end": 0,
"start": 0,
},
argo_smart_routing=False,
proxy_protocol="string",
tls="string",
traffic_type="string",
edge_ip_connectivity="string")
const spectrumApplicationResource = new cloudflare.SpectrumApplication("spectrumApplicationResource", {
protocol: "string",
dns: {
name: "string",
type: "string",
},
zoneId: "string",
edgeIps: ["string"],
ipFirewall: false,
originDirects: ["string"],
originDns: {
name: "string",
},
originPort: 0,
originPortRange: {
end: 0,
start: 0,
},
argoSmartRouting: false,
proxyProtocol: "string",
tls: "string",
trafficType: "string",
edgeIpConnectivity: "string",
});
type: cloudflare:SpectrumApplication
properties:
argoSmartRouting: false
dns:
name: string
type: string
edgeIpConnectivity: string
edgeIps:
- string
ipFirewall: false
originDirects:
- string
originDns:
name: string
originPort: 0
originPortRange:
end: 0
start: 0
protocol: string
proxyProtocol: string
tls: string
trafficType: string
zoneId: string
SpectrumApplication 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 SpectrumApplication resource accepts the following input properties:
- Dns
Spectrum
Application Dns - The name and type of DNS record for the Spectrum application.
- Protocol string
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - Zone
Id string - The zone identifier to target for the resource.
- Argo
Smart boolRouting - Enables Argo Smart Routing. Defaults to
false. - Edge
Ip stringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - Edge
Ips List<string> - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- Ip
Firewall bool - Enables the IP Firewall for this application. Defaults to
true. - Origin
Directs List<string> - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - Origin
Dns SpectrumApplication Origin Dns - A destination DNS addresses to the origin.
- Origin
Port int - Origin port to proxy traffice to. Conflicts with
origin_port_range. - Origin
Port SpectrumRange Application Origin Port Range - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - Proxy
Protocol string - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - Tls string
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - Traffic
Type string - Sets application type. Available values:
direct,http,https. Defaults todirect.
- Dns
Spectrum
Application Dns Args - The name and type of DNS record for the Spectrum application.
- Protocol string
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - Zone
Id string - The zone identifier to target for the resource.
- Argo
Smart boolRouting - Enables Argo Smart Routing. Defaults to
false. - Edge
Ip stringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - Edge
Ips []string - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- Ip
Firewall bool - Enables the IP Firewall for this application. Defaults to
true. - Origin
Directs []string - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - Origin
Dns SpectrumApplication Origin Dns Args - A destination DNS addresses to the origin.
- Origin
Port int - Origin port to proxy traffice to. Conflicts with
origin_port_range. - Origin
Port SpectrumRange Application Origin Port Range Args - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - Proxy
Protocol string - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - Tls string
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - Traffic
Type string - Sets application type. Available values:
direct,http,https. Defaults todirect.
- dns
Spectrum
Application Dns - The name and type of DNS record for the Spectrum application.
- protocol String
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - zone
Id String - The zone identifier to target for the resource.
- argo
Smart BooleanRouting - Enables Argo Smart Routing. Defaults to
false. - edge
Ip StringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - edge
Ips List<String> - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- ip
Firewall Boolean - Enables the IP Firewall for this application. Defaults to
true. - origin
Directs List<String> - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - origin
Dns SpectrumApplication Origin Dns - A destination DNS addresses to the origin.
- origin
Port Integer - Origin port to proxy traffice to. Conflicts with
origin_port_range. - origin
Port SpectrumRange Application Origin Port Range - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - proxy
Protocol String - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - tls String
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - traffic
Type String - Sets application type. Available values:
direct,http,https. Defaults todirect.
- dns
Spectrum
Application Dns - The name and type of DNS record for the Spectrum application.
- protocol string
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - zone
Id string - The zone identifier to target for the resource.
- argo
Smart booleanRouting - Enables Argo Smart Routing. Defaults to
false. - edge
Ip stringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - edge
Ips string[] - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- ip
Firewall boolean - Enables the IP Firewall for this application. Defaults to
true. - origin
Directs string[] - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - origin
Dns SpectrumApplication Origin Dns - A destination DNS addresses to the origin.
- origin
Port number - Origin port to proxy traffice to. Conflicts with
origin_port_range. - origin
Port SpectrumRange Application Origin Port Range - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - proxy
Protocol string - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - tls string
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - traffic
Type string - Sets application type. Available values:
direct,http,https. Defaults todirect.
- dns
Spectrum
Application Dns Args - The name and type of DNS record for the Spectrum application.
- protocol str
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - zone_
id str - The zone identifier to target for the resource.
- argo_
smart_ boolrouting - Enables Argo Smart Routing. Defaults to
false. - edge_
ip_ strconnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - edge_
ips Sequence[str] - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- ip_
firewall bool - Enables the IP Firewall for this application. Defaults to
true. - origin_
directs Sequence[str] - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - origin_
dns SpectrumApplication Origin Dns Args - A destination DNS addresses to the origin.
- origin_
port int - Origin port to proxy traffice to. Conflicts with
origin_port_range. - origin_
port_ Spectrumrange Application Origin Port Range Args - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - proxy_
protocol str - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - tls str
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - traffic_
type str - Sets application type. Available values:
direct,http,https. Defaults todirect.
- dns Property Map
- The name and type of DNS record for the Spectrum application.
- protocol String
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - zone
Id String - The zone identifier to target for the resource.
- argo
Smart BooleanRouting - Enables Argo Smart Routing. Defaults to
false. - edge
Ip StringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - edge
Ips List<String> - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- ip
Firewall Boolean - Enables the IP Firewall for this application. Defaults to
true. - origin
Directs List<String> - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - origin
Dns Property Map - A destination DNS addresses to the origin.
- origin
Port Number - Origin port to proxy traffice to. Conflicts with
origin_port_range. - origin
Port Property MapRange - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - proxy
Protocol String - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - tls String
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - traffic
Type String - Sets application type. Available values:
direct,http,https. Defaults todirect.
Outputs
All input properties are implicitly available as output properties. Additionally, the SpectrumApplication 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 SpectrumApplication Resource
Get an existing SpectrumApplication 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?: SpectrumApplicationState, opts?: CustomResourceOptions): SpectrumApplication@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
argo_smart_routing: Optional[bool] = None,
dns: Optional[SpectrumApplicationDnsArgs] = None,
edge_ip_connectivity: Optional[str] = None,
edge_ips: Optional[Sequence[str]] = None,
ip_firewall: Optional[bool] = None,
origin_directs: Optional[Sequence[str]] = None,
origin_dns: Optional[SpectrumApplicationOriginDnsArgs] = None,
origin_port: Optional[int] = None,
origin_port_range: Optional[SpectrumApplicationOriginPortRangeArgs] = None,
protocol: Optional[str] = None,
proxy_protocol: Optional[str] = None,
tls: Optional[str] = None,
traffic_type: Optional[str] = None,
zone_id: Optional[str] = None) -> SpectrumApplicationfunc GetSpectrumApplication(ctx *Context, name string, id IDInput, state *SpectrumApplicationState, opts ...ResourceOption) (*SpectrumApplication, error)public static SpectrumApplication Get(string name, Input<string> id, SpectrumApplicationState? state, CustomResourceOptions? opts = null)public static SpectrumApplication get(String name, Output<String> id, SpectrumApplicationState state, CustomResourceOptions options)resources: _: type: cloudflare:SpectrumApplication 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.
- Argo
Smart boolRouting - Enables Argo Smart Routing. Defaults to
false. - Dns
Spectrum
Application Dns - The name and type of DNS record for the Spectrum application.
- Edge
Ip stringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - Edge
Ips List<string> - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- Ip
Firewall bool - Enables the IP Firewall for this application. Defaults to
true. - Origin
Directs List<string> - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - Origin
Dns SpectrumApplication Origin Dns - A destination DNS addresses to the origin.
- Origin
Port int - Origin port to proxy traffice to. Conflicts with
origin_port_range. - Origin
Port SpectrumRange Application Origin Port Range - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - Protocol string
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - Proxy
Protocol string - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - Tls string
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - Traffic
Type string - Sets application type. Available values:
direct,http,https. Defaults todirect. - Zone
Id string - The zone identifier to target for the resource.
- Argo
Smart boolRouting - Enables Argo Smart Routing. Defaults to
false. - Dns
Spectrum
Application Dns Args - The name and type of DNS record for the Spectrum application.
- Edge
Ip stringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - Edge
Ips []string - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- Ip
Firewall bool - Enables the IP Firewall for this application. Defaults to
true. - Origin
Directs []string - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - Origin
Dns SpectrumApplication Origin Dns Args - A destination DNS addresses to the origin.
- Origin
Port int - Origin port to proxy traffice to. Conflicts with
origin_port_range. - Origin
Port SpectrumRange Application Origin Port Range Args - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - Protocol string
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - Proxy
Protocol string - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - Tls string
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - Traffic
Type string - Sets application type. Available values:
direct,http,https. Defaults todirect. - Zone
Id string - The zone identifier to target for the resource.
- argo
Smart BooleanRouting - Enables Argo Smart Routing. Defaults to
false. - dns
Spectrum
Application Dns - The name and type of DNS record for the Spectrum application.
- edge
Ip StringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - edge
Ips List<String> - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- ip
Firewall Boolean - Enables the IP Firewall for this application. Defaults to
true. - origin
Directs List<String> - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - origin
Dns SpectrumApplication Origin Dns - A destination DNS addresses to the origin.
- origin
Port Integer - Origin port to proxy traffice to. Conflicts with
origin_port_range. - origin
Port SpectrumRange Application Origin Port Range - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - protocol String
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - proxy
Protocol String - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - tls String
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - traffic
Type String - Sets application type. Available values:
direct,http,https. Defaults todirect. - zone
Id String - The zone identifier to target for the resource.
- argo
Smart booleanRouting - Enables Argo Smart Routing. Defaults to
false. - dns
Spectrum
Application Dns - The name and type of DNS record for the Spectrum application.
- edge
Ip stringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - edge
Ips string[] - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- ip
Firewall boolean - Enables the IP Firewall for this application. Defaults to
true. - origin
Directs string[] - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - origin
Dns SpectrumApplication Origin Dns - A destination DNS addresses to the origin.
- origin
Port number - Origin port to proxy traffice to. Conflicts with
origin_port_range. - origin
Port SpectrumRange Application Origin Port Range - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - protocol string
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - proxy
Protocol string - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - tls string
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - traffic
Type string - Sets application type. Available values:
direct,http,https. Defaults todirect. - zone
Id string - The zone identifier to target for the resource.
- argo_
smart_ boolrouting - Enables Argo Smart Routing. Defaults to
false. - dns
Spectrum
Application Dns Args - The name and type of DNS record for the Spectrum application.
- edge_
ip_ strconnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - edge_
ips Sequence[str] - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- ip_
firewall bool - Enables the IP Firewall for this application. Defaults to
true. - origin_
directs Sequence[str] - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - origin_
dns SpectrumApplication Origin Dns Args - A destination DNS addresses to the origin.
- origin_
port int - Origin port to proxy traffice to. Conflicts with
origin_port_range. - origin_
port_ Spectrumrange Application Origin Port Range Args - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - protocol str
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - proxy_
protocol str - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - tls str
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - traffic_
type str - Sets application type. Available values:
direct,http,https. Defaults todirect. - zone_
id str - The zone identifier to target for the resource.
- argo
Smart BooleanRouting - Enables Argo Smart Routing. Defaults to
false. - dns Property Map
- The name and type of DNS record for the Spectrum application.
- edge
Ip StringConnectivity - Choose which types of IP addresses will be provisioned for this subdomain. Available values:
all,ipv4,ipv6. - edge
Ips List<String> - A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.
- ip
Firewall Boolean - Enables the IP Firewall for this application. Defaults to
true. - origin
Directs List<String> - A list of destination addresses to the origin. e.g.
tcp://192.0.2.1:22. - origin
Dns Property Map - A destination DNS addresses to the origin.
- origin
Port Number - Origin port to proxy traffice to. Conflicts with
origin_port_range. - origin
Port Property MapRange - Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
tcp/22-23. Conflicts withorigin_port. - protocol String
- The port configuration at Cloudflare’s edge. e.g.
tcp/22. - proxy
Protocol String - Enables a proxy protocol to the origin. Available values:
off,v1,v2,simple. Defaults tooff. - tls String
- TLS configuration option for Cloudflare to connect to your origin. Available values:
off,flexible,full,strict. Defaults tooff. - traffic
Type String - Sets application type. Available values:
direct,http,https. Defaults todirect. - zone
Id String - The zone identifier to target for the resource.
Supporting Types
SpectrumApplicationDns, SpectrumApplicationDnsArgs
SpectrumApplicationOriginDns, SpectrumApplicationOriginDnsArgs
- Name string
- Fully qualified domain name of the origin.
- Name string
- Fully qualified domain name of the origin.
- name String
- Fully qualified domain name of the origin.
- name string
- Fully qualified domain name of the origin.
- name str
- Fully qualified domain name of the origin.
- name String
- Fully qualified domain name of the origin.
SpectrumApplicationOriginPortRange, SpectrumApplicationOriginPortRangeArgs
Import
$ pulumi import cloudflare:index/spectrumApplication:SpectrumApplication example <zone_id>/<spectrum_application_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 Monday, Mar 9, 2026 by Pulumi
