SpectrumApplicationArgs

data class SpectrumApplicationArgs(val argoSmartRouting: Output<Boolean>? = null, val dns: Output<SpectrumApplicationDnsArgs>? = null, val edgeIpConnectivity: Output<String>? = null, val edgeIps: Output<List<String>>? = null, val ipFirewall: Output<Boolean>? = null, val originDirects: Output<List<String>>? = null, val originDns: Output<SpectrumApplicationOriginDnsArgs>? = null, val originPort: Output<Int>? = null, val originPortRange: Output<SpectrumApplicationOriginPortRangeArgs>? = null, val protocol: Output<String>? = null, val proxyProtocol: Output<String>? = null, val tls: Output<String>? = null, val trafficType: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<SpectrumApplicationArgs>

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

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

$ pulumi import cloudflare:index/spectrumApplication:SpectrumApplication example <zone_id>/<spectrum_application_id>

Constructors

Link copied to clipboard
constructor(argoSmartRouting: Output<Boolean>? = null, dns: Output<SpectrumApplicationDnsArgs>? = null, edgeIpConnectivity: Output<String>? = null, edgeIps: Output<List<String>>? = null, ipFirewall: Output<Boolean>? = null, originDirects: Output<List<String>>? = null, originDns: Output<SpectrumApplicationOriginDnsArgs>? = null, originPort: Output<Int>? = null, originPortRange: Output<SpectrumApplicationOriginPortRangeArgs>? = null, protocol: Output<String>? = null, proxyProtocol: Output<String>? = null, tls: Output<String>? = null, trafficType: Output<String>? = null, zoneId: Output<String>? = null)

Properties

Link copied to clipboard
val argoSmartRouting: Output<Boolean>? = null

Enables Argo Smart Routing. Defaults to false.

Link copied to clipboard
val dns: Output<SpectrumApplicationDnsArgs>? = null

The name and type of DNS record for the Spectrum application.

Link copied to clipboard
val edgeIpConnectivity: Output<String>? = null

Choose which types of IP addresses will be provisioned for this subdomain. Available values: all, ipv4, ipv6.

Link copied to clipboard
val edgeIps: Output<List<String>>? = null

A list of edge IPs (IPv4 and/or IPv6) to configure Spectrum application to. Requires Bring Your Own IP provisioned.

Link copied to clipboard
val ipFirewall: Output<Boolean>? = null

Enables the IP Firewall for this application. Defaults to true.

Link copied to clipboard
val originDirects: Output<List<String>>? = null

A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.

Link copied to clipboard

A destination DNS addresses to the origin.

Link copied to clipboard
val originPort: Output<Int>? = null

Origin port to proxy traffice to. Conflicts with origin_port_range.

Link copied to clipboard

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 with origin_port.

Link copied to clipboard
val protocol: Output<String>? = null

The port configuration at Cloudflare’s edge. e.g. tcp/22.

Link copied to clipboard
val proxyProtocol: Output<String>? = null

Enables a proxy protocol to the origin. Available values: off, v1, v2, simple. Defaults to off.

Link copied to clipboard
val tls: Output<String>? = null

TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict. Defaults to off.

Link copied to clipboard
val trafficType: Output<String>? = null

Sets application type. Available values: direct, http, https. Defaults to direct.

Link copied to clipboard
val zoneId: Output<String>? = null

The zone identifier to target for the resource.

Functions

Link copied to clipboard
open override fun toJava(): SpectrumApplicationArgs