volcengine.waf.WafDomain
Explore with Pulumi AI
Provides a resource to manage waf domain
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const foo = new volcengine.waf.WafDomain("foo", {
accessMode: 10,
backendGroups: [{
accessPorts: [80],
backends: [
{
ip: "192.168.0.0",
port: 80,
protocol: "HTTP",
weight: 40,
},
{
ip: "192.168.1.0",
port: 80,
protocol: "HTTP",
weight: 60,
},
],
name: "default",
}],
clientIpLocation: 0,
clientMaxBodySize: 1024,
customHeaders: [
"x-top-1",
"x-top-2",
],
domain: "www.tf-test.com",
enableIpv6: 0,
keepAliveRequest: 200,
keepAliveTimeOut: 100,
lbAlgorithm: "wlc",
protocolPorts: {
https: [80],
},
protocols: ["HTTP"],
proxyConfig: 1,
proxyConnectTimeOut: 10,
proxyKeepAlive: 101,
proxyKeepAliveTimeOut: 20,
proxyReadTimeOut: 200,
proxyRetry: 10,
proxyWriteTimeOut: 120,
publicRealServer: 0,
vpcId: "vpc-2d6485y7p95og58ozfcvxxxxx",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.waf.WafDomain("foo",
access_mode=10,
backend_groups=[volcengine.waf.WafDomainBackendGroupArgs(
access_ports=[80],
backends=[
volcengine.waf.WafDomainBackendGroupBackendArgs(
ip="192.168.0.0",
port=80,
protocol="HTTP",
weight=40,
),
volcengine.waf.WafDomainBackendGroupBackendArgs(
ip="192.168.1.0",
port=80,
protocol="HTTP",
weight=60,
),
],
name="default",
)],
client_ip_location=0,
client_max_body_size=1024,
custom_headers=[
"x-top-1",
"x-top-2",
],
domain="www.tf-test.com",
enable_ipv6=0,
keep_alive_request=200,
keep_alive_time_out=100,
lb_algorithm="wlc",
protocol_ports=volcengine.waf.WafDomainProtocolPortsArgs(
https=[80],
),
protocols=["HTTP"],
proxy_config=1,
proxy_connect_time_out=10,
proxy_keep_alive=101,
proxy_keep_alive_time_out=20,
proxy_read_time_out=200,
proxy_retry=10,
proxy_write_time_out=120,
public_real_server=0,
vpc_id="vpc-2d6485y7p95og58ozfcvxxxxx")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/waf"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := waf.NewWafDomain(ctx, "foo", &waf.WafDomainArgs{
AccessMode: pulumi.Int(10),
BackendGroups: waf.WafDomainBackendGroupArray{
&waf.WafDomainBackendGroupArgs{
AccessPorts: pulumi.IntArray{
pulumi.Int(80),
},
Backends: waf.WafDomainBackendGroupBackendArray{
&waf.WafDomainBackendGroupBackendArgs{
Ip: pulumi.String("192.168.0.0"),
Port: pulumi.Int(80),
Protocol: pulumi.String("HTTP"),
Weight: pulumi.Int(40),
},
&waf.WafDomainBackendGroupBackendArgs{
Ip: pulumi.String("192.168.1.0"),
Port: pulumi.Int(80),
Protocol: pulumi.String("HTTP"),
Weight: pulumi.Int(60),
},
},
Name: pulumi.String("default"),
},
},
ClientIpLocation: pulumi.Int(0),
ClientMaxBodySize: pulumi.Int(1024),
CustomHeaders: pulumi.StringArray{
pulumi.String("x-top-1"),
pulumi.String("x-top-2"),
},
Domain: pulumi.String("www.tf-test.com"),
EnableIpv6: pulumi.Int(0),
KeepAliveRequest: pulumi.Int(200),
KeepAliveTimeOut: pulumi.Int(100),
LbAlgorithm: pulumi.String("wlc"),
ProtocolPorts: &waf.WafDomainProtocolPortsArgs{
Https: pulumi.IntArray{
pulumi.Int(80),
},
},
Protocols: pulumi.StringArray{
pulumi.String("HTTP"),
},
ProxyConfig: pulumi.Int(1),
ProxyConnectTimeOut: pulumi.Int(10),
ProxyKeepAlive: pulumi.Int(101),
ProxyKeepAliveTimeOut: pulumi.Int(20),
ProxyReadTimeOut: pulumi.Int(200),
ProxyRetry: pulumi.Int(10),
ProxyWriteTimeOut: pulumi.Int(120),
PublicRealServer: pulumi.Int(0),
VpcId: pulumi.String("vpc-2d6485y7p95og58ozfcvxxxxx"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = new Volcengine.Waf.WafDomain("foo", new()
{
AccessMode = 10,
BackendGroups = new[]
{
new Volcengine.Waf.Inputs.WafDomainBackendGroupArgs
{
AccessPorts = new[]
{
80,
},
Backends = new[]
{
new Volcengine.Waf.Inputs.WafDomainBackendGroupBackendArgs
{
Ip = "192.168.0.0",
Port = 80,
Protocol = "HTTP",
Weight = 40,
},
new Volcengine.Waf.Inputs.WafDomainBackendGroupBackendArgs
{
Ip = "192.168.1.0",
Port = 80,
Protocol = "HTTP",
Weight = 60,
},
},
Name = "default",
},
},
ClientIpLocation = 0,
ClientMaxBodySize = 1024,
CustomHeaders = new[]
{
"x-top-1",
"x-top-2",
},
Domain = "www.tf-test.com",
EnableIpv6 = 0,
KeepAliveRequest = 200,
KeepAliveTimeOut = 100,
LbAlgorithm = "wlc",
ProtocolPorts = new Volcengine.Waf.Inputs.WafDomainProtocolPortsArgs
{
Https = new[]
{
80,
},
},
Protocols = new[]
{
"HTTP",
},
ProxyConfig = 1,
ProxyConnectTimeOut = 10,
ProxyKeepAlive = 101,
ProxyKeepAliveTimeOut = 20,
ProxyReadTimeOut = 200,
ProxyRetry = 10,
ProxyWriteTimeOut = 120,
PublicRealServer = 0,
VpcId = "vpc-2d6485y7p95og58ozfcvxxxxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.waf.WafDomain;
import com.pulumi.volcengine.waf.WafDomainArgs;
import com.pulumi.volcengine.waf.inputs.WafDomainBackendGroupArgs;
import com.pulumi.volcengine.waf.inputs.WafDomainProtocolPortsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new WafDomain("foo", WafDomainArgs.builder()
.accessMode(10)
.backendGroups(WafDomainBackendGroupArgs.builder()
.accessPorts(80)
.backends(
WafDomainBackendGroupBackendArgs.builder()
.ip("192.168.0.0")
.port(80)
.protocol("HTTP")
.weight(40)
.build(),
WafDomainBackendGroupBackendArgs.builder()
.ip("192.168.1.0")
.port(80)
.protocol("HTTP")
.weight(60)
.build())
.name("default")
.build())
.clientIpLocation(0)
.clientMaxBodySize(1024)
.customHeaders(
"x-top-1",
"x-top-2")
.domain("www.tf-test.com")
.enableIpv6(0)
.keepAliveRequest(200)
.keepAliveTimeOut(100)
.lbAlgorithm("wlc")
.protocolPorts(WafDomainProtocolPortsArgs.builder()
.https(80)
.build())
.protocols("HTTP")
.proxyConfig(1)
.proxyConnectTimeOut(10)
.proxyKeepAlive(101)
.proxyKeepAliveTimeOut(20)
.proxyReadTimeOut(200)
.proxyRetry(10)
.proxyWriteTimeOut(120)
.publicRealServer(0)
.vpcId("vpc-2d6485y7p95og58ozfcvxxxxx")
.build());
}
}
resources:
foo:
type: volcengine:waf:WafDomain
properties:
accessMode: 10
backendGroups:
- accessPorts:
- 80
backends:
- ip: 192.168.0.0
port: 80
protocol: HTTP
weight: 40
- ip: 192.168.1.0
port: 80
protocol: HTTP
weight: 60
name: default
clientIpLocation: 0
clientMaxBodySize: 1024
customHeaders:
- x-top-1
- x-top-2
domain: www.tf-test.com
enableIpv6: 0
keepAliveRequest: 200
keepAliveTimeOut: 100
lbAlgorithm: wlc
protocolPorts:
https:
- 80
protocols:
- HTTP
proxyConfig: 1
proxyConnectTimeOut: 10
proxyKeepAlive: 101
proxyKeepAliveTimeOut: 20
proxyReadTimeOut: 200
proxyRetry: 10
proxyWriteTimeOut: 120
publicRealServer: 0
vpcId: vpc-2d6485y7p95og58ozfcvxxxxx
Create WafDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WafDomain(name: string, args: WafDomainArgs, opts?: CustomResourceOptions);
@overload
def WafDomain(resource_name: str,
args: WafDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WafDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_mode: Optional[int] = None,
domain: Optional[str] = None,
api_enable: Optional[int] = None,
auto_cc_enable: Optional[int] = None,
backend_groups: Optional[Sequence[WafDomainBackendGroupArgs]] = None,
black_ip_enable: Optional[int] = None,
black_lct_enable: Optional[int] = None,
bot_dytoken_enable: Optional[int] = None,
bot_frequency_enable: Optional[int] = None,
bot_repeat_enable: Optional[int] = None,
bot_sequence_default_action: Optional[int] = None,
bot_sequence_enable: Optional[int] = None,
cc_enable: Optional[int] = None,
certificate_id: Optional[int] = None,
certificate_platform: Optional[str] = None,
client_ip_location: Optional[int] = None,
client_max_body_size: Optional[int] = None,
cloud_access_configs: Optional[Sequence[WafDomainCloudAccessConfigArgs]] = None,
custom_bot_enable: Optional[int] = None,
custom_headers: Optional[Sequence[str]] = None,
custom_rsp_enable: Optional[int] = None,
custom_sni: Optional[str] = None,
defence_mode: Optional[int] = None,
dlp_enable: Optional[int] = None,
enable_custom_redirect: Optional[int] = None,
enable_http2: Optional[int] = None,
enable_ipv6: Optional[int] = None,
enable_sni: Optional[int] = None,
extra_defence_mode_lb_instances: Optional[Sequence[WafDomainExtraDefenceModeLbInstanceArgs]] = None,
keep_alive_request: Optional[int] = None,
keep_alive_time_out: Optional[int] = None,
lb_algorithm: Optional[str] = None,
llm_available: Optional[bool] = None,
project_name: Optional[str] = None,
protocol_follow: Optional[int] = None,
protocol_ports: Optional[WafDomainProtocolPortsArgs] = None,
protocols: Optional[Sequence[str]] = None,
proxy_config: Optional[int] = None,
proxy_connect_time_out: Optional[int] = None,
proxy_keep_alive: Optional[int] = None,
proxy_keep_alive_time_out: Optional[int] = None,
proxy_read_time_out: Optional[int] = None,
proxy_retry: Optional[int] = None,
proxy_write_time_out: Optional[int] = None,
public_real_server: Optional[int] = None,
redirect_https: Optional[bool] = None,
ssl_ciphers: Optional[Sequence[str]] = None,
ssl_protocols: Optional[Sequence[str]] = None,
system_bot_enable: Optional[int] = None,
tamper_proof_enable: Optional[int] = None,
tls_enable: Optional[int] = None,
tls_fields_config: Optional[WafDomainTlsFieldsConfigArgs] = None,
volc_certificate_id: Optional[str] = None,
vpc_id: Optional[str] = None,
waf_enable: Optional[int] = None,
waf_white_req_enable: Optional[int] = None,
white_enable: Optional[int] = None,
white_field_enable: Optional[int] = None)
func NewWafDomain(ctx *Context, name string, args WafDomainArgs, opts ...ResourceOption) (*WafDomain, error)
public WafDomain(string name, WafDomainArgs args, CustomResourceOptions? opts = null)
public WafDomain(String name, WafDomainArgs args)
public WafDomain(String name, WafDomainArgs args, CustomResourceOptions options)
type: volcengine:waf:WafDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WafDomainArgs
- 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 WafDomainArgs
- 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 WafDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WafDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WafDomainArgs
- 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 wafDomainResource = new Volcengine.Waf.WafDomain("wafDomainResource", new()
{
AccessMode = 0,
Domain = "string",
ApiEnable = 0,
AutoCcEnable = 0,
BackendGroups = new[]
{
new Volcengine.Waf.Inputs.WafDomainBackendGroupArgs
{
AccessPorts = new[]
{
0,
},
Backends = new[]
{
new Volcengine.Waf.Inputs.WafDomainBackendGroupBackendArgs
{
Ip = "string",
Port = 0,
Protocol = "string",
Weight = 0,
},
},
Name = "string",
},
},
BlackIpEnable = 0,
BlackLctEnable = 0,
BotDytokenEnable = 0,
BotFrequencyEnable = 0,
BotRepeatEnable = 0,
BotSequenceDefaultAction = 0,
BotSequenceEnable = 0,
CcEnable = 0,
CertificateId = 0,
CertificatePlatform = "string",
ClientIpLocation = 0,
ClientMaxBodySize = 0,
CloudAccessConfigs = new[]
{
new Volcengine.Waf.Inputs.WafDomainCloudAccessConfigArgs
{
InstanceId = "string",
AccessProtocol = "string",
InstanceName = "string",
ListenerId = "string",
LostAssociationFromAlb = 0,
Port = "string",
Protocol = "string",
},
},
CustomBotEnable = 0,
CustomHeaders = new[]
{
"string",
},
CustomRspEnable = 0,
CustomSni = "string",
DefenceMode = 0,
DlpEnable = 0,
EnableCustomRedirect = 0,
EnableHttp2 = 0,
EnableIpv6 = 0,
EnableSni = 0,
ExtraDefenceModeLbInstances = new[]
{
new Volcengine.Waf.Inputs.WafDomainExtraDefenceModeLbInstanceArgs
{
DefenceMode = 0,
InstanceId = "string",
},
},
KeepAliveRequest = 0,
KeepAliveTimeOut = 0,
LbAlgorithm = "string",
LlmAvailable = false,
ProjectName = "string",
ProtocolFollow = 0,
ProtocolPorts = new Volcengine.Waf.Inputs.WafDomainProtocolPortsArgs
{
Http = new[]
{
0,
},
Https = new[]
{
0,
},
},
Protocols = new[]
{
"string",
},
ProxyConfig = 0,
ProxyConnectTimeOut = 0,
ProxyKeepAlive = 0,
ProxyKeepAliveTimeOut = 0,
ProxyReadTimeOut = 0,
ProxyRetry = 0,
ProxyWriteTimeOut = 0,
PublicRealServer = 0,
RedirectHttps = false,
SslCiphers = new[]
{
"string",
},
SslProtocols = new[]
{
"string",
},
SystemBotEnable = 0,
TamperProofEnable = 0,
TlsEnable = 0,
TlsFieldsConfig = new Volcengine.Waf.Inputs.WafDomainTlsFieldsConfigArgs
{
HeadersConfig = new Volcengine.Waf.Inputs.WafDomainTlsFieldsConfigHeadersConfigArgs
{
Enable = 0,
ExcludedKeyLists = new[]
{
"string",
},
StatisticalKeyLists = new[]
{
"string",
},
},
},
VolcCertificateId = "string",
VpcId = "string",
WafEnable = 0,
WafWhiteReqEnable = 0,
WhiteEnable = 0,
WhiteFieldEnable = 0,
});
example, err := waf.NewWafDomain(ctx, "wafDomainResource", &waf.WafDomainArgs{
AccessMode: pulumi.Int(0),
Domain: pulumi.String("string"),
ApiEnable: pulumi.Int(0),
AutoCcEnable: pulumi.Int(0),
BackendGroups: waf.WafDomainBackendGroupArray{
&waf.WafDomainBackendGroupArgs{
AccessPorts: pulumi.IntArray{
pulumi.Int(0),
},
Backends: waf.WafDomainBackendGroupBackendArray{
&waf.WafDomainBackendGroupBackendArgs{
Ip: pulumi.String("string"),
Port: pulumi.Int(0),
Protocol: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
Name: pulumi.String("string"),
},
},
BlackIpEnable: pulumi.Int(0),
BlackLctEnable: pulumi.Int(0),
BotDytokenEnable: pulumi.Int(0),
BotFrequencyEnable: pulumi.Int(0),
BotRepeatEnable: pulumi.Int(0),
BotSequenceDefaultAction: pulumi.Int(0),
BotSequenceEnable: pulumi.Int(0),
CcEnable: pulumi.Int(0),
CertificateId: pulumi.Int(0),
CertificatePlatform: pulumi.String("string"),
ClientIpLocation: pulumi.Int(0),
ClientMaxBodySize: pulumi.Int(0),
CloudAccessConfigs: waf.WafDomainCloudAccessConfigArray{
&waf.WafDomainCloudAccessConfigArgs{
InstanceId: pulumi.String("string"),
AccessProtocol: pulumi.String("string"),
InstanceName: pulumi.String("string"),
ListenerId: pulumi.String("string"),
LostAssociationFromAlb: pulumi.Int(0),
Port: pulumi.String("string"),
Protocol: pulumi.String("string"),
},
},
CustomBotEnable: pulumi.Int(0),
CustomHeaders: pulumi.StringArray{
pulumi.String("string"),
},
CustomRspEnable: pulumi.Int(0),
CustomSni: pulumi.String("string"),
DefenceMode: pulumi.Int(0),
DlpEnable: pulumi.Int(0),
EnableCustomRedirect: pulumi.Int(0),
EnableHttp2: pulumi.Int(0),
EnableIpv6: pulumi.Int(0),
EnableSni: pulumi.Int(0),
ExtraDefenceModeLbInstances: waf.WafDomainExtraDefenceModeLbInstanceArray{
&waf.WafDomainExtraDefenceModeLbInstanceArgs{
DefenceMode: pulumi.Int(0),
InstanceId: pulumi.String("string"),
},
},
KeepAliveRequest: pulumi.Int(0),
KeepAliveTimeOut: pulumi.Int(0),
LbAlgorithm: pulumi.String("string"),
LlmAvailable: pulumi.Bool(false),
ProjectName: pulumi.String("string"),
ProtocolFollow: pulumi.Int(0),
ProtocolPorts: &waf.WafDomainProtocolPortsArgs{
Http: pulumi.IntArray{
pulumi.Int(0),
},
Https: pulumi.IntArray{
pulumi.Int(0),
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
ProxyConfig: pulumi.Int(0),
ProxyConnectTimeOut: pulumi.Int(0),
ProxyKeepAlive: pulumi.Int(0),
ProxyKeepAliveTimeOut: pulumi.Int(0),
ProxyReadTimeOut: pulumi.Int(0),
ProxyRetry: pulumi.Int(0),
ProxyWriteTimeOut: pulumi.Int(0),
PublicRealServer: pulumi.Int(0),
RedirectHttps: pulumi.Bool(false),
SslCiphers: pulumi.StringArray{
pulumi.String("string"),
},
SslProtocols: pulumi.StringArray{
pulumi.String("string"),
},
SystemBotEnable: pulumi.Int(0),
TamperProofEnable: pulumi.Int(0),
TlsEnable: pulumi.Int(0),
TlsFieldsConfig: &waf.WafDomainTlsFieldsConfigArgs{
HeadersConfig: &waf.WafDomainTlsFieldsConfigHeadersConfigArgs{
Enable: pulumi.Int(0),
ExcludedKeyLists: pulumi.StringArray{
pulumi.String("string"),
},
StatisticalKeyLists: pulumi.StringArray{
pulumi.String("string"),
},
},
},
VolcCertificateId: pulumi.String("string"),
VpcId: pulumi.String("string"),
WafEnable: pulumi.Int(0),
WafWhiteReqEnable: pulumi.Int(0),
WhiteEnable: pulumi.Int(0),
WhiteFieldEnable: pulumi.Int(0),
})
var wafDomainResource = new WafDomain("wafDomainResource", WafDomainArgs.builder()
.accessMode(0)
.domain("string")
.apiEnable(0)
.autoCcEnable(0)
.backendGroups(WafDomainBackendGroupArgs.builder()
.accessPorts(0)
.backends(WafDomainBackendGroupBackendArgs.builder()
.ip("string")
.port(0)
.protocol("string")
.weight(0)
.build())
.name("string")
.build())
.blackIpEnable(0)
.blackLctEnable(0)
.botDytokenEnable(0)
.botFrequencyEnable(0)
.botRepeatEnable(0)
.botSequenceDefaultAction(0)
.botSequenceEnable(0)
.ccEnable(0)
.certificateId(0)
.certificatePlatform("string")
.clientIpLocation(0)
.clientMaxBodySize(0)
.cloudAccessConfigs(WafDomainCloudAccessConfigArgs.builder()
.instanceId("string")
.accessProtocol("string")
.instanceName("string")
.listenerId("string")
.lostAssociationFromAlb(0)
.port("string")
.protocol("string")
.build())
.customBotEnable(0)
.customHeaders("string")
.customRspEnable(0)
.customSni("string")
.defenceMode(0)
.dlpEnable(0)
.enableCustomRedirect(0)
.enableHttp2(0)
.enableIpv6(0)
.enableSni(0)
.extraDefenceModeLbInstances(WafDomainExtraDefenceModeLbInstanceArgs.builder()
.defenceMode(0)
.instanceId("string")
.build())
.keepAliveRequest(0)
.keepAliveTimeOut(0)
.lbAlgorithm("string")
.llmAvailable(false)
.projectName("string")
.protocolFollow(0)
.protocolPorts(WafDomainProtocolPortsArgs.builder()
.http(0)
.https(0)
.build())
.protocols("string")
.proxyConfig(0)
.proxyConnectTimeOut(0)
.proxyKeepAlive(0)
.proxyKeepAliveTimeOut(0)
.proxyReadTimeOut(0)
.proxyRetry(0)
.proxyWriteTimeOut(0)
.publicRealServer(0)
.redirectHttps(false)
.sslCiphers("string")
.sslProtocols("string")
.systemBotEnable(0)
.tamperProofEnable(0)
.tlsEnable(0)
.tlsFieldsConfig(WafDomainTlsFieldsConfigArgs.builder()
.headersConfig(WafDomainTlsFieldsConfigHeadersConfigArgs.builder()
.enable(0)
.excludedKeyLists("string")
.statisticalKeyLists("string")
.build())
.build())
.volcCertificateId("string")
.vpcId("string")
.wafEnable(0)
.wafWhiteReqEnable(0)
.whiteEnable(0)
.whiteFieldEnable(0)
.build());
waf_domain_resource = volcengine.waf.WafDomain("wafDomainResource",
access_mode=0,
domain="string",
api_enable=0,
auto_cc_enable=0,
backend_groups=[{
"access_ports": [0],
"backends": [{
"ip": "string",
"port": 0,
"protocol": "string",
"weight": 0,
}],
"name": "string",
}],
black_ip_enable=0,
black_lct_enable=0,
bot_dytoken_enable=0,
bot_frequency_enable=0,
bot_repeat_enable=0,
bot_sequence_default_action=0,
bot_sequence_enable=0,
cc_enable=0,
certificate_id=0,
certificate_platform="string",
client_ip_location=0,
client_max_body_size=0,
cloud_access_configs=[{
"instance_id": "string",
"access_protocol": "string",
"instance_name": "string",
"listener_id": "string",
"lost_association_from_alb": 0,
"port": "string",
"protocol": "string",
}],
custom_bot_enable=0,
custom_headers=["string"],
custom_rsp_enable=0,
custom_sni="string",
defence_mode=0,
dlp_enable=0,
enable_custom_redirect=0,
enable_http2=0,
enable_ipv6=0,
enable_sni=0,
extra_defence_mode_lb_instances=[{
"defence_mode": 0,
"instance_id": "string",
}],
keep_alive_request=0,
keep_alive_time_out=0,
lb_algorithm="string",
llm_available=False,
project_name="string",
protocol_follow=0,
protocol_ports={
"http": [0],
"https": [0],
},
protocols=["string"],
proxy_config=0,
proxy_connect_time_out=0,
proxy_keep_alive=0,
proxy_keep_alive_time_out=0,
proxy_read_time_out=0,
proxy_retry=0,
proxy_write_time_out=0,
public_real_server=0,
redirect_https=False,
ssl_ciphers=["string"],
ssl_protocols=["string"],
system_bot_enable=0,
tamper_proof_enable=0,
tls_enable=0,
tls_fields_config={
"headers_config": {
"enable": 0,
"excluded_key_lists": ["string"],
"statistical_key_lists": ["string"],
},
},
volc_certificate_id="string",
vpc_id="string",
waf_enable=0,
waf_white_req_enable=0,
white_enable=0,
white_field_enable=0)
const wafDomainResource = new volcengine.waf.WafDomain("wafDomainResource", {
accessMode: 0,
domain: "string",
apiEnable: 0,
autoCcEnable: 0,
backendGroups: [{
accessPorts: [0],
backends: [{
ip: "string",
port: 0,
protocol: "string",
weight: 0,
}],
name: "string",
}],
blackIpEnable: 0,
blackLctEnable: 0,
botDytokenEnable: 0,
botFrequencyEnable: 0,
botRepeatEnable: 0,
botSequenceDefaultAction: 0,
botSequenceEnable: 0,
ccEnable: 0,
certificateId: 0,
certificatePlatform: "string",
clientIpLocation: 0,
clientMaxBodySize: 0,
cloudAccessConfigs: [{
instanceId: "string",
accessProtocol: "string",
instanceName: "string",
listenerId: "string",
lostAssociationFromAlb: 0,
port: "string",
protocol: "string",
}],
customBotEnable: 0,
customHeaders: ["string"],
customRspEnable: 0,
customSni: "string",
defenceMode: 0,
dlpEnable: 0,
enableCustomRedirect: 0,
enableHttp2: 0,
enableIpv6: 0,
enableSni: 0,
extraDefenceModeLbInstances: [{
defenceMode: 0,
instanceId: "string",
}],
keepAliveRequest: 0,
keepAliveTimeOut: 0,
lbAlgorithm: "string",
llmAvailable: false,
projectName: "string",
protocolFollow: 0,
protocolPorts: {
http: [0],
https: [0],
},
protocols: ["string"],
proxyConfig: 0,
proxyConnectTimeOut: 0,
proxyKeepAlive: 0,
proxyKeepAliveTimeOut: 0,
proxyReadTimeOut: 0,
proxyRetry: 0,
proxyWriteTimeOut: 0,
publicRealServer: 0,
redirectHttps: false,
sslCiphers: ["string"],
sslProtocols: ["string"],
systemBotEnable: 0,
tamperProofEnable: 0,
tlsEnable: 0,
tlsFieldsConfig: {
headersConfig: {
enable: 0,
excludedKeyLists: ["string"],
statisticalKeyLists: ["string"],
},
},
volcCertificateId: "string",
vpcId: "string",
wafEnable: 0,
wafWhiteReqEnable: 0,
whiteEnable: 0,
whiteFieldEnable: 0,
});
type: volcengine:waf:WafDomain
properties:
accessMode: 0
apiEnable: 0
autoCcEnable: 0
backendGroups:
- accessPorts:
- 0
backends:
- ip: string
port: 0
protocol: string
weight: 0
name: string
blackIpEnable: 0
blackLctEnable: 0
botDytokenEnable: 0
botFrequencyEnable: 0
botRepeatEnable: 0
botSequenceDefaultAction: 0
botSequenceEnable: 0
ccEnable: 0
certificateId: 0
certificatePlatform: string
clientIpLocation: 0
clientMaxBodySize: 0
cloudAccessConfigs:
- accessProtocol: string
instanceId: string
instanceName: string
listenerId: string
lostAssociationFromAlb: 0
port: string
protocol: string
customBotEnable: 0
customHeaders:
- string
customRspEnable: 0
customSni: string
defenceMode: 0
dlpEnable: 0
domain: string
enableCustomRedirect: 0
enableHttp2: 0
enableIpv6: 0
enableSni: 0
extraDefenceModeLbInstances:
- defenceMode: 0
instanceId: string
keepAliveRequest: 0
keepAliveTimeOut: 0
lbAlgorithm: string
llmAvailable: false
projectName: string
protocolFollow: 0
protocolPorts:
http:
- 0
https:
- 0
protocols:
- string
proxyConfig: 0
proxyConnectTimeOut: 0
proxyKeepAlive: 0
proxyKeepAliveTimeOut: 0
proxyReadTimeOut: 0
proxyRetry: 0
proxyWriteTimeOut: 0
publicRealServer: 0
redirectHttps: false
sslCiphers:
- string
sslProtocols:
- string
systemBotEnable: 0
tamperProofEnable: 0
tlsEnable: 0
tlsFieldsConfig:
headersConfig:
enable: 0
excludedKeyLists:
- string
statisticalKeyLists:
- string
volcCertificateId: string
vpcId: string
wafEnable: 0
wafWhiteReqEnable: 0
whiteEnable: 0
whiteFieldEnable: 0
WafDomain 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 WafDomain resource accepts the following input properties:
- Access
Mode int - Access mode.
- Domain string
- List of domain names that need to be protected by WAF.
- Api
Enable int - Whether to enable the API protection policy. Works only on modified scenes.
- Auto
Cc intEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- Backend
Groups List<WafDomain Backend Group> - The configuration of source station.
- Black
Ip intEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- Black
Lct intEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- Bot
Dytoken intEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- Bot
Frequency intEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- Bot
Repeat intEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- Bot
Sequence intDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- Bot
Sequence intEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- Cc
Enable int - Whether to enable the CC protection policy. Works only on modified scenes.
- Certificate
Id int - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- Certificate
Platform string - Certificate custody platform.
- Client
Ip intLocation - The method of obtaining the client IP.
- Client
Max intBody Size - The client requests the maximum value of body.
- Cloud
Access List<WafConfigs Domain Cloud Access Config> - Access port information.If AccessMode is Alb/CLB, this field is required.
- Custom
Bot intEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- Custom
Headers List<string> - Custom Header.
- Custom
Rsp intEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- Custom
Sni string - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- Defence
Mode int - The protection mode of the instance. Works only on modified scenes.
- Dlp
Enable int - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- Enable
Custom intRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- Enable
Http2 int - Whether to enable HTTP 2.0.
- Enable
Ipv6 int - Whether it supports protecting IPv6 requests.
- Enable
Sni int - Whether to enable the SNI configuration. Works only on modified scenes.
- Extra
Defence List<WafMode Lb Instances Domain Extra Defence Mode Lb Instance> - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- Keep
Alive intRequest - The number of long connection multiplexes.
- Keep
Alive intTime Out - Long connection retention time.
- Lb
Algorithm string - The types of load balancing algorithms.
- Llm
Available bool - Is LLM available. Works only on modified scenes.
- Project
Name string - The name of project. Works only on modified scenes.
- Protocol
Follow int - Whether to enable protocol following.
- Protocol
Ports WafDomain Protocol Ports - Access port information.
- Protocols List<string>
- Access protocol types.
- Proxy
Config int - Whether to enable proxy configuration.
- Proxy
Connect intTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- Proxy
Keep intAlive - The number of reusable WAF origin long connections.
- Proxy
Keep intAlive Time Out - Idle long connection timeout period.
- Proxy
Read intTime Out - The timeout period during which WAF reads the response from the backend server.
- Proxy
Retry int - The number of retries for WAF back to source.
- Proxy
Write intTime Out - The timeout period during which the WAF transmits the request to the backend server.
- Public
Real intServer - Connect to the source return mode.
- Redirect
Https bool - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- Ssl
Ciphers List<string> - Encryption kit.
- Ssl
Protocols List<string> - TLS protocol version.
- System
Bot intEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- Tamper
Proof intEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- Tls
Enable int - Whether to enable the log service.
- Tls
Fields WafConfig Domain Tls Fields Config - Details of log field configuration. Works only on modified scenes.
- Volc
Certificate stringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- Vpc
Id string - The ID of vpc.
- Waf
Enable int - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- Waf
White intReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- White
Enable int - Whether to enable the access list policy. Works only on modified scenes.
- White
Field intEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- Access
Mode int - Access mode.
- Domain string
- List of domain names that need to be protected by WAF.
- Api
Enable int - Whether to enable the API protection policy. Works only on modified scenes.
- Auto
Cc intEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- Backend
Groups []WafDomain Backend Group Args - The configuration of source station.
- Black
Ip intEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- Black
Lct intEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- Bot
Dytoken intEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- Bot
Frequency intEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- Bot
Repeat intEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- Bot
Sequence intDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- Bot
Sequence intEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- Cc
Enable int - Whether to enable the CC protection policy. Works only on modified scenes.
- Certificate
Id int - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- Certificate
Platform string - Certificate custody platform.
- Client
Ip intLocation - The method of obtaining the client IP.
- Client
Max intBody Size - The client requests the maximum value of body.
- Cloud
Access []WafConfigs Domain Cloud Access Config Args - Access port information.If AccessMode is Alb/CLB, this field is required.
- Custom
Bot intEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- Custom
Headers []string - Custom Header.
- Custom
Rsp intEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- Custom
Sni string - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- Defence
Mode int - The protection mode of the instance. Works only on modified scenes.
- Dlp
Enable int - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- Enable
Custom intRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- Enable
Http2 int - Whether to enable HTTP 2.0.
- Enable
Ipv6 int - Whether it supports protecting IPv6 requests.
- Enable
Sni int - Whether to enable the SNI configuration. Works only on modified scenes.
- Extra
Defence []WafMode Lb Instances Domain Extra Defence Mode Lb Instance Args - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- Keep
Alive intRequest - The number of long connection multiplexes.
- Keep
Alive intTime Out - Long connection retention time.
- Lb
Algorithm string - The types of load balancing algorithms.
- Llm
Available bool - Is LLM available. Works only on modified scenes.
- Project
Name string - The name of project. Works only on modified scenes.
- Protocol
Follow int - Whether to enable protocol following.
- Protocol
Ports WafDomain Protocol Ports Args - Access port information.
- Protocols []string
- Access protocol types.
- Proxy
Config int - Whether to enable proxy configuration.
- Proxy
Connect intTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- Proxy
Keep intAlive - The number of reusable WAF origin long connections.
- Proxy
Keep intAlive Time Out - Idle long connection timeout period.
- Proxy
Read intTime Out - The timeout period during which WAF reads the response from the backend server.
- Proxy
Retry int - The number of retries for WAF back to source.
- Proxy
Write intTime Out - The timeout period during which the WAF transmits the request to the backend server.
- Public
Real intServer - Connect to the source return mode.
- Redirect
Https bool - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- Ssl
Ciphers []string - Encryption kit.
- Ssl
Protocols []string - TLS protocol version.
- System
Bot intEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- Tamper
Proof intEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- Tls
Enable int - Whether to enable the log service.
- Tls
Fields WafConfig Domain Tls Fields Config Args - Details of log field configuration. Works only on modified scenes.
- Volc
Certificate stringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- Vpc
Id string - The ID of vpc.
- Waf
Enable int - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- Waf
White intReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- White
Enable int - Whether to enable the access list policy. Works only on modified scenes.
- White
Field intEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- access
Mode Integer - Access mode.
- domain String
- List of domain names that need to be protected by WAF.
- api
Enable Integer - Whether to enable the API protection policy. Works only on modified scenes.
- auto
Cc IntegerEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- backend
Groups List<WafDomain Backend Group> - The configuration of source station.
- black
Ip IntegerEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- black
Lct IntegerEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- bot
Dytoken IntegerEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- bot
Frequency IntegerEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Repeat IntegerEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Sequence IntegerDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- bot
Sequence IntegerEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- cc
Enable Integer - Whether to enable the CC protection policy. Works only on modified scenes.
- certificate
Id Integer - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- certificate
Platform String - Certificate custody platform.
- client
Ip IntegerLocation - The method of obtaining the client IP.
- client
Max IntegerBody Size - The client requests the maximum value of body.
- cloud
Access List<WafConfigs Domain Cloud Access Config> - Access port information.If AccessMode is Alb/CLB, this field is required.
- custom
Bot IntegerEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- custom
Headers List<String> - Custom Header.
- custom
Rsp IntegerEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- custom
Sni String - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- defence
Mode Integer - The protection mode of the instance. Works only on modified scenes.
- dlp
Enable Integer - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- enable
Custom IntegerRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- enable
Http2 Integer - Whether to enable HTTP 2.0.
- enable
Ipv6 Integer - Whether it supports protecting IPv6 requests.
- enable
Sni Integer - Whether to enable the SNI configuration. Works only on modified scenes.
- extra
Defence List<WafMode Lb Instances Domain Extra Defence Mode Lb Instance> - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- keep
Alive IntegerRequest - The number of long connection multiplexes.
- keep
Alive IntegerTime Out - Long connection retention time.
- lb
Algorithm String - The types of load balancing algorithms.
- llm
Available Boolean - Is LLM available. Works only on modified scenes.
- project
Name String - The name of project. Works only on modified scenes.
- protocol
Follow Integer - Whether to enable protocol following.
- protocol
Ports WafDomain Protocol Ports - Access port information.
- protocols List<String>
- Access protocol types.
- proxy
Config Integer - Whether to enable proxy configuration.
- proxy
Connect IntegerTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- proxy
Keep IntegerAlive - The number of reusable WAF origin long connections.
- proxy
Keep IntegerAlive Time Out - Idle long connection timeout period.
- proxy
Read IntegerTime Out - The timeout period during which WAF reads the response from the backend server.
- proxy
Retry Integer - The number of retries for WAF back to source.
- proxy
Write IntegerTime Out - The timeout period during which the WAF transmits the request to the backend server.
- public
Real IntegerServer - Connect to the source return mode.
- redirect
Https Boolean - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- ssl
Ciphers List<String> - Encryption kit.
- ssl
Protocols List<String> - TLS protocol version.
- system
Bot IntegerEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- tamper
Proof IntegerEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- tls
Enable Integer - Whether to enable the log service.
- tls
Fields WafConfig Domain Tls Fields Config - Details of log field configuration. Works only on modified scenes.
- volc
Certificate StringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- vpc
Id String - The ID of vpc.
- waf
Enable Integer - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- waf
White IntegerReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- white
Enable Integer - Whether to enable the access list policy. Works only on modified scenes.
- white
Field IntegerEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- access
Mode number - Access mode.
- domain string
- List of domain names that need to be protected by WAF.
- api
Enable number - Whether to enable the API protection policy. Works only on modified scenes.
- auto
Cc numberEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- backend
Groups WafDomain Backend Group[] - The configuration of source station.
- black
Ip numberEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- black
Lct numberEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- bot
Dytoken numberEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- bot
Frequency numberEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Repeat numberEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Sequence numberDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- bot
Sequence numberEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- cc
Enable number - Whether to enable the CC protection policy. Works only on modified scenes.
- certificate
Id number - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- certificate
Platform string - Certificate custody platform.
- client
Ip numberLocation - The method of obtaining the client IP.
- client
Max numberBody Size - The client requests the maximum value of body.
- cloud
Access WafConfigs Domain Cloud Access Config[] - Access port information.If AccessMode is Alb/CLB, this field is required.
- custom
Bot numberEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- custom
Headers string[] - Custom Header.
- custom
Rsp numberEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- custom
Sni string - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- defence
Mode number - The protection mode of the instance. Works only on modified scenes.
- dlp
Enable number - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- enable
Custom numberRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- enable
Http2 number - Whether to enable HTTP 2.0.
- enable
Ipv6 number - Whether it supports protecting IPv6 requests.
- enable
Sni number - Whether to enable the SNI configuration. Works only on modified scenes.
- extra
Defence WafMode Lb Instances Domain Extra Defence Mode Lb Instance[] - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- keep
Alive numberRequest - The number of long connection multiplexes.
- keep
Alive numberTime Out - Long connection retention time.
- lb
Algorithm string - The types of load balancing algorithms.
- llm
Available boolean - Is LLM available. Works only on modified scenes.
- project
Name string - The name of project. Works only on modified scenes.
- protocol
Follow number - Whether to enable protocol following.
- protocol
Ports WafDomain Protocol Ports - Access port information.
- protocols string[]
- Access protocol types.
- proxy
Config number - Whether to enable proxy configuration.
- proxy
Connect numberTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- proxy
Keep numberAlive - The number of reusable WAF origin long connections.
- proxy
Keep numberAlive Time Out - Idle long connection timeout period.
- proxy
Read numberTime Out - The timeout period during which WAF reads the response from the backend server.
- proxy
Retry number - The number of retries for WAF back to source.
- proxy
Write numberTime Out - The timeout period during which the WAF transmits the request to the backend server.
- public
Real numberServer - Connect to the source return mode.
- redirect
Https boolean - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- ssl
Ciphers string[] - Encryption kit.
- ssl
Protocols string[] - TLS protocol version.
- system
Bot numberEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- tamper
Proof numberEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- tls
Enable number - Whether to enable the log service.
- tls
Fields WafConfig Domain Tls Fields Config - Details of log field configuration. Works only on modified scenes.
- volc
Certificate stringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- vpc
Id string - The ID of vpc.
- waf
Enable number - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- waf
White numberReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- white
Enable number - Whether to enable the access list policy. Works only on modified scenes.
- white
Field numberEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- access_
mode int - Access mode.
- domain str
- List of domain names that need to be protected by WAF.
- api_
enable int - Whether to enable the API protection policy. Works only on modified scenes.
- auto_
cc_ intenable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- backend_
groups Sequence[WafDomain Backend Group Args] - The configuration of source station.
- black_
ip_ intenable - Whether to enable the access ban list policy. Works only on modified scenes.
- black_
lct_ intenable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- bot_
dytoken_ intenable - Whether to enable the bot dynamic token. Works only on modified scenes.
- bot_
frequency_ intenable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot_
repeat_ intenable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot_
sequence_ intdefault_ action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- bot_
sequence_ intenable - Whether to enable the bot behavior map. Works only on modified scenes.
- cc_
enable int - Whether to enable the CC protection policy. Works only on modified scenes.
- certificate_
id int - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- certificate_
platform str - Certificate custody platform.
- client_
ip_ intlocation - The method of obtaining the client IP.
- client_
max_ intbody_ size - The client requests the maximum value of body.
- cloud_
access_ Sequence[Wafconfigs Domain Cloud Access Config Args] - Access port information.If AccessMode is Alb/CLB, this field is required.
- custom_
bot_ intenable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- custom_
headers Sequence[str] - Custom Header.
- custom_
rsp_ intenable - Whether to enable the custom response interception policy. Works only on modified scenes.
- custom_
sni str - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- defence_
mode int - The protection mode of the instance. Works only on modified scenes.
- dlp_
enable int - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- enable_
custom_ intredirect - Whether to enable user-defined redirection. Works only on modified scenes.
- enable_
http2 int - Whether to enable HTTP 2.0.
- enable_
ipv6 int - Whether it supports protecting IPv6 requests.
- enable_
sni int - Whether to enable the SNI configuration. Works only on modified scenes.
- extra_
defence_ Sequence[Wafmode_ lb_ instances Domain Extra Defence Mode Lb Instance Args] - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- keep_
alive_ intrequest - The number of long connection multiplexes.
- keep_
alive_ inttime_ out - Long connection retention time.
- lb_
algorithm str - The types of load balancing algorithms.
- llm_
available bool - Is LLM available. Works only on modified scenes.
- project_
name str - The name of project. Works only on modified scenes.
- protocol_
follow int - Whether to enable protocol following.
- protocol_
ports WafDomain Protocol Ports Args - Access port information.
- protocols Sequence[str]
- Access protocol types.
- proxy_
config int - Whether to enable proxy configuration.
- proxy_
connect_ inttime_ out - The timeout period for establishing a connection between the WAF and the backend server.
- proxy_
keep_ intalive - The number of reusable WAF origin long connections.
- proxy_
keep_ intalive_ time_ out - Idle long connection timeout period.
- proxy_
read_ inttime_ out - The timeout period during which WAF reads the response from the backend server.
- proxy_
retry int - The number of retries for WAF back to source.
- proxy_
write_ inttime_ out - The timeout period during which the WAF transmits the request to the backend server.
- public_
real_ intserver - Connect to the source return mode.
- redirect_
https bool - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- ssl_
ciphers Sequence[str] - Encryption kit.
- ssl_
protocols Sequence[str] - TLS protocol version.
- system_
bot_ intenable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- tamper_
proof_ intenable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- tls_
enable int - Whether to enable the log service.
- tls_
fields_ Wafconfig Domain Tls Fields Config Args - Details of log field configuration. Works only on modified scenes.
- volc_
certificate_ strid - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- vpc_
id str - The ID of vpc.
- waf_
enable int - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- waf_
white_ intreq_ enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- white_
enable int - Whether to enable the access list policy. Works only on modified scenes.
- white_
field_ intenable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- access
Mode Number - Access mode.
- domain String
- List of domain names that need to be protected by WAF.
- api
Enable Number - Whether to enable the API protection policy. Works only on modified scenes.
- auto
Cc NumberEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- backend
Groups List<Property Map> - The configuration of source station.
- black
Ip NumberEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- black
Lct NumberEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- bot
Dytoken NumberEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- bot
Frequency NumberEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Repeat NumberEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Sequence NumberDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- bot
Sequence NumberEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- cc
Enable Number - Whether to enable the CC protection policy. Works only on modified scenes.
- certificate
Id Number - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- certificate
Platform String - Certificate custody platform.
- client
Ip NumberLocation - The method of obtaining the client IP.
- client
Max NumberBody Size - The client requests the maximum value of body.
- cloud
Access List<Property Map>Configs - Access port information.If AccessMode is Alb/CLB, this field is required.
- custom
Bot NumberEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- custom
Headers List<String> - Custom Header.
- custom
Rsp NumberEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- custom
Sni String - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- defence
Mode Number - The protection mode of the instance. Works only on modified scenes.
- dlp
Enable Number - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- enable
Custom NumberRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- enable
Http2 Number - Whether to enable HTTP 2.0.
- enable
Ipv6 Number - Whether it supports protecting IPv6 requests.
- enable
Sni Number - Whether to enable the SNI configuration. Works only on modified scenes.
- extra
Defence List<Property Map>Mode Lb Instances - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- keep
Alive NumberRequest - The number of long connection multiplexes.
- keep
Alive NumberTime Out - Long connection retention time.
- lb
Algorithm String - The types of load balancing algorithms.
- llm
Available Boolean - Is LLM available. Works only on modified scenes.
- project
Name String - The name of project. Works only on modified scenes.
- protocol
Follow Number - Whether to enable protocol following.
- protocol
Ports Property Map - Access port information.
- protocols List<String>
- Access protocol types.
- proxy
Config Number - Whether to enable proxy configuration.
- proxy
Connect NumberTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- proxy
Keep NumberAlive - The number of reusable WAF origin long connections.
- proxy
Keep NumberAlive Time Out - Idle long connection timeout period.
- proxy
Read NumberTime Out - The timeout period during which WAF reads the response from the backend server.
- proxy
Retry Number - The number of retries for WAF back to source.
- proxy
Write NumberTime Out - The timeout period during which the WAF transmits the request to the backend server.
- public
Real NumberServer - Connect to the source return mode.
- redirect
Https Boolean - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- ssl
Ciphers List<String> - Encryption kit.
- ssl
Protocols List<String> - TLS protocol version.
- system
Bot NumberEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- tamper
Proof NumberEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- tls
Enable Number - Whether to enable the log service.
- tls
Fields Property MapConfig - Details of log field configuration. Works only on modified scenes.
- volc
Certificate StringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- vpc
Id String - The ID of vpc.
- waf
Enable Number - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- waf
White NumberReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- white
Enable Number - Whether to enable the access list policy. Works only on modified scenes.
- white
Field NumberEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
Outputs
All input properties are implicitly available as output properties. Additionally, the WafDomain resource produces the following output properties:
- Advanced
Defense stringIp - High-defense instance IP.
- Advanced
Defense stringIpv6 - High-defense instance IPv6.
- Attack
Status int - The status of the attack.
- Certificate
Name string - The name of the certificate.
- Cname string
- The CNAME value generated by the WAF instance.
- Defence
Mode intComputed - The protection mode of the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Ips string - The IP of the WAF protection instance.
- Src
Ips string - WAF source IP.
- Status int
- The status of access.
- Update
Time string - The update time.
- Advanced
Defense stringIp - High-defense instance IP.
- Advanced
Defense stringIpv6 - High-defense instance IPv6.
- Attack
Status int - The status of the attack.
- Certificate
Name string - The name of the certificate.
- Cname string
- The CNAME value generated by the WAF instance.
- Defence
Mode intComputed - The protection mode of the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Ips string - The IP of the WAF protection instance.
- Src
Ips string - WAF source IP.
- Status int
- The status of access.
- Update
Time string - The update time.
- advanced
Defense StringIp - High-defense instance IP.
- advanced
Defense StringIpv6 - High-defense instance IPv6.
- attack
Status Integer - The status of the attack.
- certificate
Name String - The name of the certificate.
- cname String
- The CNAME value generated by the WAF instance.
- defence
Mode IntegerComputed - The protection mode of the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- server
Ips String - The IP of the WAF protection instance.
- src
Ips String - WAF source IP.
- status Integer
- The status of access.
- update
Time String - The update time.
- advanced
Defense stringIp - High-defense instance IP.
- advanced
Defense stringIpv6 - High-defense instance IPv6.
- attack
Status number - The status of the attack.
- certificate
Name string - The name of the certificate.
- cname string
- The CNAME value generated by the WAF instance.
- defence
Mode numberComputed - The protection mode of the instance.
- id string
- The provider-assigned unique ID for this managed resource.
- server
Ips string - The IP of the WAF protection instance.
- src
Ips string - WAF source IP.
- status number
- The status of access.
- update
Time string - The update time.
- advanced_
defense_ strip - High-defense instance IP.
- advanced_
defense_ stripv6 - High-defense instance IPv6.
- attack_
status int - The status of the attack.
- certificate_
name str - The name of the certificate.
- cname str
- The CNAME value generated by the WAF instance.
- defence_
mode_ intcomputed - The protection mode of the instance.
- id str
- The provider-assigned unique ID for this managed resource.
- server_
ips str - The IP of the WAF protection instance.
- src_
ips str - WAF source IP.
- status int
- The status of access.
- update_
time str - The update time.
- advanced
Defense StringIp - High-defense instance IP.
- advanced
Defense StringIpv6 - High-defense instance IPv6.
- attack
Status Number - The status of the attack.
- certificate
Name String - The name of the certificate.
- cname String
- The CNAME value generated by the WAF instance.
- defence
Mode NumberComputed - The protection mode of the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- server
Ips String - The IP of the WAF protection instance.
- src
Ips String - WAF source IP.
- status Number
- The status of access.
- update
Time String - The update time.
Look up Existing WafDomain Resource
Get an existing WafDomain 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?: WafDomainState, opts?: CustomResourceOptions): WafDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_mode: Optional[int] = None,
advanced_defense_ip: Optional[str] = None,
advanced_defense_ipv6: Optional[str] = None,
api_enable: Optional[int] = None,
attack_status: Optional[int] = None,
auto_cc_enable: Optional[int] = None,
backend_groups: Optional[Sequence[WafDomainBackendGroupArgs]] = None,
black_ip_enable: Optional[int] = None,
black_lct_enable: Optional[int] = None,
bot_dytoken_enable: Optional[int] = None,
bot_frequency_enable: Optional[int] = None,
bot_repeat_enable: Optional[int] = None,
bot_sequence_default_action: Optional[int] = None,
bot_sequence_enable: Optional[int] = None,
cc_enable: Optional[int] = None,
certificate_id: Optional[int] = None,
certificate_name: Optional[str] = None,
certificate_platform: Optional[str] = None,
client_ip_location: Optional[int] = None,
client_max_body_size: Optional[int] = None,
cloud_access_configs: Optional[Sequence[WafDomainCloudAccessConfigArgs]] = None,
cname: Optional[str] = None,
custom_bot_enable: Optional[int] = None,
custom_headers: Optional[Sequence[str]] = None,
custom_rsp_enable: Optional[int] = None,
custom_sni: Optional[str] = None,
defence_mode: Optional[int] = None,
defence_mode_computed: Optional[int] = None,
dlp_enable: Optional[int] = None,
domain: Optional[str] = None,
enable_custom_redirect: Optional[int] = None,
enable_http2: Optional[int] = None,
enable_ipv6: Optional[int] = None,
enable_sni: Optional[int] = None,
extra_defence_mode_lb_instances: Optional[Sequence[WafDomainExtraDefenceModeLbInstanceArgs]] = None,
keep_alive_request: Optional[int] = None,
keep_alive_time_out: Optional[int] = None,
lb_algorithm: Optional[str] = None,
llm_available: Optional[bool] = None,
project_name: Optional[str] = None,
protocol_follow: Optional[int] = None,
protocol_ports: Optional[WafDomainProtocolPortsArgs] = None,
protocols: Optional[Sequence[str]] = None,
proxy_config: Optional[int] = None,
proxy_connect_time_out: Optional[int] = None,
proxy_keep_alive: Optional[int] = None,
proxy_keep_alive_time_out: Optional[int] = None,
proxy_read_time_out: Optional[int] = None,
proxy_retry: Optional[int] = None,
proxy_write_time_out: Optional[int] = None,
public_real_server: Optional[int] = None,
redirect_https: Optional[bool] = None,
server_ips: Optional[str] = None,
src_ips: Optional[str] = None,
ssl_ciphers: Optional[Sequence[str]] = None,
ssl_protocols: Optional[Sequence[str]] = None,
status: Optional[int] = None,
system_bot_enable: Optional[int] = None,
tamper_proof_enable: Optional[int] = None,
tls_enable: Optional[int] = None,
tls_fields_config: Optional[WafDomainTlsFieldsConfigArgs] = None,
update_time: Optional[str] = None,
volc_certificate_id: Optional[str] = None,
vpc_id: Optional[str] = None,
waf_enable: Optional[int] = None,
waf_white_req_enable: Optional[int] = None,
white_enable: Optional[int] = None,
white_field_enable: Optional[int] = None) -> WafDomain
func GetWafDomain(ctx *Context, name string, id IDInput, state *WafDomainState, opts ...ResourceOption) (*WafDomain, error)
public static WafDomain Get(string name, Input<string> id, WafDomainState? state, CustomResourceOptions? opts = null)
public static WafDomain get(String name, Output<String> id, WafDomainState state, CustomResourceOptions options)
resources: _: type: volcengine:waf:WafDomain get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Mode int - Access mode.
- Advanced
Defense stringIp - High-defense instance IP.
- Advanced
Defense stringIpv6 - High-defense instance IPv6.
- Api
Enable int - Whether to enable the API protection policy. Works only on modified scenes.
- Attack
Status int - The status of the attack.
- Auto
Cc intEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- Backend
Groups List<WafDomain Backend Group> - The configuration of source station.
- Black
Ip intEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- Black
Lct intEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- Bot
Dytoken intEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- Bot
Frequency intEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- Bot
Repeat intEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- Bot
Sequence intDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- Bot
Sequence intEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- Cc
Enable int - Whether to enable the CC protection policy. Works only on modified scenes.
- Certificate
Id int - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- Certificate
Name string - The name of the certificate.
- Certificate
Platform string - Certificate custody platform.
- Client
Ip intLocation - The method of obtaining the client IP.
- Client
Max intBody Size - The client requests the maximum value of body.
- Cloud
Access List<WafConfigs Domain Cloud Access Config> - Access port information.If AccessMode is Alb/CLB, this field is required.
- Cname string
- The CNAME value generated by the WAF instance.
- Custom
Bot intEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- Custom
Headers List<string> - Custom Header.
- Custom
Rsp intEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- Custom
Sni string - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- Defence
Mode int - The protection mode of the instance. Works only on modified scenes.
- Defence
Mode intComputed - The protection mode of the instance.
- Dlp
Enable int - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- Domain string
- List of domain names that need to be protected by WAF.
- Enable
Custom intRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- Enable
Http2 int - Whether to enable HTTP 2.0.
- Enable
Ipv6 int - Whether it supports protecting IPv6 requests.
- Enable
Sni int - Whether to enable the SNI configuration. Works only on modified scenes.
- Extra
Defence List<WafMode Lb Instances Domain Extra Defence Mode Lb Instance> - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- Keep
Alive intRequest - The number of long connection multiplexes.
- Keep
Alive intTime Out - Long connection retention time.
- Lb
Algorithm string - The types of load balancing algorithms.
- Llm
Available bool - Is LLM available. Works only on modified scenes.
- Project
Name string - The name of project. Works only on modified scenes.
- Protocol
Follow int - Whether to enable protocol following.
- Protocol
Ports WafDomain Protocol Ports - Access port information.
- Protocols List<string>
- Access protocol types.
- Proxy
Config int - Whether to enable proxy configuration.
- Proxy
Connect intTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- Proxy
Keep intAlive - The number of reusable WAF origin long connections.
- Proxy
Keep intAlive Time Out - Idle long connection timeout period.
- Proxy
Read intTime Out - The timeout period during which WAF reads the response from the backend server.
- Proxy
Retry int - The number of retries for WAF back to source.
- Proxy
Write intTime Out - The timeout period during which the WAF transmits the request to the backend server.
- Public
Real intServer - Connect to the source return mode.
- Redirect
Https bool - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- Server
Ips string - The IP of the WAF protection instance.
- Src
Ips string - WAF source IP.
- Ssl
Ciphers List<string> - Encryption kit.
- Ssl
Protocols List<string> - TLS protocol version.
- Status int
- The status of access.
- System
Bot intEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- Tamper
Proof intEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- Tls
Enable int - Whether to enable the log service.
- Tls
Fields WafConfig Domain Tls Fields Config - Details of log field configuration. Works only on modified scenes.
- Update
Time string - The update time.
- Volc
Certificate stringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- Vpc
Id string - The ID of vpc.
- Waf
Enable int - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- Waf
White intReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- White
Enable int - Whether to enable the access list policy. Works only on modified scenes.
- White
Field intEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- Access
Mode int - Access mode.
- Advanced
Defense stringIp - High-defense instance IP.
- Advanced
Defense stringIpv6 - High-defense instance IPv6.
- Api
Enable int - Whether to enable the API protection policy. Works only on modified scenes.
- Attack
Status int - The status of the attack.
- Auto
Cc intEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- Backend
Groups []WafDomain Backend Group Args - The configuration of source station.
- Black
Ip intEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- Black
Lct intEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- Bot
Dytoken intEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- Bot
Frequency intEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- Bot
Repeat intEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- Bot
Sequence intDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- Bot
Sequence intEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- Cc
Enable int - Whether to enable the CC protection policy. Works only on modified scenes.
- Certificate
Id int - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- Certificate
Name string - The name of the certificate.
- Certificate
Platform string - Certificate custody platform.
- Client
Ip intLocation - The method of obtaining the client IP.
- Client
Max intBody Size - The client requests the maximum value of body.
- Cloud
Access []WafConfigs Domain Cloud Access Config Args - Access port information.If AccessMode is Alb/CLB, this field is required.
- Cname string
- The CNAME value generated by the WAF instance.
- Custom
Bot intEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- Custom
Headers []string - Custom Header.
- Custom
Rsp intEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- Custom
Sni string - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- Defence
Mode int - The protection mode of the instance. Works only on modified scenes.
- Defence
Mode intComputed - The protection mode of the instance.
- Dlp
Enable int - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- Domain string
- List of domain names that need to be protected by WAF.
- Enable
Custom intRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- Enable
Http2 int - Whether to enable HTTP 2.0.
- Enable
Ipv6 int - Whether it supports protecting IPv6 requests.
- Enable
Sni int - Whether to enable the SNI configuration. Works only on modified scenes.
- Extra
Defence []WafMode Lb Instances Domain Extra Defence Mode Lb Instance Args - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- Keep
Alive intRequest - The number of long connection multiplexes.
- Keep
Alive intTime Out - Long connection retention time.
- Lb
Algorithm string - The types of load balancing algorithms.
- Llm
Available bool - Is LLM available. Works only on modified scenes.
- Project
Name string - The name of project. Works only on modified scenes.
- Protocol
Follow int - Whether to enable protocol following.
- Protocol
Ports WafDomain Protocol Ports Args - Access port information.
- Protocols []string
- Access protocol types.
- Proxy
Config int - Whether to enable proxy configuration.
- Proxy
Connect intTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- Proxy
Keep intAlive - The number of reusable WAF origin long connections.
- Proxy
Keep intAlive Time Out - Idle long connection timeout period.
- Proxy
Read intTime Out - The timeout period during which WAF reads the response from the backend server.
- Proxy
Retry int - The number of retries for WAF back to source.
- Proxy
Write intTime Out - The timeout period during which the WAF transmits the request to the backend server.
- Public
Real intServer - Connect to the source return mode.
- Redirect
Https bool - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- Server
Ips string - The IP of the WAF protection instance.
- Src
Ips string - WAF source IP.
- Ssl
Ciphers []string - Encryption kit.
- Ssl
Protocols []string - TLS protocol version.
- Status int
- The status of access.
- System
Bot intEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- Tamper
Proof intEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- Tls
Enable int - Whether to enable the log service.
- Tls
Fields WafConfig Domain Tls Fields Config Args - Details of log field configuration. Works only on modified scenes.
- Update
Time string - The update time.
- Volc
Certificate stringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- Vpc
Id string - The ID of vpc.
- Waf
Enable int - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- Waf
White intReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- White
Enable int - Whether to enable the access list policy. Works only on modified scenes.
- White
Field intEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- access
Mode Integer - Access mode.
- advanced
Defense StringIp - High-defense instance IP.
- advanced
Defense StringIpv6 - High-defense instance IPv6.
- api
Enable Integer - Whether to enable the API protection policy. Works only on modified scenes.
- attack
Status Integer - The status of the attack.
- auto
Cc IntegerEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- backend
Groups List<WafDomain Backend Group> - The configuration of source station.
- black
Ip IntegerEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- black
Lct IntegerEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- bot
Dytoken IntegerEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- bot
Frequency IntegerEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Repeat IntegerEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Sequence IntegerDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- bot
Sequence IntegerEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- cc
Enable Integer - Whether to enable the CC protection policy. Works only on modified scenes.
- certificate
Id Integer - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- certificate
Name String - The name of the certificate.
- certificate
Platform String - Certificate custody platform.
- client
Ip IntegerLocation - The method of obtaining the client IP.
- client
Max IntegerBody Size - The client requests the maximum value of body.
- cloud
Access List<WafConfigs Domain Cloud Access Config> - Access port information.If AccessMode is Alb/CLB, this field is required.
- cname String
- The CNAME value generated by the WAF instance.
- custom
Bot IntegerEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- custom
Headers List<String> - Custom Header.
- custom
Rsp IntegerEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- custom
Sni String - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- defence
Mode Integer - The protection mode of the instance. Works only on modified scenes.
- defence
Mode IntegerComputed - The protection mode of the instance.
- dlp
Enable Integer - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- domain String
- List of domain names that need to be protected by WAF.
- enable
Custom IntegerRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- enable
Http2 Integer - Whether to enable HTTP 2.0.
- enable
Ipv6 Integer - Whether it supports protecting IPv6 requests.
- enable
Sni Integer - Whether to enable the SNI configuration. Works only on modified scenes.
- extra
Defence List<WafMode Lb Instances Domain Extra Defence Mode Lb Instance> - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- keep
Alive IntegerRequest - The number of long connection multiplexes.
- keep
Alive IntegerTime Out - Long connection retention time.
- lb
Algorithm String - The types of load balancing algorithms.
- llm
Available Boolean - Is LLM available. Works only on modified scenes.
- project
Name String - The name of project. Works only on modified scenes.
- protocol
Follow Integer - Whether to enable protocol following.
- protocol
Ports WafDomain Protocol Ports - Access port information.
- protocols List<String>
- Access protocol types.
- proxy
Config Integer - Whether to enable proxy configuration.
- proxy
Connect IntegerTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- proxy
Keep IntegerAlive - The number of reusable WAF origin long connections.
- proxy
Keep IntegerAlive Time Out - Idle long connection timeout period.
- proxy
Read IntegerTime Out - The timeout period during which WAF reads the response from the backend server.
- proxy
Retry Integer - The number of retries for WAF back to source.
- proxy
Write IntegerTime Out - The timeout period during which the WAF transmits the request to the backend server.
- public
Real IntegerServer - Connect to the source return mode.
- redirect
Https Boolean - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- server
Ips String - The IP of the WAF protection instance.
- src
Ips String - WAF source IP.
- ssl
Ciphers List<String> - Encryption kit.
- ssl
Protocols List<String> - TLS protocol version.
- status Integer
- The status of access.
- system
Bot IntegerEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- tamper
Proof IntegerEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- tls
Enable Integer - Whether to enable the log service.
- tls
Fields WafConfig Domain Tls Fields Config - Details of log field configuration. Works only on modified scenes.
- update
Time String - The update time.
- volc
Certificate StringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- vpc
Id String - The ID of vpc.
- waf
Enable Integer - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- waf
White IntegerReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- white
Enable Integer - Whether to enable the access list policy. Works only on modified scenes.
- white
Field IntegerEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- access
Mode number - Access mode.
- advanced
Defense stringIp - High-defense instance IP.
- advanced
Defense stringIpv6 - High-defense instance IPv6.
- api
Enable number - Whether to enable the API protection policy. Works only on modified scenes.
- attack
Status number - The status of the attack.
- auto
Cc numberEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- backend
Groups WafDomain Backend Group[] - The configuration of source station.
- black
Ip numberEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- black
Lct numberEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- bot
Dytoken numberEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- bot
Frequency numberEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Repeat numberEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Sequence numberDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- bot
Sequence numberEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- cc
Enable number - Whether to enable the CC protection policy. Works only on modified scenes.
- certificate
Id number - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- certificate
Name string - The name of the certificate.
- certificate
Platform string - Certificate custody platform.
- client
Ip numberLocation - The method of obtaining the client IP.
- client
Max numberBody Size - The client requests the maximum value of body.
- cloud
Access WafConfigs Domain Cloud Access Config[] - Access port information.If AccessMode is Alb/CLB, this field is required.
- cname string
- The CNAME value generated by the WAF instance.
- custom
Bot numberEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- custom
Headers string[] - Custom Header.
- custom
Rsp numberEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- custom
Sni string - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- defence
Mode number - The protection mode of the instance. Works only on modified scenes.
- defence
Mode numberComputed - The protection mode of the instance.
- dlp
Enable number - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- domain string
- List of domain names that need to be protected by WAF.
- enable
Custom numberRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- enable
Http2 number - Whether to enable HTTP 2.0.
- enable
Ipv6 number - Whether it supports protecting IPv6 requests.
- enable
Sni number - Whether to enable the SNI configuration. Works only on modified scenes.
- extra
Defence WafMode Lb Instances Domain Extra Defence Mode Lb Instance[] - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- keep
Alive numberRequest - The number of long connection multiplexes.
- keep
Alive numberTime Out - Long connection retention time.
- lb
Algorithm string - The types of load balancing algorithms.
- llm
Available boolean - Is LLM available. Works only on modified scenes.
- project
Name string - The name of project. Works only on modified scenes.
- protocol
Follow number - Whether to enable protocol following.
- protocol
Ports WafDomain Protocol Ports - Access port information.
- protocols string[]
- Access protocol types.
- proxy
Config number - Whether to enable proxy configuration.
- proxy
Connect numberTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- proxy
Keep numberAlive - The number of reusable WAF origin long connections.
- proxy
Keep numberAlive Time Out - Idle long connection timeout period.
- proxy
Read numberTime Out - The timeout period during which WAF reads the response from the backend server.
- proxy
Retry number - The number of retries for WAF back to source.
- proxy
Write numberTime Out - The timeout period during which the WAF transmits the request to the backend server.
- public
Real numberServer - Connect to the source return mode.
- redirect
Https boolean - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- server
Ips string - The IP of the WAF protection instance.
- src
Ips string - WAF source IP.
- ssl
Ciphers string[] - Encryption kit.
- ssl
Protocols string[] - TLS protocol version.
- status number
- The status of access.
- system
Bot numberEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- tamper
Proof numberEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- tls
Enable number - Whether to enable the log service.
- tls
Fields WafConfig Domain Tls Fields Config - Details of log field configuration. Works only on modified scenes.
- update
Time string - The update time.
- volc
Certificate stringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- vpc
Id string - The ID of vpc.
- waf
Enable number - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- waf
White numberReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- white
Enable number - Whether to enable the access list policy. Works only on modified scenes.
- white
Field numberEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- access_
mode int - Access mode.
- advanced_
defense_ strip - High-defense instance IP.
- advanced_
defense_ stripv6 - High-defense instance IPv6.
- api_
enable int - Whether to enable the API protection policy. Works only on modified scenes.
- attack_
status int - The status of the attack.
- auto_
cc_ intenable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- backend_
groups Sequence[WafDomain Backend Group Args] - The configuration of source station.
- black_
ip_ intenable - Whether to enable the access ban list policy. Works only on modified scenes.
- black_
lct_ intenable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- bot_
dytoken_ intenable - Whether to enable the bot dynamic token. Works only on modified scenes.
- bot_
frequency_ intenable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot_
repeat_ intenable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot_
sequence_ intdefault_ action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- bot_
sequence_ intenable - Whether to enable the bot behavior map. Works only on modified scenes.
- cc_
enable int - Whether to enable the CC protection policy. Works only on modified scenes.
- certificate_
id int - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- certificate_
name str - The name of the certificate.
- certificate_
platform str - Certificate custody platform.
- client_
ip_ intlocation - The method of obtaining the client IP.
- client_
max_ intbody_ size - The client requests the maximum value of body.
- cloud_
access_ Sequence[Wafconfigs Domain Cloud Access Config Args] - Access port information.If AccessMode is Alb/CLB, this field is required.
- cname str
- The CNAME value generated by the WAF instance.
- custom_
bot_ intenable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- custom_
headers Sequence[str] - Custom Header.
- custom_
rsp_ intenable - Whether to enable the custom response interception policy. Works only on modified scenes.
- custom_
sni str - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- defence_
mode int - The protection mode of the instance. Works only on modified scenes.
- defence_
mode_ intcomputed - The protection mode of the instance.
- dlp_
enable int - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- domain str
- List of domain names that need to be protected by WAF.
- enable_
custom_ intredirect - Whether to enable user-defined redirection. Works only on modified scenes.
- enable_
http2 int - Whether to enable HTTP 2.0.
- enable_
ipv6 int - Whether it supports protecting IPv6 requests.
- enable_
sni int - Whether to enable the SNI configuration. Works only on modified scenes.
- extra_
defence_ Sequence[Wafmode_ lb_ instances Domain Extra Defence Mode Lb Instance Args] - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- keep_
alive_ intrequest - The number of long connection multiplexes.
- keep_
alive_ inttime_ out - Long connection retention time.
- lb_
algorithm str - The types of load balancing algorithms.
- llm_
available bool - Is LLM available. Works only on modified scenes.
- project_
name str - The name of project. Works only on modified scenes.
- protocol_
follow int - Whether to enable protocol following.
- protocol_
ports WafDomain Protocol Ports Args - Access port information.
- protocols Sequence[str]
- Access protocol types.
- proxy_
config int - Whether to enable proxy configuration.
- proxy_
connect_ inttime_ out - The timeout period for establishing a connection between the WAF and the backend server.
- proxy_
keep_ intalive - The number of reusable WAF origin long connections.
- proxy_
keep_ intalive_ time_ out - Idle long connection timeout period.
- proxy_
read_ inttime_ out - The timeout period during which WAF reads the response from the backend server.
- proxy_
retry int - The number of retries for WAF back to source.
- proxy_
write_ inttime_ out - The timeout period during which the WAF transmits the request to the backend server.
- public_
real_ intserver - Connect to the source return mode.
- redirect_
https bool - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- server_
ips str - The IP of the WAF protection instance.
- src_
ips str - WAF source IP.
- ssl_
ciphers Sequence[str] - Encryption kit.
- ssl_
protocols Sequence[str] - TLS protocol version.
- status int
- The status of access.
- system_
bot_ intenable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- tamper_
proof_ intenable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- tls_
enable int - Whether to enable the log service.
- tls_
fields_ Wafconfig Domain Tls Fields Config Args - Details of log field configuration. Works only on modified scenes.
- update_
time str - The update time.
- volc_
certificate_ strid - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- vpc_
id str - The ID of vpc.
- waf_
enable int - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- waf_
white_ intreq_ enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- white_
enable int - Whether to enable the access list policy. Works only on modified scenes.
- white_
field_ intenable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
- access
Mode Number - Access mode.
- advanced
Defense StringIp - High-defense instance IP.
- advanced
Defense StringIpv6 - High-defense instance IPv6.
- api
Enable Number - Whether to enable the API protection policy. Works only on modified scenes.
- attack
Status Number - The status of the attack.
- auto
Cc NumberEnable - Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
- backend
Groups List<Property Map> - The configuration of source station.
- black
Ip NumberEnable - Whether to enable the access ban list policy. Works only on modified scenes.
- black
Lct NumberEnable - Whether to enable the geographical location access control policy. Works only on modified scenes.
- bot
Dytoken NumberEnable - Whether to enable the bot dynamic token. Works only on modified scenes.
- bot
Frequency NumberEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Repeat NumberEnable - Whether to enable the bot frequency limit policy. Works only on modified scenes.
- bot
Sequence NumberDefault Action - Set the default actions of the bot behavior map strategy. Works only on modified scenes.
- bot
Sequence NumberEnable - Whether to enable the bot behavior map. Works only on modified scenes.
- cc
Enable Number - Whether to enable the CC protection policy. Works only on modified scenes.
- certificate
Id Number - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- certificate
Name String - The name of the certificate.
- certificate
Platform String - Certificate custody platform.
- client
Ip NumberLocation - The method of obtaining the client IP.
- client
Max NumberBody Size - The client requests the maximum value of body.
- cloud
Access List<Property Map>Configs - Access port information.If AccessMode is Alb/CLB, this field is required.
- cname String
- The CNAME value generated by the WAF instance.
- custom
Bot NumberEnable - Whether to enable the custom Bot classification strategy. Works only on modified scenes.
- custom
Headers List<String> - Custom Header.
- custom
Rsp NumberEnable - Whether to enable the custom response interception policy. Works only on modified scenes.
- custom
Sni String - Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
- defence
Mode Number - The protection mode of the instance. Works only on modified scenes.
- defence
Mode NumberComputed - The protection mode of the instance.
- dlp
Enable Number - Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
- domain String
- List of domain names that need to be protected by WAF.
- enable
Custom NumberRedirect - Whether to enable user-defined redirection. Works only on modified scenes.
- enable
Http2 Number - Whether to enable HTTP 2.0.
- enable
Ipv6 Number - Whether it supports protecting IPv6 requests.
- enable
Sni Number - Whether to enable the SNI configuration. Works only on modified scenes.
- extra
Defence List<Property Map>Mode Lb Instances - The protection mode of the exception instance. It takes effect when the access mode is accessed through an application load balancing (ALB) instance (AccessMode=20). Works only on modified scenes.
- keep
Alive NumberRequest - The number of long connection multiplexes.
- keep
Alive NumberTime Out - Long connection retention time.
- lb
Algorithm String - The types of load balancing algorithms.
- llm
Available Boolean - Is LLM available. Works only on modified scenes.
- project
Name String - The name of project. Works only on modified scenes.
- protocol
Follow Number - Whether to enable protocol following.
- protocol
Ports Property Map - Access port information.
- protocols List<String>
- Access protocol types.
- proxy
Config Number - Whether to enable proxy configuration.
- proxy
Connect NumberTime Out - The timeout period for establishing a connection between the WAF and the backend server.
- proxy
Keep NumberAlive - The number of reusable WAF origin long connections.
- proxy
Keep NumberAlive Time Out - Idle long connection timeout period.
- proxy
Read NumberTime Out - The timeout period during which WAF reads the response from the backend server.
- proxy
Retry Number - The number of retries for WAF back to source.
- proxy
Write NumberTime Out - The timeout period during which the WAF transmits the request to the backend server.
- public
Real NumberServer - Connect to the source return mode.
- redirect
Https Boolean - When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
- server
Ips String - The IP of the WAF protection instance.
- src
Ips String - WAF source IP.
- ssl
Ciphers List<String> - Encryption kit.
- ssl
Protocols List<String> - TLS protocol version.
- status Number
- The status of access.
- system
Bot NumberEnable - Whether to enable the managed Bot classification strategy. Works only on modified scenes.
- tamper
Proof NumberEnable - Whether to enable the page tamper-proof policy. Works only on modified scenes.
- tls
Enable Number - Whether to enable the log service.
- tls
Fields Property MapConfig - Details of log field configuration. Works only on modified scenes.
- update
Time String - The update time.
- volc
Certificate StringId - When the protocol type is HTTPS, the bound certificate ID needs to be entered.
- vpc
Id String - The ID of vpc.
- waf
Enable Number - Whether to enable the vulnerability protection strategy. Works only on modified scenes.
- waf
White NumberReq Enable - Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
- white
Enable Number - Whether to enable the access list policy. Works only on modified scenes.
- white
Field NumberEnable - Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
Supporting Types
WafDomainBackendGroup, WafDomainBackendGroupArgs
- Access
Ports List<int> - Access port number.
- Backends
List<Waf
Domain Backend Group Backend> - The details of the source station group.
- Name string
- Source station group name.
- Access
Ports []int - Access port number.
- Backends
[]Waf
Domain Backend Group Backend - The details of the source station group.
- Name string
- Source station group name.
- access
Ports List<Integer> - Access port number.
- backends
List<Waf
Domain Backend Group Backend> - The details of the source station group.
- name String
- Source station group name.
- access
Ports number[] - Access port number.
- backends
Waf
Domain Backend Group Backend[] - The details of the source station group.
- name string
- Source station group name.
- access_
ports Sequence[int] - Access port number.
- backends
Sequence[Waf
Domain Backend Group Backend] - The details of the source station group.
- name str
- Source station group name.
- access
Ports List<Number> - Access port number.
- backends List<Property Map>
- The details of the source station group.
- name String
- Source station group name.
WafDomainBackendGroupBackend, WafDomainBackendGroupBackendArgs
WafDomainCloudAccessConfig, WafDomainCloudAccessConfigArgs
- Instance
Id string - The ID of instance.
- Access
Protocol string - The access protocol needs to be consistent with the monitoring protocol.
- Instance
Name string - The name of instance. Works only on modified scenes.
- Listener
Id string - The ID of listener.
- Lost
Association intFrom Alb - Whether the instance is unbound from the alb and is unbound on the ALB side. Works only on modified scenes.
- Port string
- The port number corresponding to the listener.
- Protocol string
- The type of Listener protocol.
- Instance
Id string - The ID of instance.
- Access
Protocol string - The access protocol needs to be consistent with the monitoring protocol.
- Instance
Name string - The name of instance. Works only on modified scenes.
- Listener
Id string - The ID of listener.
- Lost
Association intFrom Alb - Whether the instance is unbound from the alb and is unbound on the ALB side. Works only on modified scenes.
- Port string
- The port number corresponding to the listener.
- Protocol string
- The type of Listener protocol.
- instance
Id String - The ID of instance.
- access
Protocol String - The access protocol needs to be consistent with the monitoring protocol.
- instance
Name String - The name of instance. Works only on modified scenes.
- listener
Id String - The ID of listener.
- lost
Association IntegerFrom Alb - Whether the instance is unbound from the alb and is unbound on the ALB side. Works only on modified scenes.
- port String
- The port number corresponding to the listener.
- protocol String
- The type of Listener protocol.
- instance
Id string - The ID of instance.
- access
Protocol string - The access protocol needs to be consistent with the monitoring protocol.
- instance
Name string - The name of instance. Works only on modified scenes.
- listener
Id string - The ID of listener.
- lost
Association numberFrom Alb - Whether the instance is unbound from the alb and is unbound on the ALB side. Works only on modified scenes.
- port string
- The port number corresponding to the listener.
- protocol string
- The type of Listener protocol.
- instance_
id str - The ID of instance.
- access_
protocol str - The access protocol needs to be consistent with the monitoring protocol.
- instance_
name str - The name of instance. Works only on modified scenes.
- listener_
id str - The ID of listener.
- lost_
association_ intfrom_ alb - Whether the instance is unbound from the alb and is unbound on the ALB side. Works only on modified scenes.
- port str
- The port number corresponding to the listener.
- protocol str
- The type of Listener protocol.
- instance
Id String - The ID of instance.
- access
Protocol String - The access protocol needs to be consistent with the monitoring protocol.
- instance
Name String - The name of instance. Works only on modified scenes.
- listener
Id String - The ID of listener.
- lost
Association NumberFrom Alb - Whether the instance is unbound from the alb and is unbound on the ALB side. Works only on modified scenes.
- port String
- The port number corresponding to the listener.
- protocol String
- The type of Listener protocol.
WafDomainExtraDefenceModeLbInstance, WafDomainExtraDefenceModeLbInstanceArgs
- Defence
Mode int - Set the protection mode for exceptional ALB instances. Works only on modified scenes.
- Instance
Id string - The Id of ALB instance. Works only on modified scenes.
- Defence
Mode int - Set the protection mode for exceptional ALB instances. Works only on modified scenes.
- Instance
Id string - The Id of ALB instance. Works only on modified scenes.
- defence
Mode Integer - Set the protection mode for exceptional ALB instances. Works only on modified scenes.
- instance
Id String - The Id of ALB instance. Works only on modified scenes.
- defence
Mode number - Set the protection mode for exceptional ALB instances. Works only on modified scenes.
- instance
Id string - The Id of ALB instance. Works only on modified scenes.
- defence_
mode int - Set the protection mode for exceptional ALB instances. Works only on modified scenes.
- instance_
id str - The Id of ALB instance. Works only on modified scenes.
- defence
Mode Number - Set the protection mode for exceptional ALB instances. Works only on modified scenes.
- instance
Id String - The Id of ALB instance. Works only on modified scenes.
WafDomainProtocolPorts, WafDomainProtocolPortsArgs
WafDomainTlsFieldsConfig, WafDomainTlsFieldsConfigArgs
- Headers
Config WafDomain Tls Fields Config Headers Config - The configuration of Headers. Works only on modified scenes.
- Headers
Config WafDomain Tls Fields Config Headers Config - The configuration of Headers. Works only on modified scenes.
- headers
Config WafDomain Tls Fields Config Headers Config - The configuration of Headers. Works only on modified scenes.
- headers
Config WafDomain Tls Fields Config Headers Config - The configuration of Headers. Works only on modified scenes.
- headers_
config WafDomain Tls Fields Config Headers Config - The configuration of Headers. Works only on modified scenes.
- headers
Config Property Map - The configuration of Headers. Works only on modified scenes.
WafDomainTlsFieldsConfigHeadersConfig, WafDomainTlsFieldsConfigHeadersConfigArgs
- Enable int
- Whether the log contains this field. Works only on modified scenes.
- Excluded
Key List<string>Lists - For the use of composite fields, exclude the fields in the keyword list from the JSON of the fields. Works only on modified scenes.
- Statistical
Key List<string>Lists - Create statistical indexes for the fields of the list. Works only on modified scenes.
- Enable int
- Whether the log contains this field. Works only on modified scenes.
- Excluded
Key []stringLists - For the use of composite fields, exclude the fields in the keyword list from the JSON of the fields. Works only on modified scenes.
- Statistical
Key []stringLists - Create statistical indexes for the fields of the list. Works only on modified scenes.
- enable Integer
- Whether the log contains this field. Works only on modified scenes.
- excluded
Key List<String>Lists - For the use of composite fields, exclude the fields in the keyword list from the JSON of the fields. Works only on modified scenes.
- statistical
Key List<String>Lists - Create statistical indexes for the fields of the list. Works only on modified scenes.
- enable number
- Whether the log contains this field. Works only on modified scenes.
- excluded
Key string[]Lists - For the use of composite fields, exclude the fields in the keyword list from the JSON of the fields. Works only on modified scenes.
- statistical
Key string[]Lists - Create statistical indexes for the fields of the list. Works only on modified scenes.
- enable int
- Whether the log contains this field. Works only on modified scenes.
- excluded_
key_ Sequence[str]lists - For the use of composite fields, exclude the fields in the keyword list from the JSON of the fields. Works only on modified scenes.
- statistical_
key_ Sequence[str]lists - Create statistical indexes for the fields of the list. Works only on modified scenes.
- enable Number
- Whether the log contains this field. Works only on modified scenes.
- excluded
Key List<String>Lists - For the use of composite fields, exclude the fields in the keyword list from the JSON of the fields. Works only on modified scenes.
- statistical
Key List<String>Lists - Create statistical indexes for the fields of the list. Works only on modified scenes.
Import
WafDomain can be imported using the id, e.g.
$ pulumi import volcengine:waf/wafDomain:WafDomain default resource_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.