-
Notifications
You must be signed in to change notification settings - Fork 151
/
pulumiTypes.go
3054 lines (2468 loc) · 177 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
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package ssm
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type AssociationOutputLocation struct {
// The S3 bucket name.
S3BucketName string `pulumi:"s3BucketName"`
// The S3 bucket prefix. Results stored in the root if not configured.
S3KeyPrefix *string `pulumi:"s3KeyPrefix"`
}
// AssociationOutputLocationInput is an input type that accepts AssociationOutputLocationArgs and AssociationOutputLocationOutput values.
// You can construct a concrete instance of `AssociationOutputLocationInput` via:
//
// AssociationOutputLocationArgs{...}
type AssociationOutputLocationInput interface {
pulumi.Input
ToAssociationOutputLocationOutput() AssociationOutputLocationOutput
ToAssociationOutputLocationOutputWithContext(context.Context) AssociationOutputLocationOutput
}
type AssociationOutputLocationArgs struct {
// The S3 bucket name.
S3BucketName pulumi.StringInput `pulumi:"s3BucketName"`
// The S3 bucket prefix. Results stored in the root if not configured.
S3KeyPrefix pulumi.StringPtrInput `pulumi:"s3KeyPrefix"`
}
func (AssociationOutputLocationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AssociationOutputLocation)(nil)).Elem()
}
func (i AssociationOutputLocationArgs) ToAssociationOutputLocationOutput() AssociationOutputLocationOutput {
return i.ToAssociationOutputLocationOutputWithContext(context.Background())
}
func (i AssociationOutputLocationArgs) ToAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationOutputLocationOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationOutputLocationOutput)
}
func (i AssociationOutputLocationArgs) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput {
return i.ToAssociationOutputLocationPtrOutputWithContext(context.Background())
}
func (i AssociationOutputLocationArgs) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationOutputLocationOutput).ToAssociationOutputLocationPtrOutputWithContext(ctx)
}
// AssociationOutputLocationPtrInput is an input type that accepts AssociationOutputLocationArgs, AssociationOutputLocationPtr and AssociationOutputLocationPtrOutput values.
// You can construct a concrete instance of `AssociationOutputLocationPtrInput` via:
//
// AssociationOutputLocationArgs{...}
//
// or:
//
// nil
type AssociationOutputLocationPtrInput interface {
pulumi.Input
ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput
ToAssociationOutputLocationPtrOutputWithContext(context.Context) AssociationOutputLocationPtrOutput
}
type associationOutputLocationPtrType AssociationOutputLocationArgs
func AssociationOutputLocationPtr(v *AssociationOutputLocationArgs) AssociationOutputLocationPtrInput {
return (*associationOutputLocationPtrType)(v)
}
func (*associationOutputLocationPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**AssociationOutputLocation)(nil)).Elem()
}
func (i *associationOutputLocationPtrType) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput {
return i.ToAssociationOutputLocationPtrOutputWithContext(context.Background())
}
func (i *associationOutputLocationPtrType) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AssociationOutputLocationPtrOutput)
}
type AssociationOutputLocationOutput struct{ *pulumi.OutputState }
func (AssociationOutputLocationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AssociationOutputLocation)(nil)).Elem()
}
func (o AssociationOutputLocationOutput) ToAssociationOutputLocationOutput() AssociationOutputLocationOutput {
return o
}
func (o AssociationOutputLocationOutput) ToAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationOutputLocationOutput {
return o
}
func (o AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput {
return o.ToAssociationOutputLocationPtrOutputWithContext(context.Background())
}
func (o AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v AssociationOutputLocation) *AssociationOutputLocation {
return &v
}).(AssociationOutputLocationPtrOutput)
}
// The S3 bucket name.
func (o AssociationOutputLocationOutput) S3BucketName() pulumi.StringOutput {
return o.ApplyT(func(v AssociationOutputLocation) string { return v.S3BucketName }).(pulumi.StringOutput)
}
// The S3 bucket prefix. Results stored in the root if not configured.
func (o AssociationOutputLocationOutput) S3KeyPrefix() pulumi.StringPtrOutput {
return o.ApplyT(func(v AssociationOutputLocation) *string { return v.S3KeyPrefix }).(pulumi.StringPtrOutput)
}
type AssociationOutputLocationPtrOutput struct{ *pulumi.OutputState }
func (AssociationOutputLocationPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AssociationOutputLocation)(nil)).Elem()
}
func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput {
return o
}
func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput {
return o
}
func (o AssociationOutputLocationPtrOutput) Elem() AssociationOutputLocationOutput {
return o.ApplyT(func(v *AssociationOutputLocation) AssociationOutputLocation {
if v != nil {
return *v
}
var ret AssociationOutputLocation
return ret
}).(AssociationOutputLocationOutput)
}
// The S3 bucket name.
func (o AssociationOutputLocationPtrOutput) S3BucketName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AssociationOutputLocation) *string {
if v == nil {
return nil
}
return &v.S3BucketName
}).(pulumi.StringPtrOutput)
}
// The S3 bucket prefix. Results stored in the root if not configured.
func (o AssociationOutputLocationPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AssociationOutputLocation) *string {
if v == nil {
return nil
}
return v.S3KeyPrefix
}).(pulumi.StringPtrOutput)
}
type AssociationTarget struct {
// Either `InstanceIds` or `tag:Tag Name` to specify an EC2 tag.
Key string `pulumi:"key"`
// A list of instance IDs or tag values. AWS currently limits this list size to one value.
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 {
// Either `InstanceIds` or `tag:Tag Name` to specify an EC2 tag.
Key pulumi.StringInput `pulumi:"key"`
// A list of instance IDs or tag values. AWS currently limits this list size to one value.
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
}
// Either `InstanceIds` or `tag:Tag Name` to specify an EC2 tag.
func (o AssociationTargetOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v AssociationTarget) string { return v.Key }).(pulumi.StringOutput)
}
// A list of instance IDs or tag values. AWS currently limits this list size to one value.
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 describing the location of an attachment to a document. Valid key types include: `SourceUrl` and `S3FileUrl`
Key string `pulumi:"key"`
// The name of the document attachment file
Name *string `pulumi:"name"`
// The value describing the location of an attachment to a document
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 describing the location of an attachment to a document. Valid key types include: `SourceUrl` and `S3FileUrl`
Key pulumi.StringInput `pulumi:"key"`
// The name of the document attachment file
Name pulumi.StringPtrInput `pulumi:"name"`
// The value describing the location of an attachment to a document
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 describing the location of an attachment to a document. Valid key types include: `SourceUrl` and `S3FileUrl`
func (o DocumentAttachmentsSourceOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v DocumentAttachmentsSource) string { return v.Key }).(pulumi.StringOutput)
}
// 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 describing the location of an attachment to a document
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 DocumentParameter struct {
DefaultValue *string `pulumi:"defaultValue"`
// The description of the document.
Description *string `pulumi:"description"`
// The name of the document.
Name *string `pulumi:"name"`
Type *string `pulumi:"type"`
}
// DocumentParameterInput is an input type that accepts DocumentParameterArgs and DocumentParameterOutput values.
// You can construct a concrete instance of `DocumentParameterInput` via:
//
// DocumentParameterArgs{...}
type DocumentParameterInput interface {
pulumi.Input
ToDocumentParameterOutput() DocumentParameterOutput
ToDocumentParameterOutputWithContext(context.Context) DocumentParameterOutput
}
type DocumentParameterArgs struct {
DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
// The description of the document.
Description pulumi.StringPtrInput `pulumi:"description"`
// The name of the document.
Name pulumi.StringPtrInput `pulumi:"name"`
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (DocumentParameterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DocumentParameter)(nil)).Elem()
}
func (i DocumentParameterArgs) ToDocumentParameterOutput() DocumentParameterOutput {
return i.ToDocumentParameterOutputWithContext(context.Background())
}
func (i DocumentParameterArgs) ToDocumentParameterOutputWithContext(ctx context.Context) DocumentParameterOutput {
return pulumi.ToOutputWithContext(ctx, i).(DocumentParameterOutput)
}
// DocumentParameterArrayInput is an input type that accepts DocumentParameterArray and DocumentParameterArrayOutput values.
// You can construct a concrete instance of `DocumentParameterArrayInput` via:
//
// DocumentParameterArray{ DocumentParameterArgs{...} }
type DocumentParameterArrayInput interface {
pulumi.Input
ToDocumentParameterArrayOutput() DocumentParameterArrayOutput
ToDocumentParameterArrayOutputWithContext(context.Context) DocumentParameterArrayOutput
}
type DocumentParameterArray []DocumentParameterInput
func (DocumentParameterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]DocumentParameter)(nil)).Elem()
}
func (i DocumentParameterArray) ToDocumentParameterArrayOutput() DocumentParameterArrayOutput {
return i.ToDocumentParameterArrayOutputWithContext(context.Background())
}
func (i DocumentParameterArray) ToDocumentParameterArrayOutputWithContext(ctx context.Context) DocumentParameterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(DocumentParameterArrayOutput)
}
type DocumentParameterOutput struct{ *pulumi.OutputState }
func (DocumentParameterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*DocumentParameter)(nil)).Elem()
}
func (o DocumentParameterOutput) ToDocumentParameterOutput() DocumentParameterOutput {
return o
}
func (o DocumentParameterOutput) ToDocumentParameterOutputWithContext(ctx context.Context) DocumentParameterOutput {
return o
}
func (o DocumentParameterOutput) DefaultValue() pulumi.StringPtrOutput {
return o.ApplyT(func(v DocumentParameter) *string { return v.DefaultValue }).(pulumi.StringPtrOutput)
}
// The description of the document.
func (o DocumentParameterOutput) Description() pulumi.StringPtrOutput {
return o.ApplyT(func(v DocumentParameter) *string { return v.Description }).(pulumi.StringPtrOutput)
}
// The name of the document.
func (o DocumentParameterOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v DocumentParameter) *string { return v.Name }).(pulumi.StringPtrOutput)
}
func (o DocumentParameterOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v DocumentParameter) *string { return v.Type }).(pulumi.StringPtrOutput)
}
type DocumentParameterArrayOutput struct{ *pulumi.OutputState }
func (DocumentParameterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]DocumentParameter)(nil)).Elem()
}
func (o DocumentParameterArrayOutput) ToDocumentParameterArrayOutput() DocumentParameterArrayOutput {
return o
}
func (o DocumentParameterArrayOutput) ToDocumentParameterArrayOutputWithContext(ctx context.Context) DocumentParameterArrayOutput {
return o
}
func (o DocumentParameterArrayOutput) Index(i pulumi.IntInput) DocumentParameterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) DocumentParameter {
return vs[0].([]DocumentParameter)[vs[1].(int)]
}).(DocumentParameterOutput)
}
type MaintenanceWindowTargetTarget struct {
Key string `pulumi:"key"`
Values []string `pulumi:"values"`
}
// MaintenanceWindowTargetTargetInput is an input type that accepts MaintenanceWindowTargetTargetArgs and MaintenanceWindowTargetTargetOutput values.
// You can construct a concrete instance of `MaintenanceWindowTargetTargetInput` via:
//
// MaintenanceWindowTargetTargetArgs{...}
type MaintenanceWindowTargetTargetInput interface {
pulumi.Input
ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput
ToMaintenanceWindowTargetTargetOutputWithContext(context.Context) MaintenanceWindowTargetTargetOutput
}
type MaintenanceWindowTargetTargetArgs struct {
Key pulumi.StringInput `pulumi:"key"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (MaintenanceWindowTargetTargetArgs) ElementType() reflect.Type {
return reflect.TypeOf((*MaintenanceWindowTargetTarget)(nil)).Elem()
}
func (i MaintenanceWindowTargetTargetArgs) ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput {
return i.ToMaintenanceWindowTargetTargetOutputWithContext(context.Background())
}
func (i MaintenanceWindowTargetTargetArgs) ToMaintenanceWindowTargetTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTargetTargetOutput)
}
// MaintenanceWindowTargetTargetArrayInput is an input type that accepts MaintenanceWindowTargetTargetArray and MaintenanceWindowTargetTargetArrayOutput values.
// You can construct a concrete instance of `MaintenanceWindowTargetTargetArrayInput` via:
//
// MaintenanceWindowTargetTargetArray{ MaintenanceWindowTargetTargetArgs{...} }
type MaintenanceWindowTargetTargetArrayInput interface {
pulumi.Input
ToMaintenanceWindowTargetTargetArrayOutput() MaintenanceWindowTargetTargetArrayOutput
ToMaintenanceWindowTargetTargetArrayOutputWithContext(context.Context) MaintenanceWindowTargetTargetArrayOutput
}
type MaintenanceWindowTargetTargetArray []MaintenanceWindowTargetTargetInput
func (MaintenanceWindowTargetTargetArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]MaintenanceWindowTargetTarget)(nil)).Elem()
}
func (i MaintenanceWindowTargetTargetArray) ToMaintenanceWindowTargetTargetArrayOutput() MaintenanceWindowTargetTargetArrayOutput {
return i.ToMaintenanceWindowTargetTargetArrayOutputWithContext(context.Background())
}
func (i MaintenanceWindowTargetTargetArray) ToMaintenanceWindowTargetTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTargetTargetArrayOutput)
}
type MaintenanceWindowTargetTargetOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTargetTargetOutput) ElementType() reflect.Type {
return reflect.TypeOf((*MaintenanceWindowTargetTarget)(nil)).Elem()
}
func (o MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput {
return o
}
func (o MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetOutput {
return o
}
func (o MaintenanceWindowTargetTargetOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v MaintenanceWindowTargetTarget) string { return v.Key }).(pulumi.StringOutput)
}
func (o MaintenanceWindowTargetTargetOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v MaintenanceWindowTargetTarget) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type MaintenanceWindowTargetTargetArrayOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTargetTargetArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]MaintenanceWindowTargetTarget)(nil)).Elem()
}
func (o MaintenanceWindowTargetTargetArrayOutput) ToMaintenanceWindowTargetTargetArrayOutput() MaintenanceWindowTargetTargetArrayOutput {
return o
}
func (o MaintenanceWindowTargetTargetArrayOutput) ToMaintenanceWindowTargetTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetArrayOutput {
return o
}
func (o MaintenanceWindowTargetTargetArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowTargetTargetOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) MaintenanceWindowTargetTarget {
return vs[0].([]MaintenanceWindowTargetTarget)[vs[1].(int)]
}).(MaintenanceWindowTargetTargetOutput)
}
type MaintenanceWindowTaskTarget struct {
Key string `pulumi:"key"`
// The array of strings.
Values []string `pulumi:"values"`
}
// MaintenanceWindowTaskTargetInput is an input type that accepts MaintenanceWindowTaskTargetArgs and MaintenanceWindowTaskTargetOutput values.
// You can construct a concrete instance of `MaintenanceWindowTaskTargetInput` via:
//
// MaintenanceWindowTaskTargetArgs{...}
type MaintenanceWindowTaskTargetInput interface {
pulumi.Input
ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput
ToMaintenanceWindowTaskTargetOutputWithContext(context.Context) MaintenanceWindowTaskTargetOutput
}
type MaintenanceWindowTaskTargetArgs struct {
Key pulumi.StringInput `pulumi:"key"`
// The array of strings.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (MaintenanceWindowTaskTargetArgs) ElementType() reflect.Type {
return reflect.TypeOf((*MaintenanceWindowTaskTarget)(nil)).Elem()
}
func (i MaintenanceWindowTaskTargetArgs) ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput {
return i.ToMaintenanceWindowTaskTargetOutputWithContext(context.Background())
}
func (i MaintenanceWindowTaskTargetArgs) ToMaintenanceWindowTaskTargetOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTaskTargetOutput)
}
// MaintenanceWindowTaskTargetArrayInput is an input type that accepts MaintenanceWindowTaskTargetArray and MaintenanceWindowTaskTargetArrayOutput values.
// You can construct a concrete instance of `MaintenanceWindowTaskTargetArrayInput` via:
//
// MaintenanceWindowTaskTargetArray{ MaintenanceWindowTaskTargetArgs{...} }
type MaintenanceWindowTaskTargetArrayInput interface {
pulumi.Input
ToMaintenanceWindowTaskTargetArrayOutput() MaintenanceWindowTaskTargetArrayOutput
ToMaintenanceWindowTaskTargetArrayOutputWithContext(context.Context) MaintenanceWindowTaskTargetArrayOutput
}
type MaintenanceWindowTaskTargetArray []MaintenanceWindowTaskTargetInput
func (MaintenanceWindowTaskTargetArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]MaintenanceWindowTaskTarget)(nil)).Elem()
}
func (i MaintenanceWindowTaskTargetArray) ToMaintenanceWindowTaskTargetArrayOutput() MaintenanceWindowTaskTargetArrayOutput {
return i.ToMaintenanceWindowTaskTargetArrayOutputWithContext(context.Background())
}
func (i MaintenanceWindowTaskTargetArray) ToMaintenanceWindowTaskTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTaskTargetArrayOutput)
}
type MaintenanceWindowTaskTargetOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTargetOutput) ElementType() reflect.Type {
return reflect.TypeOf((*MaintenanceWindowTaskTarget)(nil)).Elem()
}
func (o MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput {
return o
}
func (o MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetOutput {
return o
}
func (o MaintenanceWindowTaskTargetOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v MaintenanceWindowTaskTarget) string { return v.Key }).(pulumi.StringOutput)
}
// The array of strings.
func (o MaintenanceWindowTaskTargetOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v MaintenanceWindowTaskTarget) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type MaintenanceWindowTaskTargetArrayOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTargetArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]MaintenanceWindowTaskTarget)(nil)).Elem()
}
func (o MaintenanceWindowTaskTargetArrayOutput) ToMaintenanceWindowTaskTargetArrayOutput() MaintenanceWindowTaskTargetArrayOutput {
return o
}
func (o MaintenanceWindowTaskTargetArrayOutput) ToMaintenanceWindowTaskTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetArrayOutput {
return o
}
func (o MaintenanceWindowTaskTargetArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowTaskTargetOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) MaintenanceWindowTaskTarget {
return vs[0].([]MaintenanceWindowTaskTarget)[vs[1].(int)]
}).(MaintenanceWindowTaskTargetOutput)
}
type MaintenanceWindowTaskTaskInvocationParameters struct {
// The parameters for an AUTOMATION task type. Documented below.
AutomationParameters *MaintenanceWindowTaskTaskInvocationParametersAutomationParameters `pulumi:"automationParameters"`
// The parameters for a LAMBDA task type. Documented below.
LambdaParameters *MaintenanceWindowTaskTaskInvocationParametersLambdaParameters `pulumi:"lambdaParameters"`
// The parameters for a RUN_COMMAND task type. Documented below.
RunCommandParameters *MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters `pulumi:"runCommandParameters"`
// The parameters for a STEP_FUNCTIONS task type. Documented below.
StepFunctionsParameters *MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParameters `pulumi:"stepFunctionsParameters"`
}
// MaintenanceWindowTaskTaskInvocationParametersInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersArgs and MaintenanceWindowTaskTaskInvocationParametersOutput values.
// You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersInput` via:
//
// MaintenanceWindowTaskTaskInvocationParametersArgs{...}
type MaintenanceWindowTaskTaskInvocationParametersInput interface {
pulumi.Input
ToMaintenanceWindowTaskTaskInvocationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersOutput
ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersOutput
}
type MaintenanceWindowTaskTaskInvocationParametersArgs struct {
// The parameters for an AUTOMATION task type. Documented below.
AutomationParameters MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput `pulumi:"automationParameters"`
// The parameters for a LAMBDA task type. Documented below.
LambdaParameters MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrInput `pulumi:"lambdaParameters"`
// The parameters for a RUN_COMMAND task type. Documented below.
RunCommandParameters MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrInput `pulumi:"runCommandParameters"`
// The parameters for a STEP_FUNCTIONS task type. Documented below.
StepFunctionsParameters MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrInput `pulumi:"stepFunctionsParameters"`
}
func (MaintenanceWindowTaskTaskInvocationParametersArgs) ElementType() reflect.Type {
return reflect.TypeOf((*MaintenanceWindowTaskTaskInvocationParameters)(nil)).Elem()
}
func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersOutput {
return i.ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(context.Background())
}
func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTaskTaskInvocationParametersOutput)
}
func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput {
return i.ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(context.Background())
}
func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTaskTaskInvocationParametersOutput).ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx)
}
// MaintenanceWindowTaskTaskInvocationParametersPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersArgs, MaintenanceWindowTaskTaskInvocationParametersPtr and MaintenanceWindowTaskTaskInvocationParametersPtrOutput values.
// You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersPtrInput` via:
//
// MaintenanceWindowTaskTaskInvocationParametersArgs{...}
//
// or:
//
// nil
type MaintenanceWindowTaskTaskInvocationParametersPtrInput interface {
pulumi.Input
ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput
ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput
}
type maintenanceWindowTaskTaskInvocationParametersPtrType MaintenanceWindowTaskTaskInvocationParametersArgs
func MaintenanceWindowTaskTaskInvocationParametersPtr(v *MaintenanceWindowTaskTaskInvocationParametersArgs) MaintenanceWindowTaskTaskInvocationParametersPtrInput {
return (*maintenanceWindowTaskTaskInvocationParametersPtrType)(v)
}
func (*maintenanceWindowTaskTaskInvocationParametersPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**MaintenanceWindowTaskTaskInvocationParameters)(nil)).Elem()
}
func (i *maintenanceWindowTaskTaskInvocationParametersPtrType) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput {
return i.ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(context.Background())
}
func (i *maintenanceWindowTaskTaskInvocationParametersPtrType) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTaskTaskInvocationParametersPtrOutput)
}
type MaintenanceWindowTaskTaskInvocationParametersOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersOutput) ElementType() reflect.Type {
return reflect.TypeOf((*MaintenanceWindowTaskTaskInvocationParameters)(nil)).Elem()
}
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersOutput {
return o
}
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersOutput {
return o
}
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput {
return o.ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(context.Background())
}
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParameters {
return &v
}).(MaintenanceWindowTaskTaskInvocationParametersPtrOutput)
}
// The parameters for an AUTOMATION task type. Documented below.
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) AutomationParameters() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput {
return o.ApplyT(func(v MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParametersAutomationParameters {
return v.AutomationParameters
}).(MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput)
}
// The parameters for a LAMBDA task type. Documented below.
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) LambdaParameters() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput {
return o.ApplyT(func(v MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParametersLambdaParameters {
return v.LambdaParameters
}).(MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput)
}
// The parameters for a RUN_COMMAND task type. Documented below.
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) RunCommandParameters() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput {
return o.ApplyT(func(v MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters {
return v.RunCommandParameters
}).(MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput)
}
// The parameters for a STEP_FUNCTIONS task type. Documented below.
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) StepFunctionsParameters() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput {
return o.ApplyT(func(v MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParameters {
return v.StepFunctionsParameters
}).(MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput)
}
type MaintenanceWindowTaskTaskInvocationParametersPtrOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**MaintenanceWindowTaskTaskInvocationParameters)(nil)).Elem()
}
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput {
return o
}
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput {
return o
}
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) Elem() MaintenanceWindowTaskTaskInvocationParametersOutput {
return o.ApplyT(func(v *MaintenanceWindowTaskTaskInvocationParameters) MaintenanceWindowTaskTaskInvocationParameters {
if v != nil {
return *v
}
var ret MaintenanceWindowTaskTaskInvocationParameters
return ret
}).(MaintenanceWindowTaskTaskInvocationParametersOutput)
}
// The parameters for an AUTOMATION task type. Documented below.
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) AutomationParameters() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput {
return o.ApplyT(func(v *MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParametersAutomationParameters {
if v == nil {
return nil
}
return v.AutomationParameters
}).(MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput)
}
// The parameters for a LAMBDA task type. Documented below.
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) LambdaParameters() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput {
return o.ApplyT(func(v *MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParametersLambdaParameters {
if v == nil {
return nil
}
return v.LambdaParameters
}).(MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput)
}
// The parameters for a RUN_COMMAND task type. Documented below.
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) RunCommandParameters() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput {
return o.ApplyT(func(v *MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters {
if v == nil {
return nil
}
return v.RunCommandParameters
}).(MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput)
}
// The parameters for a STEP_FUNCTIONS task type. Documented below.
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) StepFunctionsParameters() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput {
return o.ApplyT(func(v *MaintenanceWindowTaskTaskInvocationParameters) *MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParameters {
if v == nil {
return nil
}
return v.StepFunctionsParameters
}).(MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput)
}
type MaintenanceWindowTaskTaskInvocationParametersAutomationParameters struct {
// The version of an Automation document to use during task execution.
DocumentVersion *string `pulumi:"documentVersion"`
// The parameters for the RUN_COMMAND task execution. Documented below.
Parameters []MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameter `pulumi:"parameters"`
}
// MaintenanceWindowTaskTaskInvocationParametersAutomationParametersInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs and MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput values.
// You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersAutomationParametersInput` via:
//
// MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs{...}
type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersInput interface {
pulumi.Input
ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
}
type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs struct {
// The version of an Automation document to use during task execution.
DocumentVersion pulumi.StringPtrInput `pulumi:"documentVersion"`
// The parameters for the RUN_COMMAND task execution. Documented below.
Parameters MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayInput `pulumi:"parameters"`
}
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ElementType() reflect.Type {
return reflect.TypeOf((*MaintenanceWindowTaskTaskInvocationParametersAutomationParameters)(nil)).Elem()
}
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput {
return i.ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(context.Background())
}
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput)
}
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput {
return i.ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(context.Background())
}
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput).ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx)
}
// MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs, MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtr and MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput values.
// You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput` via:
//
// MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs{...}
//
// or:
//
// nil
type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput interface {
pulumi.Input
ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
}
type maintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrType MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs
func MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtr(v *MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput {
return (*maintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrType)(v)
}
func (*maintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**MaintenanceWindowTaskTaskInvocationParametersAutomationParameters)(nil)).Elem()
}
func (i *maintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrType) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput {
return i.ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(context.Background())
}
func (i *maintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrType) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput)
}
type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ElementType() reflect.Type {
return reflect.TypeOf((*MaintenanceWindowTaskTaskInvocationParametersAutomationParameters)(nil)).Elem()
}
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput {
return o
}