@pulumi/cloudngfwaws 0.0.1
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/LICENSE +177 -0
- package/README.md +54 -0
- package/account.d.ts +148 -0
- package/account.js +73 -0
- package/account.js.map +1 -0
- package/accountOnboarding.d.ts +68 -0
- package/accountOnboarding.js +62 -0
- package/accountOnboarding.js.map +1 -0
- package/accountOnboardingStack.d.ts +233 -0
- package/accountOnboardingStack.js +103 -0
- package/accountOnboardingStack.js.map +1 -0
- package/certificate.d.ts +168 -0
- package/certificate.js +106 -0
- package/certificate.js.map +1 -0
- package/commitRulestack.d.ts +123 -0
- package/commitRulestack.js +83 -0
- package/commitRulestack.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +96 -0
- package/config/vars.js +127 -0
- package/config/vars.js.map +1 -0
- package/customUrlCategory.d.ts +172 -0
- package/customUrlCategory.js +113 -0
- package/customUrlCategory.js.map +1 -0
- package/fqdnList.d.ts +159 -0
- package/fqdnList.js +110 -0
- package/fqdnList.js.map +1 -0
- package/getAccount.d.ts +138 -0
- package/getAccount.js +54 -0
- package/getAccount.js.map +1 -0
- package/getAccounts.d.ts +76 -0
- package/getAccounts.js +44 -0
- package/getAccounts.js.map +1 -0
- package/getAppIdVersion.d.ts +102 -0
- package/getAppIdVersion.js +62 -0
- package/getAppIdVersion.js.map +1 -0
- package/getAppIdVersions.d.ts +86 -0
- package/getAppIdVersions.js +58 -0
- package/getAppIdVersions.js.map +1 -0
- package/getCertificate.d.ts +148 -0
- package/getCertificate.js +86 -0
- package/getCertificate.js.map +1 -0
- package/getCountry.d.ts +88 -0
- package/getCountry.js +58 -0
- package/getCountry.js.map +1 -0
- package/getCustomUrlCategory.d.ts +148 -0
- package/getCustomUrlCategory.js +86 -0
- package/getCustomUrlCategory.js.map +1 -0
- package/getFqdnList.d.ts +144 -0
- package/getFqdnList.js +86 -0
- package/getFqdnList.js.map +1 -0
- package/getIntelligentFeed.d.ts +160 -0
- package/getIntelligentFeed.js +86 -0
- package/getIntelligentFeed.js.map +1 -0
- package/getNgfw.d.ts +146 -0
- package/getNgfw.js +60 -0
- package/getNgfw.js.map +1 -0
- package/getNgfwLogProfile.d.ts +101 -0
- package/getNgfwLogProfile.js +62 -0
- package/getNgfwLogProfile.js.map +1 -0
- package/getNgfws.d.ts +83 -0
- package/getNgfws.js +58 -0
- package/getNgfws.js.map +1 -0
- package/getPredefinedUrlCategories.d.ts +88 -0
- package/getPredefinedUrlCategories.js +60 -0
- package/getPredefinedUrlCategories.js.map +1 -0
- package/getPredefinedUrlCategoryOverride.d.ts +128 -0
- package/getPredefinedUrlCategoryOverride.js +84 -0
- package/getPredefinedUrlCategoryOverride.js.map +1 -0
- package/getPrefixList.d.ts +144 -0
- package/getPrefixList.js +86 -0
- package/getPrefixList.js.map +1 -0
- package/getRulestack.d.ts +128 -0
- package/getRulestack.js +64 -0
- package/getRulestack.js.map +1 -0
- package/getSecurityRule.d.ts +169 -0
- package/getSecurityRule.js +46 -0
- package/getSecurityRule.js.map +1 -0
- package/getValidateRulestack.d.ts +82 -0
- package/getValidateRulestack.js +40 -0
- package/getValidateRulestack.js.map +1 -0
- package/index.d.ts +102 -0
- package/index.js +158 -0
- package/index.js.map +1 -0
- package/intelligentFeed.d.ts +207 -0
- package/intelligentFeed.js +118 -0
- package/intelligentFeed.js.map +1 -0
- package/ngfw.d.ts +295 -0
- package/ngfw.js +153 -0
- package/ngfw.js.map +1 -0
- package/ngfwLogProfile.d.ts +191 -0
- package/ngfwLogProfile.js +149 -0
- package/ngfwLogProfile.js.map +1 -0
- package/package.json +32 -0
- package/predefinedUrlCategoryOverride.d.ts +130 -0
- package/predefinedUrlCategoryOverride.js +98 -0
- package/predefinedUrlCategoryOverride.js.map +1 -0
- package/prefixList.d.ts +159 -0
- package/prefixList.js +110 -0
- package/prefixList.js.map +1 -0
- package/provider.d.ts +192 -0
- package/provider.js +64 -0
- package/provider.js.map +1 -0
- package/rulestack.d.ts +184 -0
- package/rulestack.js +103 -0
- package/rulestack.js.map +1 -0
- package/securityRule.d.ts +344 -0
- package/securityRule.js +162 -0
- package/securityRule.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +174 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +313 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
package/types/input.d.ts
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export interface GetAccountsAccountDetail {
|
|
4
|
+
/**
|
|
5
|
+
* The account id.
|
|
6
|
+
*/
|
|
7
|
+
accountId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* External Id of the onboarded account
|
|
10
|
+
*/
|
|
11
|
+
externalId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Onboarding status of the account.
|
|
14
|
+
*/
|
|
15
|
+
onboardingStatus?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetAccountsAccountDetailArgs {
|
|
18
|
+
/**
|
|
19
|
+
* The account id.
|
|
20
|
+
*/
|
|
21
|
+
accountId?: pulumi.Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* External Id of the onboarded account
|
|
24
|
+
*/
|
|
25
|
+
externalId?: pulumi.Input<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Onboarding status of the account.
|
|
28
|
+
*/
|
|
29
|
+
onboardingStatus?: pulumi.Input<string>;
|
|
30
|
+
}
|
|
31
|
+
export interface NgfwLogProfileLogDestination {
|
|
32
|
+
/**
|
|
33
|
+
* The log destination details.
|
|
34
|
+
*/
|
|
35
|
+
destination?: pulumi.Input<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The log destination type. Valid values are `S3`, `CloudWatchLogs`, or `KinesisDataFirehose`.
|
|
38
|
+
*/
|
|
39
|
+
destinationType?: pulumi.Input<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The type of logs. Valid values are `TRAFFIC`, `THREAT`, or `DECRYPTION`.
|
|
42
|
+
*/
|
|
43
|
+
logType?: pulumi.Input<string>;
|
|
44
|
+
}
|
|
45
|
+
export interface NgfwStatus {
|
|
46
|
+
/**
|
|
47
|
+
* The firewall attachments.
|
|
48
|
+
*/
|
|
49
|
+
attachments?: pulumi.Input<pulumi.Input<inputs.NgfwStatusAttachment>[]>;
|
|
50
|
+
/**
|
|
51
|
+
* The firewall failure reason.
|
|
52
|
+
*/
|
|
53
|
+
failureReason?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The firewall status.
|
|
56
|
+
*/
|
|
57
|
+
firewallStatus?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The rulestack status.
|
|
60
|
+
*/
|
|
61
|
+
rulestackStatus?: pulumi.Input<string>;
|
|
62
|
+
}
|
|
63
|
+
export interface NgfwStatusAttachment {
|
|
64
|
+
/**
|
|
65
|
+
* The endpoint id.
|
|
66
|
+
*/
|
|
67
|
+
endpointId?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The reject reason.
|
|
70
|
+
*/
|
|
71
|
+
rejectedReason?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The attachment status.
|
|
74
|
+
*/
|
|
75
|
+
status?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The subnet id.
|
|
78
|
+
*/
|
|
79
|
+
subnetId?: pulumi.Input<string>;
|
|
80
|
+
}
|
|
81
|
+
export interface NgfwSubnetMapping {
|
|
82
|
+
/**
|
|
83
|
+
* The availability zone, for when the endpoint mode is customer managed.
|
|
84
|
+
*/
|
|
85
|
+
availabilityZone?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The availability zone ID, for when the endpoint mode is customer managed.
|
|
88
|
+
*/
|
|
89
|
+
availabilityZoneId?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The subnet id, for when the endpoint mode is service managed.
|
|
92
|
+
*/
|
|
93
|
+
subnetId?: pulumi.Input<string>;
|
|
94
|
+
}
|
|
95
|
+
export interface RulestackProfileConfig {
|
|
96
|
+
/**
|
|
97
|
+
* Anti-spyware profile setting. Defaults to `BestPractice`.
|
|
98
|
+
*/
|
|
99
|
+
antiSpyware?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Anti-virus profile setting. Defaults to `BestPractice`.
|
|
102
|
+
*/
|
|
103
|
+
antiVirus?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* File blocking profile setting. Defaults to `BestPractice`.
|
|
106
|
+
*/
|
|
107
|
+
fileBlocking?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Outbound trust certificate.
|
|
110
|
+
*/
|
|
111
|
+
outboundTrustCertificate?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Outbound untrust certificate.
|
|
114
|
+
*/
|
|
115
|
+
outboundUntrustCertificate?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* URL filtering profile setting. Defaults to `None`.
|
|
118
|
+
*/
|
|
119
|
+
urlFiltering?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Vulnerability profile setting. Defaults to `BestPractice`.
|
|
122
|
+
*/
|
|
123
|
+
vulnerability?: pulumi.Input<string>;
|
|
124
|
+
}
|
|
125
|
+
export interface SecurityRuleCategory {
|
|
126
|
+
/**
|
|
127
|
+
* List of feeds.
|
|
128
|
+
*/
|
|
129
|
+
feeds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
130
|
+
/**
|
|
131
|
+
* List of URL category names.
|
|
132
|
+
*/
|
|
133
|
+
urlCategoryNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
134
|
+
}
|
|
135
|
+
export interface SecurityRuleDestination {
|
|
136
|
+
/**
|
|
137
|
+
* List of CIDRs.
|
|
138
|
+
*/
|
|
139
|
+
cidrs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
140
|
+
/**
|
|
141
|
+
* List of countries.
|
|
142
|
+
*/
|
|
143
|
+
countries?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
|
+
/**
|
|
145
|
+
* List of feeds.
|
|
146
|
+
*/
|
|
147
|
+
feeds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
148
|
+
/**
|
|
149
|
+
* List of FQDN lists.
|
|
150
|
+
*/
|
|
151
|
+
fqdnLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
152
|
+
/**
|
|
153
|
+
* List of prefix list.
|
|
154
|
+
*/
|
|
155
|
+
prefixLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
156
|
+
}
|
|
157
|
+
export interface SecurityRuleSource {
|
|
158
|
+
/**
|
|
159
|
+
* List of CIDRs.
|
|
160
|
+
*/
|
|
161
|
+
cidrs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
162
|
+
/**
|
|
163
|
+
* List of countries.
|
|
164
|
+
*/
|
|
165
|
+
countries?: pulumi.Input<pulumi.Input<string>[]>;
|
|
166
|
+
/**
|
|
167
|
+
* List of feeds.
|
|
168
|
+
*/
|
|
169
|
+
feeds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
170
|
+
/**
|
|
171
|
+
* List of prefix list.
|
|
172
|
+
*/
|
|
173
|
+
prefixLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
174
|
+
}
|
package/types/input.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
|
+
export interface GetAccountsAccountDetail {
|
|
3
|
+
/**
|
|
4
|
+
* The account id.
|
|
5
|
+
*/
|
|
6
|
+
accountId: string;
|
|
7
|
+
/**
|
|
8
|
+
* External Id of the onboarded account
|
|
9
|
+
*/
|
|
10
|
+
externalId: string;
|
|
11
|
+
/**
|
|
12
|
+
* Onboarding status of the account.
|
|
13
|
+
*/
|
|
14
|
+
onboardingStatus: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetNgfwLogProfileLogDestination {
|
|
17
|
+
/**
|
|
18
|
+
* The log destination details.
|
|
19
|
+
*/
|
|
20
|
+
destination: string;
|
|
21
|
+
/**
|
|
22
|
+
* The log destination type. Valid values are `S3`, `CloudWatchLogs`, or `KinesisDataFirehose`.
|
|
23
|
+
*/
|
|
24
|
+
destinationType: string;
|
|
25
|
+
/**
|
|
26
|
+
* The type of logs. Valid values are `TRAFFIC`, `THREAT`, or `DECRYPTION`.
|
|
27
|
+
*/
|
|
28
|
+
logType: string;
|
|
29
|
+
}
|
|
30
|
+
export interface GetNgfwStatus {
|
|
31
|
+
/**
|
|
32
|
+
* The firewall attachments.
|
|
33
|
+
*/
|
|
34
|
+
attachments: outputs.GetNgfwStatusAttachment[];
|
|
35
|
+
/**
|
|
36
|
+
* The firewall failure reason.
|
|
37
|
+
*/
|
|
38
|
+
failureReason: string;
|
|
39
|
+
/**
|
|
40
|
+
* The firewall status.
|
|
41
|
+
*/
|
|
42
|
+
firewallStatus: string;
|
|
43
|
+
/**
|
|
44
|
+
* The rulestack status.
|
|
45
|
+
*/
|
|
46
|
+
rulestackStatus: string;
|
|
47
|
+
}
|
|
48
|
+
export interface GetNgfwStatusAttachment {
|
|
49
|
+
/**
|
|
50
|
+
* The endpoint id.
|
|
51
|
+
*/
|
|
52
|
+
endpointId: string;
|
|
53
|
+
/**
|
|
54
|
+
* The reject reason.
|
|
55
|
+
*/
|
|
56
|
+
rejectedReason: string;
|
|
57
|
+
/**
|
|
58
|
+
* The attachment status.
|
|
59
|
+
*/
|
|
60
|
+
status: string;
|
|
61
|
+
/**
|
|
62
|
+
* The subnet id.
|
|
63
|
+
*/
|
|
64
|
+
subnetId: string;
|
|
65
|
+
}
|
|
66
|
+
export interface GetNgfwSubnetMapping {
|
|
67
|
+
/**
|
|
68
|
+
* The availability zone, for when the endpoint mode is customer managed.
|
|
69
|
+
*/
|
|
70
|
+
availabilityZone: string;
|
|
71
|
+
/**
|
|
72
|
+
* The availability zone ID, for when the endpoint mode is customer managed.
|
|
73
|
+
*/
|
|
74
|
+
availabilityZoneId: string;
|
|
75
|
+
/**
|
|
76
|
+
* The subnet id, for when the endpoint mode is service managed.
|
|
77
|
+
*/
|
|
78
|
+
subnetId: string;
|
|
79
|
+
}
|
|
80
|
+
export interface GetNgfwsInstance {
|
|
81
|
+
/**
|
|
82
|
+
* The account id.
|
|
83
|
+
*/
|
|
84
|
+
accountId: string;
|
|
85
|
+
/**
|
|
86
|
+
* The NGFW name.
|
|
87
|
+
*/
|
|
88
|
+
name: string;
|
|
89
|
+
}
|
|
90
|
+
export interface GetRulestackProfileConfig {
|
|
91
|
+
/**
|
|
92
|
+
* Anti-spyware profile setting.
|
|
93
|
+
*/
|
|
94
|
+
antiSpyware: string;
|
|
95
|
+
/**
|
|
96
|
+
* Anti-virus profile setting.
|
|
97
|
+
*/
|
|
98
|
+
antiVirus: string;
|
|
99
|
+
/**
|
|
100
|
+
* File blocking profile setting.
|
|
101
|
+
*/
|
|
102
|
+
fileBlocking: string;
|
|
103
|
+
/**
|
|
104
|
+
* Outbound trust certificate.
|
|
105
|
+
*/
|
|
106
|
+
outboundTrustCertificate: string;
|
|
107
|
+
/**
|
|
108
|
+
* Outbound untrust certificate.
|
|
109
|
+
*/
|
|
110
|
+
outboundUntrustCertificate: string;
|
|
111
|
+
/**
|
|
112
|
+
* URL filtering profile setting.
|
|
113
|
+
*/
|
|
114
|
+
urlFiltering: string;
|
|
115
|
+
/**
|
|
116
|
+
* Vulnerability profile setting.
|
|
117
|
+
*/
|
|
118
|
+
vulnerability: string;
|
|
119
|
+
}
|
|
120
|
+
export interface GetSecurityRuleCategory {
|
|
121
|
+
/**
|
|
122
|
+
* List of feeds.
|
|
123
|
+
*/
|
|
124
|
+
feeds: string[];
|
|
125
|
+
/**
|
|
126
|
+
* List of URL category names.
|
|
127
|
+
*/
|
|
128
|
+
urlCategoryNames: string[];
|
|
129
|
+
}
|
|
130
|
+
export interface GetSecurityRuleDestination {
|
|
131
|
+
/**
|
|
132
|
+
* List of CIDRs.
|
|
133
|
+
*/
|
|
134
|
+
cidrs: string[];
|
|
135
|
+
/**
|
|
136
|
+
* List of countries.
|
|
137
|
+
*/
|
|
138
|
+
countries: string[];
|
|
139
|
+
/**
|
|
140
|
+
* List of feeds.
|
|
141
|
+
*/
|
|
142
|
+
feeds: string[];
|
|
143
|
+
/**
|
|
144
|
+
* List of FQDN lists.
|
|
145
|
+
*/
|
|
146
|
+
fqdnLists: string[];
|
|
147
|
+
/**
|
|
148
|
+
* List of prefix list.
|
|
149
|
+
*/
|
|
150
|
+
prefixLists: string[];
|
|
151
|
+
}
|
|
152
|
+
export interface GetSecurityRuleSource {
|
|
153
|
+
/**
|
|
154
|
+
* List of CIDRs.
|
|
155
|
+
*/
|
|
156
|
+
cidrs: string[];
|
|
157
|
+
/**
|
|
158
|
+
* List of countries.
|
|
159
|
+
*/
|
|
160
|
+
countries: string[];
|
|
161
|
+
/**
|
|
162
|
+
* List of feeds.
|
|
163
|
+
*/
|
|
164
|
+
feeds: string[];
|
|
165
|
+
/**
|
|
166
|
+
* List of prefix list.
|
|
167
|
+
*/
|
|
168
|
+
prefixLists: string[];
|
|
169
|
+
}
|
|
170
|
+
export interface NgfwLogProfileLogDestination {
|
|
171
|
+
/**
|
|
172
|
+
* The log destination details.
|
|
173
|
+
*/
|
|
174
|
+
destination?: string;
|
|
175
|
+
/**
|
|
176
|
+
* The log destination type. Valid values are `S3`, `CloudWatchLogs`, or `KinesisDataFirehose`.
|
|
177
|
+
*/
|
|
178
|
+
destinationType?: string;
|
|
179
|
+
/**
|
|
180
|
+
* The type of logs. Valid values are `TRAFFIC`, `THREAT`, or `DECRYPTION`.
|
|
181
|
+
*/
|
|
182
|
+
logType?: string;
|
|
183
|
+
}
|
|
184
|
+
export interface NgfwStatus {
|
|
185
|
+
/**
|
|
186
|
+
* The firewall attachments.
|
|
187
|
+
*/
|
|
188
|
+
attachments: outputs.NgfwStatusAttachment[];
|
|
189
|
+
/**
|
|
190
|
+
* The firewall failure reason.
|
|
191
|
+
*/
|
|
192
|
+
failureReason: string;
|
|
193
|
+
/**
|
|
194
|
+
* The firewall status.
|
|
195
|
+
*/
|
|
196
|
+
firewallStatus: string;
|
|
197
|
+
/**
|
|
198
|
+
* The rulestack status.
|
|
199
|
+
*/
|
|
200
|
+
rulestackStatus: string;
|
|
201
|
+
}
|
|
202
|
+
export interface NgfwStatusAttachment {
|
|
203
|
+
/**
|
|
204
|
+
* The endpoint id.
|
|
205
|
+
*/
|
|
206
|
+
endpointId: string;
|
|
207
|
+
/**
|
|
208
|
+
* The reject reason.
|
|
209
|
+
*/
|
|
210
|
+
rejectedReason: string;
|
|
211
|
+
/**
|
|
212
|
+
* The attachment status.
|
|
213
|
+
*/
|
|
214
|
+
status: string;
|
|
215
|
+
/**
|
|
216
|
+
* The subnet id.
|
|
217
|
+
*/
|
|
218
|
+
subnetId: string;
|
|
219
|
+
}
|
|
220
|
+
export interface NgfwSubnetMapping {
|
|
221
|
+
/**
|
|
222
|
+
* The availability zone, for when the endpoint mode is customer managed.
|
|
223
|
+
*/
|
|
224
|
+
availabilityZone: string;
|
|
225
|
+
/**
|
|
226
|
+
* The availability zone ID, for when the endpoint mode is customer managed.
|
|
227
|
+
*/
|
|
228
|
+
availabilityZoneId: string;
|
|
229
|
+
/**
|
|
230
|
+
* The subnet id, for when the endpoint mode is service managed.
|
|
231
|
+
*/
|
|
232
|
+
subnetId?: string;
|
|
233
|
+
}
|
|
234
|
+
export interface RulestackProfileConfig {
|
|
235
|
+
/**
|
|
236
|
+
* Anti-spyware profile setting. Defaults to `BestPractice`.
|
|
237
|
+
*/
|
|
238
|
+
antiSpyware?: string;
|
|
239
|
+
/**
|
|
240
|
+
* Anti-virus profile setting. Defaults to `BestPractice`.
|
|
241
|
+
*/
|
|
242
|
+
antiVirus?: string;
|
|
243
|
+
/**
|
|
244
|
+
* File blocking profile setting. Defaults to `BestPractice`.
|
|
245
|
+
*/
|
|
246
|
+
fileBlocking?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Outbound trust certificate.
|
|
249
|
+
*/
|
|
250
|
+
outboundTrustCertificate?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Outbound untrust certificate.
|
|
253
|
+
*/
|
|
254
|
+
outboundUntrustCertificate?: string;
|
|
255
|
+
/**
|
|
256
|
+
* URL filtering profile setting. Defaults to `None`.
|
|
257
|
+
*/
|
|
258
|
+
urlFiltering?: string;
|
|
259
|
+
/**
|
|
260
|
+
* Vulnerability profile setting. Defaults to `BestPractice`.
|
|
261
|
+
*/
|
|
262
|
+
vulnerability?: string;
|
|
263
|
+
}
|
|
264
|
+
export interface SecurityRuleCategory {
|
|
265
|
+
/**
|
|
266
|
+
* List of feeds.
|
|
267
|
+
*/
|
|
268
|
+
feeds?: string[];
|
|
269
|
+
/**
|
|
270
|
+
* List of URL category names.
|
|
271
|
+
*/
|
|
272
|
+
urlCategoryNames?: string[];
|
|
273
|
+
}
|
|
274
|
+
export interface SecurityRuleDestination {
|
|
275
|
+
/**
|
|
276
|
+
* List of CIDRs.
|
|
277
|
+
*/
|
|
278
|
+
cidrs?: string[];
|
|
279
|
+
/**
|
|
280
|
+
* List of countries.
|
|
281
|
+
*/
|
|
282
|
+
countries?: string[];
|
|
283
|
+
/**
|
|
284
|
+
* List of feeds.
|
|
285
|
+
*/
|
|
286
|
+
feeds?: string[];
|
|
287
|
+
/**
|
|
288
|
+
* List of FQDN lists.
|
|
289
|
+
*/
|
|
290
|
+
fqdnLists?: string[];
|
|
291
|
+
/**
|
|
292
|
+
* List of prefix list.
|
|
293
|
+
*/
|
|
294
|
+
prefixLists?: string[];
|
|
295
|
+
}
|
|
296
|
+
export interface SecurityRuleSource {
|
|
297
|
+
/**
|
|
298
|
+
* List of CIDRs.
|
|
299
|
+
*/
|
|
300
|
+
cidrs?: string[];
|
|
301
|
+
/**
|
|
302
|
+
* List of countries.
|
|
303
|
+
*/
|
|
304
|
+
countries?: string[];
|
|
305
|
+
/**
|
|
306
|
+
* List of feeds.
|
|
307
|
+
*/
|
|
308
|
+
feeds?: string[];
|
|
309
|
+
/**
|
|
310
|
+
* List of prefix list.
|
|
311
|
+
*/
|
|
312
|
+
prefixLists?: string[];
|
|
313
|
+
}
|
package/types/output.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
|
package/utilities.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getEnv(...vars: string[]): string | undefined;
|
|
3
|
+
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
4
|
+
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
5
|
+
export declare function getVersion(): string;
|
|
6
|
+
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
+
property?: string;
|
|
8
|
+
}): Promise<T>;
|
package/utilities.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
|
+
const runtime = require("@pulumi/pulumi/runtime");
|
|
16
|
+
function getEnv(...vars) {
|
|
17
|
+
for (const v of vars) {
|
|
18
|
+
const value = process.env[v];
|
|
19
|
+
if (value) {
|
|
20
|
+
return value;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
exports.getEnv = getEnv;
|
|
26
|
+
function getEnvBoolean(...vars) {
|
|
27
|
+
const s = getEnv(...vars);
|
|
28
|
+
if (s !== undefined) {
|
|
29
|
+
// NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
|
30
|
+
// Terraform uses internally when parsing boolean values.
|
|
31
|
+
if (["1", "t", "T", "true", "TRUE", "True"].find(v => v === s) !== undefined) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
if (["0", "f", "F", "false", "FALSE", "False"].find(v => v === s) !== undefined) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
exports.getEnvBoolean = getEnvBoolean;
|
|
41
|
+
function getEnvNumber(...vars) {
|
|
42
|
+
const s = getEnv(...vars);
|
|
43
|
+
if (s !== undefined) {
|
|
44
|
+
const f = parseFloat(s);
|
|
45
|
+
if (!isNaN(f)) {
|
|
46
|
+
return f;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
exports.getEnvNumber = getEnvNumber;
|
|
52
|
+
function getVersion() {
|
|
53
|
+
let version = require('./package.json').version;
|
|
54
|
+
// Node allows for the version to be prefixed by a "v", while semver doesn't.
|
|
55
|
+
// If there is a v, strip it off.
|
|
56
|
+
if (version.indexOf('v') === 0) {
|
|
57
|
+
version = version.slice(1);
|
|
58
|
+
}
|
|
59
|
+
return version;
|
|
60
|
+
}
|
|
61
|
+
exports.getVersion = getVersion;
|
|
62
|
+
/** @internal */
|
|
63
|
+
function resourceOptsDefaults() {
|
|
64
|
+
return { version: getVersion(), pluginDownloadURL: "github://api.github.com/pulumi/pulumi-cloudngfwaws" };
|
|
65
|
+
}
|
|
66
|
+
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
67
|
+
/** @internal */
|
|
68
|
+
function lazyLoad(exports, props, loadModule) {
|
|
69
|
+
for (let property of props) {
|
|
70
|
+
Object.defineProperty(exports, property, {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () {
|
|
73
|
+
return loadModule()[property];
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.lazyLoad = lazyLoad;
|
|
79
|
+
function callAsync(tok, props, res, opts) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const o = runtime.call(tok, props, res);
|
|
82
|
+
const value = yield o.promise(true /*withUnknowns*/);
|
|
83
|
+
const isKnown = yield o.isKnown;
|
|
84
|
+
const isSecret = yield o.isSecret;
|
|
85
|
+
const problem = !isKnown ? "an unknown value"
|
|
86
|
+
: isSecret ? "a secret value"
|
|
87
|
+
: undefined;
|
|
88
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
89
|
+
if (problem) {
|
|
90
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
91
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
92
|
+
}
|
|
93
|
+
// Extract a single property if requested.
|
|
94
|
+
if (opts && opts.property) {
|
|
95
|
+
return value[opts.property];
|
|
96
|
+
}
|
|
97
|
+
return value;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
exports.callAsync = callAsync;
|
|
101
|
+
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAGjF,kDAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAA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