cloudflare.ZoneSettingsOverride
Explore with Pulumi AI
Provides a resource which customizes Cloudflare zone settings.
You should not use this resource to manage every zone setting. This resource is only intended to override those which you do not want the default. Attempting to manage all settings will result in problems with the resource applying in a consistent manner.
Plan-Dependent Settings
Note that some settings are only available on certain plans. Setting an argument for a feature that is not available on the plan configured for the zone will result in an error:
Error: invalid zone setting "\<argument\>" (value: \<value\>) found - cannot be set as it is read only
This is true even when setting the argument to its default value. These values
should either be omitted or set to null
for zones with plans that don’t
support the feature. See the plan feature matrices for details on
feature support by plan.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const test = new cloudflare.ZoneSettingsOverride("test", {
zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
settings: {
brotli: "on",
challengeTtl: 2700,
securityLevel: "high",
opportunisticEncryption: "on",
automaticHttpsRewrites: "on",
mirage: "on",
waf: "on",
minify: {
css: "on",
js: "off",
html: "off",
},
securityHeader: {
enabled: true,
},
},
});
import pulumi
import pulumi_cloudflare as cloudflare
test = cloudflare.ZoneSettingsOverride("test",
zone_id="0da42c8d2132a9ddaf714f9e7c920711",
settings={
"brotli": "on",
"challenge_ttl": 2700,
"security_level": "high",
"opportunistic_encryption": "on",
"automatic_https_rewrites": "on",
"mirage": "on",
"waf": "on",
"minify": {
"css": "on",
"js": "off",
"html": "off",
},
"security_header": {
"enabled": True,
},
})
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewZoneSettingsOverride(ctx, "test", &cloudflare.ZoneSettingsOverrideArgs{
ZoneId: pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
Settings: &cloudflare.ZoneSettingsOverrideSettingsArgs{
Brotli: pulumi.String("on"),
ChallengeTtl: pulumi.Int(2700),
SecurityLevel: pulumi.String("high"),
OpportunisticEncryption: pulumi.String("on"),
AutomaticHttpsRewrites: pulumi.String("on"),
Mirage: pulumi.String("on"),
Waf: pulumi.String("on"),
Minify: &cloudflare.ZoneSettingsOverrideSettingsMinifyArgs{
Css: pulumi.String("on"),
Js: pulumi.String("off"),
Html: pulumi.String("off"),
},
SecurityHeader: &cloudflare.ZoneSettingsOverrideSettingsSecurityHeaderArgs{
Enabled: pulumi.Bool(true),
},
},
})
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 test = new Cloudflare.ZoneSettingsOverride("test", new()
{
ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
Settings = new Cloudflare.Inputs.ZoneSettingsOverrideSettingsArgs
{
Brotli = "on",
ChallengeTtl = 2700,
SecurityLevel = "high",
OpportunisticEncryption = "on",
AutomaticHttpsRewrites = "on",
Mirage = "on",
Waf = "on",
Minify = new Cloudflare.Inputs.ZoneSettingsOverrideSettingsMinifyArgs
{
Css = "on",
Js = "off",
Html = "off",
},
SecurityHeader = new Cloudflare.Inputs.ZoneSettingsOverrideSettingsSecurityHeaderArgs
{
Enabled = true,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZoneSettingsOverride;
import com.pulumi.cloudflare.ZoneSettingsOverrideArgs;
import com.pulumi.cloudflare.inputs.ZoneSettingsOverrideSettingsArgs;
import com.pulumi.cloudflare.inputs.ZoneSettingsOverrideSettingsMinifyArgs;
import com.pulumi.cloudflare.inputs.ZoneSettingsOverrideSettingsSecurityHeaderArgs;
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 test = new ZoneSettingsOverride("test", ZoneSettingsOverrideArgs.builder()
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.settings(ZoneSettingsOverrideSettingsArgs.builder()
.brotli("on")
.challengeTtl(2700)
.securityLevel("high")
.opportunisticEncryption("on")
.automaticHttpsRewrites("on")
.mirage("on")
.waf("on")
.minify(ZoneSettingsOverrideSettingsMinifyArgs.builder()
.css("on")
.js("off")
.html("off")
.build())
.securityHeader(ZoneSettingsOverrideSettingsSecurityHeaderArgs.builder()
.enabled(true)
.build())
.build())
.build());
}
}
resources:
test:
type: cloudflare:ZoneSettingsOverride
properties:
zoneId: 0da42c8d2132a9ddaf714f9e7c920711
settings:
brotli: on
challengeTtl: 2700
securityLevel: high
opportunisticEncryption: on
automaticHttpsRewrites: on
mirage: on
waf: on
minify:
css: on
js: off
html: off
securityHeader:
enabled: true
Create ZoneSettingsOverride Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZoneSettingsOverride(name: string, args: ZoneSettingsOverrideArgs, opts?: CustomResourceOptions);
@overload
def ZoneSettingsOverride(resource_name: str,
args: ZoneSettingsOverrideArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZoneSettingsOverride(resource_name: str,
opts: Optional[ResourceOptions] = None,
zone_id: Optional[str] = None,
settings: Optional[ZoneSettingsOverrideSettingsArgs] = None)
func NewZoneSettingsOverride(ctx *Context, name string, args ZoneSettingsOverrideArgs, opts ...ResourceOption) (*ZoneSettingsOverride, error)
public ZoneSettingsOverride(string name, ZoneSettingsOverrideArgs args, CustomResourceOptions? opts = null)
public ZoneSettingsOverride(String name, ZoneSettingsOverrideArgs args)
public ZoneSettingsOverride(String name, ZoneSettingsOverrideArgs args, CustomResourceOptions options)
type: cloudflare:ZoneSettingsOverride
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 ZoneSettingsOverrideArgs
- 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 ZoneSettingsOverrideArgs
- 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 ZoneSettingsOverrideArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZoneSettingsOverrideArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZoneSettingsOverrideArgs
- 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 zoneSettingsOverrideResource = new Cloudflare.ZoneSettingsOverride("zoneSettingsOverrideResource", new()
{
ZoneId = "string",
Settings = new Cloudflare.Inputs.ZoneSettingsOverrideSettingsArgs
{
AlwaysOnline = "string",
AlwaysUseHttps = "string",
AutomaticHttpsRewrites = "string",
BinaryAst = "string",
Brotli = "string",
BrowserCacheTtl = 0,
BrowserCheck = "string",
CacheLevel = "string",
ChallengeTtl = 0,
Ciphers = new[]
{
"string",
},
CnameFlattening = "string",
DevelopmentMode = "string",
EarlyHints = "string",
EmailObfuscation = "string",
FilterLogsToCloudflare = "string",
Fonts = "string",
H2Prioritization = "string",
HotlinkProtection = "string",
Http2 = "string",
Http3 = "string",
ImageResizing = "string",
IpGeolocation = "string",
Ipv6 = "string",
LogToCloudflare = "string",
MaxUpload = 0,
MinTlsVersion = "string",
Minify = new Cloudflare.Inputs.ZoneSettingsOverrideSettingsMinifyArgs
{
Css = "string",
Html = "string",
Js = "string",
},
Mirage = "string",
Nel = new Cloudflare.Inputs.ZoneSettingsOverrideSettingsNelArgs
{
Enabled = false,
},
OpportunisticEncryption = "string",
OpportunisticOnion = "string",
OrangeToOrange = "string",
OriginErrorPagePassThru = "string",
OriginMaxHttpVersion = "string",
Polish = "string",
PrefetchPreload = "string",
PrivacyPass = "string",
ProxyReadTimeout = "string",
PseudoIpv4 = "string",
ReplaceInsecureJs = "string",
ResponseBuffering = "string",
RocketLoader = "string",
SecurityHeader = new Cloudflare.Inputs.ZoneSettingsOverrideSettingsSecurityHeaderArgs
{
Enabled = false,
IncludeSubdomains = false,
MaxAge = 0,
Nosniff = false,
Preload = false,
},
SecurityLevel = "string",
ServerSideExclude = "string",
SortQueryStringForCache = "string",
Ssl = "string",
Tls13 = "string",
TlsClientAuth = "string",
TrueClientIpHeader = "string",
UniversalSsl = "string",
VisitorIp = "string",
Waf = "string",
Webp = "string",
Websockets = "string",
ZeroRtt = "string",
},
});
example, err := cloudflare.NewZoneSettingsOverride(ctx, "zoneSettingsOverrideResource", &cloudflare.ZoneSettingsOverrideArgs{
ZoneId: pulumi.String("string"),
Settings: &cloudflare.ZoneSettingsOverrideSettingsArgs{
AlwaysOnline: pulumi.String("string"),
AlwaysUseHttps: pulumi.String("string"),
AutomaticHttpsRewrites: pulumi.String("string"),
BinaryAst: pulumi.String("string"),
Brotli: pulumi.String("string"),
BrowserCacheTtl: pulumi.Int(0),
BrowserCheck: pulumi.String("string"),
CacheLevel: pulumi.String("string"),
ChallengeTtl: pulumi.Int(0),
Ciphers: pulumi.StringArray{
pulumi.String("string"),
},
CnameFlattening: pulumi.String("string"),
DevelopmentMode: pulumi.String("string"),
EarlyHints: pulumi.String("string"),
EmailObfuscation: pulumi.String("string"),
FilterLogsToCloudflare: pulumi.String("string"),
Fonts: pulumi.String("string"),
H2Prioritization: pulumi.String("string"),
HotlinkProtection: pulumi.String("string"),
Http2: pulumi.String("string"),
Http3: pulumi.String("string"),
ImageResizing: pulumi.String("string"),
IpGeolocation: pulumi.String("string"),
Ipv6: pulumi.String("string"),
LogToCloudflare: pulumi.String("string"),
MaxUpload: pulumi.Int(0),
MinTlsVersion: pulumi.String("string"),
Minify: &cloudflare.ZoneSettingsOverrideSettingsMinifyArgs{
Css: pulumi.String("string"),
Html: pulumi.String("string"),
Js: pulumi.String("string"),
},
Mirage: pulumi.String("string"),
Nel: &cloudflare.ZoneSettingsOverrideSettingsNelArgs{
Enabled: pulumi.Bool(false),
},
OpportunisticEncryption: pulumi.String("string"),
OpportunisticOnion: pulumi.String("string"),
OrangeToOrange: pulumi.String("string"),
OriginErrorPagePassThru: pulumi.String("string"),
OriginMaxHttpVersion: pulumi.String("string"),
Polish: pulumi.String("string"),
PrefetchPreload: pulumi.String("string"),
PrivacyPass: pulumi.String("string"),
ProxyReadTimeout: pulumi.String("string"),
PseudoIpv4: pulumi.String("string"),
ReplaceInsecureJs: pulumi.String("string"),
ResponseBuffering: pulumi.String("string"),
RocketLoader: pulumi.String("string"),
SecurityHeader: &cloudflare.ZoneSettingsOverrideSettingsSecurityHeaderArgs{
Enabled: pulumi.Bool(false),
IncludeSubdomains: pulumi.Bool(false),
MaxAge: pulumi.Int(0),
Nosniff: pulumi.Bool(false),
Preload: pulumi.Bool(false),
},
SecurityLevel: pulumi.String("string"),
ServerSideExclude: pulumi.String("string"),
SortQueryStringForCache: pulumi.String("string"),
Ssl: pulumi.String("string"),
Tls13: pulumi.String("string"),
TlsClientAuth: pulumi.String("string"),
TrueClientIpHeader: pulumi.String("string"),
UniversalSsl: pulumi.String("string"),
VisitorIp: pulumi.String("string"),
Waf: pulumi.String("string"),
Webp: pulumi.String("string"),
Websockets: pulumi.String("string"),
ZeroRtt: pulumi.String("string"),
},
})
var zoneSettingsOverrideResource = new ZoneSettingsOverride("zoneSettingsOverrideResource", ZoneSettingsOverrideArgs.builder()
.zoneId("string")
.settings(ZoneSettingsOverrideSettingsArgs.builder()
.alwaysOnline("string")
.alwaysUseHttps("string")
.automaticHttpsRewrites("string")
.binaryAst("string")
.brotli("string")
.browserCacheTtl(0)
.browserCheck("string")
.cacheLevel("string")
.challengeTtl(0)
.ciphers("string")
.cnameFlattening("string")
.developmentMode("string")
.earlyHints("string")
.emailObfuscation("string")
.filterLogsToCloudflare("string")
.fonts("string")
.h2Prioritization("string")
.hotlinkProtection("string")
.http2("string")
.http3("string")
.imageResizing("string")
.ipGeolocation("string")
.ipv6("string")
.logToCloudflare("string")
.maxUpload(0)
.minTlsVersion("string")
.minify(ZoneSettingsOverrideSettingsMinifyArgs.builder()
.css("string")
.html("string")
.js("string")
.build())
.mirage("string")
.nel(ZoneSettingsOverrideSettingsNelArgs.builder()
.enabled(false)
.build())
.opportunisticEncryption("string")
.opportunisticOnion("string")
.orangeToOrange("string")
.originErrorPagePassThru("string")
.originMaxHttpVersion("string")
.polish("string")
.prefetchPreload("string")
.privacyPass("string")
.proxyReadTimeout("string")
.pseudoIpv4("string")
.replaceInsecureJs("string")
.responseBuffering("string")
.rocketLoader("string")
.securityHeader(ZoneSettingsOverrideSettingsSecurityHeaderArgs.builder()
.enabled(false)
.includeSubdomains(false)
.maxAge(0)
.nosniff(false)
.preload(false)
.build())
.securityLevel("string")
.serverSideExclude("string")
.sortQueryStringForCache("string")
.ssl("string")
.tls13("string")
.tlsClientAuth("string")
.trueClientIpHeader("string")
.universalSsl("string")
.visitorIp("string")
.waf("string")
.webp("string")
.websockets("string")
.zeroRtt("string")
.build())
.build());
zone_settings_override_resource = cloudflare.ZoneSettingsOverride("zoneSettingsOverrideResource",
zone_id="string",
settings=cloudflare.ZoneSettingsOverrideSettingsArgs(
always_online="string",
always_use_https="string",
automatic_https_rewrites="string",
binary_ast="string",
brotli="string",
browser_cache_ttl=0,
browser_check="string",
cache_level="string",
challenge_ttl=0,
ciphers=["string"],
cname_flattening="string",
development_mode="string",
early_hints="string",
email_obfuscation="string",
filter_logs_to_cloudflare="string",
fonts="string",
h2_prioritization="string",
hotlink_protection="string",
http2="string",
http3="string",
image_resizing="string",
ip_geolocation="string",
ipv6="string",
log_to_cloudflare="string",
max_upload=0,
min_tls_version="string",
minify=cloudflare.ZoneSettingsOverrideSettingsMinifyArgs(
css="string",
html="string",
js="string",
),
mirage="string",
nel=cloudflare.ZoneSettingsOverrideSettingsNelArgs(
enabled=False,
),
opportunistic_encryption="string",
opportunistic_onion="string",
orange_to_orange="string",
origin_error_page_pass_thru="string",
origin_max_http_version="string",
polish="string",
prefetch_preload="string",
privacy_pass="string",
proxy_read_timeout="string",
pseudo_ipv4="string",
replace_insecure_js="string",
response_buffering="string",
rocket_loader="string",
security_header=cloudflare.ZoneSettingsOverrideSettingsSecurityHeaderArgs(
enabled=False,
include_subdomains=False,
max_age=0,
nosniff=False,
preload=False,
),
security_level="string",
server_side_exclude="string",
sort_query_string_for_cache="string",
ssl="string",
tls13="string",
tls_client_auth="string",
true_client_ip_header="string",
universal_ssl="string",
visitor_ip="string",
waf="string",
webp="string",
websockets="string",
zero_rtt="string",
))
const zoneSettingsOverrideResource = new cloudflare.ZoneSettingsOverride("zoneSettingsOverrideResource", {
zoneId: "string",
settings: {
alwaysOnline: "string",
alwaysUseHttps: "string",
automaticHttpsRewrites: "string",
binaryAst: "string",
brotli: "string",
browserCacheTtl: 0,
browserCheck: "string",
cacheLevel: "string",
challengeTtl: 0,
ciphers: ["string"],
cnameFlattening: "string",
developmentMode: "string",
earlyHints: "string",
emailObfuscation: "string",
filterLogsToCloudflare: "string",
fonts: "string",
h2Prioritization: "string",
hotlinkProtection: "string",
http2: "string",
http3: "string",
imageResizing: "string",
ipGeolocation: "string",
ipv6: "string",
logToCloudflare: "string",
maxUpload: 0,
minTlsVersion: "string",
minify: {
css: "string",
html: "string",
js: "string",
},
mirage: "string",
nel: {
enabled: false,
},
opportunisticEncryption: "string",
opportunisticOnion: "string",
orangeToOrange: "string",
originErrorPagePassThru: "string",
originMaxHttpVersion: "string",
polish: "string",
prefetchPreload: "string",
privacyPass: "string",
proxyReadTimeout: "string",
pseudoIpv4: "string",
replaceInsecureJs: "string",
responseBuffering: "string",
rocketLoader: "string",
securityHeader: {
enabled: false,
includeSubdomains: false,
maxAge: 0,
nosniff: false,
preload: false,
},
securityLevel: "string",
serverSideExclude: "string",
sortQueryStringForCache: "string",
ssl: "string",
tls13: "string",
tlsClientAuth: "string",
trueClientIpHeader: "string",
universalSsl: "string",
visitorIp: "string",
waf: "string",
webp: "string",
websockets: "string",
zeroRtt: "string",
},
});
type: cloudflare:ZoneSettingsOverride
properties:
settings:
alwaysOnline: string
alwaysUseHttps: string
automaticHttpsRewrites: string
binaryAst: string
brotli: string
browserCacheTtl: 0
browserCheck: string
cacheLevel: string
challengeTtl: 0
ciphers:
- string
cnameFlattening: string
developmentMode: string
earlyHints: string
emailObfuscation: string
filterLogsToCloudflare: string
fonts: string
h2Prioritization: string
hotlinkProtection: string
http2: string
http3: string
imageResizing: string
ipGeolocation: string
ipv6: string
logToCloudflare: string
maxUpload: 0
minTlsVersion: string
minify:
css: string
html: string
js: string
mirage: string
nel:
enabled: false
opportunisticEncryption: string
opportunisticOnion: string
orangeToOrange: string
originErrorPagePassThru: string
originMaxHttpVersion: string
polish: string
prefetchPreload: string
privacyPass: string
proxyReadTimeout: string
pseudoIpv4: string
replaceInsecureJs: string
responseBuffering: string
rocketLoader: string
securityHeader:
enabled: false
includeSubdomains: false
maxAge: 0
nosniff: false
preload: false
securityLevel: string
serverSideExclude: string
sortQueryStringForCache: string
ssl: string
tls13: string
tlsClientAuth: string
trueClientIpHeader: string
universalSsl: string
visitorIp: string
waf: string
webp: string
websockets: string
zeroRtt: string
zoneId: string
ZoneSettingsOverride Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ZoneSettingsOverride resource accepts the following input properties:
- Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- Settings
Zone
Settings Override Settings
- Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- Settings
Zone
Settings Override Settings Args
- zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- settings
Zone
Settings Override Settings
- zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- settings
Zone
Settings Override Settings
- zone_
id str - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- settings
Zone
Settings Override Settings Args
- zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- settings Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ZoneSettingsOverride resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Initial
Settings List<ZoneSettings Override Initial Setting> - Initial
Settings stringRead At - Readonly
Settings List<string> - Zone
Status string - Zone
Type string
- Id string
- The provider-assigned unique ID for this managed resource.
- Initial
Settings []ZoneSettings Override Initial Setting - Initial
Settings stringRead At - Readonly
Settings []string - Zone
Status string - Zone
Type string
- id String
- The provider-assigned unique ID for this managed resource.
- initial
Settings List<ZoneSettings Override Initial Setting> - initial
Settings StringRead At - readonly
Settings List<String> - zone
Status String - zone
Type String
- id string
- The provider-assigned unique ID for this managed resource.
- initial
Settings ZoneSettings Override Initial Setting[] - initial
Settings stringRead At - readonly
Settings string[] - zone
Status string - zone
Type string
- id str
- The provider-assigned unique ID for this managed resource.
- initial_
settings Sequence[ZoneSettings Override Initial Setting] - initial_
settings_ strread_ at - readonly_
settings Sequence[str] - zone_
status str - zone_
type str
- id String
- The provider-assigned unique ID for this managed resource.
- initial
Settings List<Property Map> - initial
Settings StringRead At - readonly
Settings List<String> - zone
Status String - zone
Type String
Look up Existing ZoneSettingsOverride Resource
Get an existing ZoneSettingsOverride 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?: ZoneSettingsOverrideState, opts?: CustomResourceOptions): ZoneSettingsOverride
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
initial_settings: Optional[Sequence[ZoneSettingsOverrideInitialSettingArgs]] = None,
initial_settings_read_at: Optional[str] = None,
readonly_settings: Optional[Sequence[str]] = None,
settings: Optional[ZoneSettingsOverrideSettingsArgs] = None,
zone_id: Optional[str] = None,
zone_status: Optional[str] = None,
zone_type: Optional[str] = None) -> ZoneSettingsOverride
func GetZoneSettingsOverride(ctx *Context, name string, id IDInput, state *ZoneSettingsOverrideState, opts ...ResourceOption) (*ZoneSettingsOverride, error)
public static ZoneSettingsOverride Get(string name, Input<string> id, ZoneSettingsOverrideState? state, CustomResourceOptions? opts = null)
public static ZoneSettingsOverride get(String name, Output<String> id, ZoneSettingsOverrideState 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.
- Initial
Settings List<ZoneSettings Override Initial Setting> - Initial
Settings stringRead At - Readonly
Settings List<string> - Settings
Zone
Settings Override Settings - Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- Zone
Status string - Zone
Type string
- Initial
Settings []ZoneSettings Override Initial Setting Args - Initial
Settings stringRead At - Readonly
Settings []string - Settings
Zone
Settings Override Settings Args - Zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- Zone
Status string - Zone
Type string
- initial
Settings List<ZoneSettings Override Initial Setting> - initial
Settings StringRead At - readonly
Settings List<String> - settings
Zone
Settings Override Settings - zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- zone
Status String - zone
Type String
- initial
Settings ZoneSettings Override Initial Setting[] - initial
Settings stringRead At - readonly
Settings string[] - settings
Zone
Settings Override Settings - zone
Id string - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- zone
Status string - zone
Type string
- initial_
settings Sequence[ZoneSettings Override Initial Setting Args] - initial_
settings_ strread_ at - readonly_
settings Sequence[str] - settings
Zone
Settings Override Settings Args - zone_
id str - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- zone_
status str - zone_
type str
- initial
Settings List<Property Map> - initial
Settings StringRead At - readonly
Settings List<String> - settings Property Map
- zone
Id String - The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
- zone
Status String - zone
Type String
Supporting Types
ZoneSettingsOverrideInitialSetting, ZoneSettingsOverrideInitialSettingArgs
- Always
Online string - Always
Use stringHttps - Automatic
Https stringRewrites - Binary
Ast string - Brotli string
- Browser
Cache intTtl - Browser
Check string - Cache
Level string - Challenge
Ttl int - Ciphers List<string>
- Cname
Flattening string - Development
Mode string - Early
Hints string - Email
Obfuscation string - Filter
Logs stringTo Cloudflare - Fonts string
- H2Prioritization string
- Hotlink
Protection string - Http2 string
- Http3 string
- Image
Resizing string - Ip
Geolocation string - Ipv6 string
- Log
To stringCloudflare - Max
Upload int - Min
Tls stringVersion - Minify
Zone
Settings Override Initial Setting Minify - Mirage string
- Mobile
Redirect ZoneSettings Override Initial Setting Mobile Redirect - Nel
Zone
Settings Override Initial Setting Nel - Opportunistic
Encryption string - Opportunistic
Onion string - Orange
To stringOrange - Origin
Error stringPage Pass Thru - Origin
Max stringHttp Version - Polish string
- Prefetch
Preload string - Privacy
Pass string - Proxy
Read stringTimeout - Pseudo
Ipv4 string - Replace
Insecure stringJs - Response
Buffering string - Rocket
Loader string - Security
Header ZoneSettings Override Initial Setting Security Header - Security
Level string - Server
Side stringExclude - Sort
Query stringString For Cache - Ssl string
- Tls12Only string
- Tls13 string
- Tls
Client stringAuth - True
Client stringIp Header - Universal
Ssl string - Visitor
Ip string - Waf string
- Webp string
- Websockets string
- Zero
Rtt string
- Always
Online string - Always
Use stringHttps - Automatic
Https stringRewrites - Binary
Ast string - Brotli string
- Browser
Cache intTtl - Browser
Check string - Cache
Level string - Challenge
Ttl int - Ciphers []string
- Cname
Flattening string - Development
Mode string - Early
Hints string - Email
Obfuscation string - Filter
Logs stringTo Cloudflare - Fonts string
- H2Prioritization string
- Hotlink
Protection string - Http2 string
- Http3 string
- Image
Resizing string - Ip
Geolocation string - Ipv6 string
- Log
To stringCloudflare - Max
Upload int - Min
Tls stringVersion - Minify
Zone
Settings Override Initial Setting Minify - Mirage string
- Mobile
Redirect ZoneSettings Override Initial Setting Mobile Redirect - Nel
Zone
Settings Override Initial Setting Nel - Opportunistic
Encryption string - Opportunistic
Onion string - Orange
To stringOrange - Origin
Error stringPage Pass Thru - Origin
Max stringHttp Version - Polish string
- Prefetch
Preload string - Privacy
Pass string - Proxy
Read stringTimeout - Pseudo
Ipv4 string - Replace
Insecure stringJs - Response
Buffering string - Rocket
Loader string - Security
Header ZoneSettings Override Initial Setting Security Header - Security
Level string - Server
Side stringExclude - Sort
Query stringString For Cache - Ssl string
- Tls12Only string
- Tls13 string
- Tls
Client stringAuth - True
Client stringIp Header - Universal
Ssl string - Visitor
Ip string - Waf string
- Webp string
- Websockets string
- Zero
Rtt string
- always
Online String - always
Use StringHttps - automatic
Https StringRewrites - binary
Ast String - brotli String
- browser
Cache IntegerTtl - browser
Check String - cache
Level String - challenge
Ttl Integer - ciphers List<String>
- cname
Flattening String - development
Mode String - early
Hints String - email
Obfuscation String - filter
Logs StringTo Cloudflare - fonts String
- h2Prioritization String
- hotlink
Protection String - http2 String
- http3 String
- image
Resizing String - ip
Geolocation String - ipv6 String
- log
To StringCloudflare - max
Upload Integer - min
Tls StringVersion - minify
Zone
Settings Override Initial Setting Minify - mirage String
- mobile
Redirect ZoneSettings Override Initial Setting Mobile Redirect - nel
Zone
Settings Override Initial Setting Nel - opportunistic
Encryption String - opportunistic
Onion String - orange
To StringOrange - origin
Error StringPage Pass Thru - origin
Max StringHttp Version - polish String
- prefetch
Preload String - privacy
Pass String - proxy
Read StringTimeout - pseudo
Ipv4 String - replace
Insecure StringJs - response
Buffering String - rocket
Loader String - security
Header ZoneSettings Override Initial Setting Security Header - security
Level String - server
Side StringExclude - sort
Query StringString For Cache - ssl String
- tls12Only String
- tls13 String
- tls
Client StringAuth - true
Client StringIp Header - universal
Ssl String - visitor
Ip String - waf String
- webp String
- websockets String
- zero
Rtt String
- always
Online string - always
Use stringHttps - automatic
Https stringRewrites - binary
Ast string - brotli string
- browser
Cache numberTtl - browser
Check string - cache
Level string - challenge
Ttl number - ciphers string[]
- cname
Flattening string - development
Mode string - early
Hints string - email
Obfuscation string - filter
Logs stringTo Cloudflare - fonts string
- h2Prioritization string
- hotlink
Protection string - http2 string
- http3 string
- image
Resizing string - ip
Geolocation string - ipv6 string
- log
To stringCloudflare - max
Upload number - min
Tls stringVersion - minify
Zone
Settings Override Initial Setting Minify - mirage string
- mobile
Redirect ZoneSettings Override Initial Setting Mobile Redirect - nel
Zone
Settings Override Initial Setting Nel - opportunistic
Encryption string - opportunistic
Onion string - orange
To stringOrange - origin
Error stringPage Pass Thru - origin
Max stringHttp Version - polish string
- prefetch
Preload string - privacy
Pass string - proxy
Read stringTimeout - pseudo
Ipv4 string - replace
Insecure stringJs - response
Buffering string - rocket
Loader string - security
Header ZoneSettings Override Initial Setting Security Header - security
Level string - server
Side stringExclude - sort
Query stringString For Cache - ssl string
- tls12Only string
- tls13 string
- tls
Client stringAuth - true
Client stringIp Header - universal
Ssl string - visitor
Ip string - waf string
- webp string
- websockets string
- zero
Rtt string
- always_
online str - always_
use_ strhttps - automatic_
https_ strrewrites - binary_
ast str - brotli str
- browser_
cache_ intttl - browser_
check str - cache_
level str - challenge_
ttl int - ciphers Sequence[str]
- cname_
flattening str - development_
mode str - early_
hints str - email_
obfuscation str - filter_
logs_ strto_ cloudflare - fonts str
- h2_
prioritization str - hotlink_
protection str - http2 str
- http3 str
- image_
resizing str - ip_
geolocation str - ipv6 str
- log_
to_ strcloudflare - max_
upload int - min_
tls_ strversion - minify
Zone
Settings Override Initial Setting Minify - mirage str
- mobile_
redirect ZoneSettings Override Initial Setting Mobile Redirect - nel
Zone
Settings Override Initial Setting Nel - opportunistic_
encryption str - opportunistic_
onion str - orange_
to_ strorange - origin_
error_ strpage_ pass_ thru - origin_
max_ strhttp_ version - polish str
- prefetch_
preload str - privacy_
pass str - proxy_
read_ strtimeout - pseudo_
ipv4 str - replace_
insecure_ strjs - response_
buffering str - rocket_
loader str - security_
header ZoneSettings Override Initial Setting Security Header - security_
level str - server_
side_ strexclude - sort_
query_ strstring_ for_ cache - ssl str
- tls12_
only str - tls13 str
- tls_
client_ strauth - true_
client_ strip_ header - universal_
ssl str - visitor_
ip str - waf str
- webp str
- websockets str
- zero_
rtt str
- always
Online String - always
Use StringHttps - automatic
Https StringRewrites - binary
Ast String - brotli String
- browser
Cache NumberTtl - browser
Check String - cache
Level String - challenge
Ttl Number - ciphers List<String>
- cname
Flattening String - development
Mode String - early
Hints String - email
Obfuscation String - filter
Logs StringTo Cloudflare - fonts String
- h2Prioritization String
- hotlink
Protection String - http2 String
- http3 String
- image
Resizing String - ip
Geolocation String - ipv6 String
- log
To StringCloudflare - max
Upload Number - min
Tls StringVersion - minify Property Map
- mirage String
- mobile
Redirect Property Map - nel Property Map
- opportunistic
Encryption String - opportunistic
Onion String - orange
To StringOrange - origin
Error StringPage Pass Thru - origin
Max StringHttp Version - polish String
- prefetch
Preload String - privacy
Pass String - proxy
Read StringTimeout - pseudo
Ipv4 String - replace
Insecure StringJs - response
Buffering String - rocket
Loader String - security
Header Property Map - security
Level String - server
Side StringExclude - sort
Query StringString For Cache - ssl String
- tls12Only String
- tls13 String
- tls
Client StringAuth - true
Client StringIp Header - universal
Ssl String - visitor
Ip String - waf String
- webp String
- websockets String
- zero
Rtt String
ZoneSettingsOverrideInitialSettingMinify, ZoneSettingsOverrideInitialSettingMinifyArgs
ZoneSettingsOverrideInitialSettingMobileRedirect, ZoneSettingsOverrideInitialSettingMobileRedirectArgs
- Mobile
Subdomain string - Status string
- Strip
Uri bool
- Mobile
Subdomain string - Status string
- Strip
Uri bool
- mobile
Subdomain String - status String
- strip
Uri Boolean
- mobile
Subdomain string - status string
- strip
Uri boolean
- mobile_
subdomain str - status str
- strip_
uri bool
- mobile
Subdomain String - status String
- strip
Uri Boolean
ZoneSettingsOverrideInitialSettingNel, ZoneSettingsOverrideInitialSettingNelArgs
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
ZoneSettingsOverrideInitialSettingSecurityHeader, ZoneSettingsOverrideInitialSettingSecurityHeaderArgs
- Enabled bool
- Include
Subdomains bool - Max
Age int - Nosniff bool
- Preload bool
- Enabled bool
- Include
Subdomains bool - Max
Age int - Nosniff bool
- Preload bool
- enabled Boolean
- include
Subdomains Boolean - max
Age Integer - nosniff Boolean
- preload Boolean
- enabled boolean
- include
Subdomains boolean - max
Age number - nosniff boolean
- preload boolean
- enabled bool
- include_
subdomains bool - max_
age int - nosniff bool
- preload bool
- enabled Boolean
- include
Subdomains Boolean - max
Age Number - nosniff Boolean
- preload Boolean
ZoneSettingsOverrideSettings, ZoneSettingsOverrideSettingsArgs
- Always
Online string - Always
Use stringHttps - Automatic
Https stringRewrites - Binary
Ast string - Brotli string
- Browser
Cache intTtl - Browser
Check string - Cache
Level string - Challenge
Ttl int - Ciphers List<string>
- Cname
Flattening string - Development
Mode string - Early
Hints string - Email
Obfuscation string - Filter
Logs stringTo Cloudflare - Fonts string
- H2Prioritization string
- Hotlink
Protection string - Http2 string
- Http3 string
- Image
Resizing string - Ip
Geolocation string - Ipv6 string
- Log
To stringCloudflare - Max
Upload int - Min
Tls stringVersion - Minify
Zone
Settings Override Settings Minify - Mirage string
- Mobile
Redirect ZoneSettings Override Settings Mobile Redirect - Nel
Zone
Settings Override Settings Nel - Opportunistic
Encryption string - Opportunistic
Onion string - Orange
To stringOrange - Origin
Error stringPage Pass Thru - Origin
Max stringHttp Version - Polish string
- Prefetch
Preload string - Privacy
Pass string - Proxy
Read stringTimeout - Pseudo
Ipv4 string - Replace
Insecure stringJs - Response
Buffering string - Rocket
Loader string - Security
Header ZoneSettings Override Settings Security Header - Security
Level string - Server
Side stringExclude - Sort
Query stringString For Cache - Ssl string
- Tls12Only string
- Tls13 string
- Tls
Client stringAuth - True
Client stringIp Header - Universal
Ssl string - Visitor
Ip string - Waf string
- Webp string
- Websockets string
- Zero
Rtt string
- Always
Online string - Always
Use stringHttps - Automatic
Https stringRewrites - Binary
Ast string - Brotli string
- Browser
Cache intTtl - Browser
Check string - Cache
Level string - Challenge
Ttl int - Ciphers []string
- Cname
Flattening string - Development
Mode string - Early
Hints string - Email
Obfuscation string - Filter
Logs stringTo Cloudflare - Fonts string
- H2Prioritization string
- Hotlink
Protection string - Http2 string
- Http3 string
- Image
Resizing string - Ip
Geolocation string - Ipv6 string
- Log
To stringCloudflare - Max
Upload int - Min
Tls stringVersion - Minify
Zone
Settings Override Settings Minify - Mirage string
- Mobile
Redirect ZoneSettings Override Settings Mobile Redirect - Nel
Zone
Settings Override Settings Nel - Opportunistic
Encryption string - Opportunistic
Onion string - Orange
To stringOrange - Origin
Error stringPage Pass Thru - Origin
Max stringHttp Version - Polish string
- Prefetch
Preload string - Privacy
Pass string - Proxy
Read stringTimeout - Pseudo
Ipv4 string - Replace
Insecure stringJs - Response
Buffering string - Rocket
Loader string - Security
Header ZoneSettings Override Settings Security Header - Security
Level string - Server
Side stringExclude - Sort
Query stringString For Cache - Ssl string
- Tls12Only string
- Tls13 string
- Tls
Client stringAuth - True
Client stringIp Header - Universal
Ssl string - Visitor
Ip string - Waf string
- Webp string
- Websockets string
- Zero
Rtt string
- always
Online String - always
Use StringHttps - automatic
Https StringRewrites - binary
Ast String - brotli String
- browser
Cache IntegerTtl - browser
Check String - cache
Level String - challenge
Ttl Integer - ciphers List<String>
- cname
Flattening String - development
Mode String - early
Hints String - email
Obfuscation String - filter
Logs StringTo Cloudflare - fonts String
- h2Prioritization String
- hotlink
Protection String - http2 String
- http3 String
- image
Resizing String - ip
Geolocation String - ipv6 String
- log
To StringCloudflare - max
Upload Integer - min
Tls StringVersion - minify
Zone
Settings Override Settings Minify - mirage String
- mobile
Redirect ZoneSettings Override Settings Mobile Redirect - nel
Zone
Settings Override Settings Nel - opportunistic
Encryption String - opportunistic
Onion String - orange
To StringOrange - origin
Error StringPage Pass Thru - origin
Max StringHttp Version - polish String
- prefetch
Preload String - privacy
Pass String - proxy
Read StringTimeout - pseudo
Ipv4 String - replace
Insecure StringJs - response
Buffering String - rocket
Loader String - security
Header ZoneSettings Override Settings Security Header - security
Level String - server
Side StringExclude - sort
Query StringString For Cache - ssl String
- tls12Only String
- tls13 String
- tls
Client StringAuth - true
Client StringIp Header - universal
Ssl String - visitor
Ip String - waf String
- webp String
- websockets String
- zero
Rtt String
- always
Online string - always
Use stringHttps - automatic
Https stringRewrites - binary
Ast string - brotli string
- browser
Cache numberTtl - browser
Check string - cache
Level string - challenge
Ttl number - ciphers string[]
- cname
Flattening string - development
Mode string - early
Hints string - email
Obfuscation string - filter
Logs stringTo Cloudflare - fonts string
- h2Prioritization string
- hotlink
Protection string - http2 string
- http3 string
- image
Resizing string - ip
Geolocation string - ipv6 string
- log
To stringCloudflare - max
Upload number - min
Tls stringVersion - minify
Zone
Settings Override Settings Minify - mirage string
- mobile
Redirect ZoneSettings Override Settings Mobile Redirect - nel
Zone
Settings Override Settings Nel - opportunistic
Encryption string - opportunistic
Onion string - orange
To stringOrange - origin
Error stringPage Pass Thru - origin
Max stringHttp Version - polish string
- prefetch
Preload string - privacy
Pass string - proxy
Read stringTimeout - pseudo
Ipv4 string - replace
Insecure stringJs - response
Buffering string - rocket
Loader string - security
Header ZoneSettings Override Settings Security Header - security
Level string - server
Side stringExclude - sort
Query stringString For Cache - ssl string
- tls12Only string
- tls13 string
- tls
Client stringAuth - true
Client stringIp Header - universal
Ssl string - visitor
Ip string - waf string
- webp string
- websockets string
- zero
Rtt string
- always_
online str - always_
use_ strhttps - automatic_
https_ strrewrites - binary_
ast str - brotli str
- browser_
cache_ intttl - browser_
check str - cache_
level str - challenge_
ttl int - ciphers Sequence[str]
- cname_
flattening str - development_
mode str - early_
hints str - email_
obfuscation str - filter_
logs_ strto_ cloudflare - fonts str
- h2_
prioritization str - hotlink_
protection str - http2 str
- http3 str
- image_
resizing str - ip_
geolocation str - ipv6 str
- log_
to_ strcloudflare - max_
upload int - min_
tls_ strversion - minify
Zone
Settings Override Settings Minify - mirage str
- mobile_
redirect ZoneSettings Override Settings Mobile Redirect - nel
Zone
Settings Override Settings Nel - opportunistic_
encryption str - opportunistic_
onion str - orange_
to_ strorange - origin_
error_ strpage_ pass_ thru - origin_
max_ strhttp_ version - polish str
- prefetch_
preload str - privacy_
pass str - proxy_
read_ strtimeout - pseudo_
ipv4 str - replace_
insecure_ strjs - response_
buffering str - rocket_
loader str - security_
header ZoneSettings Override Settings Security Header - security_
level str - server_
side_ strexclude - sort_
query_ strstring_ for_ cache - ssl str
- tls12_
only str - tls13 str
- tls_
client_ strauth - true_
client_ strip_ header - universal_
ssl str - visitor_
ip str - waf str
- webp str
- websockets str
- zero_
rtt str
- always
Online String - always
Use StringHttps - automatic
Https StringRewrites - binary
Ast String - brotli String
- browser
Cache NumberTtl - browser
Check String - cache
Level String - challenge
Ttl Number - ciphers List<String>
- cname
Flattening String - development
Mode String - early
Hints String - email
Obfuscation String - filter
Logs StringTo Cloudflare - fonts String
- h2Prioritization String
- hotlink
Protection String - http2 String
- http3 String
- image
Resizing String - ip
Geolocation String - ipv6 String
- log
To StringCloudflare - max
Upload Number - min
Tls StringVersion - minify Property Map
- mirage String
- mobile
Redirect Property Map - nel Property Map
- opportunistic
Encryption String - opportunistic
Onion String - orange
To StringOrange - origin
Error StringPage Pass Thru - origin
Max StringHttp Version - polish String
- prefetch
Preload String - privacy
Pass String - proxy
Read StringTimeout - pseudo
Ipv4 String - replace
Insecure StringJs - response
Buffering String - rocket
Loader String - security
Header Property Map - security
Level String - server
Side StringExclude - sort
Query StringString For Cache - ssl String
- tls12Only String
- tls13 String
- tls
Client StringAuth - true
Client StringIp Header - universal
Ssl String - visitor
Ip String - waf String
- webp String
- websockets String
- zero
Rtt String
ZoneSettingsOverrideSettingsMinify, ZoneSettingsOverrideSettingsMinifyArgs
ZoneSettingsOverrideSettingsMobileRedirect, ZoneSettingsOverrideSettingsMobileRedirectArgs
- Mobile
Subdomain string - Status string
- Strip
Uri bool
- Mobile
Subdomain string - Status string
- Strip
Uri bool
- mobile
Subdomain String - status String
- strip
Uri Boolean
- mobile
Subdomain string - status string
- strip
Uri boolean
- mobile_
subdomain str - status str
- strip_
uri bool
- mobile
Subdomain String - status String
- strip
Uri Boolean
ZoneSettingsOverrideSettingsNel, ZoneSettingsOverrideSettingsNelArgs
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
ZoneSettingsOverrideSettingsSecurityHeader, ZoneSettingsOverrideSettingsSecurityHeaderArgs
- Enabled bool
- Include
Subdomains bool - Max
Age int - Nosniff bool
- Preload bool
- Enabled bool
- Include
Subdomains bool - Max
Age int - Nosniff bool
- Preload bool
- enabled Boolean
- include
Subdomains Boolean - max
Age Integer - nosniff Boolean
- preload Boolean
- enabled boolean
- include
Subdomains boolean - max
Age number - nosniff boolean
- preload boolean
- enabled bool
- include_
subdomains bool - max_
age int - nosniff bool
- preload bool
- enabled Boolean
- include
Subdomains Boolean - max
Age Number - nosniff Boolean
- preload Boolean
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.