/
pulumiTypes.go
680 lines (532 loc) · 31 KB
/
pulumiTypes.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
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package ec2transitgateway
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type GetDirectConnectGatewayAttachmentFilter struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values []string `pulumi:"values"`
}
// GetDirectConnectGatewayAttachmentFilterInput is an input type that accepts GetDirectConnectGatewayAttachmentFilterArgs and GetDirectConnectGatewayAttachmentFilterOutput values.
// You can construct a concrete instance of `GetDirectConnectGatewayAttachmentFilterInput` via:
//
// GetDirectConnectGatewayAttachmentFilterArgs{...}
type GetDirectConnectGatewayAttachmentFilterInput interface {
pulumi.Input
ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput
ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(context.Context) GetDirectConnectGatewayAttachmentFilterOutput
}
type GetDirectConnectGatewayAttachmentFilterArgs struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetDirectConnectGatewayAttachmentFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetDirectConnectGatewayAttachmentFilter)(nil)).Elem()
}
func (i GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput {
return i.ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(context.Background())
}
func (i GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetDirectConnectGatewayAttachmentFilterOutput)
}
// GetDirectConnectGatewayAttachmentFilterArrayInput is an input type that accepts GetDirectConnectGatewayAttachmentFilterArray and GetDirectConnectGatewayAttachmentFilterArrayOutput values.
// You can construct a concrete instance of `GetDirectConnectGatewayAttachmentFilterArrayInput` via:
//
// GetDirectConnectGatewayAttachmentFilterArray{ GetDirectConnectGatewayAttachmentFilterArgs{...} }
type GetDirectConnectGatewayAttachmentFilterArrayInput interface {
pulumi.Input
ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput
ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput
}
type GetDirectConnectGatewayAttachmentFilterArray []GetDirectConnectGatewayAttachmentFilterInput
func (GetDirectConnectGatewayAttachmentFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetDirectConnectGatewayAttachmentFilter)(nil)).Elem()
}
func (i GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput {
return i.ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(context.Background())
}
func (i GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetDirectConnectGatewayAttachmentFilterArrayOutput)
}
type GetDirectConnectGatewayAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetDirectConnectGatewayAttachmentFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetDirectConnectGatewayAttachmentFilter)(nil)).Elem()
}
func (o GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput {
return o
}
func (o GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterOutput {
return o
}
// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
func (o GetDirectConnectGatewayAttachmentFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetDirectConnectGatewayAttachmentFilter) string { return v.Name }).(pulumi.StringOutput)
}
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
func (o GetDirectConnectGatewayAttachmentFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetDirectConnectGatewayAttachmentFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetDirectConnectGatewayAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetDirectConnectGatewayAttachmentFilter)(nil)).Elem()
}
func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput {
return o
}
func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput {
return o
}
func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetDirectConnectGatewayAttachmentFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDirectConnectGatewayAttachmentFilter {
return vs[0].([]GetDirectConnectGatewayAttachmentFilter)[vs[1].(int)]
}).(GetDirectConnectGatewayAttachmentFilterOutput)
}
type GetPeeringAttachmentFilter struct {
// The name of the field to filter by, as defined by
// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field.
// An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
// GetPeeringAttachmentFilterInput is an input type that accepts GetPeeringAttachmentFilterArgs and GetPeeringAttachmentFilterOutput values.
// You can construct a concrete instance of `GetPeeringAttachmentFilterInput` via:
//
// GetPeeringAttachmentFilterArgs{...}
type GetPeeringAttachmentFilterInput interface {
pulumi.Input
ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput
ToGetPeeringAttachmentFilterOutputWithContext(context.Context) GetPeeringAttachmentFilterOutput
}
type GetPeeringAttachmentFilterArgs struct {
// The name of the field to filter by, as defined by
// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field.
// An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetPeeringAttachmentFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPeeringAttachmentFilter)(nil)).Elem()
}
func (i GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput {
return i.ToGetPeeringAttachmentFilterOutputWithContext(context.Background())
}
func (i GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAttachmentFilterOutput)
}
// GetPeeringAttachmentFilterArrayInput is an input type that accepts GetPeeringAttachmentFilterArray and GetPeeringAttachmentFilterArrayOutput values.
// You can construct a concrete instance of `GetPeeringAttachmentFilterArrayInput` via:
//
// GetPeeringAttachmentFilterArray{ GetPeeringAttachmentFilterArgs{...} }
type GetPeeringAttachmentFilterArrayInput interface {
pulumi.Input
ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput
ToGetPeeringAttachmentFilterArrayOutputWithContext(context.Context) GetPeeringAttachmentFilterArrayOutput
}
type GetPeeringAttachmentFilterArray []GetPeeringAttachmentFilterInput
func (GetPeeringAttachmentFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPeeringAttachmentFilter)(nil)).Elem()
}
func (i GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput {
return i.ToGetPeeringAttachmentFilterArrayOutputWithContext(context.Background())
}
func (i GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPeeringAttachmentFilterArrayOutput)
}
type GetPeeringAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetPeeringAttachmentFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPeeringAttachmentFilter)(nil)).Elem()
}
func (o GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput {
return o
}
func (o GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterOutput {
return o
}
// The name of the field to filter by, as defined by
// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html).
func (o GetPeeringAttachmentFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetPeeringAttachmentFilter) string { return v.Name }).(pulumi.StringOutput)
}
// Set of values that are accepted for the given field.
// An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches.
func (o GetPeeringAttachmentFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetPeeringAttachmentFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetPeeringAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetPeeringAttachmentFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPeeringAttachmentFilter)(nil)).Elem()
}
func (o GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput {
return o
}
func (o GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterArrayOutput {
return o
}
func (o GetPeeringAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetPeeringAttachmentFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPeeringAttachmentFilter {
return vs[0].([]GetPeeringAttachmentFilter)[vs[1].(int)]
}).(GetPeeringAttachmentFilterOutput)
}
type GetRouteTableFilter struct {
// Name of the filter.
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
// GetRouteTableFilterInput is an input type that accepts GetRouteTableFilterArgs and GetRouteTableFilterOutput values.
// You can construct a concrete instance of `GetRouteTableFilterInput` via:
//
// GetRouteTableFilterArgs{...}
type GetRouteTableFilterInput interface {
pulumi.Input
ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
ToGetRouteTableFilterOutputWithContext(context.Context) GetRouteTableFilterOutput
}
type GetRouteTableFilterArgs struct {
// Name of the filter.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetRouteTableFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetRouteTableFilter)(nil)).Elem()
}
func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput {
return i.ToGetRouteTableFilterOutputWithContext(context.Background())
}
func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableFilterOutput)
}
// GetRouteTableFilterArrayInput is an input type that accepts GetRouteTableFilterArray and GetRouteTableFilterArrayOutput values.
// You can construct a concrete instance of `GetRouteTableFilterArrayInput` via:
//
// GetRouteTableFilterArray{ GetRouteTableFilterArgs{...} }
type GetRouteTableFilterArrayInput interface {
pulumi.Input
ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
ToGetRouteTableFilterArrayOutputWithContext(context.Context) GetRouteTableFilterArrayOutput
}
type GetRouteTableFilterArray []GetRouteTableFilterInput
func (GetRouteTableFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetRouteTableFilter)(nil)).Elem()
}
func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput {
return i.ToGetRouteTableFilterArrayOutputWithContext(context.Background())
}
func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableFilterArrayOutput)
}
type GetRouteTableFilterOutput struct{ *pulumi.OutputState }
func (GetRouteTableFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetRouteTableFilter)(nil)).Elem()
}
func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput {
return o
}
func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput {
return o
}
// Name of the filter.
func (o GetRouteTableFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetRouteTableFilter) string { return v.Name }).(pulumi.StringOutput)
}
// List of one or more values for the filter.
func (o GetRouteTableFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetRouteTableFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetRouteTableFilterArrayOutput struct{ *pulumi.OutputState }
func (GetRouteTableFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetRouteTableFilter)(nil)).Elem()
}
func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput {
return o
}
func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput {
return o
}
func (o GetRouteTableFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTableFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTableFilter {
return vs[0].([]GetRouteTableFilter)[vs[1].(int)]
}).(GetRouteTableFilterOutput)
}
type GetTransitGatewayFilter struct {
// The name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html).
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
// GetTransitGatewayFilterInput is an input type that accepts GetTransitGatewayFilterArgs and GetTransitGatewayFilterOutput values.
// You can construct a concrete instance of `GetTransitGatewayFilterInput` via:
//
// GetTransitGatewayFilterArgs{...}
type GetTransitGatewayFilterInput interface {
pulumi.Input
ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput
ToGetTransitGatewayFilterOutputWithContext(context.Context) GetTransitGatewayFilterOutput
}
type GetTransitGatewayFilterArgs struct {
// The name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html).
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetTransitGatewayFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetTransitGatewayFilter)(nil)).Elem()
}
func (i GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput {
return i.ToGetTransitGatewayFilterOutputWithContext(context.Background())
}
func (i GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutputWithContext(ctx context.Context) GetTransitGatewayFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetTransitGatewayFilterOutput)
}
// GetTransitGatewayFilterArrayInput is an input type that accepts GetTransitGatewayFilterArray and GetTransitGatewayFilterArrayOutput values.
// You can construct a concrete instance of `GetTransitGatewayFilterArrayInput` via:
//
// GetTransitGatewayFilterArray{ GetTransitGatewayFilterArgs{...} }
type GetTransitGatewayFilterArrayInput interface {
pulumi.Input
ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput
ToGetTransitGatewayFilterArrayOutputWithContext(context.Context) GetTransitGatewayFilterArrayOutput
}
type GetTransitGatewayFilterArray []GetTransitGatewayFilterInput
func (GetTransitGatewayFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetTransitGatewayFilter)(nil)).Elem()
}
func (i GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput {
return i.ToGetTransitGatewayFilterArrayOutputWithContext(context.Background())
}
func (i GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetTransitGatewayFilterArrayOutput)
}
type GetTransitGatewayFilterOutput struct{ *pulumi.OutputState }
func (GetTransitGatewayFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetTransitGatewayFilter)(nil)).Elem()
}
func (o GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput {
return o
}
func (o GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutputWithContext(ctx context.Context) GetTransitGatewayFilterOutput {
return o
}
// The name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html).
func (o GetTransitGatewayFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetTransitGatewayFilter) string { return v.Name }).(pulumi.StringOutput)
}
// List of one or more values for the filter.
func (o GetTransitGatewayFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetTransitGatewayFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetTransitGatewayFilterArrayOutput struct{ *pulumi.OutputState }
func (GetTransitGatewayFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetTransitGatewayFilter)(nil)).Elem()
}
func (o GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput {
return o
}
func (o GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayFilterArrayOutput {
return o
}
func (o GetTransitGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetTransitGatewayFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTransitGatewayFilter {
return vs[0].([]GetTransitGatewayFilter)[vs[1].(int)]
}).(GetTransitGatewayFilterOutput)
}
type GetVpcAttachmentFilter struct {
// Name of the filter.
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
// GetVpcAttachmentFilterInput is an input type that accepts GetVpcAttachmentFilterArgs and GetVpcAttachmentFilterOutput values.
// You can construct a concrete instance of `GetVpcAttachmentFilterInput` via:
//
// GetVpcAttachmentFilterArgs{...}
type GetVpcAttachmentFilterInput interface {
pulumi.Input
ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput
ToGetVpcAttachmentFilterOutputWithContext(context.Context) GetVpcAttachmentFilterOutput
}
type GetVpcAttachmentFilterArgs struct {
// Name of the filter.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetVpcAttachmentFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetVpcAttachmentFilter)(nil)).Elem()
}
func (i GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput {
return i.ToGetVpcAttachmentFilterOutputWithContext(context.Background())
}
func (i GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutputWithContext(ctx context.Context) GetVpcAttachmentFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetVpcAttachmentFilterOutput)
}
// GetVpcAttachmentFilterArrayInput is an input type that accepts GetVpcAttachmentFilterArray and GetVpcAttachmentFilterArrayOutput values.
// You can construct a concrete instance of `GetVpcAttachmentFilterArrayInput` via:
//
// GetVpcAttachmentFilterArray{ GetVpcAttachmentFilterArgs{...} }
type GetVpcAttachmentFilterArrayInput interface {
pulumi.Input
ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput
ToGetVpcAttachmentFilterArrayOutputWithContext(context.Context) GetVpcAttachmentFilterArrayOutput
}
type GetVpcAttachmentFilterArray []GetVpcAttachmentFilterInput
func (GetVpcAttachmentFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetVpcAttachmentFilter)(nil)).Elem()
}
func (i GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput {
return i.ToGetVpcAttachmentFilterArrayOutputWithContext(context.Background())
}
func (i GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetVpcAttachmentFilterArrayOutput)
}
type GetVpcAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetVpcAttachmentFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetVpcAttachmentFilter)(nil)).Elem()
}
func (o GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput {
return o
}
func (o GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutputWithContext(ctx context.Context) GetVpcAttachmentFilterOutput {
return o
}
// Name of the filter.
func (o GetVpcAttachmentFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetVpcAttachmentFilter) string { return v.Name }).(pulumi.StringOutput)
}
// List of one or more values for the filter.
func (o GetVpcAttachmentFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetVpcAttachmentFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetVpcAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcAttachmentFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetVpcAttachmentFilter)(nil)).Elem()
}
func (o GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput {
return o
}
func (o GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentFilterArrayOutput {
return o
}
func (o GetVpcAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetVpcAttachmentFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcAttachmentFilter {
return vs[0].([]GetVpcAttachmentFilter)[vs[1].(int)]
}).(GetVpcAttachmentFilterOutput)
}
type GetVpnAttachmentFilter struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values []string `pulumi:"values"`
}
// GetVpnAttachmentFilterInput is an input type that accepts GetVpnAttachmentFilterArgs and GetVpnAttachmentFilterOutput values.
// You can construct a concrete instance of `GetVpnAttachmentFilterInput` via:
//
// GetVpnAttachmentFilterArgs{...}
type GetVpnAttachmentFilterInput interface {
pulumi.Input
ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput
ToGetVpnAttachmentFilterOutputWithContext(context.Context) GetVpnAttachmentFilterOutput
}
type GetVpnAttachmentFilterArgs struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetVpnAttachmentFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetVpnAttachmentFilter)(nil)).Elem()
}
func (i GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput {
return i.ToGetVpnAttachmentFilterOutputWithContext(context.Background())
}
func (i GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutputWithContext(ctx context.Context) GetVpnAttachmentFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetVpnAttachmentFilterOutput)
}
// GetVpnAttachmentFilterArrayInput is an input type that accepts GetVpnAttachmentFilterArray and GetVpnAttachmentFilterArrayOutput values.
// You can construct a concrete instance of `GetVpnAttachmentFilterArrayInput` via:
//
// GetVpnAttachmentFilterArray{ GetVpnAttachmentFilterArgs{...} }
type GetVpnAttachmentFilterArrayInput interface {
pulumi.Input
ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput
ToGetVpnAttachmentFilterArrayOutputWithContext(context.Context) GetVpnAttachmentFilterArrayOutput
}
type GetVpnAttachmentFilterArray []GetVpnAttachmentFilterInput
func (GetVpnAttachmentFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetVpnAttachmentFilter)(nil)).Elem()
}
func (i GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput {
return i.ToGetVpnAttachmentFilterArrayOutputWithContext(context.Background())
}
func (i GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpnAttachmentFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetVpnAttachmentFilterArrayOutput)
}
type GetVpnAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetVpnAttachmentFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetVpnAttachmentFilter)(nil)).Elem()
}
func (o GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput {
return o
}
func (o GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutputWithContext(ctx context.Context) GetVpnAttachmentFilterOutput {
return o
}
// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
func (o GetVpnAttachmentFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetVpnAttachmentFilter) string { return v.Name }).(pulumi.StringOutput)
}
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
func (o GetVpnAttachmentFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetVpnAttachmentFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetVpnAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpnAttachmentFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetVpnAttachmentFilter)(nil)).Elem()
}
func (o GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput {
return o
}
func (o GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpnAttachmentFilterArrayOutput {
return o
}
func (o GetVpnAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetVpnAttachmentFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnAttachmentFilter {
return vs[0].([]GetVpnAttachmentFilter)[vs[1].(int)]
}).(GetVpnAttachmentFilterOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetDirectConnectGatewayAttachmentFilterInput)(nil)).Elem(), GetDirectConnectGatewayAttachmentFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetDirectConnectGatewayAttachmentFilterArrayInput)(nil)).Elem(), GetDirectConnectGatewayAttachmentFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetPeeringAttachmentFilterInput)(nil)).Elem(), GetPeeringAttachmentFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetPeeringAttachmentFilterArrayInput)(nil)).Elem(), GetPeeringAttachmentFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableFilterInput)(nil)).Elem(), GetRouteTableFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableFilterArrayInput)(nil)).Elem(), GetRouteTableFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayFilterInput)(nil)).Elem(), GetTransitGatewayFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayFilterArrayInput)(nil)).Elem(), GetTransitGatewayFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpcAttachmentFilterInput)(nil)).Elem(), GetVpcAttachmentFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpcAttachmentFilterArrayInput)(nil)).Elem(), GetVpcAttachmentFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpnAttachmentFilterInput)(nil)).Elem(), GetVpnAttachmentFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpnAttachmentFilterArrayInput)(nil)).Elem(), GetVpnAttachmentFilterArray{})
pulumi.RegisterOutputType(GetDirectConnectGatewayAttachmentFilterOutput{})
pulumi.RegisterOutputType(GetDirectConnectGatewayAttachmentFilterArrayOutput{})
pulumi.RegisterOutputType(GetPeeringAttachmentFilterOutput{})
pulumi.RegisterOutputType(GetPeeringAttachmentFilterArrayOutput{})
pulumi.RegisterOutputType(GetRouteTableFilterOutput{})
pulumi.RegisterOutputType(GetRouteTableFilterArrayOutput{})
pulumi.RegisterOutputType(GetTransitGatewayFilterOutput{})
pulumi.RegisterOutputType(GetTransitGatewayFilterArrayOutput{})
pulumi.RegisterOutputType(GetVpcAttachmentFilterOutput{})
pulumi.RegisterOutputType(GetVpcAttachmentFilterArrayOutput{})
pulumi.RegisterOutputType(GetVpnAttachmentFilterOutput{})
pulumi.RegisterOutputType(GetVpnAttachmentFilterArrayOutput{})
}