@volcengine/pulumi 0.0.33 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apig/apigCustomDomain.d.ts +244 -0
- package/apig/apigCustomDomain.js +167 -0
- package/apig/apigCustomDomain.js.map +1 -0
- package/apig/apigGateway.d.ts +262 -0
- package/apig/apigGateway.js +150 -0
- package/apig/apigGateway.js.map +1 -0
- package/apig/apigGatewayService.d.ts +206 -0
- package/apig/apigGatewayService.js +159 -0
- package/apig/apigGatewayService.js.map +1 -0
- package/apig/apigRoute.d.ts +397 -0
- package/apig/apigRoute.js +299 -0
- package/apig/apigRoute.js.map +1 -0
- package/apig/apigUpstream.d.ts +375 -0
- package/apig/apigUpstream.js +278 -0
- package/apig/apigUpstream.js.map +1 -0
- package/apig/apigUpstreamSource.d.ts +214 -0
- package/apig/apigUpstreamSource.js +182 -0
- package/apig/apigUpstreamSource.js.map +1 -0
- package/apig/apigUpstreamVersion.d.ts +211 -0
- package/apig/apigUpstreamVersion.js +206 -0
- package/apig/apigUpstreamVersion.js.map +1 -0
- package/apig/customDomains.d.ts +112 -0
- package/apig/customDomains.js +55 -0
- package/apig/customDomains.js.map +1 -0
- package/apig/gatewayServices.d.ts +104 -0
- package/apig/gatewayServices.js +52 -0
- package/apig/gatewayServices.js.map +1 -0
- package/apig/gateways.d.ts +162 -0
- package/apig/gateways.js +63 -0
- package/apig/gateways.js.map +1 -0
- package/apig/getCustomDomains.d.ts +110 -0
- package/apig/getCustomDomains.js +52 -0
- package/apig/getCustomDomains.js.map +1 -0
- package/apig/getGatewayServices.d.ts +102 -0
- package/apig/getGatewayServices.js +49 -0
- package/apig/getGatewayServices.js.map +1 -0
- package/apig/getGateways.d.ts +160 -0
- package/apig/getGateways.js +60 -0
- package/apig/getGateways.js.map +1 -0
- package/apig/getRoutes.d.ts +153 -0
- package/apig/getRoutes.js +54 -0
- package/apig/getRoutes.js.map +1 -0
- package/apig/getUpstreamSources.d.ts +123 -0
- package/apig/getUpstreamSources.js +51 -0
- package/apig/getUpstreamSources.js.map +1 -0
- package/apig/getUpstreamVersions.d.ts +84 -0
- package/apig/getUpstreamVersions.js +47 -0
- package/apig/getUpstreamVersions.js.map +1 -0
- package/apig/getUpstreams.d.ts +140 -0
- package/apig/getUpstreams.js +60 -0
- package/apig/getUpstreams.js.map +1 -0
- package/apig/index.d.ts +63 -0
- package/apig/index.js +94 -0
- package/apig/index.js.map +1 -0
- package/apig/routes.d.ts +155 -0
- package/apig/routes.js +57 -0
- package/apig/routes.js.map +1 -0
- package/apig/upstreamSources.d.ts +125 -0
- package/apig/upstreamSources.js +54 -0
- package/apig/upstreamSources.js.map +1 -0
- package/apig/upstreamVersions.d.ts +86 -0
- package/apig/upstreamVersions.js +50 -0
- package/apig/upstreamVersions.js.map +1 -0
- package/apig/upstreams.d.ts +142 -0
- package/apig/upstreams.js +63 -0
- package/apig/upstreams.js.map +1 -0
- package/autoscaling/scalingGroup.d.ts +24 -0
- package/autoscaling/scalingGroup.js +4 -0
- package/autoscaling/scalingGroup.js.map +1 -1
- package/cen/interRegionBandwidth.d.ts +12 -0
- package/cen/interRegionBandwidth.js +2 -0
- package/cen/interRegionBandwidth.js.map +1 -1
- package/config/vars.d.ts +4 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/ecs/command.d.ts +65 -18
- package/ecs/command.js +10 -15
- package/ecs/command.js.map +1 -1
- package/ecs/commands.d.ts +26 -1
- package/ecs/commands.js +2 -0
- package/ecs/commands.js.map +1 -1
- package/ecs/getCommands.d.ts +26 -1
- package/ecs/getCommands.js +2 -0
- package/ecs/getCommands.js.map +1 -1
- package/ecs/getInvocations.d.ts +25 -0
- package/ecs/getInvocations.js +2 -0
- package/ecs/getInvocations.js.map +1 -1
- package/ecs/instance.d.ts +20 -0
- package/ecs/instance.js +4 -0
- package/ecs/instance.js.map +1 -1
- package/ecs/invocation.d.ts +53 -6
- package/ecs/invocation.js +15 -0
- package/ecs/invocation.js.map +1 -1
- package/ecs/invocations.d.ts +25 -0
- package/ecs/invocations.js +2 -0
- package/ecs/invocations.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/kafka/instance.d.ts +12 -0
- package/kafka/instance.js +2 -0
- package/kafka/instance.js.map +1 -1
- package/package.json +1 -1
- package/provider.d.ts +4 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/redis/getParameterGroups.d.ts +22 -0
- package/redis/getParameterGroups.js +22 -0
- package/redis/getParameterGroups.js.map +1 -1
- package/redis/parameterGroups.d.ts +22 -0
- package/redis/parameterGroups.js +22 -0
- package/redis/parameterGroups.js.map +1 -1
- package/tos/bucketCors.d.ts +120 -0
- package/tos/bucketCors.js +115 -0
- package/tos/bucketCors.js.map +1 -0
- package/tos/bucketEncryption.d.ts +105 -0
- package/tos/bucketEncryption.js +100 -0
- package/tos/bucketEncryption.js.map +1 -0
- package/tos/bucketNotification.d.ts +166 -0
- package/tos/bucketNotification.js +155 -0
- package/tos/bucketNotification.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.js +16 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +6104 -3944
- package/types/output.d.ts +35681 -27825
- package/vke/node.d.ts +12 -0
- package/vke/node.js +2 -0
- package/vke/node.js.map +1 -1
- package/vpc/cidrBlockAssociate.d.ts +83 -0
- package/vpc/cidrBlockAssociate.js +80 -0
- package/vpc/cidrBlockAssociate.js.map +1 -0
- package/vpc/flowLog.d.ts +266 -0
- package/vpc/flowLog.js +148 -0
- package/vpc/flowLog.js.map +1 -0
- package/vpc/flowLogActive.d.ts +103 -0
- package/vpc/flowLogActive.js +101 -0
- package/vpc/flowLogActive.js.map +1 -0
- package/vpc/flowLogs.d.ts +231 -0
- package/vpc/flowLogs.js +63 -0
- package/vpc/flowLogs.js.map +1 -0
- package/vpc/getFlowLogs.d.ts +229 -0
- package/vpc/getFlowLogs.js +60 -0
- package/vpc/getFlowLogs.js.map +1 -0
- package/vpc/getSubnets.d.ts +9 -0
- package/vpc/getSubnets.js +1 -0
- package/vpc/getSubnets.js.map +1 -1
- package/vpc/getTrafficMirrorFilterRules.d.ts +103 -0
- package/vpc/getTrafficMirrorFilterRules.js +50 -0
- package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
- package/vpc/getTrafficMirrorFilters.d.ts +118 -0
- package/vpc/getTrafficMirrorFilters.js +51 -0
- package/vpc/getTrafficMirrorFilters.js.map +1 -0
- package/vpc/getTrafficMirrorSessions.d.ts +187 -0
- package/vpc/getTrafficMirrorSessions.js +57 -0
- package/vpc/getTrafficMirrorSessions.js.map +1 -0
- package/vpc/getTrafficMirrorTargets.d.ts +121 -0
- package/vpc/getTrafficMirrorTargets.js +51 -0
- package/vpc/getTrafficMirrorTargets.js.map +1 -0
- package/vpc/getVpcs.d.ts +9 -0
- package/vpc/getVpcs.js +1 -0
- package/vpc/getVpcs.js.map +1 -1
- package/vpc/index.d.ts +51 -0
- package/vpc/index.js +67 -2
- package/vpc/index.js.map +1 -1
- package/vpc/networkInterface.d.ts +27 -7
- package/vpc/networkInterface.js +27 -7
- package/vpc/networkInterface.js.map +1 -1
- package/vpc/subnets.d.ts +9 -0
- package/vpc/subnets.js +1 -0
- package/vpc/subnets.js.map +1 -1
- package/vpc/trafficMirrorFilter.d.ts +137 -0
- package/vpc/trafficMirrorFilter.js +88 -0
- package/vpc/trafficMirrorFilter.js.map +1 -0
- package/vpc/trafficMirrorFilterRule.d.ts +245 -0
- package/vpc/trafficMirrorFilterRule.js +144 -0
- package/vpc/trafficMirrorFilterRule.js.map +1 -0
- package/vpc/trafficMirrorFilterRules.d.ts +105 -0
- package/vpc/trafficMirrorFilterRules.js +53 -0
- package/vpc/trafficMirrorFilterRules.js.map +1 -0
- package/vpc/trafficMirrorFilters.d.ts +120 -0
- package/vpc/trafficMirrorFilters.js +54 -0
- package/vpc/trafficMirrorFilters.js.map +1 -0
- package/vpc/trafficMirrorSession.d.ts +330 -0
- package/vpc/trafficMirrorSession.js +221 -0
- package/vpc/trafficMirrorSession.js.map +1 -0
- package/vpc/trafficMirrorSessions.d.ts +189 -0
- package/vpc/trafficMirrorSessions.js +60 -0
- package/vpc/trafficMirrorSessions.js.map +1 -0
- package/vpc/trafficMirrorTarget.d.ts +222 -0
- package/vpc/trafficMirrorTarget.js +159 -0
- package/vpc/trafficMirrorTarget.js.map +1 -0
- package/vpc/trafficMirrorTargets.d.ts +123 -0
- package/vpc/trafficMirrorTargets.js +54 -0
- package/vpc/trafficMirrorTargets.js.map +1 -0
- package/vpc/vpc.d.ts +8 -0
- package/vpc/vpc.js +2 -0
- package/vpc/vpc.js.map +1 -1
- package/vpc/vpcs.d.ts +9 -0
- package/vpc/vpcs.js +1 -0
- package/vpc/vpcs.js.map +1 -1
- package/waf/aclRule.d.ts +326 -0
- package/waf/aclRule.js +150 -0
- package/waf/aclRule.js.map +1 -0
- package/waf/aclRules.d.ts +170 -0
- package/waf/aclRules.js +69 -0
- package/waf/aclRules.js.map +1 -0
- package/waf/botAnalyseProtectRule.d.ts +320 -0
- package/waf/botAnalyseProtectRule.js +171 -0
- package/waf/botAnalyseProtectRule.js.map +1 -0
- package/waf/botAnalyseProtectRules.d.ts +145 -0
- package/waf/botAnalyseProtectRules.js +57 -0
- package/waf/botAnalyseProtectRules.js.map +1 -0
- package/waf/ccRule.d.ts +337 -0
- package/waf/ccRule.js +182 -0
- package/waf/ccRule.js.map +1 -0
- package/waf/ccRules.d.ts +149 -0
- package/waf/ccRules.js +61 -0
- package/waf/ccRules.js.map +1 -0
- package/waf/customBot.d.ts +191 -0
- package/waf/customBot.js +127 -0
- package/waf/customBot.js.map +1 -0
- package/waf/customBots.d.ts +86 -0
- package/waf/customBots.js +51 -0
- package/waf/customBots.js.map +1 -0
- package/waf/customPage.d.ts +310 -0
- package/waf/customPage.js +160 -0
- package/waf/customPage.js.map +1 -0
- package/waf/customPages.d.ts +110 -0
- package/waf/customPages.js +52 -0
- package/waf/customPages.js.map +1 -0
- package/waf/domains.d.ts +94 -0
- package/waf/domains.js +48 -0
- package/waf/domains.js.map +1 -0
- package/waf/getAclRules.d.ts +168 -0
- package/waf/getAclRules.js +66 -0
- package/waf/getAclRules.js.map +1 -0
- package/waf/getBotAnalyseProtectRules.d.ts +143 -0
- package/waf/getBotAnalyseProtectRules.js +54 -0
- package/waf/getBotAnalyseProtectRules.js.map +1 -0
- package/waf/getCcRules.d.ts +147 -0
- package/waf/getCcRules.js +58 -0
- package/waf/getCcRules.js.map +1 -0
- package/waf/getCustomBots.d.ts +84 -0
- package/waf/getCustomBots.js +48 -0
- package/waf/getCustomBots.js.map +1 -0
- package/waf/getCustomPages.d.ts +108 -0
- package/waf/getCustomPages.js +49 -0
- package/waf/getCustomPages.js.map +1 -0
- package/waf/getDomains.d.ts +92 -0
- package/waf/getDomains.js +45 -0
- package/waf/getDomains.js.map +1 -0
- package/waf/getHostGroups.d.ts +146 -0
- package/waf/getHostGroups.js +55 -0
- package/waf/getHostGroups.js.map +1 -0
- package/waf/getIpGroups.d.ts +105 -0
- package/waf/getIpGroups.js +49 -0
- package/waf/getIpGroups.js.map +1 -0
- package/waf/getProhibitions.d.ts +127 -0
- package/waf/getProhibitions.js +55 -0
- package/waf/getProhibitions.js.map +1 -0
- package/waf/getServiceCertificates.d.ts +71 -0
- package/waf/getServiceCertificates.js +43 -0
- package/waf/getServiceCertificates.js.map +1 -0
- package/waf/getSystemBots.d.ts +84 -0
- package/waf/getSystemBots.js +47 -0
- package/waf/getSystemBots.js.map +1 -0
- package/waf/hostGroup.d.ts +152 -0
- package/waf/hostGroup.js +90 -0
- package/waf/hostGroup.js.map +1 -0
- package/waf/hostGroups.d.ts +148 -0
- package/waf/hostGroups.js +58 -0
- package/waf/hostGroups.js.map +1 -0
- package/waf/index.d.ts +99 -0
- package/waf/index.js +139 -0
- package/waf/index.js.map +1 -0
- package/waf/instanceCtl.d.ts +95 -0
- package/waf/instanceCtl.js +76 -0
- package/waf/instanceCtl.js.map +1 -0
- package/waf/ipGroup.d.ts +132 -0
- package/waf/ipGroup.js +93 -0
- package/waf/ipGroup.js.map +1 -0
- package/waf/ipGroups.d.ts +107 -0
- package/waf/ipGroups.js +52 -0
- package/waf/ipGroups.js.map +1 -0
- package/waf/prohibitions.d.ts +129 -0
- package/waf/prohibitions.js +58 -0
- package/waf/prohibitions.js.map +1 -0
- package/waf/serviceCertificates.d.ts +73 -0
- package/waf/serviceCertificates.js +46 -0
- package/waf/serviceCertificates.js.map +1 -0
- package/waf/systemBot.d.ts +137 -0
- package/waf/systemBot.js +92 -0
- package/waf/systemBot.js.map +1 -0
- package/waf/systemBots.d.ts +86 -0
- package/waf/systemBots.js +50 -0
- package/waf/systemBots.js.map +1 -0
- package/waf/vulnerability.d.ts +116 -0
- package/waf/vulnerability.js +72 -0
- package/waf/vulnerability.js.map +1 -0
- package/waf/wafDomain.d.ts +877 -0
- package/waf/wafDomain.js +252 -0
- package/waf/wafDomain.js.map +1 -0
|
@@ -0,0 +1,877 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage waf domain
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.waf.WafDomain("foo", {
|
|
13
|
+
* accessMode: 10,
|
|
14
|
+
* backendGroups: [{
|
|
15
|
+
* accessPorts: [80],
|
|
16
|
+
* backends: [
|
|
17
|
+
* {
|
|
18
|
+
* ip: "192.168.0.0",
|
|
19
|
+
* port: 80,
|
|
20
|
+
* protocol: "HTTP",
|
|
21
|
+
* weight: 40,
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* ip: "192.168.1.0",
|
|
25
|
+
* port: 80,
|
|
26
|
+
* protocol: "HTTP",
|
|
27
|
+
* weight: 60,
|
|
28
|
+
* },
|
|
29
|
+
* ],
|
|
30
|
+
* name: "default",
|
|
31
|
+
* }],
|
|
32
|
+
* clientIpLocation: 0,
|
|
33
|
+
* clientMaxBodySize: 1024,
|
|
34
|
+
* customHeaders: [
|
|
35
|
+
* "x-top-1",
|
|
36
|
+
* "x-top-2",
|
|
37
|
+
* ],
|
|
38
|
+
* domain: "www.tf-test.com",
|
|
39
|
+
* enableIpv6: 0,
|
|
40
|
+
* keepAliveRequest: 200,
|
|
41
|
+
* keepAliveTimeOut: 100,
|
|
42
|
+
* lbAlgorithm: "wlc",
|
|
43
|
+
* protocolPorts: {
|
|
44
|
+
* https: [80],
|
|
45
|
+
* },
|
|
46
|
+
* protocols: ["HTTP"],
|
|
47
|
+
* proxyConfig: 1,
|
|
48
|
+
* proxyConnectTimeOut: 10,
|
|
49
|
+
* proxyKeepAlive: 101,
|
|
50
|
+
* proxyKeepAliveTimeOut: 20,
|
|
51
|
+
* proxyReadTimeOut: 200,
|
|
52
|
+
* proxyRetry: 10,
|
|
53
|
+
* proxyWriteTimeOut: 120,
|
|
54
|
+
* publicRealServer: 0,
|
|
55
|
+
* vpcId: "vpc-2d6485y7p95og58ozfcvxxxxx",
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ## Import
|
|
60
|
+
*
|
|
61
|
+
* WafDomain can be imported using the id, e.g.
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import volcengine:waf/wafDomain:WafDomain default resource_id
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare class WafDomain extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing WafDomain resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WafDomainState, opts?: pulumi.CustomResourceOptions): WafDomain;
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of WafDomain. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj: any): obj is WafDomain;
|
|
83
|
+
/**
|
|
84
|
+
* Access mode.
|
|
85
|
+
*/
|
|
86
|
+
readonly accessMode: pulumi.Output<number>;
|
|
87
|
+
/**
|
|
88
|
+
* High-defense instance IP.
|
|
89
|
+
*/
|
|
90
|
+
readonly advancedDefenseIp: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* High-defense instance IPv6.
|
|
93
|
+
*/
|
|
94
|
+
readonly advancedDefenseIpv6: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Whether to enable the API protection policy. Works only on modified scenes.
|
|
97
|
+
*/
|
|
98
|
+
readonly apiEnable: pulumi.Output<number>;
|
|
99
|
+
/**
|
|
100
|
+
* The status of the attack.
|
|
101
|
+
*/
|
|
102
|
+
readonly attackStatus: pulumi.Output<number>;
|
|
103
|
+
/**
|
|
104
|
+
* Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
|
|
105
|
+
*/
|
|
106
|
+
readonly autoCcEnable: pulumi.Output<number>;
|
|
107
|
+
/**
|
|
108
|
+
* The configuration of source station.
|
|
109
|
+
*/
|
|
110
|
+
readonly backendGroups: pulumi.Output<outputs.waf.WafDomainBackendGroup[]>;
|
|
111
|
+
/**
|
|
112
|
+
* Whether to enable the access ban list policy. Works only on modified scenes.
|
|
113
|
+
*/
|
|
114
|
+
readonly blackIpEnable: pulumi.Output<number>;
|
|
115
|
+
/**
|
|
116
|
+
* Whether to enable the geographical location access control policy. Works only on modified scenes.
|
|
117
|
+
*/
|
|
118
|
+
readonly blackLctEnable: pulumi.Output<number>;
|
|
119
|
+
/**
|
|
120
|
+
* Whether to enable the bot dynamic token. Works only on modified scenes.
|
|
121
|
+
*/
|
|
122
|
+
readonly botDytokenEnable: pulumi.Output<number | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Whether to enable the bot frequency limit policy. Works only on modified scenes.
|
|
125
|
+
*/
|
|
126
|
+
readonly botFrequencyEnable: pulumi.Output<number | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* Whether to enable the bot frequency limit policy. Works only on modified scenes.
|
|
129
|
+
*/
|
|
130
|
+
readonly botRepeatEnable: pulumi.Output<number | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* Set the default actions of the bot behavior map strategy. Works only on modified scenes.
|
|
133
|
+
*/
|
|
134
|
+
readonly botSequenceDefaultAction: pulumi.Output<number | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Whether to enable the bot behavior map. Works only on modified scenes.
|
|
137
|
+
*/
|
|
138
|
+
readonly botSequenceEnable: pulumi.Output<number | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* Whether to enable the CC protection policy. Works only on modified scenes.
|
|
141
|
+
*/
|
|
142
|
+
readonly ccEnable: pulumi.Output<number>;
|
|
143
|
+
/**
|
|
144
|
+
* When the protocol type is HTTPS, the bound certificate ID needs to be entered.
|
|
145
|
+
*/
|
|
146
|
+
readonly certificateId: pulumi.Output<number>;
|
|
147
|
+
/**
|
|
148
|
+
* The name of the certificate.
|
|
149
|
+
*/
|
|
150
|
+
readonly certificateName: pulumi.Output<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Certificate custody platform.
|
|
153
|
+
*/
|
|
154
|
+
readonly certificatePlatform: pulumi.Output<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The method of obtaining the client IP.
|
|
157
|
+
*/
|
|
158
|
+
readonly clientIpLocation: pulumi.Output<number>;
|
|
159
|
+
/**
|
|
160
|
+
* The client requests the maximum value of body.
|
|
161
|
+
*/
|
|
162
|
+
readonly clientMaxBodySize: pulumi.Output<number>;
|
|
163
|
+
/**
|
|
164
|
+
* Access port information.If AccessMode is Alb/CLB, this field is required.
|
|
165
|
+
*/
|
|
166
|
+
readonly cloudAccessConfigs: pulumi.Output<outputs.waf.WafDomainCloudAccessConfig[]>;
|
|
167
|
+
/**
|
|
168
|
+
* The CNAME value generated by the WAF instance.
|
|
169
|
+
*/
|
|
170
|
+
readonly cname: pulumi.Output<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Whether to enable the custom Bot classification strategy. Works only on modified scenes.
|
|
173
|
+
*/
|
|
174
|
+
readonly customBotEnable: pulumi.Output<number>;
|
|
175
|
+
/**
|
|
176
|
+
* Custom Header.
|
|
177
|
+
*/
|
|
178
|
+
readonly customHeaders: pulumi.Output<string[] | undefined>;
|
|
179
|
+
/**
|
|
180
|
+
* Whether to enable the custom response interception policy. Works only on modified scenes.
|
|
181
|
+
*/
|
|
182
|
+
readonly customRspEnable: pulumi.Output<number>;
|
|
183
|
+
/**
|
|
184
|
+
* Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
|
|
185
|
+
*/
|
|
186
|
+
readonly customSni: pulumi.Output<string | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* The protection mode of the instance. Works only on modified scenes.
|
|
189
|
+
*/
|
|
190
|
+
readonly defenceMode: pulumi.Output<number | undefined>;
|
|
191
|
+
/**
|
|
192
|
+
* The protection mode of the instance.
|
|
193
|
+
*/
|
|
194
|
+
readonly defenceModeComputed: pulumi.Output<number>;
|
|
195
|
+
/**
|
|
196
|
+
* Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
|
|
197
|
+
*/
|
|
198
|
+
readonly dlpEnable: pulumi.Output<number>;
|
|
199
|
+
/**
|
|
200
|
+
* List of domain names that need to be protected by WAF.
|
|
201
|
+
*/
|
|
202
|
+
readonly domain: pulumi.Output<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Whether to enable user-defined redirection. Works only on modified scenes.
|
|
205
|
+
*/
|
|
206
|
+
readonly enableCustomRedirect: pulumi.Output<number | undefined>;
|
|
207
|
+
/**
|
|
208
|
+
* Whether to enable HTTP 2.0.
|
|
209
|
+
*/
|
|
210
|
+
readonly enableHttp2: pulumi.Output<number>;
|
|
211
|
+
/**
|
|
212
|
+
* Whether it supports protecting IPv6 requests.
|
|
213
|
+
*/
|
|
214
|
+
readonly enableIpv6: pulumi.Output<number>;
|
|
215
|
+
/**
|
|
216
|
+
* Whether to enable the SNI configuration. Works only on modified scenes.
|
|
217
|
+
*/
|
|
218
|
+
readonly enableSni: pulumi.Output<number | undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* 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.
|
|
221
|
+
*/
|
|
222
|
+
readonly extraDefenceModeLbInstances: pulumi.Output<outputs.waf.WafDomainExtraDefenceModeLbInstance[] | undefined>;
|
|
223
|
+
/**
|
|
224
|
+
* The number of long connection multiplexes.
|
|
225
|
+
*/
|
|
226
|
+
readonly keepAliveRequest: pulumi.Output<number>;
|
|
227
|
+
/**
|
|
228
|
+
* Long connection retention time.
|
|
229
|
+
*/
|
|
230
|
+
readonly keepAliveTimeOut: pulumi.Output<number>;
|
|
231
|
+
/**
|
|
232
|
+
* The types of load balancing algorithms.
|
|
233
|
+
*/
|
|
234
|
+
readonly lbAlgorithm: pulumi.Output<string>;
|
|
235
|
+
/**
|
|
236
|
+
* Is LLM available. Works only on modified scenes.
|
|
237
|
+
*/
|
|
238
|
+
readonly llmAvailable: pulumi.Output<boolean | undefined>;
|
|
239
|
+
/**
|
|
240
|
+
* The name of project. Works only on modified scenes.
|
|
241
|
+
*/
|
|
242
|
+
readonly projectName: pulumi.Output<string>;
|
|
243
|
+
/**
|
|
244
|
+
* Whether to enable protocol following.
|
|
245
|
+
*/
|
|
246
|
+
readonly protocolFollow: pulumi.Output<number>;
|
|
247
|
+
/**
|
|
248
|
+
* Access port information.
|
|
249
|
+
*/
|
|
250
|
+
readonly protocolPorts: pulumi.Output<outputs.waf.WafDomainProtocolPorts>;
|
|
251
|
+
/**
|
|
252
|
+
* Access protocol types.
|
|
253
|
+
*/
|
|
254
|
+
readonly protocols: pulumi.Output<string[]>;
|
|
255
|
+
/**
|
|
256
|
+
* Whether to enable proxy configuration.
|
|
257
|
+
*/
|
|
258
|
+
readonly proxyConfig: pulumi.Output<number>;
|
|
259
|
+
/**
|
|
260
|
+
* The timeout period for establishing a connection between the WAF and the backend server.
|
|
261
|
+
*/
|
|
262
|
+
readonly proxyConnectTimeOut: pulumi.Output<number>;
|
|
263
|
+
/**
|
|
264
|
+
* The number of reusable WAF origin long connections.
|
|
265
|
+
*/
|
|
266
|
+
readonly proxyKeepAlive: pulumi.Output<number>;
|
|
267
|
+
/**
|
|
268
|
+
* Idle long connection timeout period.
|
|
269
|
+
*/
|
|
270
|
+
readonly proxyKeepAliveTimeOut: pulumi.Output<number>;
|
|
271
|
+
/**
|
|
272
|
+
* The timeout period during which WAF reads the response from the backend server.
|
|
273
|
+
*/
|
|
274
|
+
readonly proxyReadTimeOut: pulumi.Output<number>;
|
|
275
|
+
/**
|
|
276
|
+
* The number of retries for WAF back to source.
|
|
277
|
+
*/
|
|
278
|
+
readonly proxyRetry: pulumi.Output<number>;
|
|
279
|
+
/**
|
|
280
|
+
* The timeout period during which the WAF transmits the request to the backend server.
|
|
281
|
+
*/
|
|
282
|
+
readonly proxyWriteTimeOut: pulumi.Output<number>;
|
|
283
|
+
/**
|
|
284
|
+
* Connect to the source return mode.
|
|
285
|
+
*/
|
|
286
|
+
readonly publicRealServer: pulumi.Output<number>;
|
|
287
|
+
/**
|
|
288
|
+
* When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
|
|
289
|
+
*/
|
|
290
|
+
readonly redirectHttps: pulumi.Output<boolean | undefined>;
|
|
291
|
+
/**
|
|
292
|
+
* The IP of the WAF protection instance.
|
|
293
|
+
*/
|
|
294
|
+
readonly serverIps: pulumi.Output<string>;
|
|
295
|
+
/**
|
|
296
|
+
* WAF source IP.
|
|
297
|
+
*/
|
|
298
|
+
readonly srcIps: pulumi.Output<string>;
|
|
299
|
+
/**
|
|
300
|
+
* Encryption kit.
|
|
301
|
+
*/
|
|
302
|
+
readonly sslCiphers: pulumi.Output<string[]>;
|
|
303
|
+
/**
|
|
304
|
+
* TLS protocol version.
|
|
305
|
+
*/
|
|
306
|
+
readonly sslProtocols: pulumi.Output<string[]>;
|
|
307
|
+
/**
|
|
308
|
+
* The status of access.
|
|
309
|
+
*/
|
|
310
|
+
readonly status: pulumi.Output<number>;
|
|
311
|
+
/**
|
|
312
|
+
* Whether to enable the managed Bot classification strategy. Works only on modified scenes.
|
|
313
|
+
*/
|
|
314
|
+
readonly systemBotEnable: pulumi.Output<number>;
|
|
315
|
+
/**
|
|
316
|
+
* Whether to enable the page tamper-proof policy. Works only on modified scenes.
|
|
317
|
+
*/
|
|
318
|
+
readonly tamperProofEnable: pulumi.Output<number>;
|
|
319
|
+
/**
|
|
320
|
+
* Whether to enable the log service.
|
|
321
|
+
*/
|
|
322
|
+
readonly tlsEnable: pulumi.Output<number>;
|
|
323
|
+
/**
|
|
324
|
+
* Details of log field configuration. Works only on modified scenes.
|
|
325
|
+
*/
|
|
326
|
+
readonly tlsFieldsConfig: pulumi.Output<outputs.waf.WafDomainTlsFieldsConfig | undefined>;
|
|
327
|
+
/**
|
|
328
|
+
* The update time.
|
|
329
|
+
*/
|
|
330
|
+
readonly updateTime: pulumi.Output<string>;
|
|
331
|
+
/**
|
|
332
|
+
* When the protocol type is HTTPS, the bound certificate ID needs to be entered.
|
|
333
|
+
*/
|
|
334
|
+
readonly volcCertificateId: pulumi.Output<string>;
|
|
335
|
+
/**
|
|
336
|
+
* The ID of vpc.
|
|
337
|
+
*/
|
|
338
|
+
readonly vpcId: pulumi.Output<string>;
|
|
339
|
+
/**
|
|
340
|
+
* Whether to enable the vulnerability protection strategy. Works only on modified scenes.
|
|
341
|
+
*/
|
|
342
|
+
readonly wafEnable: pulumi.Output<number>;
|
|
343
|
+
/**
|
|
344
|
+
* Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
|
|
345
|
+
*/
|
|
346
|
+
readonly wafWhiteReqEnable: pulumi.Output<number>;
|
|
347
|
+
/**
|
|
348
|
+
* Whether to enable the access list policy. Works only on modified scenes.
|
|
349
|
+
*/
|
|
350
|
+
readonly whiteEnable: pulumi.Output<number>;
|
|
351
|
+
/**
|
|
352
|
+
* Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
|
|
353
|
+
*/
|
|
354
|
+
readonly whiteFieldEnable: pulumi.Output<number>;
|
|
355
|
+
/**
|
|
356
|
+
* Create a WafDomain resource with the given unique name, arguments, and options.
|
|
357
|
+
*
|
|
358
|
+
* @param name The _unique_ name of the resource.
|
|
359
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
360
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
361
|
+
*/
|
|
362
|
+
constructor(name: string, args: WafDomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Input properties used for looking up and filtering WafDomain resources.
|
|
366
|
+
*/
|
|
367
|
+
export interface WafDomainState {
|
|
368
|
+
/**
|
|
369
|
+
* Access mode.
|
|
370
|
+
*/
|
|
371
|
+
accessMode?: pulumi.Input<number>;
|
|
372
|
+
/**
|
|
373
|
+
* High-defense instance IP.
|
|
374
|
+
*/
|
|
375
|
+
advancedDefenseIp?: pulumi.Input<string>;
|
|
376
|
+
/**
|
|
377
|
+
* High-defense instance IPv6.
|
|
378
|
+
*/
|
|
379
|
+
advancedDefenseIpv6?: pulumi.Input<string>;
|
|
380
|
+
/**
|
|
381
|
+
* Whether to enable the API protection policy. Works only on modified scenes.
|
|
382
|
+
*/
|
|
383
|
+
apiEnable?: pulumi.Input<number>;
|
|
384
|
+
/**
|
|
385
|
+
* The status of the attack.
|
|
386
|
+
*/
|
|
387
|
+
attackStatus?: pulumi.Input<number>;
|
|
388
|
+
/**
|
|
389
|
+
* Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
|
|
390
|
+
*/
|
|
391
|
+
autoCcEnable?: pulumi.Input<number>;
|
|
392
|
+
/**
|
|
393
|
+
* The configuration of source station.
|
|
394
|
+
*/
|
|
395
|
+
backendGroups?: pulumi.Input<pulumi.Input<inputs.waf.WafDomainBackendGroup>[]>;
|
|
396
|
+
/**
|
|
397
|
+
* Whether to enable the access ban list policy. Works only on modified scenes.
|
|
398
|
+
*/
|
|
399
|
+
blackIpEnable?: pulumi.Input<number>;
|
|
400
|
+
/**
|
|
401
|
+
* Whether to enable the geographical location access control policy. Works only on modified scenes.
|
|
402
|
+
*/
|
|
403
|
+
blackLctEnable?: pulumi.Input<number>;
|
|
404
|
+
/**
|
|
405
|
+
* Whether to enable the bot dynamic token. Works only on modified scenes.
|
|
406
|
+
*/
|
|
407
|
+
botDytokenEnable?: pulumi.Input<number>;
|
|
408
|
+
/**
|
|
409
|
+
* Whether to enable the bot frequency limit policy. Works only on modified scenes.
|
|
410
|
+
*/
|
|
411
|
+
botFrequencyEnable?: pulumi.Input<number>;
|
|
412
|
+
/**
|
|
413
|
+
* Whether to enable the bot frequency limit policy. Works only on modified scenes.
|
|
414
|
+
*/
|
|
415
|
+
botRepeatEnable?: pulumi.Input<number>;
|
|
416
|
+
/**
|
|
417
|
+
* Set the default actions of the bot behavior map strategy. Works only on modified scenes.
|
|
418
|
+
*/
|
|
419
|
+
botSequenceDefaultAction?: pulumi.Input<number>;
|
|
420
|
+
/**
|
|
421
|
+
* Whether to enable the bot behavior map. Works only on modified scenes.
|
|
422
|
+
*/
|
|
423
|
+
botSequenceEnable?: pulumi.Input<number>;
|
|
424
|
+
/**
|
|
425
|
+
* Whether to enable the CC protection policy. Works only on modified scenes.
|
|
426
|
+
*/
|
|
427
|
+
ccEnable?: pulumi.Input<number>;
|
|
428
|
+
/**
|
|
429
|
+
* When the protocol type is HTTPS, the bound certificate ID needs to be entered.
|
|
430
|
+
*/
|
|
431
|
+
certificateId?: pulumi.Input<number>;
|
|
432
|
+
/**
|
|
433
|
+
* The name of the certificate.
|
|
434
|
+
*/
|
|
435
|
+
certificateName?: pulumi.Input<string>;
|
|
436
|
+
/**
|
|
437
|
+
* Certificate custody platform.
|
|
438
|
+
*/
|
|
439
|
+
certificatePlatform?: pulumi.Input<string>;
|
|
440
|
+
/**
|
|
441
|
+
* The method of obtaining the client IP.
|
|
442
|
+
*/
|
|
443
|
+
clientIpLocation?: pulumi.Input<number>;
|
|
444
|
+
/**
|
|
445
|
+
* The client requests the maximum value of body.
|
|
446
|
+
*/
|
|
447
|
+
clientMaxBodySize?: pulumi.Input<number>;
|
|
448
|
+
/**
|
|
449
|
+
* Access port information.If AccessMode is Alb/CLB, this field is required.
|
|
450
|
+
*/
|
|
451
|
+
cloudAccessConfigs?: pulumi.Input<pulumi.Input<inputs.waf.WafDomainCloudAccessConfig>[]>;
|
|
452
|
+
/**
|
|
453
|
+
* The CNAME value generated by the WAF instance.
|
|
454
|
+
*/
|
|
455
|
+
cname?: pulumi.Input<string>;
|
|
456
|
+
/**
|
|
457
|
+
* Whether to enable the custom Bot classification strategy. Works only on modified scenes.
|
|
458
|
+
*/
|
|
459
|
+
customBotEnable?: pulumi.Input<number>;
|
|
460
|
+
/**
|
|
461
|
+
* Custom Header.
|
|
462
|
+
*/
|
|
463
|
+
customHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
464
|
+
/**
|
|
465
|
+
* Whether to enable the custom response interception policy. Works only on modified scenes.
|
|
466
|
+
*/
|
|
467
|
+
customRspEnable?: pulumi.Input<number>;
|
|
468
|
+
/**
|
|
469
|
+
* Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
|
|
470
|
+
*/
|
|
471
|
+
customSni?: pulumi.Input<string>;
|
|
472
|
+
/**
|
|
473
|
+
* The protection mode of the instance. Works only on modified scenes.
|
|
474
|
+
*/
|
|
475
|
+
defenceMode?: pulumi.Input<number>;
|
|
476
|
+
/**
|
|
477
|
+
* The protection mode of the instance.
|
|
478
|
+
*/
|
|
479
|
+
defenceModeComputed?: pulumi.Input<number>;
|
|
480
|
+
/**
|
|
481
|
+
* Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
|
|
482
|
+
*/
|
|
483
|
+
dlpEnable?: pulumi.Input<number>;
|
|
484
|
+
/**
|
|
485
|
+
* List of domain names that need to be protected by WAF.
|
|
486
|
+
*/
|
|
487
|
+
domain?: pulumi.Input<string>;
|
|
488
|
+
/**
|
|
489
|
+
* Whether to enable user-defined redirection. Works only on modified scenes.
|
|
490
|
+
*/
|
|
491
|
+
enableCustomRedirect?: pulumi.Input<number>;
|
|
492
|
+
/**
|
|
493
|
+
* Whether to enable HTTP 2.0.
|
|
494
|
+
*/
|
|
495
|
+
enableHttp2?: pulumi.Input<number>;
|
|
496
|
+
/**
|
|
497
|
+
* Whether it supports protecting IPv6 requests.
|
|
498
|
+
*/
|
|
499
|
+
enableIpv6?: pulumi.Input<number>;
|
|
500
|
+
/**
|
|
501
|
+
* Whether to enable the SNI configuration. Works only on modified scenes.
|
|
502
|
+
*/
|
|
503
|
+
enableSni?: pulumi.Input<number>;
|
|
504
|
+
/**
|
|
505
|
+
* 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.
|
|
506
|
+
*/
|
|
507
|
+
extraDefenceModeLbInstances?: pulumi.Input<pulumi.Input<inputs.waf.WafDomainExtraDefenceModeLbInstance>[]>;
|
|
508
|
+
/**
|
|
509
|
+
* The number of long connection multiplexes.
|
|
510
|
+
*/
|
|
511
|
+
keepAliveRequest?: pulumi.Input<number>;
|
|
512
|
+
/**
|
|
513
|
+
* Long connection retention time.
|
|
514
|
+
*/
|
|
515
|
+
keepAliveTimeOut?: pulumi.Input<number>;
|
|
516
|
+
/**
|
|
517
|
+
* The types of load balancing algorithms.
|
|
518
|
+
*/
|
|
519
|
+
lbAlgorithm?: pulumi.Input<string>;
|
|
520
|
+
/**
|
|
521
|
+
* Is LLM available. Works only on modified scenes.
|
|
522
|
+
*/
|
|
523
|
+
llmAvailable?: pulumi.Input<boolean>;
|
|
524
|
+
/**
|
|
525
|
+
* The name of project. Works only on modified scenes.
|
|
526
|
+
*/
|
|
527
|
+
projectName?: pulumi.Input<string>;
|
|
528
|
+
/**
|
|
529
|
+
* Whether to enable protocol following.
|
|
530
|
+
*/
|
|
531
|
+
protocolFollow?: pulumi.Input<number>;
|
|
532
|
+
/**
|
|
533
|
+
* Access port information.
|
|
534
|
+
*/
|
|
535
|
+
protocolPorts?: pulumi.Input<inputs.waf.WafDomainProtocolPorts>;
|
|
536
|
+
/**
|
|
537
|
+
* Access protocol types.
|
|
538
|
+
*/
|
|
539
|
+
protocols?: pulumi.Input<pulumi.Input<string>[]>;
|
|
540
|
+
/**
|
|
541
|
+
* Whether to enable proxy configuration.
|
|
542
|
+
*/
|
|
543
|
+
proxyConfig?: pulumi.Input<number>;
|
|
544
|
+
/**
|
|
545
|
+
* The timeout period for establishing a connection between the WAF and the backend server.
|
|
546
|
+
*/
|
|
547
|
+
proxyConnectTimeOut?: pulumi.Input<number>;
|
|
548
|
+
/**
|
|
549
|
+
* The number of reusable WAF origin long connections.
|
|
550
|
+
*/
|
|
551
|
+
proxyKeepAlive?: pulumi.Input<number>;
|
|
552
|
+
/**
|
|
553
|
+
* Idle long connection timeout period.
|
|
554
|
+
*/
|
|
555
|
+
proxyKeepAliveTimeOut?: pulumi.Input<number>;
|
|
556
|
+
/**
|
|
557
|
+
* The timeout period during which WAF reads the response from the backend server.
|
|
558
|
+
*/
|
|
559
|
+
proxyReadTimeOut?: pulumi.Input<number>;
|
|
560
|
+
/**
|
|
561
|
+
* The number of retries for WAF back to source.
|
|
562
|
+
*/
|
|
563
|
+
proxyRetry?: pulumi.Input<number>;
|
|
564
|
+
/**
|
|
565
|
+
* The timeout period during which the WAF transmits the request to the backend server.
|
|
566
|
+
*/
|
|
567
|
+
proxyWriteTimeOut?: pulumi.Input<number>;
|
|
568
|
+
/**
|
|
569
|
+
* Connect to the source return mode.
|
|
570
|
+
*/
|
|
571
|
+
publicRealServer?: pulumi.Input<number>;
|
|
572
|
+
/**
|
|
573
|
+
* When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
|
|
574
|
+
*/
|
|
575
|
+
redirectHttps?: pulumi.Input<boolean>;
|
|
576
|
+
/**
|
|
577
|
+
* The IP of the WAF protection instance.
|
|
578
|
+
*/
|
|
579
|
+
serverIps?: pulumi.Input<string>;
|
|
580
|
+
/**
|
|
581
|
+
* WAF source IP.
|
|
582
|
+
*/
|
|
583
|
+
srcIps?: pulumi.Input<string>;
|
|
584
|
+
/**
|
|
585
|
+
* Encryption kit.
|
|
586
|
+
*/
|
|
587
|
+
sslCiphers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
588
|
+
/**
|
|
589
|
+
* TLS protocol version.
|
|
590
|
+
*/
|
|
591
|
+
sslProtocols?: pulumi.Input<pulumi.Input<string>[]>;
|
|
592
|
+
/**
|
|
593
|
+
* The status of access.
|
|
594
|
+
*/
|
|
595
|
+
status?: pulumi.Input<number>;
|
|
596
|
+
/**
|
|
597
|
+
* Whether to enable the managed Bot classification strategy. Works only on modified scenes.
|
|
598
|
+
*/
|
|
599
|
+
systemBotEnable?: pulumi.Input<number>;
|
|
600
|
+
/**
|
|
601
|
+
* Whether to enable the page tamper-proof policy. Works only on modified scenes.
|
|
602
|
+
*/
|
|
603
|
+
tamperProofEnable?: pulumi.Input<number>;
|
|
604
|
+
/**
|
|
605
|
+
* Whether to enable the log service.
|
|
606
|
+
*/
|
|
607
|
+
tlsEnable?: pulumi.Input<number>;
|
|
608
|
+
/**
|
|
609
|
+
* Details of log field configuration. Works only on modified scenes.
|
|
610
|
+
*/
|
|
611
|
+
tlsFieldsConfig?: pulumi.Input<inputs.waf.WafDomainTlsFieldsConfig>;
|
|
612
|
+
/**
|
|
613
|
+
* The update time.
|
|
614
|
+
*/
|
|
615
|
+
updateTime?: pulumi.Input<string>;
|
|
616
|
+
/**
|
|
617
|
+
* When the protocol type is HTTPS, the bound certificate ID needs to be entered.
|
|
618
|
+
*/
|
|
619
|
+
volcCertificateId?: pulumi.Input<string>;
|
|
620
|
+
/**
|
|
621
|
+
* The ID of vpc.
|
|
622
|
+
*/
|
|
623
|
+
vpcId?: pulumi.Input<string>;
|
|
624
|
+
/**
|
|
625
|
+
* Whether to enable the vulnerability protection strategy. Works only on modified scenes.
|
|
626
|
+
*/
|
|
627
|
+
wafEnable?: pulumi.Input<number>;
|
|
628
|
+
/**
|
|
629
|
+
* Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
|
|
630
|
+
*/
|
|
631
|
+
wafWhiteReqEnable?: pulumi.Input<number>;
|
|
632
|
+
/**
|
|
633
|
+
* Whether to enable the access list policy. Works only on modified scenes.
|
|
634
|
+
*/
|
|
635
|
+
whiteEnable?: pulumi.Input<number>;
|
|
636
|
+
/**
|
|
637
|
+
* Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
|
|
638
|
+
*/
|
|
639
|
+
whiteFieldEnable?: pulumi.Input<number>;
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* The set of arguments for constructing a WafDomain resource.
|
|
643
|
+
*/
|
|
644
|
+
export interface WafDomainArgs {
|
|
645
|
+
/**
|
|
646
|
+
* Access mode.
|
|
647
|
+
*/
|
|
648
|
+
accessMode: pulumi.Input<number>;
|
|
649
|
+
/**
|
|
650
|
+
* Whether to enable the API protection policy. Works only on modified scenes.
|
|
651
|
+
*/
|
|
652
|
+
apiEnable?: pulumi.Input<number>;
|
|
653
|
+
/**
|
|
654
|
+
* Whether to enable the intelligent CC protection strategy. Works only on modified scenes.
|
|
655
|
+
*/
|
|
656
|
+
autoCcEnable?: pulumi.Input<number>;
|
|
657
|
+
/**
|
|
658
|
+
* The configuration of source station.
|
|
659
|
+
*/
|
|
660
|
+
backendGroups?: pulumi.Input<pulumi.Input<inputs.waf.WafDomainBackendGroup>[]>;
|
|
661
|
+
/**
|
|
662
|
+
* Whether to enable the access ban list policy. Works only on modified scenes.
|
|
663
|
+
*/
|
|
664
|
+
blackIpEnable?: pulumi.Input<number>;
|
|
665
|
+
/**
|
|
666
|
+
* Whether to enable the geographical location access control policy. Works only on modified scenes.
|
|
667
|
+
*/
|
|
668
|
+
blackLctEnable?: pulumi.Input<number>;
|
|
669
|
+
/**
|
|
670
|
+
* Whether to enable the bot dynamic token. Works only on modified scenes.
|
|
671
|
+
*/
|
|
672
|
+
botDytokenEnable?: pulumi.Input<number>;
|
|
673
|
+
/**
|
|
674
|
+
* Whether to enable the bot frequency limit policy. Works only on modified scenes.
|
|
675
|
+
*/
|
|
676
|
+
botFrequencyEnable?: pulumi.Input<number>;
|
|
677
|
+
/**
|
|
678
|
+
* Whether to enable the bot frequency limit policy. Works only on modified scenes.
|
|
679
|
+
*/
|
|
680
|
+
botRepeatEnable?: pulumi.Input<number>;
|
|
681
|
+
/**
|
|
682
|
+
* Set the default actions of the bot behavior map strategy. Works only on modified scenes.
|
|
683
|
+
*/
|
|
684
|
+
botSequenceDefaultAction?: pulumi.Input<number>;
|
|
685
|
+
/**
|
|
686
|
+
* Whether to enable the bot behavior map. Works only on modified scenes.
|
|
687
|
+
*/
|
|
688
|
+
botSequenceEnable?: pulumi.Input<number>;
|
|
689
|
+
/**
|
|
690
|
+
* Whether to enable the CC protection policy. Works only on modified scenes.
|
|
691
|
+
*/
|
|
692
|
+
ccEnable?: pulumi.Input<number>;
|
|
693
|
+
/**
|
|
694
|
+
* When the protocol type is HTTPS, the bound certificate ID needs to be entered.
|
|
695
|
+
*/
|
|
696
|
+
certificateId?: pulumi.Input<number>;
|
|
697
|
+
/**
|
|
698
|
+
* Certificate custody platform.
|
|
699
|
+
*/
|
|
700
|
+
certificatePlatform?: pulumi.Input<string>;
|
|
701
|
+
/**
|
|
702
|
+
* The method of obtaining the client IP.
|
|
703
|
+
*/
|
|
704
|
+
clientIpLocation?: pulumi.Input<number>;
|
|
705
|
+
/**
|
|
706
|
+
* The client requests the maximum value of body.
|
|
707
|
+
*/
|
|
708
|
+
clientMaxBodySize?: pulumi.Input<number>;
|
|
709
|
+
/**
|
|
710
|
+
* Access port information.If AccessMode is Alb/CLB, this field is required.
|
|
711
|
+
*/
|
|
712
|
+
cloudAccessConfigs?: pulumi.Input<pulumi.Input<inputs.waf.WafDomainCloudAccessConfig>[]>;
|
|
713
|
+
/**
|
|
714
|
+
* Whether to enable the custom Bot classification strategy. Works only on modified scenes.
|
|
715
|
+
*/
|
|
716
|
+
customBotEnable?: pulumi.Input<number>;
|
|
717
|
+
/**
|
|
718
|
+
* Custom Header.
|
|
719
|
+
*/
|
|
720
|
+
customHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
721
|
+
/**
|
|
722
|
+
* Whether to enable the custom response interception policy. Works only on modified scenes.
|
|
723
|
+
*/
|
|
724
|
+
customRspEnable?: pulumi.Input<number>;
|
|
725
|
+
/**
|
|
726
|
+
* Custom SNI needs to be configured when EnableSNI=1. Works only on modified scenes.
|
|
727
|
+
*/
|
|
728
|
+
customSni?: pulumi.Input<string>;
|
|
729
|
+
/**
|
|
730
|
+
* The protection mode of the instance. Works only on modified scenes.
|
|
731
|
+
*/
|
|
732
|
+
defenceMode?: pulumi.Input<number>;
|
|
733
|
+
/**
|
|
734
|
+
* Whether to activate the strategy for preventing the leakage of sensitive information. Works only on modified scenes.
|
|
735
|
+
*/
|
|
736
|
+
dlpEnable?: pulumi.Input<number>;
|
|
737
|
+
/**
|
|
738
|
+
* List of domain names that need to be protected by WAF.
|
|
739
|
+
*/
|
|
740
|
+
domain: pulumi.Input<string>;
|
|
741
|
+
/**
|
|
742
|
+
* Whether to enable user-defined redirection. Works only on modified scenes.
|
|
743
|
+
*/
|
|
744
|
+
enableCustomRedirect?: pulumi.Input<number>;
|
|
745
|
+
/**
|
|
746
|
+
* Whether to enable HTTP 2.0.
|
|
747
|
+
*/
|
|
748
|
+
enableHttp2?: pulumi.Input<number>;
|
|
749
|
+
/**
|
|
750
|
+
* Whether it supports protecting IPv6 requests.
|
|
751
|
+
*/
|
|
752
|
+
enableIpv6?: pulumi.Input<number>;
|
|
753
|
+
/**
|
|
754
|
+
* Whether to enable the SNI configuration. Works only on modified scenes.
|
|
755
|
+
*/
|
|
756
|
+
enableSni?: pulumi.Input<number>;
|
|
757
|
+
/**
|
|
758
|
+
* 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.
|
|
759
|
+
*/
|
|
760
|
+
extraDefenceModeLbInstances?: pulumi.Input<pulumi.Input<inputs.waf.WafDomainExtraDefenceModeLbInstance>[]>;
|
|
761
|
+
/**
|
|
762
|
+
* The number of long connection multiplexes.
|
|
763
|
+
*/
|
|
764
|
+
keepAliveRequest?: pulumi.Input<number>;
|
|
765
|
+
/**
|
|
766
|
+
* Long connection retention time.
|
|
767
|
+
*/
|
|
768
|
+
keepAliveTimeOut?: pulumi.Input<number>;
|
|
769
|
+
/**
|
|
770
|
+
* The types of load balancing algorithms.
|
|
771
|
+
*/
|
|
772
|
+
lbAlgorithm?: pulumi.Input<string>;
|
|
773
|
+
/**
|
|
774
|
+
* Is LLM available. Works only on modified scenes.
|
|
775
|
+
*/
|
|
776
|
+
llmAvailable?: pulumi.Input<boolean>;
|
|
777
|
+
/**
|
|
778
|
+
* The name of project. Works only on modified scenes.
|
|
779
|
+
*/
|
|
780
|
+
projectName?: pulumi.Input<string>;
|
|
781
|
+
/**
|
|
782
|
+
* Whether to enable protocol following.
|
|
783
|
+
*/
|
|
784
|
+
protocolFollow?: pulumi.Input<number>;
|
|
785
|
+
/**
|
|
786
|
+
* Access port information.
|
|
787
|
+
*/
|
|
788
|
+
protocolPorts?: pulumi.Input<inputs.waf.WafDomainProtocolPorts>;
|
|
789
|
+
/**
|
|
790
|
+
* Access protocol types.
|
|
791
|
+
*/
|
|
792
|
+
protocols?: pulumi.Input<pulumi.Input<string>[]>;
|
|
793
|
+
/**
|
|
794
|
+
* Whether to enable proxy configuration.
|
|
795
|
+
*/
|
|
796
|
+
proxyConfig?: pulumi.Input<number>;
|
|
797
|
+
/**
|
|
798
|
+
* The timeout period for establishing a connection between the WAF and the backend server.
|
|
799
|
+
*/
|
|
800
|
+
proxyConnectTimeOut?: pulumi.Input<number>;
|
|
801
|
+
/**
|
|
802
|
+
* The number of reusable WAF origin long connections.
|
|
803
|
+
*/
|
|
804
|
+
proxyKeepAlive?: pulumi.Input<number>;
|
|
805
|
+
/**
|
|
806
|
+
* Idle long connection timeout period.
|
|
807
|
+
*/
|
|
808
|
+
proxyKeepAliveTimeOut?: pulumi.Input<number>;
|
|
809
|
+
/**
|
|
810
|
+
* The timeout period during which WAF reads the response from the backend server.
|
|
811
|
+
*/
|
|
812
|
+
proxyReadTimeOut?: pulumi.Input<number>;
|
|
813
|
+
/**
|
|
814
|
+
* The number of retries for WAF back to source.
|
|
815
|
+
*/
|
|
816
|
+
proxyRetry?: pulumi.Input<number>;
|
|
817
|
+
/**
|
|
818
|
+
* The timeout period during which the WAF transmits the request to the backend server.
|
|
819
|
+
*/
|
|
820
|
+
proxyWriteTimeOut?: pulumi.Input<number>;
|
|
821
|
+
/**
|
|
822
|
+
* Connect to the source return mode.
|
|
823
|
+
*/
|
|
824
|
+
publicRealServer?: pulumi.Input<number>;
|
|
825
|
+
/**
|
|
826
|
+
* When only the HTTPS protocol is enabled, whether to redirect HTTP requests to HTTPS. Works only on modified scenes.
|
|
827
|
+
*/
|
|
828
|
+
redirectHttps?: pulumi.Input<boolean>;
|
|
829
|
+
/**
|
|
830
|
+
* Encryption kit.
|
|
831
|
+
*/
|
|
832
|
+
sslCiphers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
833
|
+
/**
|
|
834
|
+
* TLS protocol version.
|
|
835
|
+
*/
|
|
836
|
+
sslProtocols?: pulumi.Input<pulumi.Input<string>[]>;
|
|
837
|
+
/**
|
|
838
|
+
* Whether to enable the managed Bot classification strategy. Works only on modified scenes.
|
|
839
|
+
*/
|
|
840
|
+
systemBotEnable?: pulumi.Input<number>;
|
|
841
|
+
/**
|
|
842
|
+
* Whether to enable the page tamper-proof policy. Works only on modified scenes.
|
|
843
|
+
*/
|
|
844
|
+
tamperProofEnable?: pulumi.Input<number>;
|
|
845
|
+
/**
|
|
846
|
+
* Whether to enable the log service.
|
|
847
|
+
*/
|
|
848
|
+
tlsEnable?: pulumi.Input<number>;
|
|
849
|
+
/**
|
|
850
|
+
* Details of log field configuration. Works only on modified scenes.
|
|
851
|
+
*/
|
|
852
|
+
tlsFieldsConfig?: pulumi.Input<inputs.waf.WafDomainTlsFieldsConfig>;
|
|
853
|
+
/**
|
|
854
|
+
* When the protocol type is HTTPS, the bound certificate ID needs to be entered.
|
|
855
|
+
*/
|
|
856
|
+
volcCertificateId?: pulumi.Input<string>;
|
|
857
|
+
/**
|
|
858
|
+
* The ID of vpc.
|
|
859
|
+
*/
|
|
860
|
+
vpcId?: pulumi.Input<string>;
|
|
861
|
+
/**
|
|
862
|
+
* Whether to enable the vulnerability protection strategy. Works only on modified scenes.
|
|
863
|
+
*/
|
|
864
|
+
wafEnable?: pulumi.Input<number>;
|
|
865
|
+
/**
|
|
866
|
+
* Whether to enable the whitening strategy for vulnerability protection requests. Works only on modified scenes.
|
|
867
|
+
*/
|
|
868
|
+
wafWhiteReqEnable?: pulumi.Input<number>;
|
|
869
|
+
/**
|
|
870
|
+
* Whether to enable the access list policy. Works only on modified scenes.
|
|
871
|
+
*/
|
|
872
|
+
whiteEnable?: pulumi.Input<number>;
|
|
873
|
+
/**
|
|
874
|
+
* Whether to enable the whitening strategy for vulnerability protection fields. Works only on modified scenes.
|
|
875
|
+
*/
|
|
876
|
+
whiteFieldEnable?: pulumi.Input<number>;
|
|
877
|
+
}
|