generated from pulumi/pulumi-tf-provider-boilerplate
/
ruleBlacklist.go
499 lines (443 loc) · 20.8 KB
/
ruleBlacklist.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package waf
import (
"context"
"reflect"
"github.com/pkg/errors"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
// Manages a WAF blacklist and whitelist rule resource within HuaweiCloud.
//
// > **NOTE:** All WAF resources depend on WAF instances, and the WAF instances need to be purchased before they can be
// used. The blacklist and whitelist rule resource can be used in Cloud Mode, Dedicated Mode and ELB Mode.
//
// ## Example Usage
// ### WAF rule blacklist and whitelist with ip address
//
// ```go
// package main
//
// import (
//
// "github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Waf"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
//
// )
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// cfg := config.New(ctx, "")
// policyId := cfg.RequireObject("policyId")
// _, err := Waf.NewRuleBlacklist(ctx, "rule", &Waf.RuleBlacklistArgs{
// PolicyId: pulumi.Any(policyId),
// IpAddress: pulumi.String("192.168.0.0/24"),
// Action: pulumi.Int(0),
// Description: pulumi.String("test description"),
// })
// if err != nil {
// return err
// }
// return nil
// })
// }
//
// ```
// ### WAF rule blacklist and whitelist with address group
//
// ```go
// package main
//
// import (
//
// "github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Waf"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
//
// )
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// cfg := config.New(ctx, "")
// policyId := cfg.RequireObject("policyId")
// addressGroupId := cfg.RequireObject("addressGroupId")
// enterpriseProjectId := cfg.RequireObject("enterpriseProjectId")
// _, err := Waf.NewRuleBlacklist(ctx, "rule", &Waf.RuleBlacklistArgs{
// PolicyId: pulumi.Any(policyId),
// AddressGroupId: pulumi.Any(addressGroupId),
// EnterpriseProjectId: pulumi.Any(enterpriseProjectId),
// Action: pulumi.Int(1),
// Description: pulumi.String("test description"),
// })
// if err != nil {
// return err
// }
// return nil
// })
// }
//
// ```
//
// ## Import
//
// There are two ways to import WAF rule blacklist state. * Using `policy_id` and `rule_id`, separated by a slash, e.g. bash
//
// ```sh
//
// $ pulumi import huaweicloud:Waf/ruleBlacklist:RuleBlacklist test <policy_id>/<rule_id>
//
// ```
//
// - Using `policy_id`, `rule_id` and `enterprise_project_id`, separated by slashes, e.g. bash
//
// ```sh
//
// $ pulumi import huaweicloud:Waf/ruleBlacklist:RuleBlacklist test <policy_id>/<rule_id>/<enterprise_project_id>
//
// ```
type RuleBlacklist struct {
pulumi.CustomResourceState
// Specifies the protective action. Defaults is `0`. The value can be:
// + `0`: block the request.
// + `1`: allow the request.
// + `2`: log the request only.
Action pulumi.IntPtrOutput `pulumi:"action"`
// Specifies the WAF address group id.
// This parameter is required when `ipAddress` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
AddressGroupId pulumi.StringPtrOutput `pulumi:"addressGroupId"`
// The name of the IP address group.
AddressGroupName pulumi.StringOutput `pulumi:"addressGroupName"`
// The number of IP addresses or IP address ranges in the IP address group.
AddressGroupSize pulumi.IntOutput `pulumi:"addressGroupSize"`
// Specifies the rule description of the WAF address group.
Description pulumi.StringPtrOutput `pulumi:"description"`
// Specifies the enterprise project ID of WAF rule blacklist
// and whitelist. Changing this parameter will create a new resource.
EnterpriseProjectId pulumi.StringPtrOutput `pulumi:"enterpriseProjectId"`
// Specifies the IP address or range. For example, 192.168.0.125 or 192.168.0.0/24.
// This parameter is required when `addressGroupId` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
IpAddress pulumi.StringPtrOutput `pulumi:"ipAddress"`
// Specifies the Rule name. The value can contain a maximum of 64 characters.
// Only letters, digits, hyphens (-), underscores (_) and periods (.) are allowed.
Name pulumi.StringOutput `pulumi:"name"`
// Specifies the WAF policy ID. Changing this creates a new rule. Please make
// sure that the region which the policy belongs to be consistent with the `region`.
PolicyId pulumi.StringOutput `pulumi:"policyId"`
// The region in which to create the WAF blacklist and whitelist rule resource.
// If omitted, the provider-level region will be used. Changing this setting will push a new certificate.
Region pulumi.StringOutput `pulumi:"region"`
}
// NewRuleBlacklist registers a new resource with the given unique name, arguments, and options.
func NewRuleBlacklist(ctx *pulumi.Context,
name string, args *RuleBlacklistArgs, opts ...pulumi.ResourceOption) (*RuleBlacklist, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.PolicyId == nil {
return nil, errors.New("invalid value for required argument 'PolicyId'")
}
opts = pkgResourceDefaultOpts(opts)
var resource RuleBlacklist
err := ctx.RegisterResource("huaweicloud:Waf/ruleBlacklist:RuleBlacklist", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetRuleBlacklist gets an existing RuleBlacklist resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetRuleBlacklist(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *RuleBlacklistState, opts ...pulumi.ResourceOption) (*RuleBlacklist, error) {
var resource RuleBlacklist
err := ctx.ReadResource("huaweicloud:Waf/ruleBlacklist:RuleBlacklist", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering RuleBlacklist resources.
type ruleBlacklistState struct {
// Specifies the protective action. Defaults is `0`. The value can be:
// + `0`: block the request.
// + `1`: allow the request.
// + `2`: log the request only.
Action *int `pulumi:"action"`
// Specifies the WAF address group id.
// This parameter is required when `ipAddress` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
AddressGroupId *string `pulumi:"addressGroupId"`
// The name of the IP address group.
AddressGroupName *string `pulumi:"addressGroupName"`
// The number of IP addresses or IP address ranges in the IP address group.
AddressGroupSize *int `pulumi:"addressGroupSize"`
// Specifies the rule description of the WAF address group.
Description *string `pulumi:"description"`
// Specifies the enterprise project ID of WAF rule blacklist
// and whitelist. Changing this parameter will create a new resource.
EnterpriseProjectId *string `pulumi:"enterpriseProjectId"`
// Specifies the IP address or range. For example, 192.168.0.125 or 192.168.0.0/24.
// This parameter is required when `addressGroupId` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
IpAddress *string `pulumi:"ipAddress"`
// Specifies the Rule name. The value can contain a maximum of 64 characters.
// Only letters, digits, hyphens (-), underscores (_) and periods (.) are allowed.
Name *string `pulumi:"name"`
// Specifies the WAF policy ID. Changing this creates a new rule. Please make
// sure that the region which the policy belongs to be consistent with the `region`.
PolicyId *string `pulumi:"policyId"`
// The region in which to create the WAF blacklist and whitelist rule resource.
// If omitted, the provider-level region will be used. Changing this setting will push a new certificate.
Region *string `pulumi:"region"`
}
type RuleBlacklistState struct {
// Specifies the protective action. Defaults is `0`. The value can be:
// + `0`: block the request.
// + `1`: allow the request.
// + `2`: log the request only.
Action pulumi.IntPtrInput
// Specifies the WAF address group id.
// This parameter is required when `ipAddress` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
AddressGroupId pulumi.StringPtrInput
// The name of the IP address group.
AddressGroupName pulumi.StringPtrInput
// The number of IP addresses or IP address ranges in the IP address group.
AddressGroupSize pulumi.IntPtrInput
// Specifies the rule description of the WAF address group.
Description pulumi.StringPtrInput
// Specifies the enterprise project ID of WAF rule blacklist
// and whitelist. Changing this parameter will create a new resource.
EnterpriseProjectId pulumi.StringPtrInput
// Specifies the IP address or range. For example, 192.168.0.125 or 192.168.0.0/24.
// This parameter is required when `addressGroupId` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
IpAddress pulumi.StringPtrInput
// Specifies the Rule name. The value can contain a maximum of 64 characters.
// Only letters, digits, hyphens (-), underscores (_) and periods (.) are allowed.
Name pulumi.StringPtrInput
// Specifies the WAF policy ID. Changing this creates a new rule. Please make
// sure that the region which the policy belongs to be consistent with the `region`.
PolicyId pulumi.StringPtrInput
// The region in which to create the WAF blacklist and whitelist rule resource.
// If omitted, the provider-level region will be used. Changing this setting will push a new certificate.
Region pulumi.StringPtrInput
}
func (RuleBlacklistState) ElementType() reflect.Type {
return reflect.TypeOf((*ruleBlacklistState)(nil)).Elem()
}
type ruleBlacklistArgs struct {
// Specifies the protective action. Defaults is `0`. The value can be:
// + `0`: block the request.
// + `1`: allow the request.
// + `2`: log the request only.
Action *int `pulumi:"action"`
// Specifies the WAF address group id.
// This parameter is required when `ipAddress` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
AddressGroupId *string `pulumi:"addressGroupId"`
// Specifies the rule description of the WAF address group.
Description *string `pulumi:"description"`
// Specifies the enterprise project ID of WAF rule blacklist
// and whitelist. Changing this parameter will create a new resource.
EnterpriseProjectId *string `pulumi:"enterpriseProjectId"`
// Specifies the IP address or range. For example, 192.168.0.125 or 192.168.0.0/24.
// This parameter is required when `addressGroupId` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
IpAddress *string `pulumi:"ipAddress"`
// Specifies the Rule name. The value can contain a maximum of 64 characters.
// Only letters, digits, hyphens (-), underscores (_) and periods (.) are allowed.
Name *string `pulumi:"name"`
// Specifies the WAF policy ID. Changing this creates a new rule. Please make
// sure that the region which the policy belongs to be consistent with the `region`.
PolicyId string `pulumi:"policyId"`
// The region in which to create the WAF blacklist and whitelist rule resource.
// If omitted, the provider-level region will be used. Changing this setting will push a new certificate.
Region *string `pulumi:"region"`
}
// The set of arguments for constructing a RuleBlacklist resource.
type RuleBlacklistArgs struct {
// Specifies the protective action. Defaults is `0`. The value can be:
// + `0`: block the request.
// + `1`: allow the request.
// + `2`: log the request only.
Action pulumi.IntPtrInput
// Specifies the WAF address group id.
// This parameter is required when `ipAddress` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
AddressGroupId pulumi.StringPtrInput
// Specifies the rule description of the WAF address group.
Description pulumi.StringPtrInput
// Specifies the enterprise project ID of WAF rule blacklist
// and whitelist. Changing this parameter will create a new resource.
EnterpriseProjectId pulumi.StringPtrInput
// Specifies the IP address or range. For example, 192.168.0.125 or 192.168.0.0/24.
// This parameter is required when `addressGroupId` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
IpAddress pulumi.StringPtrInput
// Specifies the Rule name. The value can contain a maximum of 64 characters.
// Only letters, digits, hyphens (-), underscores (_) and periods (.) are allowed.
Name pulumi.StringPtrInput
// Specifies the WAF policy ID. Changing this creates a new rule. Please make
// sure that the region which the policy belongs to be consistent with the `region`.
PolicyId pulumi.StringInput
// The region in which to create the WAF blacklist and whitelist rule resource.
// If omitted, the provider-level region will be used. Changing this setting will push a new certificate.
Region pulumi.StringPtrInput
}
func (RuleBlacklistArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ruleBlacklistArgs)(nil)).Elem()
}
type RuleBlacklistInput interface {
pulumi.Input
ToRuleBlacklistOutput() RuleBlacklistOutput
ToRuleBlacklistOutputWithContext(ctx context.Context) RuleBlacklistOutput
}
func (*RuleBlacklist) ElementType() reflect.Type {
return reflect.TypeOf((**RuleBlacklist)(nil)).Elem()
}
func (i *RuleBlacklist) ToRuleBlacklistOutput() RuleBlacklistOutput {
return i.ToRuleBlacklistOutputWithContext(context.Background())
}
func (i *RuleBlacklist) ToRuleBlacklistOutputWithContext(ctx context.Context) RuleBlacklistOutput {
return pulumi.ToOutputWithContext(ctx, i).(RuleBlacklistOutput)
}
// RuleBlacklistArrayInput is an input type that accepts RuleBlacklistArray and RuleBlacklistArrayOutput values.
// You can construct a concrete instance of `RuleBlacklistArrayInput` via:
//
// RuleBlacklistArray{ RuleBlacklistArgs{...} }
type RuleBlacklistArrayInput interface {
pulumi.Input
ToRuleBlacklistArrayOutput() RuleBlacklistArrayOutput
ToRuleBlacklistArrayOutputWithContext(context.Context) RuleBlacklistArrayOutput
}
type RuleBlacklistArray []RuleBlacklistInput
func (RuleBlacklistArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]*RuleBlacklist)(nil)).Elem()
}
func (i RuleBlacklistArray) ToRuleBlacklistArrayOutput() RuleBlacklistArrayOutput {
return i.ToRuleBlacklistArrayOutputWithContext(context.Background())
}
func (i RuleBlacklistArray) ToRuleBlacklistArrayOutputWithContext(ctx context.Context) RuleBlacklistArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(RuleBlacklistArrayOutput)
}
// RuleBlacklistMapInput is an input type that accepts RuleBlacklistMap and RuleBlacklistMapOutput values.
// You can construct a concrete instance of `RuleBlacklistMapInput` via:
//
// RuleBlacklistMap{ "key": RuleBlacklistArgs{...} }
type RuleBlacklistMapInput interface {
pulumi.Input
ToRuleBlacklistMapOutput() RuleBlacklistMapOutput
ToRuleBlacklistMapOutputWithContext(context.Context) RuleBlacklistMapOutput
}
type RuleBlacklistMap map[string]RuleBlacklistInput
func (RuleBlacklistMap) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*RuleBlacklist)(nil)).Elem()
}
func (i RuleBlacklistMap) ToRuleBlacklistMapOutput() RuleBlacklistMapOutput {
return i.ToRuleBlacklistMapOutputWithContext(context.Background())
}
func (i RuleBlacklistMap) ToRuleBlacklistMapOutputWithContext(ctx context.Context) RuleBlacklistMapOutput {
return pulumi.ToOutputWithContext(ctx, i).(RuleBlacklistMapOutput)
}
type RuleBlacklistOutput struct{ *pulumi.OutputState }
func (RuleBlacklistOutput) ElementType() reflect.Type {
return reflect.TypeOf((**RuleBlacklist)(nil)).Elem()
}
func (o RuleBlacklistOutput) ToRuleBlacklistOutput() RuleBlacklistOutput {
return o
}
func (o RuleBlacklistOutput) ToRuleBlacklistOutputWithContext(ctx context.Context) RuleBlacklistOutput {
return o
}
// Specifies the protective action. Defaults is `0`. The value can be:
// + `0`: block the request.
// + `1`: allow the request.
// + `2`: log the request only.
func (o RuleBlacklistOutput) Action() pulumi.IntPtrOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.IntPtrOutput { return v.Action }).(pulumi.IntPtrOutput)
}
// Specifies the WAF address group id.
// This parameter is required when `ipAddress` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
func (o RuleBlacklistOutput) AddressGroupId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.StringPtrOutput { return v.AddressGroupId }).(pulumi.StringPtrOutput)
}
// The name of the IP address group.
func (o RuleBlacklistOutput) AddressGroupName() pulumi.StringOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.StringOutput { return v.AddressGroupName }).(pulumi.StringOutput)
}
// The number of IP addresses or IP address ranges in the IP address group.
func (o RuleBlacklistOutput) AddressGroupSize() pulumi.IntOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.IntOutput { return v.AddressGroupSize }).(pulumi.IntOutput)
}
// Specifies the rule description of the WAF address group.
func (o RuleBlacklistOutput) Description() pulumi.StringPtrOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput)
}
// Specifies the enterprise project ID of WAF rule blacklist
// and whitelist. Changing this parameter will create a new resource.
func (o RuleBlacklistOutput) EnterpriseProjectId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.StringPtrOutput { return v.EnterpriseProjectId }).(pulumi.StringPtrOutput)
}
// Specifies the IP address or range. For example, 192.168.0.125 or 192.168.0.0/24.
// This parameter is required when `addressGroupId` is not specified. The parameter `addressGroupId` and `ipAddress`
// can not be configured together.
func (o RuleBlacklistOutput) IpAddress() pulumi.StringPtrOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.StringPtrOutput { return v.IpAddress }).(pulumi.StringPtrOutput)
}
// Specifies the Rule name. The value can contain a maximum of 64 characters.
// Only letters, digits, hyphens (-), underscores (_) and periods (.) are allowed.
func (o RuleBlacklistOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)
}
// Specifies the WAF policy ID. Changing this creates a new rule. Please make
// sure that the region which the policy belongs to be consistent with the `region`.
func (o RuleBlacklistOutput) PolicyId() pulumi.StringOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.StringOutput { return v.PolicyId }).(pulumi.StringOutput)
}
// The region in which to create the WAF blacklist and whitelist rule resource.
// If omitted, the provider-level region will be used. Changing this setting will push a new certificate.
func (o RuleBlacklistOutput) Region() pulumi.StringOutput {
return o.ApplyT(func(v *RuleBlacklist) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput)
}
type RuleBlacklistArrayOutput struct{ *pulumi.OutputState }
func (RuleBlacklistArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]*RuleBlacklist)(nil)).Elem()
}
func (o RuleBlacklistArrayOutput) ToRuleBlacklistArrayOutput() RuleBlacklistArrayOutput {
return o
}
func (o RuleBlacklistArrayOutput) ToRuleBlacklistArrayOutputWithContext(ctx context.Context) RuleBlacklistArrayOutput {
return o
}
func (o RuleBlacklistArrayOutput) Index(i pulumi.IntInput) RuleBlacklistOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RuleBlacklist {
return vs[0].([]*RuleBlacklist)[vs[1].(int)]
}).(RuleBlacklistOutput)
}
type RuleBlacklistMapOutput struct{ *pulumi.OutputState }
func (RuleBlacklistMapOutput) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*RuleBlacklist)(nil)).Elem()
}
func (o RuleBlacklistMapOutput) ToRuleBlacklistMapOutput() RuleBlacklistMapOutput {
return o
}
func (o RuleBlacklistMapOutput) ToRuleBlacklistMapOutputWithContext(ctx context.Context) RuleBlacklistMapOutput {
return o
}
func (o RuleBlacklistMapOutput) MapIndex(k pulumi.StringInput) RuleBlacklistOutput {
return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RuleBlacklist {
return vs[0].(map[string]*RuleBlacklist)[vs[1].(string)]
}).(RuleBlacklistOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*RuleBlacklistInput)(nil)).Elem(), &RuleBlacklist{})
pulumi.RegisterInputType(reflect.TypeOf((*RuleBlacklistArrayInput)(nil)).Elem(), RuleBlacklistArray{})
pulumi.RegisterInputType(reflect.TypeOf((*RuleBlacklistMapInput)(nil)).Elem(), RuleBlacklistMap{})
pulumi.RegisterOutputType(RuleBlacklistOutput{})
pulumi.RegisterOutputType(RuleBlacklistArrayOutput{})
pulumi.RegisterOutputType(RuleBlacklistMapOutput{})
}