/
pulumiTypes.go
1825 lines (1446 loc) · 79 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 pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package ssm
import (
"context"
"reflect"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
var _ = internal.GetEnvOrDefault
type AssociationInstanceAssociationOutputLocation struct {
S3Location *AssociationS3OutputLocation `pulumi:"s3Location"`
}
// AssociationInstanceAssociationOutputLocationInput is an input type that accepts AssociationInstanceAssociationOutputLocationArgs and AssociationInstanceAssociationOutputLocationOutput values.
// You can construct a concrete instance of `AssociationInstanceAssociationOutputLocationInput` via:
//
// AssociationInstanceAssociationOutputLocationArgs{...}
type AssociationInstanceAssociationOutputLocationInput interface {
pulumi.Input
ToAssociationInstanceAssociationOutputLocationOutput() AssociationInstanceAssociationOutputLocationOutput
ToAssociationInstanceAssociationOutputLocationOutputWithContext(context.Context) AssociationInstanceAssociationOutputLocationOutput
}
type AssociationInstanceAssociationOutputLocationArgs struct {
S3Location AssociationS3OutputLocationPtrInput `pulumi:"s3Location"`
}
func (AssociationInstanceAssociationOutputLocationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AssociationInstanceAssociationOutputLocation)(nil)).Elem()
}
func (i AssociationInstanceAssociationOutputLocationArgs) ToAssociationInstanceAssociationOutputLocationOutput() AssociationInstanceAssociationOutputLocationOutput {
return i.ToAssociationInstanceAssociationOutputLocationOutputWithContext(context.Background())
}
func (i AssociationInstanceAssociationOutputLocationArgs) ToAssociationInstanceAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationInstanceAssociationOutputLocationOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationInstanceAssociationOutputLocationOutput)
}
func (i AssociationInstanceAssociationOutputLocationArgs) ToAssociationInstanceAssociationOutputLocationPtrOutput() AssociationInstanceAssociationOutputLocationPtrOutput {
return i.ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(context.Background())
}
func (i AssociationInstanceAssociationOutputLocationArgs) ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationInstanceAssociationOutputLocationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationInstanceAssociationOutputLocationOutput).ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(ctx)
}
// AssociationInstanceAssociationOutputLocationPtrInput is an input type that accepts AssociationInstanceAssociationOutputLocationArgs, AssociationInstanceAssociationOutputLocationPtr and AssociationInstanceAssociationOutputLocationPtrOutput values.
// You can construct a concrete instance of `AssociationInstanceAssociationOutputLocationPtrInput` via:
//
// AssociationInstanceAssociationOutputLocationArgs{...}
//
// or:
//
// nil
type AssociationInstanceAssociationOutputLocationPtrInput interface {
pulumi.Input
ToAssociationInstanceAssociationOutputLocationPtrOutput() AssociationInstanceAssociationOutputLocationPtrOutput
ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(context.Context) AssociationInstanceAssociationOutputLocationPtrOutput
}
type associationInstanceAssociationOutputLocationPtrType AssociationInstanceAssociationOutputLocationArgs
func AssociationInstanceAssociationOutputLocationPtr(v *AssociationInstanceAssociationOutputLocationArgs) AssociationInstanceAssociationOutputLocationPtrInput {
return (*associationInstanceAssociationOutputLocationPtrType)(v)
}
func (*associationInstanceAssociationOutputLocationPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**AssociationInstanceAssociationOutputLocation)(nil)).Elem()
}
func (i *associationInstanceAssociationOutputLocationPtrType) ToAssociationInstanceAssociationOutputLocationPtrOutput() AssociationInstanceAssociationOutputLocationPtrOutput {
return i.ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(context.Background())
}
func (i *associationInstanceAssociationOutputLocationPtrType) ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationInstanceAssociationOutputLocationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationInstanceAssociationOutputLocationPtrOutput)
}
type AssociationInstanceAssociationOutputLocationOutput struct{ *pulumi.OutputState }
func (AssociationInstanceAssociationOutputLocationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AssociationInstanceAssociationOutputLocation)(nil)).Elem()
}
func (o AssociationInstanceAssociationOutputLocationOutput) ToAssociationInstanceAssociationOutputLocationOutput() AssociationInstanceAssociationOutputLocationOutput {
return o
}
func (o AssociationInstanceAssociationOutputLocationOutput) ToAssociationInstanceAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationInstanceAssociationOutputLocationOutput {
return o
}
func (o AssociationInstanceAssociationOutputLocationOutput) ToAssociationInstanceAssociationOutputLocationPtrOutput() AssociationInstanceAssociationOutputLocationPtrOutput {
return o.ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(context.Background())
}
func (o AssociationInstanceAssociationOutputLocationOutput) ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationInstanceAssociationOutputLocationPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v AssociationInstanceAssociationOutputLocation) *AssociationInstanceAssociationOutputLocation {
return &v
}).(AssociationInstanceAssociationOutputLocationPtrOutput)
}
func (o AssociationInstanceAssociationOutputLocationOutput) S3Location() AssociationS3OutputLocationPtrOutput {
return o.ApplyT(func(v AssociationInstanceAssociationOutputLocation) *AssociationS3OutputLocation { return v.S3Location }).(AssociationS3OutputLocationPtrOutput)
}
type AssociationInstanceAssociationOutputLocationPtrOutput struct{ *pulumi.OutputState }
func (AssociationInstanceAssociationOutputLocationPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AssociationInstanceAssociationOutputLocation)(nil)).Elem()
}
func (o AssociationInstanceAssociationOutputLocationPtrOutput) ToAssociationInstanceAssociationOutputLocationPtrOutput() AssociationInstanceAssociationOutputLocationPtrOutput {
return o
}
func (o AssociationInstanceAssociationOutputLocationPtrOutput) ToAssociationInstanceAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationInstanceAssociationOutputLocationPtrOutput {
return o
}
func (o AssociationInstanceAssociationOutputLocationPtrOutput) Elem() AssociationInstanceAssociationOutputLocationOutput {
return o.ApplyT(func(v *AssociationInstanceAssociationOutputLocation) AssociationInstanceAssociationOutputLocation {
if v != nil {
return *v
}
var ret AssociationInstanceAssociationOutputLocation
return ret
}).(AssociationInstanceAssociationOutputLocationOutput)
}
func (o AssociationInstanceAssociationOutputLocationPtrOutput) S3Location() AssociationS3OutputLocationPtrOutput {
return o.ApplyT(func(v *AssociationInstanceAssociationOutputLocation) *AssociationS3OutputLocation {
if v == nil {
return nil
}
return v.S3Location
}).(AssociationS3OutputLocationPtrOutput)
}
type AssociationS3OutputLocation struct {
OutputS3BucketName *string `pulumi:"outputS3BucketName"`
OutputS3KeyPrefix *string `pulumi:"outputS3KeyPrefix"`
OutputS3Region *string `pulumi:"outputS3Region"`
}
// AssociationS3OutputLocationInput is an input type that accepts AssociationS3OutputLocationArgs and AssociationS3OutputLocationOutput values.
// You can construct a concrete instance of `AssociationS3OutputLocationInput` via:
//
// AssociationS3OutputLocationArgs{...}
type AssociationS3OutputLocationInput interface {
pulumi.Input
ToAssociationS3OutputLocationOutput() AssociationS3OutputLocationOutput
ToAssociationS3OutputLocationOutputWithContext(context.Context) AssociationS3OutputLocationOutput
}
type AssociationS3OutputLocationArgs struct {
OutputS3BucketName pulumi.StringPtrInput `pulumi:"outputS3BucketName"`
OutputS3KeyPrefix pulumi.StringPtrInput `pulumi:"outputS3KeyPrefix"`
OutputS3Region pulumi.StringPtrInput `pulumi:"outputS3Region"`
}
func (AssociationS3OutputLocationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AssociationS3OutputLocation)(nil)).Elem()
}
func (i AssociationS3OutputLocationArgs) ToAssociationS3OutputLocationOutput() AssociationS3OutputLocationOutput {
return i.ToAssociationS3OutputLocationOutputWithContext(context.Background())
}
func (i AssociationS3OutputLocationArgs) ToAssociationS3OutputLocationOutputWithContext(ctx context.Context) AssociationS3OutputLocationOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationS3OutputLocationOutput)
}
func (i AssociationS3OutputLocationArgs) ToAssociationS3OutputLocationPtrOutput() AssociationS3OutputLocationPtrOutput {
return i.ToAssociationS3OutputLocationPtrOutputWithContext(context.Background())
}
func (i AssociationS3OutputLocationArgs) ToAssociationS3OutputLocationPtrOutputWithContext(ctx context.Context) AssociationS3OutputLocationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationS3OutputLocationOutput).ToAssociationS3OutputLocationPtrOutputWithContext(ctx)
}
// AssociationS3OutputLocationPtrInput is an input type that accepts AssociationS3OutputLocationArgs, AssociationS3OutputLocationPtr and AssociationS3OutputLocationPtrOutput values.
// You can construct a concrete instance of `AssociationS3OutputLocationPtrInput` via:
//
// AssociationS3OutputLocationArgs{...}
//
// or:
//
// nil
type AssociationS3OutputLocationPtrInput interface {
pulumi.Input
ToAssociationS3OutputLocationPtrOutput() AssociationS3OutputLocationPtrOutput
ToAssociationS3OutputLocationPtrOutputWithContext(context.Context) AssociationS3OutputLocationPtrOutput
}
type associationS3OutputLocationPtrType AssociationS3OutputLocationArgs
func AssociationS3OutputLocationPtr(v *AssociationS3OutputLocationArgs) AssociationS3OutputLocationPtrInput {
return (*associationS3OutputLocationPtrType)(v)
}
func (*associationS3OutputLocationPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**AssociationS3OutputLocation)(nil)).Elem()
}
func (i *associationS3OutputLocationPtrType) ToAssociationS3OutputLocationPtrOutput() AssociationS3OutputLocationPtrOutput {
return i.ToAssociationS3OutputLocationPtrOutputWithContext(context.Background())
}
func (i *associationS3OutputLocationPtrType) ToAssociationS3OutputLocationPtrOutputWithContext(ctx context.Context) AssociationS3OutputLocationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationS3OutputLocationPtrOutput)
}
type AssociationS3OutputLocationOutput struct{ *pulumi.OutputState }
func (AssociationS3OutputLocationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AssociationS3OutputLocation)(nil)).Elem()
}
func (o AssociationS3OutputLocationOutput) ToAssociationS3OutputLocationOutput() AssociationS3OutputLocationOutput {
return o
}
func (o AssociationS3OutputLocationOutput) ToAssociationS3OutputLocationOutputWithContext(ctx context.Context) AssociationS3OutputLocationOutput {
return o
}
func (o AssociationS3OutputLocationOutput) ToAssociationS3OutputLocationPtrOutput() AssociationS3OutputLocationPtrOutput {
return o.ToAssociationS3OutputLocationPtrOutputWithContext(context.Background())
}
func (o AssociationS3OutputLocationOutput) ToAssociationS3OutputLocationPtrOutputWithContext(ctx context.Context) AssociationS3OutputLocationPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v AssociationS3OutputLocation) *AssociationS3OutputLocation {
return &v
}).(AssociationS3OutputLocationPtrOutput)
}
func (o AssociationS3OutputLocationOutput) OutputS3BucketName() pulumi.StringPtrOutput {
return o.ApplyT(func(v AssociationS3OutputLocation) *string { return v.OutputS3BucketName }).(pulumi.StringPtrOutput)
}
func (o AssociationS3OutputLocationOutput) OutputS3KeyPrefix() pulumi.StringPtrOutput {
return o.ApplyT(func(v AssociationS3OutputLocation) *string { return v.OutputS3KeyPrefix }).(pulumi.StringPtrOutput)
}
func (o AssociationS3OutputLocationOutput) OutputS3Region() pulumi.StringPtrOutput {
return o.ApplyT(func(v AssociationS3OutputLocation) *string { return v.OutputS3Region }).(pulumi.StringPtrOutput)
}
type AssociationS3OutputLocationPtrOutput struct{ *pulumi.OutputState }
func (AssociationS3OutputLocationPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AssociationS3OutputLocation)(nil)).Elem()
}
func (o AssociationS3OutputLocationPtrOutput) ToAssociationS3OutputLocationPtrOutput() AssociationS3OutputLocationPtrOutput {
return o
}
func (o AssociationS3OutputLocationPtrOutput) ToAssociationS3OutputLocationPtrOutputWithContext(ctx context.Context) AssociationS3OutputLocationPtrOutput {
return o
}
func (o AssociationS3OutputLocationPtrOutput) Elem() AssociationS3OutputLocationOutput {
return o.ApplyT(func(v *AssociationS3OutputLocation) AssociationS3OutputLocation {
if v != nil {
return *v
}
var ret AssociationS3OutputLocation
return ret
}).(AssociationS3OutputLocationOutput)
}
func (o AssociationS3OutputLocationPtrOutput) OutputS3BucketName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AssociationS3OutputLocation) *string {
if v == nil {
return nil
}
return v.OutputS3BucketName
}).(pulumi.StringPtrOutput)
}
func (o AssociationS3OutputLocationPtrOutput) OutputS3KeyPrefix() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AssociationS3OutputLocation) *string {
if v == nil {
return nil
}
return v.OutputS3KeyPrefix
}).(pulumi.StringPtrOutput)
}
func (o AssociationS3OutputLocationPtrOutput) OutputS3Region() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AssociationS3OutputLocation) *string {
if v == nil {
return nil
}
return v.OutputS3Region
}).(pulumi.StringPtrOutput)
}
type AssociationTarget struct {
Key string `pulumi:"key"`
Values []string `pulumi:"values"`
}
// AssociationTargetInput is an input type that accepts AssociationTargetArgs and AssociationTargetOutput values.
// You can construct a concrete instance of `AssociationTargetInput` via:
//
// AssociationTargetArgs{...}
type AssociationTargetInput interface {
pulumi.Input
ToAssociationTargetOutput() AssociationTargetOutput
ToAssociationTargetOutputWithContext(context.Context) AssociationTargetOutput
}
type AssociationTargetArgs struct {
Key pulumi.StringInput `pulumi:"key"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (AssociationTargetArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AssociationTarget)(nil)).Elem()
}
func (i AssociationTargetArgs) ToAssociationTargetOutput() AssociationTargetOutput {
return i.ToAssociationTargetOutputWithContext(context.Background())
}
func (i AssociationTargetArgs) ToAssociationTargetOutputWithContext(ctx context.Context) AssociationTargetOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationTargetOutput)
}
// AssociationTargetArrayInput is an input type that accepts AssociationTargetArray and AssociationTargetArrayOutput values.
// You can construct a concrete instance of `AssociationTargetArrayInput` via:
//
// AssociationTargetArray{ AssociationTargetArgs{...} }
type AssociationTargetArrayInput interface {
pulumi.Input
ToAssociationTargetArrayOutput() AssociationTargetArrayOutput
ToAssociationTargetArrayOutputWithContext(context.Context) AssociationTargetArrayOutput
}
type AssociationTargetArray []AssociationTargetInput
func (AssociationTargetArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AssociationTarget)(nil)).Elem()
}
func (i AssociationTargetArray) ToAssociationTargetArrayOutput() AssociationTargetArrayOutput {
return i.ToAssociationTargetArrayOutputWithContext(context.Background())
}
func (i AssociationTargetArray) ToAssociationTargetArrayOutputWithContext(ctx context.Context) AssociationTargetArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationTargetArrayOutput)
}
type AssociationTargetOutput struct{ *pulumi.OutputState }
func (AssociationTargetOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AssociationTarget)(nil)).Elem()
}
func (o AssociationTargetOutput) ToAssociationTargetOutput() AssociationTargetOutput {
return o
}
func (o AssociationTargetOutput) ToAssociationTargetOutputWithContext(ctx context.Context) AssociationTargetOutput {
return o
}
func (o AssociationTargetOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v AssociationTarget) string { return v.Key }).(pulumi.StringOutput)
}
func (o AssociationTargetOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v AssociationTarget) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type AssociationTargetArrayOutput struct{ *pulumi.OutputState }
func (AssociationTargetArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AssociationTarget)(nil)).Elem()
}
func (o AssociationTargetArrayOutput) ToAssociationTargetArrayOutput() AssociationTargetArrayOutput {
return o
}
func (o AssociationTargetArrayOutput) ToAssociationTargetArrayOutputWithContext(ctx context.Context) AssociationTargetArrayOutput {
return o
}
func (o AssociationTargetArrayOutput) Index(i pulumi.IntInput) AssociationTargetOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AssociationTarget {
return vs[0].([]AssociationTarget)[vs[1].(int)]
}).(AssociationTargetOutput)
}
type DocumentAttachmentsSource struct {
// The key of a key-value pair that identifies the location of an attachment to a document.
Key *DocumentAttachmentsSourceKey `pulumi:"key"`
// The name of the document attachment file.
Name *string `pulumi:"name"`
// The value of a key-value pair that identifies the location of an attachment to a document. The format for Value depends on the type of key you specify.
Values []string `pulumi:"values"`
}
// DocumentAttachmentsSourceInput is an input type that accepts DocumentAttachmentsSourceArgs and DocumentAttachmentsSourceOutput values.
// You can construct a concrete instance of `DocumentAttachmentsSourceInput` via:
//
// DocumentAttachmentsSourceArgs{...}
type DocumentAttachmentsSourceInput interface {
pulumi.Input
ToDocumentAttachmentsSourceOutput() DocumentAttachmentsSourceOutput
ToDocumentAttachmentsSourceOutputWithContext(context.Context) DocumentAttachmentsSourceOutput
}
type DocumentAttachmentsSourceArgs struct {
// The key of a key-value pair that identifies the location of an attachment to a document.
Key DocumentAttachmentsSourceKeyPtrInput `pulumi:"key"`
// The name of the document attachment file.
Name pulumi.StringPtrInput `pulumi:"name"`
// The value of a key-value pair that identifies the location of an attachment to a document. The format for Value depends on the type of key you specify.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (DocumentAttachmentsSourceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DocumentAttachmentsSource)(nil)).Elem()
}
func (i DocumentAttachmentsSourceArgs) ToDocumentAttachmentsSourceOutput() DocumentAttachmentsSourceOutput {
return i.ToDocumentAttachmentsSourceOutputWithContext(context.Background())
}
func (i DocumentAttachmentsSourceArgs) ToDocumentAttachmentsSourceOutputWithContext(ctx context.Context) DocumentAttachmentsSourceOutput {
return pulumi.ToOutputWithContext(ctx, i).(DocumentAttachmentsSourceOutput)
}
// DocumentAttachmentsSourceArrayInput is an input type that accepts DocumentAttachmentsSourceArray and DocumentAttachmentsSourceArrayOutput values.
// You can construct a concrete instance of `DocumentAttachmentsSourceArrayInput` via:
//
// DocumentAttachmentsSourceArray{ DocumentAttachmentsSourceArgs{...} }
type DocumentAttachmentsSourceArrayInput interface {
pulumi.Input
ToDocumentAttachmentsSourceArrayOutput() DocumentAttachmentsSourceArrayOutput
ToDocumentAttachmentsSourceArrayOutputWithContext(context.Context) DocumentAttachmentsSourceArrayOutput
}
type DocumentAttachmentsSourceArray []DocumentAttachmentsSourceInput
func (DocumentAttachmentsSourceArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]DocumentAttachmentsSource)(nil)).Elem()
}
func (i DocumentAttachmentsSourceArray) ToDocumentAttachmentsSourceArrayOutput() DocumentAttachmentsSourceArrayOutput {
return i.ToDocumentAttachmentsSourceArrayOutputWithContext(context.Background())
}
func (i DocumentAttachmentsSourceArray) ToDocumentAttachmentsSourceArrayOutputWithContext(ctx context.Context) DocumentAttachmentsSourceArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(DocumentAttachmentsSourceArrayOutput)
}
type DocumentAttachmentsSourceOutput struct{ *pulumi.OutputState }
func (DocumentAttachmentsSourceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*DocumentAttachmentsSource)(nil)).Elem()
}
func (o DocumentAttachmentsSourceOutput) ToDocumentAttachmentsSourceOutput() DocumentAttachmentsSourceOutput {
return o
}
func (o DocumentAttachmentsSourceOutput) ToDocumentAttachmentsSourceOutputWithContext(ctx context.Context) DocumentAttachmentsSourceOutput {
return o
}
// The key of a key-value pair that identifies the location of an attachment to a document.
func (o DocumentAttachmentsSourceOutput) Key() DocumentAttachmentsSourceKeyPtrOutput {
return o.ApplyT(func(v DocumentAttachmentsSource) *DocumentAttachmentsSourceKey { return v.Key }).(DocumentAttachmentsSourceKeyPtrOutput)
}
// The name of the document attachment file.
func (o DocumentAttachmentsSourceOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v DocumentAttachmentsSource) *string { return v.Name }).(pulumi.StringPtrOutput)
}
// The value of a key-value pair that identifies the location of an attachment to a document. The format for Value depends on the type of key you specify.
func (o DocumentAttachmentsSourceOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v DocumentAttachmentsSource) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type DocumentAttachmentsSourceArrayOutput struct{ *pulumi.OutputState }
func (DocumentAttachmentsSourceArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]DocumentAttachmentsSource)(nil)).Elem()
}
func (o DocumentAttachmentsSourceArrayOutput) ToDocumentAttachmentsSourceArrayOutput() DocumentAttachmentsSourceArrayOutput {
return o
}
func (o DocumentAttachmentsSourceArrayOutput) ToDocumentAttachmentsSourceArrayOutputWithContext(ctx context.Context) DocumentAttachmentsSourceArrayOutput {
return o
}
func (o DocumentAttachmentsSourceArrayOutput) Index(i pulumi.IntInput) DocumentAttachmentsSourceOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) DocumentAttachmentsSource {
return vs[0].([]DocumentAttachmentsSource)[vs[1].(int)]
}).(DocumentAttachmentsSourceOutput)
}
type DocumentRequires struct {
// The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
Name *string `pulumi:"name"`
// The document version required by the current document.
Version *string `pulumi:"version"`
}
// DocumentRequiresInput is an input type that accepts DocumentRequiresArgs and DocumentRequiresOutput values.
// You can construct a concrete instance of `DocumentRequiresInput` via:
//
// DocumentRequiresArgs{...}
type DocumentRequiresInput interface {
pulumi.Input
ToDocumentRequiresOutput() DocumentRequiresOutput
ToDocumentRequiresOutputWithContext(context.Context) DocumentRequiresOutput
}
type DocumentRequiresArgs struct {
// The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
Name pulumi.StringPtrInput `pulumi:"name"`
// The document version required by the current document.
Version pulumi.StringPtrInput `pulumi:"version"`
}
func (DocumentRequiresArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DocumentRequires)(nil)).Elem()
}
func (i DocumentRequiresArgs) ToDocumentRequiresOutput() DocumentRequiresOutput {
return i.ToDocumentRequiresOutputWithContext(context.Background())
}
func (i DocumentRequiresArgs) ToDocumentRequiresOutputWithContext(ctx context.Context) DocumentRequiresOutput {
return pulumi.ToOutputWithContext(ctx, i).(DocumentRequiresOutput)
}
// DocumentRequiresArrayInput is an input type that accepts DocumentRequiresArray and DocumentRequiresArrayOutput values.
// You can construct a concrete instance of `DocumentRequiresArrayInput` via:
//
// DocumentRequiresArray{ DocumentRequiresArgs{...} }
type DocumentRequiresArrayInput interface {
pulumi.Input
ToDocumentRequiresArrayOutput() DocumentRequiresArrayOutput
ToDocumentRequiresArrayOutputWithContext(context.Context) DocumentRequiresArrayOutput
}
type DocumentRequiresArray []DocumentRequiresInput
func (DocumentRequiresArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]DocumentRequires)(nil)).Elem()
}
func (i DocumentRequiresArray) ToDocumentRequiresArrayOutput() DocumentRequiresArrayOutput {
return i.ToDocumentRequiresArrayOutputWithContext(context.Background())
}
func (i DocumentRequiresArray) ToDocumentRequiresArrayOutputWithContext(ctx context.Context) DocumentRequiresArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(DocumentRequiresArrayOutput)
}
type DocumentRequiresOutput struct{ *pulumi.OutputState }
func (DocumentRequiresOutput) ElementType() reflect.Type {
return reflect.TypeOf((*DocumentRequires)(nil)).Elem()
}
func (o DocumentRequiresOutput) ToDocumentRequiresOutput() DocumentRequiresOutput {
return o
}
func (o DocumentRequiresOutput) ToDocumentRequiresOutputWithContext(ctx context.Context) DocumentRequiresOutput {
return o
}
// The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
func (o DocumentRequiresOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v DocumentRequires) *string { return v.Name }).(pulumi.StringPtrOutput)
}
// The document version required by the current document.
func (o DocumentRequiresOutput) Version() pulumi.StringPtrOutput {
return o.ApplyT(func(v DocumentRequires) *string { return v.Version }).(pulumi.StringPtrOutput)
}
type DocumentRequiresArrayOutput struct{ *pulumi.OutputState }
func (DocumentRequiresArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]DocumentRequires)(nil)).Elem()
}
func (o DocumentRequiresArrayOutput) ToDocumentRequiresArrayOutput() DocumentRequiresArrayOutput {
return o
}
func (o DocumentRequiresArrayOutput) ToDocumentRequiresArrayOutputWithContext(ctx context.Context) DocumentRequiresArrayOutput {
return o
}
func (o DocumentRequiresArrayOutput) Index(i pulumi.IntInput) DocumentRequiresOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) DocumentRequires {
return vs[0].([]DocumentRequires)[vs[1].(int)]
}).(DocumentRequiresOutput)
}
type DocumentTag struct {
// The name of the tag.
Key *string `pulumi:"key"`
// The value of the tag.
Value *string `pulumi:"value"`
}
// Defines which patches should be included in a patch baseline.
type PatchBaselinePatchFilter struct {
Key *PatchBaselinePatchFilterKey `pulumi:"key"`
Values []string `pulumi:"values"`
}
// PatchBaselinePatchFilterInput is an input type that accepts PatchBaselinePatchFilterArgs and PatchBaselinePatchFilterOutput values.
// You can construct a concrete instance of `PatchBaselinePatchFilterInput` via:
//
// PatchBaselinePatchFilterArgs{...}
type PatchBaselinePatchFilterInput interface {
pulumi.Input
ToPatchBaselinePatchFilterOutput() PatchBaselinePatchFilterOutput
ToPatchBaselinePatchFilterOutputWithContext(context.Context) PatchBaselinePatchFilterOutput
}
// Defines which patches should be included in a patch baseline.
type PatchBaselinePatchFilterArgs struct {
Key PatchBaselinePatchFilterKeyPtrInput `pulumi:"key"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (PatchBaselinePatchFilterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PatchBaselinePatchFilter)(nil)).Elem()
}
func (i PatchBaselinePatchFilterArgs) ToPatchBaselinePatchFilterOutput() PatchBaselinePatchFilterOutput {
return i.ToPatchBaselinePatchFilterOutputWithContext(context.Background())
}
func (i PatchBaselinePatchFilterArgs) ToPatchBaselinePatchFilterOutputWithContext(ctx context.Context) PatchBaselinePatchFilterOutput {
return pulumi.ToOutputWithContext(ctx, i).(PatchBaselinePatchFilterOutput)
}
// PatchBaselinePatchFilterArrayInput is an input type that accepts PatchBaselinePatchFilterArray and PatchBaselinePatchFilterArrayOutput values.
// You can construct a concrete instance of `PatchBaselinePatchFilterArrayInput` via:
//
// PatchBaselinePatchFilterArray{ PatchBaselinePatchFilterArgs{...} }
type PatchBaselinePatchFilterArrayInput interface {
pulumi.Input
ToPatchBaselinePatchFilterArrayOutput() PatchBaselinePatchFilterArrayOutput
ToPatchBaselinePatchFilterArrayOutputWithContext(context.Context) PatchBaselinePatchFilterArrayOutput
}
type PatchBaselinePatchFilterArray []PatchBaselinePatchFilterInput
func (PatchBaselinePatchFilterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]PatchBaselinePatchFilter)(nil)).Elem()
}
func (i PatchBaselinePatchFilterArray) ToPatchBaselinePatchFilterArrayOutput() PatchBaselinePatchFilterArrayOutput {
return i.ToPatchBaselinePatchFilterArrayOutputWithContext(context.Background())
}
func (i PatchBaselinePatchFilterArray) ToPatchBaselinePatchFilterArrayOutputWithContext(ctx context.Context) PatchBaselinePatchFilterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(PatchBaselinePatchFilterArrayOutput)
}
// Defines which patches should be included in a patch baseline.
type PatchBaselinePatchFilterOutput struct{ *pulumi.OutputState }
func (PatchBaselinePatchFilterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PatchBaselinePatchFilter)(nil)).Elem()
}
func (o PatchBaselinePatchFilterOutput) ToPatchBaselinePatchFilterOutput() PatchBaselinePatchFilterOutput {
return o
}
func (o PatchBaselinePatchFilterOutput) ToPatchBaselinePatchFilterOutputWithContext(ctx context.Context) PatchBaselinePatchFilterOutput {
return o
}
func (o PatchBaselinePatchFilterOutput) Key() PatchBaselinePatchFilterKeyPtrOutput {
return o.ApplyT(func(v PatchBaselinePatchFilter) *PatchBaselinePatchFilterKey { return v.Key }).(PatchBaselinePatchFilterKeyPtrOutput)
}
func (o PatchBaselinePatchFilterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v PatchBaselinePatchFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type PatchBaselinePatchFilterArrayOutput struct{ *pulumi.OutputState }
func (PatchBaselinePatchFilterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]PatchBaselinePatchFilter)(nil)).Elem()
}
func (o PatchBaselinePatchFilterArrayOutput) ToPatchBaselinePatchFilterArrayOutput() PatchBaselinePatchFilterArrayOutput {
return o
}
func (o PatchBaselinePatchFilterArrayOutput) ToPatchBaselinePatchFilterArrayOutputWithContext(ctx context.Context) PatchBaselinePatchFilterArrayOutput {
return o
}
func (o PatchBaselinePatchFilterArrayOutput) Index(i pulumi.IntInput) PatchBaselinePatchFilterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatchBaselinePatchFilter {
return vs[0].([]PatchBaselinePatchFilter)[vs[1].(int)]
}).(PatchBaselinePatchFilterOutput)
}
// The patch filter group that defines the criteria for the rule.
type PatchBaselinePatchFilterGroup struct {
PatchFilters []PatchBaselinePatchFilter `pulumi:"patchFilters"`
}
// PatchBaselinePatchFilterGroupInput is an input type that accepts PatchBaselinePatchFilterGroupArgs and PatchBaselinePatchFilterGroupOutput values.
// You can construct a concrete instance of `PatchBaselinePatchFilterGroupInput` via:
//
// PatchBaselinePatchFilterGroupArgs{...}
type PatchBaselinePatchFilterGroupInput interface {
pulumi.Input
ToPatchBaselinePatchFilterGroupOutput() PatchBaselinePatchFilterGroupOutput
ToPatchBaselinePatchFilterGroupOutputWithContext(context.Context) PatchBaselinePatchFilterGroupOutput
}
// The patch filter group that defines the criteria for the rule.
type PatchBaselinePatchFilterGroupArgs struct {
PatchFilters PatchBaselinePatchFilterArrayInput `pulumi:"patchFilters"`
}
func (PatchBaselinePatchFilterGroupArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PatchBaselinePatchFilterGroup)(nil)).Elem()
}
func (i PatchBaselinePatchFilterGroupArgs) ToPatchBaselinePatchFilterGroupOutput() PatchBaselinePatchFilterGroupOutput {
return i.ToPatchBaselinePatchFilterGroupOutputWithContext(context.Background())
}
func (i PatchBaselinePatchFilterGroupArgs) ToPatchBaselinePatchFilterGroupOutputWithContext(ctx context.Context) PatchBaselinePatchFilterGroupOutput {
return pulumi.ToOutputWithContext(ctx, i).(PatchBaselinePatchFilterGroupOutput)
}
func (i PatchBaselinePatchFilterGroupArgs) ToPatchBaselinePatchFilterGroupPtrOutput() PatchBaselinePatchFilterGroupPtrOutput {
return i.ToPatchBaselinePatchFilterGroupPtrOutputWithContext(context.Background())
}
func (i PatchBaselinePatchFilterGroupArgs) ToPatchBaselinePatchFilterGroupPtrOutputWithContext(ctx context.Context) PatchBaselinePatchFilterGroupPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PatchBaselinePatchFilterGroupOutput).ToPatchBaselinePatchFilterGroupPtrOutputWithContext(ctx)
}
// PatchBaselinePatchFilterGroupPtrInput is an input type that accepts PatchBaselinePatchFilterGroupArgs, PatchBaselinePatchFilterGroupPtr and PatchBaselinePatchFilterGroupPtrOutput values.
// You can construct a concrete instance of `PatchBaselinePatchFilterGroupPtrInput` via:
//
// PatchBaselinePatchFilterGroupArgs{...}
//
// or:
//
// nil
type PatchBaselinePatchFilterGroupPtrInput interface {
pulumi.Input
ToPatchBaselinePatchFilterGroupPtrOutput() PatchBaselinePatchFilterGroupPtrOutput
ToPatchBaselinePatchFilterGroupPtrOutputWithContext(context.Context) PatchBaselinePatchFilterGroupPtrOutput
}
type patchBaselinePatchFilterGroupPtrType PatchBaselinePatchFilterGroupArgs
func PatchBaselinePatchFilterGroupPtr(v *PatchBaselinePatchFilterGroupArgs) PatchBaselinePatchFilterGroupPtrInput {
return (*patchBaselinePatchFilterGroupPtrType)(v)
}
func (*patchBaselinePatchFilterGroupPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**PatchBaselinePatchFilterGroup)(nil)).Elem()
}
func (i *patchBaselinePatchFilterGroupPtrType) ToPatchBaselinePatchFilterGroupPtrOutput() PatchBaselinePatchFilterGroupPtrOutput {
return i.ToPatchBaselinePatchFilterGroupPtrOutputWithContext(context.Background())
}
func (i *patchBaselinePatchFilterGroupPtrType) ToPatchBaselinePatchFilterGroupPtrOutputWithContext(ctx context.Context) PatchBaselinePatchFilterGroupPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PatchBaselinePatchFilterGroupPtrOutput)
}
// The patch filter group that defines the criteria for the rule.
type PatchBaselinePatchFilterGroupOutput struct{ *pulumi.OutputState }
func (PatchBaselinePatchFilterGroupOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PatchBaselinePatchFilterGroup)(nil)).Elem()
}
func (o PatchBaselinePatchFilterGroupOutput) ToPatchBaselinePatchFilterGroupOutput() PatchBaselinePatchFilterGroupOutput {
return o
}
func (o PatchBaselinePatchFilterGroupOutput) ToPatchBaselinePatchFilterGroupOutputWithContext(ctx context.Context) PatchBaselinePatchFilterGroupOutput {
return o
}
func (o PatchBaselinePatchFilterGroupOutput) ToPatchBaselinePatchFilterGroupPtrOutput() PatchBaselinePatchFilterGroupPtrOutput {
return o.ToPatchBaselinePatchFilterGroupPtrOutputWithContext(context.Background())
}
func (o PatchBaselinePatchFilterGroupOutput) ToPatchBaselinePatchFilterGroupPtrOutputWithContext(ctx context.Context) PatchBaselinePatchFilterGroupPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v PatchBaselinePatchFilterGroup) *PatchBaselinePatchFilterGroup {
return &v
}).(PatchBaselinePatchFilterGroupPtrOutput)
}
func (o PatchBaselinePatchFilterGroupOutput) PatchFilters() PatchBaselinePatchFilterArrayOutput {
return o.ApplyT(func(v PatchBaselinePatchFilterGroup) []PatchBaselinePatchFilter { return v.PatchFilters }).(PatchBaselinePatchFilterArrayOutput)
}
type PatchBaselinePatchFilterGroupPtrOutput struct{ *pulumi.OutputState }
func (PatchBaselinePatchFilterGroupPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**PatchBaselinePatchFilterGroup)(nil)).Elem()
}
func (o PatchBaselinePatchFilterGroupPtrOutput) ToPatchBaselinePatchFilterGroupPtrOutput() PatchBaselinePatchFilterGroupPtrOutput {
return o
}
func (o PatchBaselinePatchFilterGroupPtrOutput) ToPatchBaselinePatchFilterGroupPtrOutputWithContext(ctx context.Context) PatchBaselinePatchFilterGroupPtrOutput {
return o
}
func (o PatchBaselinePatchFilterGroupPtrOutput) Elem() PatchBaselinePatchFilterGroupOutput {
return o.ApplyT(func(v *PatchBaselinePatchFilterGroup) PatchBaselinePatchFilterGroup {
if v != nil {
return *v
}
var ret PatchBaselinePatchFilterGroup
return ret
}).(PatchBaselinePatchFilterGroupOutput)
}
func (o PatchBaselinePatchFilterGroupPtrOutput) PatchFilters() PatchBaselinePatchFilterArrayOutput {
return o.ApplyT(func(v *PatchBaselinePatchFilterGroup) []PatchBaselinePatchFilter {
if v == nil {
return nil
}
return v.PatchFilters
}).(PatchBaselinePatchFilterArrayOutput)
}
// Information about the patches to use to update the instances, including target operating systems and source repository. Applies to Linux instances only.
type PatchBaselinePatchSource struct {
Configuration *string `pulumi:"configuration"`
Name *string `pulumi:"name"`
Products []string `pulumi:"products"`
}
// PatchBaselinePatchSourceInput is an input type that accepts PatchBaselinePatchSourceArgs and PatchBaselinePatchSourceOutput values.
// You can construct a concrete instance of `PatchBaselinePatchSourceInput` via:
//
// PatchBaselinePatchSourceArgs{...}
type PatchBaselinePatchSourceInput interface {
pulumi.Input
ToPatchBaselinePatchSourceOutput() PatchBaselinePatchSourceOutput
ToPatchBaselinePatchSourceOutputWithContext(context.Context) PatchBaselinePatchSourceOutput
}
// Information about the patches to use to update the instances, including target operating systems and source repository. Applies to Linux instances only.
type PatchBaselinePatchSourceArgs struct {
Configuration pulumi.StringPtrInput `pulumi:"configuration"`
Name pulumi.StringPtrInput `pulumi:"name"`
Products pulumi.StringArrayInput `pulumi:"products"`
}
func (PatchBaselinePatchSourceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PatchBaselinePatchSource)(nil)).Elem()
}
func (i PatchBaselinePatchSourceArgs) ToPatchBaselinePatchSourceOutput() PatchBaselinePatchSourceOutput {
return i.ToPatchBaselinePatchSourceOutputWithContext(context.Background())
}
func (i PatchBaselinePatchSourceArgs) ToPatchBaselinePatchSourceOutputWithContext(ctx context.Context) PatchBaselinePatchSourceOutput {
return pulumi.ToOutputWithContext(ctx, i).(PatchBaselinePatchSourceOutput)
}
// PatchBaselinePatchSourceArrayInput is an input type that accepts PatchBaselinePatchSourceArray and PatchBaselinePatchSourceArrayOutput values.
// You can construct a concrete instance of `PatchBaselinePatchSourceArrayInput` via:
//
// PatchBaselinePatchSourceArray{ PatchBaselinePatchSourceArgs{...} }
type PatchBaselinePatchSourceArrayInput interface {
pulumi.Input
ToPatchBaselinePatchSourceArrayOutput() PatchBaselinePatchSourceArrayOutput
ToPatchBaselinePatchSourceArrayOutputWithContext(context.Context) PatchBaselinePatchSourceArrayOutput
}
type PatchBaselinePatchSourceArray []PatchBaselinePatchSourceInput
func (PatchBaselinePatchSourceArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]PatchBaselinePatchSource)(nil)).Elem()
}
func (i PatchBaselinePatchSourceArray) ToPatchBaselinePatchSourceArrayOutput() PatchBaselinePatchSourceArrayOutput {
return i.ToPatchBaselinePatchSourceArrayOutputWithContext(context.Background())
}
func (i PatchBaselinePatchSourceArray) ToPatchBaselinePatchSourceArrayOutputWithContext(ctx context.Context) PatchBaselinePatchSourceArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(PatchBaselinePatchSourceArrayOutput)
}
// Information about the patches to use to update the instances, including target operating systems and source repository. Applies to Linux instances only.
type PatchBaselinePatchSourceOutput struct{ *pulumi.OutputState }
func (PatchBaselinePatchSourceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PatchBaselinePatchSource)(nil)).Elem()
}
func (o PatchBaselinePatchSourceOutput) ToPatchBaselinePatchSourceOutput() PatchBaselinePatchSourceOutput {
return o
}
func (o PatchBaselinePatchSourceOutput) ToPatchBaselinePatchSourceOutputWithContext(ctx context.Context) PatchBaselinePatchSourceOutput {
return o
}
func (o PatchBaselinePatchSourceOutput) Configuration() pulumi.StringPtrOutput {
return o.ApplyT(func(v PatchBaselinePatchSource) *string { return v.Configuration }).(pulumi.StringPtrOutput)
}
func (o PatchBaselinePatchSourceOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v PatchBaselinePatchSource) *string { return v.Name }).(pulumi.StringPtrOutput)
}
func (o PatchBaselinePatchSourceOutput) Products() pulumi.StringArrayOutput {
return o.ApplyT(func(v PatchBaselinePatchSource) []string { return v.Products }).(pulumi.StringArrayOutput)
}
type PatchBaselinePatchSourceArrayOutput struct{ *pulumi.OutputState }
func (PatchBaselinePatchSourceArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]PatchBaselinePatchSource)(nil)).Elem()
}
func (o PatchBaselinePatchSourceArrayOutput) ToPatchBaselinePatchSourceArrayOutput() PatchBaselinePatchSourceArrayOutput {
return o
}
func (o PatchBaselinePatchSourceArrayOutput) ToPatchBaselinePatchSourceArrayOutputWithContext(ctx context.Context) PatchBaselinePatchSourceArrayOutput {
return o
}
func (o PatchBaselinePatchSourceArrayOutput) Index(i pulumi.IntInput) PatchBaselinePatchSourceOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatchBaselinePatchSource {
return vs[0].([]PatchBaselinePatchSource)[vs[1].(int)]
}).(PatchBaselinePatchSourceOutput)
}
// Defines an approval rule for a patch baseline.
type PatchBaselineRule struct {
ApproveAfterDays *int `pulumi:"approveAfterDays"`
ApproveUntilDate *string `pulumi:"approveUntilDate"`
ComplianceLevel *PatchBaselineRuleComplianceLevel `pulumi:"complianceLevel"`
EnableNonSecurity *bool `pulumi:"enableNonSecurity"`
PatchFilterGroup *PatchBaselinePatchFilterGroup `pulumi:"patchFilterGroup"`
}
// PatchBaselineRuleInput is an input type that accepts PatchBaselineRuleArgs and PatchBaselineRuleOutput values.
// You can construct a concrete instance of `PatchBaselineRuleInput` via:
//
// PatchBaselineRuleArgs{...}