@byteplus/pulumi-bytepluscc 0.0.42 → 0.0.45
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/README.md +7 -0
- package/cloudmonitor/contact.d.ts +116 -0
- package/cloudmonitor/contact.d.ts.map +1 -0
- package/cloudmonitor/contact.js +109 -0
- package/cloudmonitor/contact.js.map +1 -0
- package/cloudmonitor/getContact.d.ts +57 -0
- package/cloudmonitor/getContact.d.ts.map +1 -0
- package/cloudmonitor/getContact.js +51 -0
- package/cloudmonitor/getContact.js.map +1 -0
- package/cloudmonitor/getContacts.d.ts +23 -0
- package/cloudmonitor/getContacts.d.ts.map +1 -0
- package/cloudmonitor/getContacts.js +47 -0
- package/cloudmonitor/getContacts.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.d.ts.map +1 -1
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/ecs/getInstance.d.ts +1 -0
- package/ecs/getInstance.d.ts.map +1 -1
- package/ecs/getInstance.js.map +1 -1
- package/ecs/instance.d.ts +15 -0
- package/ecs/instance.d.ts.map +1 -1
- package/ecs/instance.js +5 -0
- package/ecs/instance.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +66 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +131 -0
- package/types/output.d.ts.map +1 -1
- package/waf/ccRule.d.ts +361 -0
- package/waf/ccRule.d.ts.map +1 -0
- package/waf/ccRule.js +185 -0
- package/waf/ccRule.js.map +1 -0
- package/waf/getCcRule.d.ts +138 -0
- package/waf/getCcRule.d.ts.map +1 -0
- package/waf/getCcRule.js +51 -0
- package/waf/getCcRule.js.map +1 -0
- package/waf/getCcRules.d.ts +23 -0
- package/waf/getCcRules.d.ts.map +1 -0
- package/waf/getCcRules.js +47 -0
- package/waf/getCcRules.js.map +1 -0
- package/waf/index.d.ts +9 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +12 -1
- package/waf/index.js.map +1 -1
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::WAF::CcRule
|
|
5
|
+
*/
|
|
6
|
+
export declare function getCcRule(args: GetCcRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetCcRuleResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getCcRule.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetCcRuleArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getCcRule.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCcRuleResult {
|
|
20
|
+
/**
|
|
21
|
+
* Advanced condition group. The current path Url and AccurateGroup are in an AND relationship; the rule takes effect only when both are matched. Do not pass this field if not enabled or the list is empty.
|
|
22
|
+
*/
|
|
23
|
+
readonly accurateGroup: outputs.waf.GetCcRuleAccurateGroup;
|
|
24
|
+
/**
|
|
25
|
+
* Action. 0: Observe; 1: Rate limit; 2: Block; 6: JS challenge; 7: CAPTCHA.
|
|
26
|
+
*/
|
|
27
|
+
readonly ccType: number;
|
|
28
|
+
/**
|
|
29
|
+
* Statistical time window, unit: seconds. Range: 5–1800.
|
|
30
|
+
*/
|
|
31
|
+
readonly countTime: number;
|
|
32
|
+
/**
|
|
33
|
+
* Scheduled activation configuration list. Required only when CronEnable=1.
|
|
34
|
+
*/
|
|
35
|
+
readonly cronConfs: outputs.waf.GetCcRuleCronConf[];
|
|
36
|
+
/**
|
|
37
|
+
* Scheduled activation switch. 0: Off (default); 1: On. If enabled, CronConfs must also be configured
|
|
38
|
+
*/
|
|
39
|
+
readonly cronEnable: number;
|
|
40
|
+
/**
|
|
41
|
+
* Custom response page ID. An empty string means not configured.
|
|
42
|
+
*/
|
|
43
|
+
readonly customResponsePageId: string;
|
|
44
|
+
/**
|
|
45
|
+
* Action duration. Unit: seconds. Range: 1–86400
|
|
46
|
+
*/
|
|
47
|
+
readonly effectTime: number;
|
|
48
|
+
/**
|
|
49
|
+
* Rule switch. 0: Off; 1: On
|
|
50
|
+
*/
|
|
51
|
+
readonly enable: number;
|
|
52
|
+
/**
|
|
53
|
+
* Exemption time for CAPTCHA or JS challenge. Unit: seconds. Range: 1–3600
|
|
54
|
+
*/
|
|
55
|
+
readonly exemptionTime: number;
|
|
56
|
+
/**
|
|
57
|
+
* Statistical object. Supports single or multiple fields, separated by commas. Up to 10 fields allowed. Basic format is DataType:Value, for example HEADER:Authorization, COOKIE:PHPSESSID, ARGS:device_id, CLIENTIP, JA3HASH, SESSION-ID, FP.
|
|
58
|
+
*/
|
|
59
|
+
readonly field: string;
|
|
60
|
+
/**
|
|
61
|
+
* Domain name. The website domain to protect. Make sure the domain has been added to the current WAF instance before calling
|
|
62
|
+
*/
|
|
63
|
+
readonly host: string;
|
|
64
|
+
/**
|
|
65
|
+
* Uniquely identifies the resource.
|
|
66
|
+
*/
|
|
67
|
+
readonly id: string;
|
|
68
|
+
/**
|
|
69
|
+
* Rule initial entry time.
|
|
70
|
+
*/
|
|
71
|
+
readonly insertTime: string;
|
|
72
|
+
/**
|
|
73
|
+
* Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, English period (.), underscore (_), and hyphen (-). Length: 1–128 characters.
|
|
74
|
+
*/
|
|
75
|
+
readonly name: string;
|
|
76
|
+
/**
|
|
77
|
+
* Overall threshold for the current path. Range: 1–300000, unit: times
|
|
78
|
+
*/
|
|
79
|
+
readonly pathThreshold: number;
|
|
80
|
+
/**
|
|
81
|
+
* Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated
|
|
82
|
+
*/
|
|
83
|
+
readonly projectName: string;
|
|
84
|
+
/**
|
|
85
|
+
* CC rule ID.
|
|
86
|
+
*/
|
|
87
|
+
readonly ruleId: string;
|
|
88
|
+
/**
|
|
89
|
+
* Rule priority. Range: 0–9, where 0 is the highest priority
|
|
90
|
+
*/
|
|
91
|
+
readonly rulePriority: number;
|
|
92
|
+
/**
|
|
93
|
+
* Rule display ID. The RuleTag prefix for CC rules is always E, for example E000000003624
|
|
94
|
+
*/
|
|
95
|
+
readonly ruleTag: string;
|
|
96
|
+
/**
|
|
97
|
+
* Threshold for a single statistical object. Range: 1–300000, unit: times.
|
|
98
|
+
*/
|
|
99
|
+
readonly singleThreshold: number;
|
|
100
|
+
/**
|
|
101
|
+
* Last rule update time.
|
|
102
|
+
*/
|
|
103
|
+
readonly updateTime: string;
|
|
104
|
+
/**
|
|
105
|
+
* URL match path. Supports wildcards * and ?, where * matches zero or more characters and ? matches a single character. When AccurateGroup exists, Url and AccurateGroup are in an AND relationship.
|
|
106
|
+
*/
|
|
107
|
+
readonly url: string;
|
|
108
|
+
/**
|
|
109
|
+
* Websocket traffic threshold. Unit specified by WSCdnUnit. Required only when WSCdnEnable=1
|
|
110
|
+
*/
|
|
111
|
+
readonly wsCdnByteThreshold: number;
|
|
112
|
+
/**
|
|
113
|
+
* Websocket traffic statistics switch. 0: Off (default); 1: On. If enabled, WSCdnByteThreshold/WSCdnFrameThreshold/WSCdnUnit must also be configured
|
|
114
|
+
*/
|
|
115
|
+
readonly wsCdnEnable: number;
|
|
116
|
+
/**
|
|
117
|
+
* Websocket connection frame threshold. Required only when WSCdnEnable=1.
|
|
118
|
+
*/
|
|
119
|
+
readonly wsCdnFrameThreshold: number;
|
|
120
|
+
/**
|
|
121
|
+
* Websocket traffic threshold unit. KB: kilobytes; MB: megabytes. Required only when WSCdnEnable=1
|
|
122
|
+
*/
|
|
123
|
+
readonly wsCdnUnit: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Data Source schema for Byteplus::WAF::CcRule
|
|
127
|
+
*/
|
|
128
|
+
export declare function getCcRuleOutput(args: GetCcRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCcRuleResult>;
|
|
129
|
+
/**
|
|
130
|
+
* A collection of arguments for invoking getCcRule.
|
|
131
|
+
*/
|
|
132
|
+
export interface GetCcRuleOutputArgs {
|
|
133
|
+
/**
|
|
134
|
+
* Uniquely identifies the resource.
|
|
135
|
+
*/
|
|
136
|
+
id: pulumi.Input<string>;
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=getCcRule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCcRule.d.ts","sourceRoot":"","sources":["../../waf/getCcRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,CAKpG;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,CAAC;IACpD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAA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IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
package/waf/getCcRule.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getCcRuleOutput = exports.getCcRule = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::WAF::CcRule
|
|
33
|
+
*/
|
|
34
|
+
function getCcRule(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:waf/getCcRule:getCcRule", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getCcRule = getCcRule;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::WAF::CcRule
|
|
43
|
+
*/
|
|
44
|
+
function getCcRuleOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:waf/getCcRule:getCcRule", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getCcRuleOutput = getCcRuleOutput;
|
|
51
|
+
//# sourceMappingURL=getCcRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCcRule.js","sourceRoot":"","sources":["../../waf/getCcRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAyHD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::WAF::CcRule
|
|
4
|
+
*/
|
|
5
|
+
export declare function getCcRules(opts?: pulumi.InvokeOptions): Promise<GetCcRulesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getCcRules.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetCcRulesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Byteplus::WAF::CcRule
|
|
21
|
+
*/
|
|
22
|
+
export declare function getCcRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCcRulesResult>;
|
|
23
|
+
//# sourceMappingURL=getCcRules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCcRules.d.ts","sourceRoot":"","sources":["../../waf/getCcRules.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAIjF;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAInG"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getCcRulesOutput = exports.getCcRules = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::WAF::CcRule
|
|
33
|
+
*/
|
|
34
|
+
function getCcRules(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:waf/getCcRules:getCcRules", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getCcRules = getCcRules;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::WAF::CcRule
|
|
41
|
+
*/
|
|
42
|
+
function getCcRulesOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:waf/getCcRules:getCcRules", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getCcRulesOutput = getCcRulesOutput;
|
|
47
|
+
//# sourceMappingURL=getCcRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCcRules.js","sourceRoot":"","sources":["../../waf/getCcRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gCAIC;AAeD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC"}
|
package/waf/index.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
export { CcRuleArgs, CcRuleState } from "./ccRule";
|
|
2
|
+
export type CcRule = import("./ccRule").CcRule;
|
|
3
|
+
export declare const CcRule: typeof import("./ccRule").CcRule;
|
|
1
4
|
export { DomainArgs, DomainState } from "./domain";
|
|
2
5
|
export type Domain = import("./domain").Domain;
|
|
3
6
|
export declare const Domain: typeof import("./domain").Domain;
|
|
7
|
+
export { GetCcRuleArgs, GetCcRuleResult, GetCcRuleOutputArgs } from "./getCcRule";
|
|
8
|
+
export declare const getCcRule: typeof import("./getCcRule").getCcRule;
|
|
9
|
+
export declare const getCcRuleOutput: typeof import("./getCcRule").getCcRuleOutput;
|
|
10
|
+
export { GetCcRulesResult } from "./getCcRules";
|
|
11
|
+
export declare const getCcRules: typeof import("./getCcRules").getCcRules;
|
|
12
|
+
export declare const getCcRulesOutput: typeof import("./getCcRules").getCcRulesOutput;
|
|
4
13
|
export { GetDomainArgs, GetDomainResult, GetDomainOutputArgs } from "./getDomain";
|
|
5
14
|
export declare const getDomain: typeof import("./getDomain").getDomain;
|
|
6
15
|
export declare const getDomainOutput: typeof import("./getDomain").getDomainOutput;
|
package/waf/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../waf/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACnD,MAAM,MAAM,MAAM,GAAG,OAAO,UAAU,EAAE,MAAM,CAAC;AAC/C,eAAO,MAAM,MAAM,EAAE,cAAc,UAAU,EAAE,MAAo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EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC;AACzF,eAAO,MAAM,mBAAmB,EAAE,cAAc,iBAAiB,EAAE,mBAAiC,CAAC;AAGrG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,EAAE,SAAS,CAAC;AACxD,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE,SAAuB,CAAC"}
|
package/waf/index.js
CHANGED
|
@@ -25,11 +25,19 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.HostGroup = exports.getHostGroupsOutput = exports.getHostGroups = exports.getHostGroupOutput = exports.getHostGroup = exports.getDomainsOutput = exports.getDomains = exports.getDomainOutput = exports.getDomain = exports.Domain = void 0;
|
|
28
|
+
exports.HostGroup = exports.getHostGroupsOutput = exports.getHostGroups = exports.getHostGroupOutput = exports.getHostGroup = exports.getDomainsOutput = exports.getDomains = exports.getDomainOutput = exports.getDomain = exports.getCcRulesOutput = exports.getCcRules = exports.getCcRuleOutput = exports.getCcRule = exports.Domain = exports.CcRule = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
exports.CcRule = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["CcRule"], () => require("./ccRule"));
|
|
31
33
|
exports.Domain = null;
|
|
32
34
|
utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
|
|
35
|
+
exports.getCcRule = null;
|
|
36
|
+
exports.getCcRuleOutput = null;
|
|
37
|
+
utilities.lazyLoad(exports, ["getCcRule", "getCcRuleOutput"], () => require("./getCcRule"));
|
|
38
|
+
exports.getCcRules = null;
|
|
39
|
+
exports.getCcRulesOutput = null;
|
|
40
|
+
utilities.lazyLoad(exports, ["getCcRules", "getCcRulesOutput"], () => require("./getCcRules"));
|
|
33
41
|
exports.getDomain = null;
|
|
34
42
|
exports.getDomainOutput = null;
|
|
35
43
|
utilities.lazyLoad(exports, ["getDomain", "getDomainOutput"], () => require("./getDomain"));
|
|
@@ -48,6 +56,8 @@ const _module = {
|
|
|
48
56
|
version: utilities.getVersion(),
|
|
49
57
|
construct: (name, type, urn) => {
|
|
50
58
|
switch (type) {
|
|
59
|
+
case "bytepluscc:waf/ccRule:CcRule":
|
|
60
|
+
return new exports.CcRule(name, undefined, { urn });
|
|
51
61
|
case "bytepluscc:waf/domain:Domain":
|
|
52
62
|
return new exports.Domain(name, undefined, { urn });
|
|
53
63
|
case "bytepluscc:waf/hostGroup:HostGroup":
|
|
@@ -57,6 +67,7 @@ const _module = {
|
|
|
57
67
|
}
|
|
58
68
|
},
|
|
59
69
|
};
|
|
70
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "waf/ccRule", _module);
|
|
60
71
|
pulumi.runtime.registerResourceModule("bytepluscc", "waf/domain", _module);
|
|
61
72
|
pulumi.runtime.registerResourceModule("bytepluscc", "waf/hostGroup", _module);
|
|
62
73
|
//# sourceMappingURL=index.js.map
|
package/waf/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../waf/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGtD,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,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