/
pulumiTypes.go
2315 lines (1820 loc) · 106 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
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// 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 ec2transitgateway
import (
"context"
"reflect"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
var _ = internal.GetEnvOrDefault
type InstanceConnectEndpointTimeouts struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create *string `pulumi:"create"`
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Delete *string `pulumi:"delete"`
}
// InstanceConnectEndpointTimeoutsInput is an input type that accepts InstanceConnectEndpointTimeoutsArgs and InstanceConnectEndpointTimeoutsOutput values.
// You can construct a concrete instance of `InstanceConnectEndpointTimeoutsInput` via:
//
// InstanceConnectEndpointTimeoutsArgs{...}
type InstanceConnectEndpointTimeoutsInput interface {
pulumi.Input
ToInstanceConnectEndpointTimeoutsOutput() InstanceConnectEndpointTimeoutsOutput
ToInstanceConnectEndpointTimeoutsOutputWithContext(context.Context) InstanceConnectEndpointTimeoutsOutput
}
type InstanceConnectEndpointTimeoutsArgs struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create pulumi.StringPtrInput `pulumi:"create"`
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Delete pulumi.StringPtrInput `pulumi:"delete"`
}
func (InstanceConnectEndpointTimeoutsArgs) ElementType() reflect.Type {
return reflect.TypeOf((*InstanceConnectEndpointTimeouts)(nil)).Elem()
}
func (i InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsOutput() InstanceConnectEndpointTimeoutsOutput {
return i.ToInstanceConnectEndpointTimeoutsOutputWithContext(context.Background())
}
func (i InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsOutput {
return pulumi.ToOutputWithContext(ctx, i).(InstanceConnectEndpointTimeoutsOutput)
}
func (i InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput {
return i.ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(context.Background())
}
func (i InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(InstanceConnectEndpointTimeoutsOutput).ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(ctx)
}
// InstanceConnectEndpointTimeoutsPtrInput is an input type that accepts InstanceConnectEndpointTimeoutsArgs, InstanceConnectEndpointTimeoutsPtr and InstanceConnectEndpointTimeoutsPtrOutput values.
// You can construct a concrete instance of `InstanceConnectEndpointTimeoutsPtrInput` via:
//
// InstanceConnectEndpointTimeoutsArgs{...}
//
// or:
//
// nil
type InstanceConnectEndpointTimeoutsPtrInput interface {
pulumi.Input
ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput
ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(context.Context) InstanceConnectEndpointTimeoutsPtrOutput
}
type instanceConnectEndpointTimeoutsPtrType InstanceConnectEndpointTimeoutsArgs
func InstanceConnectEndpointTimeoutsPtr(v *InstanceConnectEndpointTimeoutsArgs) InstanceConnectEndpointTimeoutsPtrInput {
return (*instanceConnectEndpointTimeoutsPtrType)(v)
}
func (*instanceConnectEndpointTimeoutsPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**InstanceConnectEndpointTimeouts)(nil)).Elem()
}
func (i *instanceConnectEndpointTimeoutsPtrType) ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput {
return i.ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(context.Background())
}
func (i *instanceConnectEndpointTimeoutsPtrType) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(InstanceConnectEndpointTimeoutsPtrOutput)
}
type InstanceConnectEndpointTimeoutsOutput struct{ *pulumi.OutputState }
func (InstanceConnectEndpointTimeoutsOutput) ElementType() reflect.Type {
return reflect.TypeOf((*InstanceConnectEndpointTimeouts)(nil)).Elem()
}
func (o InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsOutput() InstanceConnectEndpointTimeoutsOutput {
return o
}
func (o InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsOutput {
return o
}
func (o InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput {
return o.ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(context.Background())
}
func (o InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v InstanceConnectEndpointTimeouts) *InstanceConnectEndpointTimeouts {
return &v
}).(InstanceConnectEndpointTimeoutsPtrOutput)
}
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (o InstanceConnectEndpointTimeoutsOutput) Create() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceConnectEndpointTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput)
}
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (o InstanceConnectEndpointTimeoutsOutput) Delete() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceConnectEndpointTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput)
}
type InstanceConnectEndpointTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (InstanceConnectEndpointTimeoutsPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**InstanceConnectEndpointTimeouts)(nil)).Elem()
}
func (o InstanceConnectEndpointTimeoutsPtrOutput) ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput {
return o
}
func (o InstanceConnectEndpointTimeoutsPtrOutput) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsPtrOutput {
return o
}
func (o InstanceConnectEndpointTimeoutsPtrOutput) Elem() InstanceConnectEndpointTimeoutsOutput {
return o.ApplyT(func(v *InstanceConnectEndpointTimeouts) InstanceConnectEndpointTimeouts {
if v != nil {
return *v
}
var ret InstanceConnectEndpointTimeouts
return ret
}).(InstanceConnectEndpointTimeoutsOutput)
}
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (o InstanceConnectEndpointTimeoutsPtrOutput) Create() pulumi.StringPtrOutput {
return o.ApplyT(func(v *InstanceConnectEndpointTimeouts) *string {
if v == nil {
return nil
}
return v.Create
}).(pulumi.StringPtrOutput)
}
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (o InstanceConnectEndpointTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput {
return o.ApplyT(func(v *InstanceConnectEndpointTimeouts) *string {
if v == nil {
return nil
}
return v.Delete
}).(pulumi.StringPtrOutput)
}
type GetAttachmentFilter struct {
// Name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
// GetAttachmentFilterInput is an input type that accepts GetAttachmentFilterArgs and GetAttachmentFilterOutput values.
// You can construct a concrete instance of `GetAttachmentFilterInput` via:
//
// GetAttachmentFilterArgs{...}
type GetAttachmentFilterInput interface {
pulumi.Input
ToGetAttachmentFilterOutput() GetAttachmentFilterOutput
ToGetAttachmentFilterOutputWithContext(context.Context) GetAttachmentFilterOutput
}
type GetAttachmentFilterArgs struct {
// Name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetAttachmentFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetAttachmentFilter)(nil)).Elem()
}
func (i GetAttachmentFilterArgs) ToGetAttachmentFilterOutput() GetAttachmentFilterOutput {
return i.ToGetAttachmentFilterOutputWithContext(context.Background())
}
func (i GetAttachmentFilterArgs) ToGetAttachmentFilterOutputWithContext(ctx context.Context) GetAttachmentFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetAttachmentFilterOutput)
}
// GetAttachmentFilterArrayInput is an input type that accepts GetAttachmentFilterArray and GetAttachmentFilterArrayOutput values.
// You can construct a concrete instance of `GetAttachmentFilterArrayInput` via:
//
// GetAttachmentFilterArray{ GetAttachmentFilterArgs{...} }
type GetAttachmentFilterArrayInput interface {
pulumi.Input
ToGetAttachmentFilterArrayOutput() GetAttachmentFilterArrayOutput
ToGetAttachmentFilterArrayOutputWithContext(context.Context) GetAttachmentFilterArrayOutput
}
type GetAttachmentFilterArray []GetAttachmentFilterInput
func (GetAttachmentFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetAttachmentFilter)(nil)).Elem()
}
func (i GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutput() GetAttachmentFilterArrayOutput {
return i.ToGetAttachmentFilterArrayOutputWithContext(context.Background())
}
func (i GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutputWithContext(ctx context.Context) GetAttachmentFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetAttachmentFilterArrayOutput)
}
type GetAttachmentFilterOutput struct{ *pulumi.OutputState }
func (GetAttachmentFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetAttachmentFilter)(nil)).Elem()
}
func (o GetAttachmentFilterOutput) ToGetAttachmentFilterOutput() GetAttachmentFilterOutput {
return o
}
func (o GetAttachmentFilterOutput) ToGetAttachmentFilterOutputWithContext(ctx context.Context) GetAttachmentFilterOutput {
return o
}
// Name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
func (o GetAttachmentFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetAttachmentFilter) string { return v.Name }).(pulumi.StringOutput)
}
// List of one or more values for the filter.
func (o GetAttachmentFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetAttachmentFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetAttachmentFilterArrayOutput struct{ *pulumi.OutputState }
func (GetAttachmentFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetAttachmentFilter)(nil)).Elem()
}
func (o GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutput() GetAttachmentFilterArrayOutput {
return o
}
func (o GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutputWithContext(ctx context.Context) GetAttachmentFilterArrayOutput {
return o
}
func (o GetAttachmentFilterArrayOutput) Index(i pulumi.IntInput) GetAttachmentFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAttachmentFilter {
return vs[0].([]GetAttachmentFilter)[vs[1].(int)]
}).(GetAttachmentFilterOutput)
}
type GetAttachmentsFilter struct {
// Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html)
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
// GetAttachmentsFilterInput is an input type that accepts GetAttachmentsFilterArgs and GetAttachmentsFilterOutput values.
// You can construct a concrete instance of `GetAttachmentsFilterInput` via:
//
// GetAttachmentsFilterArgs{...}
type GetAttachmentsFilterInput interface {
pulumi.Input
ToGetAttachmentsFilterOutput() GetAttachmentsFilterOutput
ToGetAttachmentsFilterOutputWithContext(context.Context) GetAttachmentsFilterOutput
}
type GetAttachmentsFilterArgs struct {
// Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html)
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetAttachmentsFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetAttachmentsFilter)(nil)).Elem()
}
func (i GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutput() GetAttachmentsFilterOutput {
return i.ToGetAttachmentsFilterOutputWithContext(context.Background())
}
func (i GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutputWithContext(ctx context.Context) GetAttachmentsFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetAttachmentsFilterOutput)
}
// GetAttachmentsFilterArrayInput is an input type that accepts GetAttachmentsFilterArray and GetAttachmentsFilterArrayOutput values.
// You can construct a concrete instance of `GetAttachmentsFilterArrayInput` via:
//
// GetAttachmentsFilterArray{ GetAttachmentsFilterArgs{...} }
type GetAttachmentsFilterArrayInput interface {
pulumi.Input
ToGetAttachmentsFilterArrayOutput() GetAttachmentsFilterArrayOutput
ToGetAttachmentsFilterArrayOutputWithContext(context.Context) GetAttachmentsFilterArrayOutput
}
type GetAttachmentsFilterArray []GetAttachmentsFilterInput
func (GetAttachmentsFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetAttachmentsFilter)(nil)).Elem()
}
func (i GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutput() GetAttachmentsFilterArrayOutput {
return i.ToGetAttachmentsFilterArrayOutputWithContext(context.Background())
}
func (i GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutputWithContext(ctx context.Context) GetAttachmentsFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetAttachmentsFilterArrayOutput)
}
type GetAttachmentsFilterOutput struct{ *pulumi.OutputState }
func (GetAttachmentsFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetAttachmentsFilter)(nil)).Elem()
}
func (o GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutput() GetAttachmentsFilterOutput {
return o
}
func (o GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutputWithContext(ctx context.Context) GetAttachmentsFilterOutput {
return o
}
// Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html)
func (o GetAttachmentsFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetAttachmentsFilter) string { return v.Name }).(pulumi.StringOutput)
}
// List of one or more values for the filter.
func (o GetAttachmentsFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetAttachmentsFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetAttachmentsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetAttachmentsFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetAttachmentsFilter)(nil)).Elem()
}
func (o GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutput() GetAttachmentsFilterArrayOutput {
return o
}
func (o GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutputWithContext(ctx context.Context) GetAttachmentsFilterArrayOutput {
return o
}
func (o GetAttachmentsFilterArrayOutput) Index(i pulumi.IntInput) GetAttachmentsFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAttachmentsFilter {
return vs[0].([]GetAttachmentsFilter)[vs[1].(int)]
}).(GetAttachmentsFilterOutput)
}
type GetConnectFilter struct {
// Name of the filter.
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
// GetConnectFilterInput is an input type that accepts GetConnectFilterArgs and GetConnectFilterOutput values.
// You can construct a concrete instance of `GetConnectFilterInput` via:
//
// GetConnectFilterArgs{...}
type GetConnectFilterInput interface {
pulumi.Input
ToGetConnectFilterOutput() GetConnectFilterOutput
ToGetConnectFilterOutputWithContext(context.Context) GetConnectFilterOutput
}
type GetConnectFilterArgs 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 (GetConnectFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetConnectFilter)(nil)).Elem()
}
func (i GetConnectFilterArgs) ToGetConnectFilterOutput() GetConnectFilterOutput {
return i.ToGetConnectFilterOutputWithContext(context.Background())
}
func (i GetConnectFilterArgs) ToGetConnectFilterOutputWithContext(ctx context.Context) GetConnectFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetConnectFilterOutput)
}
// GetConnectFilterArrayInput is an input type that accepts GetConnectFilterArray and GetConnectFilterArrayOutput values.
// You can construct a concrete instance of `GetConnectFilterArrayInput` via:
//
// GetConnectFilterArray{ GetConnectFilterArgs{...} }
type GetConnectFilterArrayInput interface {
pulumi.Input
ToGetConnectFilterArrayOutput() GetConnectFilterArrayOutput
ToGetConnectFilterArrayOutputWithContext(context.Context) GetConnectFilterArrayOutput
}
type GetConnectFilterArray []GetConnectFilterInput
func (GetConnectFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetConnectFilter)(nil)).Elem()
}
func (i GetConnectFilterArray) ToGetConnectFilterArrayOutput() GetConnectFilterArrayOutput {
return i.ToGetConnectFilterArrayOutputWithContext(context.Background())
}
func (i GetConnectFilterArray) ToGetConnectFilterArrayOutputWithContext(ctx context.Context) GetConnectFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetConnectFilterArrayOutput)
}
type GetConnectFilterOutput struct{ *pulumi.OutputState }
func (GetConnectFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetConnectFilter)(nil)).Elem()
}
func (o GetConnectFilterOutput) ToGetConnectFilterOutput() GetConnectFilterOutput {
return o
}
func (o GetConnectFilterOutput) ToGetConnectFilterOutputWithContext(ctx context.Context) GetConnectFilterOutput {
return o
}
// Name of the filter.
func (o GetConnectFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetConnectFilter) string { return v.Name }).(pulumi.StringOutput)
}
// List of one or more values for the filter.
func (o GetConnectFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetConnectFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetConnectFilterArrayOutput struct{ *pulumi.OutputState }
func (GetConnectFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetConnectFilter)(nil)).Elem()
}
func (o GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutput() GetConnectFilterArrayOutput {
return o
}
func (o GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutputWithContext(ctx context.Context) GetConnectFilterArrayOutput {
return o
}
func (o GetConnectFilterArrayOutput) Index(i pulumi.IntInput) GetConnectFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectFilter {
return vs[0].([]GetConnectFilter)[vs[1].(int)]
}).(GetConnectFilterOutput)
}
type GetConnectPeerFilter struct {
// Name of the filter.
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
// GetConnectPeerFilterInput is an input type that accepts GetConnectPeerFilterArgs and GetConnectPeerFilterOutput values.
// You can construct a concrete instance of `GetConnectPeerFilterInput` via:
//
// GetConnectPeerFilterArgs{...}
type GetConnectPeerFilterInput interface {
pulumi.Input
ToGetConnectPeerFilterOutput() GetConnectPeerFilterOutput
ToGetConnectPeerFilterOutputWithContext(context.Context) GetConnectPeerFilterOutput
}
type GetConnectPeerFilterArgs 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 (GetConnectPeerFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetConnectPeerFilter)(nil)).Elem()
}
func (i GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutput() GetConnectPeerFilterOutput {
return i.ToGetConnectPeerFilterOutputWithContext(context.Background())
}
func (i GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutputWithContext(ctx context.Context) GetConnectPeerFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetConnectPeerFilterOutput)
}
// GetConnectPeerFilterArrayInput is an input type that accepts GetConnectPeerFilterArray and GetConnectPeerFilterArrayOutput values.
// You can construct a concrete instance of `GetConnectPeerFilterArrayInput` via:
//
// GetConnectPeerFilterArray{ GetConnectPeerFilterArgs{...} }
type GetConnectPeerFilterArrayInput interface {
pulumi.Input
ToGetConnectPeerFilterArrayOutput() GetConnectPeerFilterArrayOutput
ToGetConnectPeerFilterArrayOutputWithContext(context.Context) GetConnectPeerFilterArrayOutput
}
type GetConnectPeerFilterArray []GetConnectPeerFilterInput
func (GetConnectPeerFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetConnectPeerFilter)(nil)).Elem()
}
func (i GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutput() GetConnectPeerFilterArrayOutput {
return i.ToGetConnectPeerFilterArrayOutputWithContext(context.Background())
}
func (i GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutputWithContext(ctx context.Context) GetConnectPeerFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetConnectPeerFilterArrayOutput)
}
type GetConnectPeerFilterOutput struct{ *pulumi.OutputState }
func (GetConnectPeerFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetConnectPeerFilter)(nil)).Elem()
}
func (o GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutput() GetConnectPeerFilterOutput {
return o
}
func (o GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutputWithContext(ctx context.Context) GetConnectPeerFilterOutput {
return o
}
// Name of the filter.
func (o GetConnectPeerFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetConnectPeerFilter) string { return v.Name }).(pulumi.StringOutput)
}
// List of one or more values for the filter.
func (o GetConnectPeerFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetConnectPeerFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetConnectPeerFilterArrayOutput struct{ *pulumi.OutputState }
func (GetConnectPeerFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetConnectPeerFilter)(nil)).Elem()
}
func (o GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutput() GetConnectPeerFilterArrayOutput {
return o
}
func (o GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutputWithContext(ctx context.Context) GetConnectPeerFilterArrayOutput {
return o
}
func (o GetConnectPeerFilterArrayOutput) Index(i pulumi.IntInput) GetConnectPeerFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectPeerFilter {
return vs[0].([]GetConnectPeerFilter)[vs[1].(int)]
}).(GetConnectPeerFilterOutput)
}
type GetDirectConnectGatewayAttachmentFilter struct {
// 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 {
// 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
}
// 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 GetMulticastDomainAssociationType struct {
// The ID of the subnet associated with the transit gateway multicast domain.
SubnetId string `pulumi:"subnetId"`
// The ID of the transit gateway attachment.
TransitGatewayAttachmentId string `pulumi:"transitGatewayAttachmentId"`
}
// GetMulticastDomainAssociationTypeInput is an input type that accepts GetMulticastDomainAssociationTypeArgs and GetMulticastDomainAssociationTypeOutput values.
// You can construct a concrete instance of `GetMulticastDomainAssociationTypeInput` via:
//
// GetMulticastDomainAssociationTypeArgs{...}
type GetMulticastDomainAssociationTypeInput interface {
pulumi.Input
ToGetMulticastDomainAssociationTypeOutput() GetMulticastDomainAssociationTypeOutput
ToGetMulticastDomainAssociationTypeOutputWithContext(context.Context) GetMulticastDomainAssociationTypeOutput
}
type GetMulticastDomainAssociationTypeArgs struct {
// The ID of the subnet associated with the transit gateway multicast domain.
SubnetId pulumi.StringInput `pulumi:"subnetId"`
// The ID of the transit gateway attachment.
TransitGatewayAttachmentId pulumi.StringInput `pulumi:"transitGatewayAttachmentId"`
}
func (GetMulticastDomainAssociationTypeArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetMulticastDomainAssociationType)(nil)).Elem()
}
func (i GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutput() GetMulticastDomainAssociationTypeOutput {
return i.ToGetMulticastDomainAssociationTypeOutputWithContext(context.Background())
}
func (i GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutputWithContext(ctx context.Context) GetMulticastDomainAssociationTypeOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetMulticastDomainAssociationTypeOutput)
}
// GetMulticastDomainAssociationTypeArrayInput is an input type that accepts GetMulticastDomainAssociationTypeArray and GetMulticastDomainAssociationTypeArrayOutput values.
// You can construct a concrete instance of `GetMulticastDomainAssociationTypeArrayInput` via:
//
// GetMulticastDomainAssociationTypeArray{ GetMulticastDomainAssociationTypeArgs{...} }
type GetMulticastDomainAssociationTypeArrayInput interface {
pulumi.Input
ToGetMulticastDomainAssociationTypeArrayOutput() GetMulticastDomainAssociationTypeArrayOutput
ToGetMulticastDomainAssociationTypeArrayOutputWithContext(context.Context) GetMulticastDomainAssociationTypeArrayOutput
}
type GetMulticastDomainAssociationTypeArray []GetMulticastDomainAssociationTypeInput
func (GetMulticastDomainAssociationTypeArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetMulticastDomainAssociationType)(nil)).Elem()
}
func (i GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutput() GetMulticastDomainAssociationTypeArrayOutput {
return i.ToGetMulticastDomainAssociationTypeArrayOutputWithContext(context.Background())
}
func (i GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutputWithContext(ctx context.Context) GetMulticastDomainAssociationTypeArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetMulticastDomainAssociationTypeArrayOutput)
}
type GetMulticastDomainAssociationTypeOutput struct{ *pulumi.OutputState }
func (GetMulticastDomainAssociationTypeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetMulticastDomainAssociationType)(nil)).Elem()
}
func (o GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutput() GetMulticastDomainAssociationTypeOutput {
return o
}
func (o GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutputWithContext(ctx context.Context) GetMulticastDomainAssociationTypeOutput {
return o
}
// The ID of the subnet associated with the transit gateway multicast domain.
func (o GetMulticastDomainAssociationTypeOutput) SubnetId() pulumi.StringOutput {
return o.ApplyT(func(v GetMulticastDomainAssociationType) string { return v.SubnetId }).(pulumi.StringOutput)
}
// The ID of the transit gateway attachment.
func (o GetMulticastDomainAssociationTypeOutput) TransitGatewayAttachmentId() pulumi.StringOutput {
return o.ApplyT(func(v GetMulticastDomainAssociationType) string { return v.TransitGatewayAttachmentId }).(pulumi.StringOutput)
}
type GetMulticastDomainAssociationTypeArrayOutput struct{ *pulumi.OutputState }
func (GetMulticastDomainAssociationTypeArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetMulticastDomainAssociationType)(nil)).Elem()
}
func (o GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutput() GetMulticastDomainAssociationTypeArrayOutput {
return o
}
func (o GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutputWithContext(ctx context.Context) GetMulticastDomainAssociationTypeArrayOutput {
return o
}
func (o GetMulticastDomainAssociationTypeArrayOutput) Index(i pulumi.IntInput) GetMulticastDomainAssociationTypeOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMulticastDomainAssociationType {
return vs[0].([]GetMulticastDomainAssociationType)[vs[1].(int)]
}).(GetMulticastDomainAssociationTypeOutput)
}
type GetMulticastDomainFilter struct {
// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayMulticastDomains.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field. A multicast domain will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
// GetMulticastDomainFilterInput is an input type that accepts GetMulticastDomainFilterArgs and GetMulticastDomainFilterOutput values.
// You can construct a concrete instance of `GetMulticastDomainFilterInput` via:
//
// GetMulticastDomainFilterArgs{...}
type GetMulticastDomainFilterInput interface {
pulumi.Input
ToGetMulticastDomainFilterOutput() GetMulticastDomainFilterOutput
ToGetMulticastDomainFilterOutputWithContext(context.Context) GetMulticastDomainFilterOutput
}
type GetMulticastDomainFilterArgs struct {
// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayMulticastDomains.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field. A multicast domain will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetMulticastDomainFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetMulticastDomainFilter)(nil)).Elem()
}
func (i GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutput() GetMulticastDomainFilterOutput {
return i.ToGetMulticastDomainFilterOutputWithContext(context.Background())
}
func (i GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutputWithContext(ctx context.Context) GetMulticastDomainFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetMulticastDomainFilterOutput)
}
// GetMulticastDomainFilterArrayInput is an input type that accepts GetMulticastDomainFilterArray and GetMulticastDomainFilterArrayOutput values.
// You can construct a concrete instance of `GetMulticastDomainFilterArrayInput` via:
//
// GetMulticastDomainFilterArray{ GetMulticastDomainFilterArgs{...} }
type GetMulticastDomainFilterArrayInput interface {
pulumi.Input
ToGetMulticastDomainFilterArrayOutput() GetMulticastDomainFilterArrayOutput
ToGetMulticastDomainFilterArrayOutputWithContext(context.Context) GetMulticastDomainFilterArrayOutput
}
type GetMulticastDomainFilterArray []GetMulticastDomainFilterInput
func (GetMulticastDomainFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetMulticastDomainFilter)(nil)).Elem()
}
func (i GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutput() GetMulticastDomainFilterArrayOutput {
return i.ToGetMulticastDomainFilterArrayOutputWithContext(context.Background())
}
func (i GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutputWithContext(ctx context.Context) GetMulticastDomainFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetMulticastDomainFilterArrayOutput)
}
type GetMulticastDomainFilterOutput struct{ *pulumi.OutputState }
func (GetMulticastDomainFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetMulticastDomainFilter)(nil)).Elem()
}
func (o GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutput() GetMulticastDomainFilterOutput {
return o
}
func (o GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutputWithContext(ctx context.Context) GetMulticastDomainFilterOutput {
return o
}
// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayMulticastDomains.html).
func (o GetMulticastDomainFilterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetMulticastDomainFilter) string { return v.Name }).(pulumi.StringOutput)
}
// Set of values that are accepted for the given field. A multicast domain will be selected if any one of the given values matches.
func (o GetMulticastDomainFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetMulticastDomainFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetMulticastDomainFilterArrayOutput struct{ *pulumi.OutputState }
func (GetMulticastDomainFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetMulticastDomainFilter)(nil)).Elem()
}
func (o GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutput() GetMulticastDomainFilterArrayOutput {
return o
}
func (o GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutputWithContext(ctx context.Context) GetMulticastDomainFilterArrayOutput {
return o
}
func (o GetMulticastDomainFilterArrayOutput) Index(i pulumi.IntInput) GetMulticastDomainFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMulticastDomainFilter {
return vs[0].([]GetMulticastDomainFilter)[vs[1].(int)]
}).(GetMulticastDomainFilterOutput)
}
type GetMulticastDomainMember struct {
// The IP address assigned to the transit gateway multicast group.
GroupIpAddress string `pulumi:"groupIpAddress"`
// The group members' network interface ID.
NetworkInterfaceId string `pulumi:"networkInterfaceId"`
}
// GetMulticastDomainMemberInput is an input type that accepts GetMulticastDomainMemberArgs and GetMulticastDomainMemberOutput values.
// You can construct a concrete instance of `GetMulticastDomainMemberInput` via:
//
// GetMulticastDomainMemberArgs{...}
type GetMulticastDomainMemberInput interface {
pulumi.Input
ToGetMulticastDomainMemberOutput() GetMulticastDomainMemberOutput
ToGetMulticastDomainMemberOutputWithContext(context.Context) GetMulticastDomainMemberOutput
}
type GetMulticastDomainMemberArgs struct {
// The IP address assigned to the transit gateway multicast group.
GroupIpAddress pulumi.StringInput `pulumi:"groupIpAddress"`
// The group members' network interface ID.
NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
}
func (GetMulticastDomainMemberArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetMulticastDomainMember)(nil)).Elem()
}
func (i GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutput() GetMulticastDomainMemberOutput {
return i.ToGetMulticastDomainMemberOutputWithContext(context.Background())
}
func (i GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutputWithContext(ctx context.Context) GetMulticastDomainMemberOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetMulticastDomainMemberOutput)
}
// GetMulticastDomainMemberArrayInput is an input type that accepts GetMulticastDomainMemberArray and GetMulticastDomainMemberArrayOutput values.
// You can construct a concrete instance of `GetMulticastDomainMemberArrayInput` via:
//
// GetMulticastDomainMemberArray{ GetMulticastDomainMemberArgs{...} }
type GetMulticastDomainMemberArrayInput interface {
pulumi.Input
ToGetMulticastDomainMemberArrayOutput() GetMulticastDomainMemberArrayOutput
ToGetMulticastDomainMemberArrayOutputWithContext(context.Context) GetMulticastDomainMemberArrayOutput
}
type GetMulticastDomainMemberArray []GetMulticastDomainMemberInput
func (GetMulticastDomainMemberArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetMulticastDomainMember)(nil)).Elem()
}
func (i GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutput() GetMulticastDomainMemberArrayOutput {
return i.ToGetMulticastDomainMemberArrayOutputWithContext(context.Background())
}
func (i GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutputWithContext(ctx context.Context) GetMulticastDomainMemberArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetMulticastDomainMemberArrayOutput)
}
type GetMulticastDomainMemberOutput struct{ *pulumi.OutputState }
func (GetMulticastDomainMemberOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetMulticastDomainMember)(nil)).Elem()
}
func (o GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutput() GetMulticastDomainMemberOutput {
return o
}
func (o GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutputWithContext(ctx context.Context) GetMulticastDomainMemberOutput {
return o
}
// The IP address assigned to the transit gateway multicast group.
func (o GetMulticastDomainMemberOutput) GroupIpAddress() pulumi.StringOutput {
return o.ApplyT(func(v GetMulticastDomainMember) string { return v.GroupIpAddress }).(pulumi.StringOutput)
}
// The group members' network interface ID.
func (o GetMulticastDomainMemberOutput) NetworkInterfaceId() pulumi.StringOutput {
return o.ApplyT(func(v GetMulticastDomainMember) string { return v.NetworkInterfaceId }).(pulumi.StringOutput)
}
type GetMulticastDomainMemberArrayOutput struct{ *pulumi.OutputState }