published on Wednesday, Nov 18, 2026 by edge-center
published on Wednesday, Nov 18, 2026 by edge-center
WebSec resource: a domain under DDoS protection with its subdomains, source group, SSL certificate and protection options. Point the A record of the domain to protected_ip. For your own certificate set ssl_certificate; for a Let’s Encrypt one leave it unset and add edgecenter.WebsecLecert. An update is refused while protected_ip is empty, because the API would move the domain to a new address.
Changing domain replaces the resource; every other attribute is updated in place.
Import with <resource_id>. GET <edgecenter_websec_api>/resources lists the resources with their ids, and edgecenter_websec_api defaults to <api_endpoint>/v2/protection. A resource moved from the old protection API keeps the id of its edgecenter.ProtectionResource.
Create WebsecResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebsecResource(name: string, args: WebsecResourceArgs, opts?: CustomResourceOptions);@overload
def WebsecResource(resource_name: str,
args: WebsecResourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebsecResource(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
source_group: Optional[float] = None,
active: Optional[bool] = None,
options: Optional[WebsecResourceOptionsArgs] = None,
ssl_certificate: Optional[float] = None,
subdomains: Optional[Sequence[str]] = None,
timeouts: Optional[WebsecResourceTimeoutsArgs] = None,
websec_resource_id: Optional[str] = None)func NewWebsecResource(ctx *Context, name string, args WebsecResourceArgs, opts ...ResourceOption) (*WebsecResource, error)public WebsecResource(string name, WebsecResourceArgs args, CustomResourceOptions? opts = null)
public WebsecResource(String name, WebsecResourceArgs args)
public WebsecResource(String name, WebsecResourceArgs args, CustomResourceOptions options)
type: edgecenter:WebsecResource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "edgecenter_websec_resource" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WebsecResourceArgs
- 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 WebsecResourceArgs
- 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 WebsecResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebsecResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebsecResourceArgs
- 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 websecResourceResource = new Edgecenter.WebsecResource("websecResourceResource", new()
{
Domain = "string",
SourceGroup = 0.0,
Active = false,
Options = new Edgecenter.Inputs.WebsecResourceOptionsArgs
{
AllowedHttpMethods = new Edgecenter.Inputs.WebsecResourceOptionsAllowedHttpMethodsArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
AntibotChallengeUrlExceptions = new Edgecenter.Inputs.WebsecResourceOptionsAntibotChallengeUrlExceptionsArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
AntibotFloodChallenge = new Edgecenter.Inputs.WebsecResourceOptionsAntibotFloodChallengeArgs
{
AntibotChallengeGetOnlyOn = false,
AntibotChallengeTimelimit = 0.0,
AntibotChallengeUtmReferrer = false,
Enabled = false,
Value = "string",
},
AntibotFloodChallengeUserAgentWhitelist = new Edgecenter.Inputs.WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelistArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
AsnAcl = new Edgecenter.Inputs.WebsecResourceOptionsAsnAclArgs
{
ExceptedValues = new[]
{
0.0,
},
PolicyType = "string",
Enabled = false,
},
Blacklist = new Edgecenter.Inputs.WebsecResourceOptionsBlacklistArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
CountryAcl = new Edgecenter.Inputs.WebsecResourceOptionsCountryAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
IpHash = new Edgecenter.Inputs.WebsecResourceOptionsIpHashArgs
{
Value = false,
Enabled = false,
},
MlAnalysis = new Edgecenter.Inputs.WebsecResourceOptionsMlAnalysisArgs
{
Value = false,
Enabled = false,
},
RedirectHttpToHttps = new Edgecenter.Inputs.WebsecResourceOptionsRedirectHttpToHttpsArgs
{
Value = false,
Enabled = false,
},
RedirectHttpsToHttp = new Edgecenter.Inputs.WebsecResourceOptionsRedirectHttpsToHttpArgs
{
Value = false,
Enabled = false,
},
RefererAcl = new Edgecenter.Inputs.WebsecResourceOptionsRefererAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
DirectLink = false,
Enabled = false,
},
ResponseHeaders = new Edgecenter.Inputs.WebsecResourceOptionsResponseHeadersArgs
{
Values = new[]
{
new Edgecenter.Inputs.WebsecResourceOptionsResponseHeadersValueArgs
{
Name = "string",
Values = new[]
{
"string",
},
Always = false,
},
},
Enabled = false,
},
SourceProtocolHttps = new Edgecenter.Inputs.WebsecResourceOptionsSourceProtocolHttpsArgs
{
Value = false,
Enabled = false,
},
TlsVersions = new Edgecenter.Inputs.WebsecResourceOptionsTlsVersionsArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
UpstreamHealthchecker = new Edgecenter.Inputs.WebsecResourceOptionsUpstreamHealthcheckerArgs
{
HealthUrl = "string",
Enabled = false,
Fall = 0.0,
Host = "string",
Interval = 0.0,
Rise = 0.0,
Timeout = 0.0,
Type = "string",
},
UseDefaultLeChain = new Edgecenter.Inputs.WebsecResourceOptionsUseDefaultLeChainArgs
{
Value = false,
Enabled = false,
},
UseRsaLeCert = new Edgecenter.Inputs.WebsecResourceOptionsUseRsaLeCertArgs
{
Value = false,
Enabled = false,
},
UserAgentAcl = new Edgecenter.Inputs.WebsecResourceOptionsUserAgentAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
Waf = new Edgecenter.Inputs.WebsecResourceOptionsWafArgs
{
Value = false,
Enabled = false,
},
WafMonitoringMode = new Edgecenter.Inputs.WebsecResourceOptionsWafMonitoringModeArgs
{
Value = false,
Enabled = false,
},
Whitelist = new Edgecenter.Inputs.WebsecResourceOptionsWhitelistArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
WwwRedirects = new Edgecenter.Inputs.WebsecResourceOptionsWwwRedirectsArgs
{
Value = false,
Enabled = false,
},
},
SslCertificate = 0.0,
Subdomains = new[]
{
"string",
},
Timeouts = new Edgecenter.Inputs.WebsecResourceTimeoutsArgs
{
Update = "string",
},
WebsecResourceId = "string",
});
example, err := edgecenter.NewWebsecResource(ctx, "websecResourceResource", &edgecenter.WebsecResourceArgs{
Domain: pulumi.String("string"),
SourceGroup: pulumi.Float64(0),
Active: pulumi.Bool(false),
Options: &edgecenter.WebsecResourceOptionsArgs{
AllowedHttpMethods: &edgecenter.WebsecResourceOptionsAllowedHttpMethodsArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
AntibotChallengeUrlExceptions: &edgecenter.WebsecResourceOptionsAntibotChallengeUrlExceptionsArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
AntibotFloodChallenge: &edgecenter.WebsecResourceOptionsAntibotFloodChallengeArgs{
AntibotChallengeGetOnlyOn: pulumi.Bool(false),
AntibotChallengeTimelimit: pulumi.Float64(0),
AntibotChallengeUtmReferrer: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
Value: pulumi.String("string"),
},
AntibotFloodChallengeUserAgentWhitelist: &edgecenter.WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelistArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
AsnAcl: &edgecenter.WebsecResourceOptionsAsnAclArgs{
ExceptedValues: pulumi.Float64Array{
pulumi.Float64(0),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
Blacklist: &edgecenter.WebsecResourceOptionsBlacklistArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
CountryAcl: &edgecenter.WebsecResourceOptionsCountryAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
IpHash: &edgecenter.WebsecResourceOptionsIpHashArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
MlAnalysis: &edgecenter.WebsecResourceOptionsMlAnalysisArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
RedirectHttpToHttps: &edgecenter.WebsecResourceOptionsRedirectHttpToHttpsArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
RedirectHttpsToHttp: &edgecenter.WebsecResourceOptionsRedirectHttpsToHttpArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
RefererAcl: &edgecenter.WebsecResourceOptionsRefererAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
DirectLink: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
ResponseHeaders: &edgecenter.WebsecResourceOptionsResponseHeadersArgs{
Values: edgecenter.WebsecResourceOptionsResponseHeadersValueArray{
&edgecenter.WebsecResourceOptionsResponseHeadersValueArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Always: pulumi.Bool(false),
},
},
Enabled: pulumi.Bool(false),
},
SourceProtocolHttps: &edgecenter.WebsecResourceOptionsSourceProtocolHttpsArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
TlsVersions: &edgecenter.WebsecResourceOptionsTlsVersionsArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
UpstreamHealthchecker: &edgecenter.WebsecResourceOptionsUpstreamHealthcheckerArgs{
HealthUrl: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Fall: pulumi.Float64(0),
Host: pulumi.String("string"),
Interval: pulumi.Float64(0),
Rise: pulumi.Float64(0),
Timeout: pulumi.Float64(0),
Type: pulumi.String("string"),
},
UseDefaultLeChain: &edgecenter.WebsecResourceOptionsUseDefaultLeChainArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
UseRsaLeCert: &edgecenter.WebsecResourceOptionsUseRsaLeCertArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
UserAgentAcl: &edgecenter.WebsecResourceOptionsUserAgentAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
Waf: &edgecenter.WebsecResourceOptionsWafArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
WafMonitoringMode: &edgecenter.WebsecResourceOptionsWafMonitoringModeArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
Whitelist: &edgecenter.WebsecResourceOptionsWhitelistArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
WwwRedirects: &edgecenter.WebsecResourceOptionsWwwRedirectsArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
},
SslCertificate: pulumi.Float64(0),
Subdomains: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &edgecenter.WebsecResourceTimeoutsArgs{
Update: pulumi.String("string"),
},
WebsecResourceId: pulumi.String("string"),
})
resource "edgecenter_websec_resource" "websecResourceResource" {
lifecycle {
create_before_destroy = true
}
domain = "string"
source_group = 0
active = false
options = {
allowed_http_methods = {
values = ["string"]
enabled = false
}
antibot_challenge_url_exceptions = {
values = ["string"]
enabled = false
}
antibot_flood_challenge = {
antibot_challenge_get_only_on = false
antibot_challenge_timelimit = 0
antibot_challenge_utm_referrer = false
enabled = false
value = "string"
}
antibot_flood_challenge_user_agent_whitelist = {
values = ["string"]
enabled = false
}
asn_acl = {
excepted_values = [0]
policy_type = "string"
enabled = false
}
blacklist = {
values = ["string"]
enabled = false
}
country_acl = {
excepted_values = ["string"]
policy_type = "string"
enabled = false
}
ip_hash = {
value = false
enabled = false
}
ml_analysis = {
value = false
enabled = false
}
redirect_http_to_https = {
value = false
enabled = false
}
redirect_https_to_http = {
value = false
enabled = false
}
referer_acl = {
excepted_values = ["string"]
policy_type = "string"
direct_link = false
enabled = false
}
response_headers = {
values = [{
name = "string"
values = ["string"]
always = false
}]
enabled = false
}
source_protocol_https = {
value = false
enabled = false
}
tls_versions = {
values = ["string"]
enabled = false
}
upstream_healthchecker = {
health_url = "string"
enabled = false
fall = 0
host = "string"
interval = 0
rise = 0
timeout = 0
type = "string"
}
use_default_le_chain = {
value = false
enabled = false
}
use_rsa_le_cert = {
value = false
enabled = false
}
user_agent_acl = {
excepted_values = ["string"]
policy_type = "string"
enabled = false
}
waf = {
value = false
enabled = false
}
waf_monitoring_mode = {
value = false
enabled = false
}
whitelist = {
values = ["string"]
enabled = false
}
www_redirects = {
value = false
enabled = false
}
}
ssl_certificate = 0
subdomains = ["string"]
_ {
timeouts = {
update = "string"
}
}
websec_resource_id = "string"
}
var websecResourceResource = new WebsecResource("websecResourceResource", WebsecResourceArgs.builder()
.domain("string")
.sourceGroup(0.0)
.active(false)
.options(WebsecResourceOptionsArgs.builder()
.allowedHttpMethods(WebsecResourceOptionsAllowedHttpMethodsArgs.builder()
.values("string")
.enabled(false)
.build())
.antibotChallengeUrlExceptions(WebsecResourceOptionsAntibotChallengeUrlExceptionsArgs.builder()
.values("string")
.enabled(false)
.build())
.antibotFloodChallenge(WebsecResourceOptionsAntibotFloodChallengeArgs.builder()
.antibotChallengeGetOnlyOn(false)
.antibotChallengeTimelimit(0.0)
.antibotChallengeUtmReferrer(false)
.enabled(false)
.value("string")
.build())
.antibotFloodChallengeUserAgentWhitelist(WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelistArgs.builder()
.values("string")
.enabled(false)
.build())
.asnAcl(WebsecResourceOptionsAsnAclArgs.builder()
.exceptedValues(0.0)
.policyType("string")
.enabled(false)
.build())
.blacklist(WebsecResourceOptionsBlacklistArgs.builder()
.values("string")
.enabled(false)
.build())
.countryAcl(WebsecResourceOptionsCountryAclArgs.builder()
.exceptedValues("string")
.policyType("string")
.enabled(false)
.build())
.ipHash(WebsecResourceOptionsIpHashArgs.builder()
.value(false)
.enabled(false)
.build())
.mlAnalysis(WebsecResourceOptionsMlAnalysisArgs.builder()
.value(false)
.enabled(false)
.build())
.redirectHttpToHttps(WebsecResourceOptionsRedirectHttpToHttpsArgs.builder()
.value(false)
.enabled(false)
.build())
.redirectHttpsToHttp(WebsecResourceOptionsRedirectHttpsToHttpArgs.builder()
.value(false)
.enabled(false)
.build())
.refererAcl(WebsecResourceOptionsRefererAclArgs.builder()
.exceptedValues("string")
.policyType("string")
.directLink(false)
.enabled(false)
.build())
.responseHeaders(WebsecResourceOptionsResponseHeadersArgs.builder()
.values(WebsecResourceOptionsResponseHeadersValueArgs.builder()
.name("string")
.values("string")
.always(false)
.build())
.enabled(false)
.build())
.sourceProtocolHttps(WebsecResourceOptionsSourceProtocolHttpsArgs.builder()
.value(false)
.enabled(false)
.build())
.tlsVersions(WebsecResourceOptionsTlsVersionsArgs.builder()
.values("string")
.enabled(false)
.build())
.upstreamHealthchecker(WebsecResourceOptionsUpstreamHealthcheckerArgs.builder()
.healthUrl("string")
.enabled(false)
.fall(0.0)
.host("string")
.interval(0.0)
.rise(0.0)
.timeout(0.0)
.type("string")
.build())
.useDefaultLeChain(WebsecResourceOptionsUseDefaultLeChainArgs.builder()
.value(false)
.enabled(false)
.build())
.useRsaLeCert(WebsecResourceOptionsUseRsaLeCertArgs.builder()
.value(false)
.enabled(false)
.build())
.userAgentAcl(WebsecResourceOptionsUserAgentAclArgs.builder()
.exceptedValues("string")
.policyType("string")
.enabled(false)
.build())
.waf(WebsecResourceOptionsWafArgs.builder()
.value(false)
.enabled(false)
.build())
.wafMonitoringMode(WebsecResourceOptionsWafMonitoringModeArgs.builder()
.value(false)
.enabled(false)
.build())
.whitelist(WebsecResourceOptionsWhitelistArgs.builder()
.values("string")
.enabled(false)
.build())
.wwwRedirects(WebsecResourceOptionsWwwRedirectsArgs.builder()
.value(false)
.enabled(false)
.build())
.build())
.sslCertificate(0.0)
.subdomains("string")
.timeouts(WebsecResourceTimeoutsArgs.builder()
.update("string")
.build())
.websecResourceId("string")
.build());
websec_resource_resource = edgecenter.WebsecResource("websecResourceResource",
domain="string",
source_group=float(0),
active=False,
options={
"allowed_http_methods": {
"values": ["string"],
"enabled": False,
},
"antibot_challenge_url_exceptions": {
"values": ["string"],
"enabled": False,
},
"antibot_flood_challenge": {
"antibot_challenge_get_only_on": False,
"antibot_challenge_timelimit": float(0),
"antibot_challenge_utm_referrer": False,
"enabled": False,
"value": "string",
},
"antibot_flood_challenge_user_agent_whitelist": {
"values": ["string"],
"enabled": False,
},
"asn_acl": {
"excepted_values": [float(0)],
"policy_type": "string",
"enabled": False,
},
"blacklist": {
"values": ["string"],
"enabled": False,
},
"country_acl": {
"excepted_values": ["string"],
"policy_type": "string",
"enabled": False,
},
"ip_hash": {
"value": False,
"enabled": False,
},
"ml_analysis": {
"value": False,
"enabled": False,
},
"redirect_http_to_https": {
"value": False,
"enabled": False,
},
"redirect_https_to_http": {
"value": False,
"enabled": False,
},
"referer_acl": {
"excepted_values": ["string"],
"policy_type": "string",
"direct_link": False,
"enabled": False,
},
"response_headers": {
"values": [{
"name": "string",
"values": ["string"],
"always": False,
}],
"enabled": False,
},
"source_protocol_https": {
"value": False,
"enabled": False,
},
"tls_versions": {
"values": ["string"],
"enabled": False,
},
"upstream_healthchecker": {
"health_url": "string",
"enabled": False,
"fall": float(0),
"host": "string",
"interval": float(0),
"rise": float(0),
"timeout": float(0),
"type": "string",
},
"use_default_le_chain": {
"value": False,
"enabled": False,
},
"use_rsa_le_cert": {
"value": False,
"enabled": False,
},
"user_agent_acl": {
"excepted_values": ["string"],
"policy_type": "string",
"enabled": False,
},
"waf": {
"value": False,
"enabled": False,
},
"waf_monitoring_mode": {
"value": False,
"enabled": False,
},
"whitelist": {
"values": ["string"],
"enabled": False,
},
"www_redirects": {
"value": False,
"enabled": False,
},
},
ssl_certificate=float(0),
subdomains=["string"],
timeouts={
"update": "string",
},
websec_resource_id="string")
const websecResourceResource = new edgecenter.WebsecResource("websecResourceResource", {
domain: "string",
sourceGroup: 0,
active: false,
options: {
allowedHttpMethods: {
values: ["string"],
enabled: false,
},
antibotChallengeUrlExceptions: {
values: ["string"],
enabled: false,
},
antibotFloodChallenge: {
antibotChallengeGetOnlyOn: false,
antibotChallengeTimelimit: 0,
antibotChallengeUtmReferrer: false,
enabled: false,
value: "string",
},
antibotFloodChallengeUserAgentWhitelist: {
values: ["string"],
enabled: false,
},
asnAcl: {
exceptedValues: [0],
policyType: "string",
enabled: false,
},
blacklist: {
values: ["string"],
enabled: false,
},
countryAcl: {
exceptedValues: ["string"],
policyType: "string",
enabled: false,
},
ipHash: {
value: false,
enabled: false,
},
mlAnalysis: {
value: false,
enabled: false,
},
redirectHttpToHttps: {
value: false,
enabled: false,
},
redirectHttpsToHttp: {
value: false,
enabled: false,
},
refererAcl: {
exceptedValues: ["string"],
policyType: "string",
directLink: false,
enabled: false,
},
responseHeaders: {
values: [{
name: "string",
values: ["string"],
always: false,
}],
enabled: false,
},
sourceProtocolHttps: {
value: false,
enabled: false,
},
tlsVersions: {
values: ["string"],
enabled: false,
},
upstreamHealthchecker: {
healthUrl: "string",
enabled: false,
fall: 0,
host: "string",
interval: 0,
rise: 0,
timeout: 0,
type: "string",
},
useDefaultLeChain: {
value: false,
enabled: false,
},
useRsaLeCert: {
value: false,
enabled: false,
},
userAgentAcl: {
exceptedValues: ["string"],
policyType: "string",
enabled: false,
},
waf: {
value: false,
enabled: false,
},
wafMonitoringMode: {
value: false,
enabled: false,
},
whitelist: {
values: ["string"],
enabled: false,
},
wwwRedirects: {
value: false,
enabled: false,
},
},
sslCertificate: 0,
subdomains: ["string"],
timeouts: {
update: "string",
},
websecResourceId: "string",
});
type: edgecenter:WebsecResource
properties:
active: false
domain: string
options:
allowedHttpMethods:
enabled: false
values:
- string
antibotChallengeUrlExceptions:
enabled: false
values:
- string
antibotFloodChallenge:
antibotChallengeGetOnlyOn: false
antibotChallengeTimelimit: 0
antibotChallengeUtmReferrer: false
enabled: false
value: string
antibotFloodChallengeUserAgentWhitelist:
enabled: false
values:
- string
asnAcl:
enabled: false
exceptedValues:
- 0
policyType: string
blacklist:
enabled: false
values:
- string
countryAcl:
enabled: false
exceptedValues:
- string
policyType: string
ipHash:
enabled: false
value: false
mlAnalysis:
enabled: false
value: false
redirectHttpToHttps:
enabled: false
value: false
redirectHttpsToHttp:
enabled: false
value: false
refererAcl:
directLink: false
enabled: false
exceptedValues:
- string
policyType: string
responseHeaders:
enabled: false
values:
- always: false
name: string
values:
- string
sourceProtocolHttps:
enabled: false
value: false
tlsVersions:
enabled: false
values:
- string
upstreamHealthchecker:
enabled: false
fall: 0
healthUrl: string
host: string
interval: 0
rise: 0
timeout: 0
type: string
useDefaultLeChain:
enabled: false
value: false
useRsaLeCert:
enabled: false
value: false
userAgentAcl:
enabled: false
exceptedValues:
- string
policyType: string
waf:
enabled: false
value: false
wafMonitoringMode:
enabled: false
value: false
whitelist:
enabled: false
values:
- string
wwwRedirects:
enabled: false
value: false
sourceGroup: 0
sslCertificate: 0
subdomains:
- string
timeouts:
update: string
websecResourceId: string
WebsecResource 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 WebsecResource resource accepts the following input properties:
- Domain string
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- Source
Group double - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - Active bool
- Enable or disable the resource. Defaults to
true. - Options
Websec
Resource Options - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - Ssl
Certificate double - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - Subdomains List<string>
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - Timeouts
Websec
Resource Timeouts - Websec
Resource stringId - The ID of this resource.
- Domain string
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- Source
Group float64 - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - Active bool
- Enable or disable the resource. Defaults to
true. - Options
Websec
Resource Options Args - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - Ssl
Certificate float64 - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - Subdomains []string
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - Timeouts
Websec
Resource Timeouts Args - Websec
Resource stringId - The ID of this resource.
- domain string
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- source_
group number - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - active bool
- Enable or disable the resource. Defaults to
true. - options object
- Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - ssl_
certificate number - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - subdomains list(string)
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts object
- websec_
resource_ stringid - The ID of this resource.
- domain String
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- source
Group Double - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - active Boolean
- Enable or disable the resource. Defaults to
true. - options
Websec
Resource Options - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - ssl
Certificate Double - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - subdomains List<String>
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts
Websec
Resource Timeouts - websec
Resource StringId - The ID of this resource.
- domain string
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- source
Group number - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - active boolean
- Enable or disable the resource. Defaults to
true. - options
Websec
Resource Options - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - ssl
Certificate number - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - subdomains string[]
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts
Websec
Resource Timeouts - websec
Resource stringId - The ID of this resource.
- domain str
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- source_
group float - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - active bool
- Enable or disable the resource. Defaults to
true. - options
Websec
Resource Options Args - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - ssl_
certificate float - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - subdomains Sequence[str]
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts
Websec
Resource Timeouts Args - websec_
resource_ strid - The ID of this resource.
- domain String
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- source
Group Number - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - active Boolean
- Enable or disable the resource. Defaults to
true. - options Property Map
- Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - ssl
Certificate Number - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - subdomains List<String>
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts Property Map
- websec
Resource StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebsecResource resource produces the following output properties:
- Client double
- Client ID.
- Enabled bool
- Whether the resource is enabled by the administrator.
- Id string
- The provider-assigned unique ID for this managed resource.
- Protected
Ip string - Protected IP address. The A record of
domainmust point to it. - Ssl
Automated bool - Whether the server issues and renews the certificate of the resource.
- Ssl
Certificate boolAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - Status string
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- Client float64
- Client ID.
- Enabled bool
- Whether the resource is enabled by the administrator.
- Id string
- The provider-assigned unique ID for this managed resource.
- Protected
Ip string - Protected IP address. The A record of
domainmust point to it. - Ssl
Automated bool - Whether the server issues and renews the certificate of the resource.
- Ssl
Certificate boolAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - Status string
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- client number
- Client ID.
- enabled bool
- Whether the resource is enabled by the administrator.
- id string
- The provider-assigned unique ID for this managed resource.
- protected_
ip string - Protected IP address. The A record of
domainmust point to it. - ssl_
automated bool - Whether the server issues and renews the certificate of the resource.
- ssl_
certificate_ boolautomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status string
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- client Double
- Client ID.
- enabled Boolean
- Whether the resource is enabled by the administrator.
- id String
- The provider-assigned unique ID for this managed resource.
- protected
Ip String - Protected IP address. The A record of
domainmust point to it. - ssl
Automated Boolean - Whether the server issues and renews the certificate of the resource.
- ssl
Certificate BooleanAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status String
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- client number
- Client ID.
- enabled boolean
- Whether the resource is enabled by the administrator.
- id string
- The provider-assigned unique ID for this managed resource.
- protected
Ip string - Protected IP address. The A record of
domainmust point to it. - ssl
Automated boolean - Whether the server issues and renews the certificate of the resource.
- ssl
Certificate booleanAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status string
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- client float
- Client ID.
- enabled bool
- Whether the resource is enabled by the administrator.
- id str
- The provider-assigned unique ID for this managed resource.
- protected_
ip str - Protected IP address. The A record of
domainmust point to it. - ssl_
automated bool - Whether the server issues and renews the certificate of the resource.
- ssl_
certificate_ boolautomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status str
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- client Number
- Client ID.
- enabled Boolean
- Whether the resource is enabled by the administrator.
- id String
- The provider-assigned unique ID for this managed resource.
- protected
Ip String - Protected IP address. The A record of
domainmust point to it. - ssl
Automated Boolean - Whether the server issues and renews the certificate of the resource.
- ssl
Certificate BooleanAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status String
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
Look up Existing WebsecResource Resource
Get an existing WebsecResource 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?: WebsecResourceState, opts?: CustomResourceOptions): WebsecResource@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
client: Optional[float] = None,
domain: Optional[str] = None,
enabled: Optional[bool] = None,
options: Optional[WebsecResourceOptionsArgs] = None,
protected_ip: Optional[str] = None,
source_group: Optional[float] = None,
ssl_automated: Optional[bool] = None,
ssl_certificate: Optional[float] = None,
ssl_certificate_automated: Optional[bool] = None,
status: Optional[str] = None,
subdomains: Optional[Sequence[str]] = None,
timeouts: Optional[WebsecResourceTimeoutsArgs] = None,
websec_resource_id: Optional[str] = None) -> WebsecResourcefunc GetWebsecResource(ctx *Context, name string, id IDInput, state *WebsecResourceState, opts ...ResourceOption) (*WebsecResource, error)public static WebsecResource Get(string name, Input<string> id, WebsecResourceState? state, CustomResourceOptions? opts = null)public static WebsecResource get(String name, Output<String> id, WebsecResourceState state, CustomResourceOptions options)resources: existingWebsecResource: type: edgecenter:WebsecResource get: id: ${id}import {
to = edgecenter_websec_resource.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state WebsecResourceState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state WebsecResourceState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state WebsecResourceState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state WebsecResourceState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Active bool
- Enable or disable the resource. Defaults to
true. - Client double
- Client ID.
- Domain string
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- Enabled bool
- Whether the resource is enabled by the administrator.
- Options
Websec
Resource Options - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - Protected
Ip string - Protected IP address. The A record of
domainmust point to it. - Source
Group double - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - Ssl
Automated bool - Whether the server issues and renews the certificate of the resource.
- Ssl
Certificate double - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - Ssl
Certificate boolAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - Status string
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- Subdomains List<string>
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - Timeouts
Websec
Resource Timeouts - Websec
Resource stringId - The ID of this resource.
- Active bool
- Enable or disable the resource. Defaults to
true. - Client float64
- Client ID.
- Domain string
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- Enabled bool
- Whether the resource is enabled by the administrator.
- Options
Websec
Resource Options Args - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - Protected
Ip string - Protected IP address. The A record of
domainmust point to it. - Source
Group float64 - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - Ssl
Automated bool - Whether the server issues and renews the certificate of the resource.
- Ssl
Certificate float64 - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - Ssl
Certificate boolAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - Status string
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- Subdomains []string
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - Timeouts
Websec
Resource Timeouts Args - Websec
Resource stringId - The ID of this resource.
- active bool
- Enable or disable the resource. Defaults to
true. - client number
- Client ID.
- domain string
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- enabled bool
- Whether the resource is enabled by the administrator.
- options object
- Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - protected_
ip string - Protected IP address. The A record of
domainmust point to it. - source_
group number - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - ssl_
automated bool - Whether the server issues and renews the certificate of the resource.
- ssl_
certificate number - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - ssl_
certificate_ boolautomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status string
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- subdomains list(string)
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts object
- websec_
resource_ stringid - The ID of this resource.
- active Boolean
- Enable or disable the resource. Defaults to
true. - client Double
- Client ID.
- domain String
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- enabled Boolean
- Whether the resource is enabled by the administrator.
- options
Websec
Resource Options - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - protected
Ip String - Protected IP address. The A record of
domainmust point to it. - source
Group Double - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - ssl
Automated Boolean - Whether the server issues and renews the certificate of the resource.
- ssl
Certificate Double - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - ssl
Certificate BooleanAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status String
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- subdomains List<String>
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts
Websec
Resource Timeouts - websec
Resource StringId - The ID of this resource.
- active boolean
- Enable or disable the resource. Defaults to
true. - client number
- Client ID.
- domain string
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- enabled boolean
- Whether the resource is enabled by the administrator.
- options
Websec
Resource Options - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - protected
Ip string - Protected IP address. The A record of
domainmust point to it. - source
Group number - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - ssl
Automated boolean - Whether the server issues and renews the certificate of the resource.
- ssl
Certificate number - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - ssl
Certificate booleanAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status string
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- subdomains string[]
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts
Websec
Resource Timeouts - websec
Resource stringId - The ID of this resource.
- active bool
- Enable or disable the resource. Defaults to
true. - client float
- Client ID.
- domain str
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- enabled bool
- Whether the resource is enabled by the administrator.
- options
Websec
Resource Options Args - Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - protected_
ip str - Protected IP address. The A record of
domainmust point to it. - source_
group float - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - ssl_
automated bool - Whether the server issues and renews the certificate of the resource.
- ssl_
certificate float - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - ssl_
certificate_ boolautomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status str
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- subdomains Sequence[str]
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts
Websec
Resource Timeouts Args - websec_
resource_ strid - The ID of this resource.
- active Boolean
- Enable or disable the resource. Defaults to
true. - client Number
- Client ID.
- domain String
- Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
- enabled Boolean
- Whether the resource is enabled by the administrator.
- options Property Map
- Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty
options {}block is rejected. - protected
Ip String - Protected IP address. The A record of
domainmust point to it. - source
Group Number - ID of the
edgecenter.WebsecSourceGroupthe requests go to. - ssl
Automated Boolean - Whether the server issues and renews the certificate of the resource.
- ssl
Certificate Number - ID of your own
edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes fromedgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove theedgecenter.WebsecLecertof the resource in the same apply. - ssl
Certificate BooleanAutomated - Whether the linked certificate is an automated one, issued by
edgecenter.WebsecLecert. - status String
- Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
- subdomains List<String>
- Subdomains of
domainprotected together with it, in lowercase, each ending with.<domain>. "*." as the first label needs wildcard subdomains enabled for the account. - timeouts Property Map
- websec
Resource StringId - The ID of this resource.
Supporting Types
WebsecResourceOptions, WebsecResourceOptionsArgs
- Allowed
Http WebsecMethods Resource Options Allowed Http Methods - HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
- Antibot
Challenge WebsecUrl Exceptions Resource Options Antibot Challenge Url Exceptions - URLs that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - Antibot
Flood WebsecChallenge Resource Options Antibot Flood Challenge - Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables
antibot_challenge_url_exceptionsandantibot_flood_challenge_user_agent_whitelistof the resource. - Antibot
Flood WebsecChallenge User Agent Whitelist Resource Options Antibot Flood Challenge User Agent Whitelist - User agents that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - Asn
Acl WebsecResource Options Asn Acl - Allow or deny requests by the autonomous system number of the client.
- Blacklist
Websec
Resource Options Blacklist - IPv4 and IPv6 addresses and networks denied access to the resource.
- Country
Acl WebsecResource Options Country Acl - Allow or deny requests by the country of the client.
- Ip
Hash WebsecResource Options Ip Hash - Send all requests of a client to the same source, chosen by the client IP address.
- Ml
Analysis WebsecResource Options Ml Analysis - Analyze requests with machine learning. It can be enabled only together with
waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model. - Redirect
Http WebsecTo Https Resource Options Redirect Http To Https - Redirect HTTP requests to HTTPS. The resource needs a certificate,
ssl_certificateor one issued byedgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing theedgecenter.WebsecLecert. - Redirect
Https WebsecTo Http Resource Options Redirect Https To Http - Redirect HTTPS requests to HTTP.
- Referer
Acl WebsecResource Options Referer Acl - Allow or deny requests by the Referer header.
- Response
Headers WebsecResource Options Response Headers - Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
- Source
Protocol WebsecHttps Resource Options Source Protocol Https - Connect to the sources over HTTPS.
- Tls
Versions WebsecResource Options Tls Versions - TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
- Upstream
Healthchecker WebsecResource Options Upstream Healthchecker - Check the health of the sources with requests to
health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needstype"https" whensource_protocol_httpsis enabled and "http" otherwise. - Use
Default WebsecLe Chain Resource Options Use Default Le Chain - Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
- Use
Rsa WebsecLe Cert Resource Options Use Rsa Le Cert - Issue RSA Let's Encrypt certificates instead of ECDSA ones.
- User
Agent WebsecAcl Resource Options User Agent Acl - Allow or deny requests by the User-Agent header.
- Waf
Websec
Resource Options Waf - Enable the web application firewall. The WAF must be enabled on the account.
- Waf
Monitoring WebsecMode Resource Options Waf Monitoring Mode - Run the WAF in monitoring mode. It can be enabled only together with
waf, and only if the WAF of the account supports this mode. - Whitelist
Websec
Resource Options Whitelist - IPv4 and IPv6 addresses and networks on the whitelist of the resource.
- Www
Redirects WebsecResource Options Www Redirects - Redirect requests from the www subdomain to
domain. Enabling it needswww.<domain>insubdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
- Allowed
Http WebsecMethods Resource Options Allowed Http Methods - HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
- Antibot
Challenge WebsecUrl Exceptions Resource Options Antibot Challenge Url Exceptions - URLs that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - Antibot
Flood WebsecChallenge Resource Options Antibot Flood Challenge - Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables
antibot_challenge_url_exceptionsandantibot_flood_challenge_user_agent_whitelistof the resource. - Antibot
Flood WebsecChallenge User Agent Whitelist Resource Options Antibot Flood Challenge User Agent Whitelist - User agents that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - Asn
Acl WebsecResource Options Asn Acl - Allow or deny requests by the autonomous system number of the client.
- Blacklist
Websec
Resource Options Blacklist - IPv4 and IPv6 addresses and networks denied access to the resource.
- Country
Acl WebsecResource Options Country Acl - Allow or deny requests by the country of the client.
- Ip
Hash WebsecResource Options Ip Hash - Send all requests of a client to the same source, chosen by the client IP address.
- Ml
Analysis WebsecResource Options Ml Analysis - Analyze requests with machine learning. It can be enabled only together with
waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model. - Redirect
Http WebsecTo Https Resource Options Redirect Http To Https - Redirect HTTP requests to HTTPS. The resource needs a certificate,
ssl_certificateor one issued byedgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing theedgecenter.WebsecLecert. - Redirect
Https WebsecTo Http Resource Options Redirect Https To Http - Redirect HTTPS requests to HTTP.
- Referer
Acl WebsecResource Options Referer Acl - Allow or deny requests by the Referer header.
- Response
Headers WebsecResource Options Response Headers - Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
- Source
Protocol WebsecHttps Resource Options Source Protocol Https - Connect to the sources over HTTPS.
- Tls
Versions WebsecResource Options Tls Versions - TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
- Upstream
Healthchecker WebsecResource Options Upstream Healthchecker - Check the health of the sources with requests to
health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needstype"https" whensource_protocol_httpsis enabled and "http" otherwise. - Use
Default WebsecLe Chain Resource Options Use Default Le Chain - Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
- Use
Rsa WebsecLe Cert Resource Options Use Rsa Le Cert - Issue RSA Let's Encrypt certificates instead of ECDSA ones.
- User
Agent WebsecAcl Resource Options User Agent Acl - Allow or deny requests by the User-Agent header.
- Waf
Websec
Resource Options Waf - Enable the web application firewall. The WAF must be enabled on the account.
- Waf
Monitoring WebsecMode Resource Options Waf Monitoring Mode - Run the WAF in monitoring mode. It can be enabled only together with
waf, and only if the WAF of the account supports this mode. - Whitelist
Websec
Resource Options Whitelist - IPv4 and IPv6 addresses and networks on the whitelist of the resource.
- Www
Redirects WebsecResource Options Www Redirects - Redirect requests from the www subdomain to
domain. Enabling it needswww.<domain>insubdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
- allowed_
http_ objectmethods - HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
- antibot_
challenge_ objecturl_ exceptions - URLs that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - antibot_
flood_ objectchallenge - Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables
antibot_challenge_url_exceptionsandantibot_flood_challenge_user_agent_whitelistof the resource. - antibot_
flood_ objectchallenge_ user_ agent_ whitelist - User agents that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - asn_
acl object - Allow or deny requests by the autonomous system number of the client.
- blacklist object
- IPv4 and IPv6 addresses and networks denied access to the resource.
- country_
acl object - Allow or deny requests by the country of the client.
- ip_
hash object - Send all requests of a client to the same source, chosen by the client IP address.
- ml_
analysis object - Analyze requests with machine learning. It can be enabled only together with
waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model. - redirect_
http_ objectto_ https - Redirect HTTP requests to HTTPS. The resource needs a certificate,
ssl_certificateor one issued byedgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing theedgecenter.WebsecLecert. - redirect_
https_ objectto_ http - Redirect HTTPS requests to HTTP.
- referer_
acl object - Allow or deny requests by the Referer header.
- response_
headers object - Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
- source_
protocol_ objecthttps - Connect to the sources over HTTPS.
- tls_
versions object - TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
- upstream_
healthchecker object - Check the health of the sources with requests to
health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needstype"https" whensource_protocol_httpsis enabled and "http" otherwise. - use_
default_ objectle_ chain - Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
- use_
rsa_ objectle_ cert - Issue RSA Let's Encrypt certificates instead of ECDSA ones.
- user_
agent_ objectacl - Allow or deny requests by the User-Agent header.
- waf object
- Enable the web application firewall. The WAF must be enabled on the account.
- waf_
monitoring_ objectmode - Run the WAF in monitoring mode. It can be enabled only together with
waf, and only if the WAF of the account supports this mode. - whitelist object
- IPv4 and IPv6 addresses and networks on the whitelist of the resource.
- www_
redirects object - Redirect requests from the www subdomain to
domain. Enabling it needswww.<domain>insubdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
- allowed
Http WebsecMethods Resource Options Allowed Http Methods - HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
- antibot
Challenge WebsecUrl Exceptions Resource Options Antibot Challenge Url Exceptions - URLs that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - antibot
Flood WebsecChallenge Resource Options Antibot Flood Challenge - Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables
antibot_challenge_url_exceptionsandantibot_flood_challenge_user_agent_whitelistof the resource. - antibot
Flood WebsecChallenge User Agent Whitelist Resource Options Antibot Flood Challenge User Agent Whitelist - User agents that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - asn
Acl WebsecResource Options Asn Acl - Allow or deny requests by the autonomous system number of the client.
- blacklist
Websec
Resource Options Blacklist - IPv4 and IPv6 addresses and networks denied access to the resource.
- country
Acl WebsecResource Options Country Acl - Allow or deny requests by the country of the client.
- ip
Hash WebsecResource Options Ip Hash - Send all requests of a client to the same source, chosen by the client IP address.
- ml
Analysis WebsecResource Options Ml Analysis - Analyze requests with machine learning. It can be enabled only together with
waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model. - redirect
Http WebsecTo Https Resource Options Redirect Http To Https - Redirect HTTP requests to HTTPS. The resource needs a certificate,
ssl_certificateor one issued byedgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing theedgecenter.WebsecLecert. - redirect
Https WebsecTo Http Resource Options Redirect Https To Http - Redirect HTTPS requests to HTTP.
- referer
Acl WebsecResource Options Referer Acl - Allow or deny requests by the Referer header.
- response
Headers WebsecResource Options Response Headers - Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
- source
Protocol WebsecHttps Resource Options Source Protocol Https - Connect to the sources over HTTPS.
- tls
Versions WebsecResource Options Tls Versions - TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
- upstream
Healthchecker WebsecResource Options Upstream Healthchecker - Check the health of the sources with requests to
health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needstype"https" whensource_protocol_httpsis enabled and "http" otherwise. - use
Default WebsecLe Chain Resource Options Use Default Le Chain - Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
- use
Rsa WebsecLe Cert Resource Options Use Rsa Le Cert - Issue RSA Let's Encrypt certificates instead of ECDSA ones.
- user
Agent WebsecAcl Resource Options User Agent Acl - Allow or deny requests by the User-Agent header.
- waf
Websec
Resource Options Waf - Enable the web application firewall. The WAF must be enabled on the account.
- waf
Monitoring WebsecMode Resource Options Waf Monitoring Mode - Run the WAF in monitoring mode. It can be enabled only together with
waf, and only if the WAF of the account supports this mode. - whitelist
Websec
Resource Options Whitelist - IPv4 and IPv6 addresses and networks on the whitelist of the resource.
- www
Redirects WebsecResource Options Www Redirects - Redirect requests from the www subdomain to
domain. Enabling it needswww.<domain>insubdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
- allowed
Http WebsecMethods Resource Options Allowed Http Methods - HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
- antibot
Challenge WebsecUrl Exceptions Resource Options Antibot Challenge Url Exceptions - URLs that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - antibot
Flood WebsecChallenge Resource Options Antibot Flood Challenge - Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables
antibot_challenge_url_exceptionsandantibot_flood_challenge_user_agent_whitelistof the resource. - antibot
Flood WebsecChallenge User Agent Whitelist Resource Options Antibot Flood Challenge User Agent Whitelist - User agents that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - asn
Acl WebsecResource Options Asn Acl - Allow or deny requests by the autonomous system number of the client.
- blacklist
Websec
Resource Options Blacklist - IPv4 and IPv6 addresses and networks denied access to the resource.
- country
Acl WebsecResource Options Country Acl - Allow or deny requests by the country of the client.
- ip
Hash WebsecResource Options Ip Hash - Send all requests of a client to the same source, chosen by the client IP address.
- ml
Analysis WebsecResource Options Ml Analysis - Analyze requests with machine learning. It can be enabled only together with
waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model. - redirect
Http WebsecTo Https Resource Options Redirect Http To Https - Redirect HTTP requests to HTTPS. The resource needs a certificate,
ssl_certificateor one issued byedgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing theedgecenter.WebsecLecert. - redirect
Https WebsecTo Http Resource Options Redirect Https To Http - Redirect HTTPS requests to HTTP.
- referer
Acl WebsecResource Options Referer Acl - Allow or deny requests by the Referer header.
- response
Headers WebsecResource Options Response Headers - Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
- source
Protocol WebsecHttps Resource Options Source Protocol Https - Connect to the sources over HTTPS.
- tls
Versions WebsecResource Options Tls Versions - TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
- upstream
Healthchecker WebsecResource Options Upstream Healthchecker - Check the health of the sources with requests to
health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needstype"https" whensource_protocol_httpsis enabled and "http" otherwise. - use
Default WebsecLe Chain Resource Options Use Default Le Chain - Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
- use
Rsa WebsecLe Cert Resource Options Use Rsa Le Cert - Issue RSA Let's Encrypt certificates instead of ECDSA ones.
- user
Agent WebsecAcl Resource Options User Agent Acl - Allow or deny requests by the User-Agent header.
- waf
Websec
Resource Options Waf - Enable the web application firewall. The WAF must be enabled on the account.
- waf
Monitoring WebsecMode Resource Options Waf Monitoring Mode - Run the WAF in monitoring mode. It can be enabled only together with
waf, and only if the WAF of the account supports this mode. - whitelist
Websec
Resource Options Whitelist - IPv4 and IPv6 addresses and networks on the whitelist of the resource.
- www
Redirects WebsecResource Options Www Redirects - Redirect requests from the www subdomain to
domain. Enabling it needswww.<domain>insubdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
- allowed_
http_ Websecmethods Resource Options Allowed Http Methods - HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
- antibot_
challenge_ Websecurl_ exceptions Resource Options Antibot Challenge Url Exceptions - URLs that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - antibot_
flood_ Websecchallenge Resource Options Antibot Flood Challenge - Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables
antibot_challenge_url_exceptionsandantibot_flood_challenge_user_agent_whitelistof the resource. - antibot_
flood_ Websecchallenge_ user_ agent_ whitelist Resource Options Antibot Flood Challenge User Agent Whitelist - User agents that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - asn_
acl WebsecResource Options Asn Acl - Allow or deny requests by the autonomous system number of the client.
- blacklist
Websec
Resource Options Blacklist - IPv4 and IPv6 addresses and networks denied access to the resource.
- country_
acl WebsecResource Options Country Acl - Allow or deny requests by the country of the client.
- ip_
hash WebsecResource Options Ip Hash - Send all requests of a client to the same source, chosen by the client IP address.
- ml_
analysis WebsecResource Options Ml Analysis - Analyze requests with machine learning. It can be enabled only together with
waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model. - redirect_
http_ Websecto_ https Resource Options Redirect Http To Https - Redirect HTTP requests to HTTPS. The resource needs a certificate,
ssl_certificateor one issued byedgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing theedgecenter.WebsecLecert. - redirect_
https_ Websecto_ http Resource Options Redirect Https To Http - Redirect HTTPS requests to HTTP.
- referer_
acl WebsecResource Options Referer Acl - Allow or deny requests by the Referer header.
- response_
headers WebsecResource Options Response Headers - Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
- source_
protocol_ Websechttps Resource Options Source Protocol Https - Connect to the sources over HTTPS.
- tls_
versions WebsecResource Options Tls Versions - TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
- upstream_
healthchecker WebsecResource Options Upstream Healthchecker - Check the health of the sources with requests to
health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needstype"https" whensource_protocol_httpsis enabled and "http" otherwise. - use_
default_ Websecle_ chain Resource Options Use Default Le Chain - Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
- use_
rsa_ Websecle_ cert Resource Options Use Rsa Le Cert - Issue RSA Let's Encrypt certificates instead of ECDSA ones.
- user_
agent_ Websecacl Resource Options User Agent Acl - Allow or deny requests by the User-Agent header.
- waf
Websec
Resource Options Waf - Enable the web application firewall. The WAF must be enabled on the account.
- waf_
monitoring_ Websecmode Resource Options Waf Monitoring Mode - Run the WAF in monitoring mode. It can be enabled only together with
waf, and only if the WAF of the account supports this mode. - whitelist
Websec
Resource Options Whitelist - IPv4 and IPv6 addresses and networks on the whitelist of the resource.
- www_
redirects WebsecResource Options Www Redirects - Redirect requests from the www subdomain to
domain. Enabling it needswww.<domain>insubdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
- allowed
Http Property MapMethods - HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
- antibot
Challenge Property MapUrl Exceptions - URLs that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - antibot
Flood Property MapChallenge - Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables
antibot_challenge_url_exceptionsandantibot_flood_challenge_user_agent_whitelistof the resource. - antibot
Flood Property MapChallenge User Agent Whitelist - User agents that skip the check of
antibot_flood_challenge. It can be enabled only together with an enabledantibot_flood_challenge. - asn
Acl Property Map - Allow or deny requests by the autonomous system number of the client.
- blacklist Property Map
- IPv4 and IPv6 addresses and networks denied access to the resource.
- country
Acl Property Map - Allow or deny requests by the country of the client.
- ip
Hash Property Map - Send all requests of a client to the same source, chosen by the client IP address.
- ml
Analysis Property Map - Analyze requests with machine learning. It can be enabled only together with
waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model. - redirect
Http Property MapTo Https - Redirect HTTP requests to HTTPS. The resource needs a certificate,
ssl_certificateor one issued byedgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing theedgecenter.WebsecLecert. - redirect
Https Property MapTo Http - Redirect HTTPS requests to HTTP.
- referer
Acl Property Map - Allow or deny requests by the Referer header.
- response
Headers Property Map - Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
- source
Protocol Property MapHttps - Connect to the sources over HTTPS.
- tls
Versions Property Map - TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
- upstream
Healthchecker Property Map - Check the health of the sources with requests to
health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needstype"https" whensource_protocol_httpsis enabled and "http" otherwise. - use
Default Property MapLe Chain - Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
- use
Rsa Property MapLe Cert - Issue RSA Let's Encrypt certificates instead of ECDSA ones.
- user
Agent Property MapAcl - Allow or deny requests by the User-Agent header.
- waf Property Map
- Enable the web application firewall. The WAF must be enabled on the account.
- waf
Monitoring Property MapMode - Run the WAF in monitoring mode. It can be enabled only together with
waf, and only if the WAF of the account supports this mode. - whitelist Property Map
- IPv4 and IPv6 addresses and networks on the whitelist of the resource.
- www
Redirects Property Map - Redirect requests from the www subdomain to
domain. Enabling it needswww.<domain>insubdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
WebsecResourceOptionsAllowedHttpMethods, WebsecResourceOptionsAllowedHttpMethodsArgs
WebsecResourceOptionsAntibotChallengeUrlExceptions, WebsecResourceOptionsAntibotChallengeUrlExceptionsArgs
WebsecResourceOptionsAntibotFloodChallenge, WebsecResourceOptionsAntibotFloodChallengeArgs
- Antibot
Challenge boolGet Only On - Apply the antibot cookie to GET requests only. Defaults to
false. - Antibot
Challenge doubleTimelimit - Lifetime of the antibot cookie in minutes. Defaults to
10. - Antibot
Challenge boolUtm Referrer - Keep the UTM parameters of the original request through the challenge redirect. Defaults to
false. - Enabled bool
- Enable or disable the option. Defaults to
true. - Value string
- Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
- Antibot
Challenge boolGet Only On - Apply the antibot cookie to GET requests only. Defaults to
false. - Antibot
Challenge float64Timelimit - Lifetime of the antibot cookie in minutes. Defaults to
10. - Antibot
Challenge boolUtm Referrer - Keep the UTM parameters of the original request through the challenge redirect. Defaults to
false. - Enabled bool
- Enable or disable the option. Defaults to
true. - Value string
- Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
- antibot_
challenge_ boolget_ only_ on - Apply the antibot cookie to GET requests only. Defaults to
false. - antibot_
challenge_ numbertimelimit - Lifetime of the antibot cookie in minutes. Defaults to
10. - antibot_
challenge_ boolutm_ referrer - Keep the UTM parameters of the original request through the challenge redirect. Defaults to
false. - enabled bool
- Enable or disable the option. Defaults to
true. - value string
- Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
- antibot
Challenge BooleanGet Only On - Apply the antibot cookie to GET requests only. Defaults to
false. - antibot
Challenge DoubleTimelimit - Lifetime of the antibot cookie in minutes. Defaults to
10. - antibot
Challenge BooleanUtm Referrer - Keep the UTM parameters of the original request through the challenge redirect. Defaults to
false. - enabled Boolean
- Enable or disable the option. Defaults to
true. - value String
- Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
- antibot
Challenge booleanGet Only On - Apply the antibot cookie to GET requests only. Defaults to
false. - antibot
Challenge numberTimelimit - Lifetime of the antibot cookie in minutes. Defaults to
10. - antibot
Challenge booleanUtm Referrer - Keep the UTM parameters of the original request through the challenge redirect. Defaults to
false. - enabled boolean
- Enable or disable the option. Defaults to
true. - value string
- Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
- antibot_
challenge_ boolget_ only_ on - Apply the antibot cookie to GET requests only. Defaults to
false. - antibot_
challenge_ floattimelimit - Lifetime of the antibot cookie in minutes. Defaults to
10. - antibot_
challenge_ boolutm_ referrer - Keep the UTM parameters of the original request through the challenge redirect. Defaults to
false. - enabled bool
- Enable or disable the option. Defaults to
true. - value str
- Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
- antibot
Challenge BooleanGet Only On - Apply the antibot cookie to GET requests only. Defaults to
false. - antibot
Challenge NumberTimelimit - Lifetime of the antibot cookie in minutes. Defaults to
10. - antibot
Challenge BooleanUtm Referrer - Keep the UTM parameters of the original request through the challenge redirect. Defaults to
false. - enabled Boolean
- Enable or disable the option. Defaults to
true. - value String
- Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelist, WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelistArgs
WebsecResourceOptionsAsnAcl, WebsecResourceOptionsAsnAclArgs
- Excepted
Values List<double> - ASNs that are the exceptions from
policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set. - Policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - Enabled bool
- Enable or disable the option. Defaults to
true.
- Excepted
Values []float64 - ASNs that are the exceptions from
policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set. - Policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - Enabled bool
- Enable or disable the option. Defaults to
true.
- excepted_
values list(number) - ASNs that are the exceptions from
policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set. - policy_
type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled bool
- Enable or disable the option. Defaults to
true.
- excepted
Values List<Double> - ASNs that are the exceptions from
policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set. - policy
Type String - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled Boolean
- Enable or disable the option. Defaults to
true.
- excepted
Values number[] - ASNs that are the exceptions from
policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set. - policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled boolean
- Enable or disable the option. Defaults to
true.
- excepted_
values Sequence[float] - ASNs that are the exceptions from
policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set. - policy_
type str - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled bool
- Enable or disable the option. Defaults to
true.
- excepted
Values List<Number> - ASNs that are the exceptions from
policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set. - policy
Type String - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled Boolean
- Enable or disable the option. Defaults to
true.
WebsecResourceOptionsBlacklist, WebsecResourceOptionsBlacklistArgs
WebsecResourceOptionsCountryAcl, WebsecResourceOptionsCountryAclArgs
- Excepted
Values List<string> - ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from
policy_type. - Policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - Enabled bool
- Enable or disable the option. Defaults to
true.
- Excepted
Values []string - ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from
policy_type. - Policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - Enabled bool
- Enable or disable the option. Defaults to
true.
- excepted_
values list(string) - ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from
policy_type. - policy_
type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled bool
- Enable or disable the option. Defaults to
true.
- excepted
Values List<String> - ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from
policy_type. - policy
Type String - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled Boolean
- Enable or disable the option. Defaults to
true.
- excepted
Values string[] - ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from
policy_type. - policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled boolean
- Enable or disable the option. Defaults to
true.
- excepted_
values Sequence[str] - ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from
policy_type. - policy_
type str - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled bool
- Enable or disable the option. Defaults to
true.
- excepted
Values List<String> - ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from
policy_type. - policy
Type String - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled Boolean
- Enable or disable the option. Defaults to
true.
WebsecResourceOptionsIpHash, WebsecResourceOptionsIpHashArgs
WebsecResourceOptionsMlAnalysis, WebsecResourceOptionsMlAnalysisArgs
WebsecResourceOptionsRedirectHttpToHttps, WebsecResourceOptionsRedirectHttpToHttpsArgs
WebsecResourceOptionsRedirectHttpsToHttp, WebsecResourceOptionsRedirectHttpsToHttpArgs
WebsecResourceOptionsRefererAcl, WebsecResourceOptionsRefererAclArgs
- Excepted
Values List<string> - Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from
policy_type. An empty string stands for requests without the Referer header and needs at least one more value. - Policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - Direct
Link bool - How the API handles requests without the Referer header, its
direct_linkflag. Defaults tofalse. - Enabled bool
- Enable or disable the option. Defaults to
true.
- Excepted
Values []string - Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from
policy_type. An empty string stands for requests without the Referer header and needs at least one more value. - Policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - Direct
Link bool - How the API handles requests without the Referer header, its
direct_linkflag. Defaults tofalse. - Enabled bool
- Enable or disable the option. Defaults to
true.
- excepted_
values list(string) - Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from
policy_type. An empty string stands for requests without the Referer header and needs at least one more value. - policy_
type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - direct_
link bool - How the API handles requests without the Referer header, its
direct_linkflag. Defaults tofalse. - enabled bool
- Enable or disable the option. Defaults to
true.
- excepted
Values List<String> - Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from
policy_type. An empty string stands for requests without the Referer header and needs at least one more value. - policy
Type String - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - direct
Link Boolean - How the API handles requests without the Referer header, its
direct_linkflag. Defaults tofalse. - enabled Boolean
- Enable or disable the option. Defaults to
true.
- excepted
Values string[] - Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from
policy_type. An empty string stands for requests without the Referer header and needs at least one more value. - policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - direct
Link boolean - How the API handles requests without the Referer header, its
direct_linkflag. Defaults tofalse. - enabled boolean
- Enable or disable the option. Defaults to
true.
- excepted_
values Sequence[str] - Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from
policy_type. An empty string stands for requests without the Referer header and needs at least one more value. - policy_
type str - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - direct_
link bool - How the API handles requests without the Referer header, its
direct_linkflag. Defaults tofalse. - enabled bool
- Enable or disable the option. Defaults to
true.
- excepted
Values List<String> - Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from
policy_type. An empty string stands for requests without the Referer header and needs at least one more value. - policy
Type String - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - direct
Link Boolean - How the API handles requests without the Referer header, its
direct_linkflag. Defaults tofalse. - enabled Boolean
- Enable or disable the option. Defaults to
true.
WebsecResourceOptionsResponseHeaders, WebsecResourceOptionsResponseHeadersArgs
- Values
List<Websec
Resource Options Response Headers Value> - Headers to add.
- Enabled bool
- Enable or disable the option. Defaults to
true.
- Values
[]Websec
Resource Options Response Headers Value - Headers to add.
- Enabled bool
- Enable or disable the option. Defaults to
true.
- values list(object)
- Headers to add.
- enabled bool
- Enable or disable the option. Defaults to
true.
- values
List<Websec
Resource Options Response Headers Value> - Headers to add.
- enabled Boolean
- Enable or disable the option. Defaults to
true.
- values
Websec
Resource Options Response Headers Value[] - Headers to add.
- enabled boolean
- Enable or disable the option. Defaults to
true.
- values
Sequence[Websec
Resource Options Response Headers Value] - Headers to add.
- enabled bool
- Enable or disable the option. Defaults to
true.
- values List<Property Map>
- Headers to add.
- enabled Boolean
- Enable or disable the option. Defaults to
true.
WebsecResourceOptionsResponseHeadersValue, WebsecResourceOptionsResponseHeadersValueArgs
WebsecResourceOptionsSourceProtocolHttps, WebsecResourceOptionsSourceProtocolHttpsArgs
WebsecResourceOptionsTlsVersions, WebsecResourceOptionsTlsVersionsArgs
WebsecResourceOptionsUpstreamHealthchecker, WebsecResourceOptionsUpstreamHealthcheckerArgs
- Health
Url string - Path of the check requests, starting with "/".
- Enabled bool
- Enable or disable the option. Defaults to
true. - Fall double
- Failed checks in a row that mark a source as down. Defaults to
2. - Host string
- Domain name for the check requests.
- Interval double
- Interval between the checks in milliseconds. Defaults to
15000. - Rise double
- Successful checks in a row that mark a source as up. Defaults to
3. - Timeout double
- Timeout of a check in milliseconds. Defaults to
10000. - Type string
- Protocol of the checks, "http" or "https". Defaults to "http".
- Health
Url string - Path of the check requests, starting with "/".
- Enabled bool
- Enable or disable the option. Defaults to
true. - Fall float64
- Failed checks in a row that mark a source as down. Defaults to
2. - Host string
- Domain name for the check requests.
- Interval float64
- Interval between the checks in milliseconds. Defaults to
15000. - Rise float64
- Successful checks in a row that mark a source as up. Defaults to
3. - Timeout float64
- Timeout of a check in milliseconds. Defaults to
10000. - Type string
- Protocol of the checks, "http" or "https". Defaults to "http".
- health_
url string - Path of the check requests, starting with "/".
- enabled bool
- Enable or disable the option. Defaults to
true. - fall number
- Failed checks in a row that mark a source as down. Defaults to
2. - host string
- Domain name for the check requests.
- interval number
- Interval between the checks in milliseconds. Defaults to
15000. - rise number
- Successful checks in a row that mark a source as up. Defaults to
3. - timeout number
- Timeout of a check in milliseconds. Defaults to
10000. - type string
- Protocol of the checks, "http" or "https". Defaults to "http".
- health
Url String - Path of the check requests, starting with "/".
- enabled Boolean
- Enable or disable the option. Defaults to
true. - fall Double
- Failed checks in a row that mark a source as down. Defaults to
2. - host String
- Domain name for the check requests.
- interval Double
- Interval between the checks in milliseconds. Defaults to
15000. - rise Double
- Successful checks in a row that mark a source as up. Defaults to
3. - timeout Double
- Timeout of a check in milliseconds. Defaults to
10000. - type String
- Protocol of the checks, "http" or "https". Defaults to "http".
- health
Url string - Path of the check requests, starting with "/".
- enabled boolean
- Enable or disable the option. Defaults to
true. - fall number
- Failed checks in a row that mark a source as down. Defaults to
2. - host string
- Domain name for the check requests.
- interval number
- Interval between the checks in milliseconds. Defaults to
15000. - rise number
- Successful checks in a row that mark a source as up. Defaults to
3. - timeout number
- Timeout of a check in milliseconds. Defaults to
10000. - type string
- Protocol of the checks, "http" or "https". Defaults to "http".
- health_
url str - Path of the check requests, starting with "/".
- enabled bool
- Enable or disable the option. Defaults to
true. - fall float
- Failed checks in a row that mark a source as down. Defaults to
2. - host str
- Domain name for the check requests.
- interval float
- Interval between the checks in milliseconds. Defaults to
15000. - rise float
- Successful checks in a row that mark a source as up. Defaults to
3. - timeout float
- Timeout of a check in milliseconds. Defaults to
10000. - type str
- Protocol of the checks, "http" or "https". Defaults to "http".
- health
Url String - Path of the check requests, starting with "/".
- enabled Boolean
- Enable or disable the option. Defaults to
true. - fall Number
- Failed checks in a row that mark a source as down. Defaults to
2. - host String
- Domain name for the check requests.
- interval Number
- Interval between the checks in milliseconds. Defaults to
15000. - rise Number
- Successful checks in a row that mark a source as up. Defaults to
3. - timeout Number
- Timeout of a check in milliseconds. Defaults to
10000. - type String
- Protocol of the checks, "http" or "https". Defaults to "http".
WebsecResourceOptionsUseDefaultLeChain, WebsecResourceOptionsUseDefaultLeChainArgs
WebsecResourceOptionsUseRsaLeCert, WebsecResourceOptionsUseRsaLeCertArgs
WebsecResourceOptionsUserAgentAcl, WebsecResourceOptionsUserAgentAclArgs
- Excepted
Values List<string> - User agents that are the exceptions from
policy_type. A value that starts with "~" is a regular expression. - Policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - Enabled bool
- Enable or disable the option. Defaults to
true.
- Excepted
Values []string - User agents that are the exceptions from
policy_type. A value that starts with "~" is a regular expression. - Policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - Enabled bool
- Enable or disable the option. Defaults to
true.
- excepted_
values list(string) - User agents that are the exceptions from
policy_type. A value that starts with "~" is a regular expression. - policy_
type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled bool
- Enable or disable the option. Defaults to
true.
- excepted
Values List<String> - User agents that are the exceptions from
policy_type. A value that starts with "~" is a regular expression. - policy
Type String - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled Boolean
- Enable or disable the option. Defaults to
true.
- excepted
Values string[] - User agents that are the exceptions from
policy_type. A value that starts with "~" is a regular expression. - policy
Type string - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled boolean
- Enable or disable the option. Defaults to
true.
- excepted_
values Sequence[str] - User agents that are the exceptions from
policy_type. A value that starts with "~" is a regular expression. - policy_
type str - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled bool
- Enable or disable the option. Defaults to
true.
- excepted
Values List<String> - User agents that are the exceptions from
policy_type. A value that starts with "~" is a regular expression. - policy
Type String - Default policy, "allow" or "deny". Requests that match
excepted_valuesget the opposite one. - enabled Boolean
- Enable or disable the option. Defaults to
true.
WebsecResourceOptionsWaf, WebsecResourceOptionsWafArgs
WebsecResourceOptionsWafMonitoringMode, WebsecResourceOptionsWafMonitoringModeArgs
WebsecResourceOptionsWhitelist, WebsecResourceOptionsWhitelistArgs
WebsecResourceOptionsWwwRedirects, WebsecResourceOptionsWwwRedirectsArgs
WebsecResourceTimeouts, WebsecResourceTimeoutsArgs
- Update string
- Update string
- update string
- update String
- update string
- update str
- update String
Import
The pulumi import command can be used, for example:
$ pulumi import edgecenter:index/websecResource:WebsecResource example_com 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenterTerraform Provider.
published on Wednesday, Nov 18, 2026 by edge-center