/
pulumiTypes.go
2120 lines (1693 loc) · 105 KB
/
pulumiTypes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package ssmincidents
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type ReplicationSetRegion struct {
// The Amazon Resource name (ARN) of the customer managed key. If omitted, AWS manages the AWS KMS keys for you, using an AWS owned key, as indicated by a default value of `DefaultKey`.
//
// The following arguments are optional:
KmsKeyArn *string `pulumi:"kmsKeyArn"`
// The name of the Region, such as `ap-southeast-2`.
Name string `pulumi:"name"`
// The current status of the Region.
// * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`
Status *string `pulumi:"status"`
// More information about the status of a Region.
StatusMessage *string `pulumi:"statusMessage"`
}
// ReplicationSetRegionInput is an input type that accepts ReplicationSetRegionArgs and ReplicationSetRegionOutput values.
// You can construct a concrete instance of `ReplicationSetRegionInput` via:
//
// ReplicationSetRegionArgs{...}
type ReplicationSetRegionInput interface {
pulumi.Input
ToReplicationSetRegionOutput() ReplicationSetRegionOutput
ToReplicationSetRegionOutputWithContext(context.Context) ReplicationSetRegionOutput
}
type ReplicationSetRegionArgs struct {
// The Amazon Resource name (ARN) of the customer managed key. If omitted, AWS manages the AWS KMS keys for you, using an AWS owned key, as indicated by a default value of `DefaultKey`.
//
// The following arguments are optional:
KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"`
// The name of the Region, such as `ap-southeast-2`.
Name pulumi.StringInput `pulumi:"name"`
// The current status of the Region.
// * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`
Status pulumi.StringPtrInput `pulumi:"status"`
// More information about the status of a Region.
StatusMessage pulumi.StringPtrInput `pulumi:"statusMessage"`
}
func (ReplicationSetRegionArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ReplicationSetRegion)(nil)).Elem()
}
func (i ReplicationSetRegionArgs) ToReplicationSetRegionOutput() ReplicationSetRegionOutput {
return i.ToReplicationSetRegionOutputWithContext(context.Background())
}
func (i ReplicationSetRegionArgs) ToReplicationSetRegionOutputWithContext(ctx context.Context) ReplicationSetRegionOutput {
return pulumi.ToOutputWithContext(ctx, i).(ReplicationSetRegionOutput)
}
// ReplicationSetRegionArrayInput is an input type that accepts ReplicationSetRegionArray and ReplicationSetRegionArrayOutput values.
// You can construct a concrete instance of `ReplicationSetRegionArrayInput` via:
//
// ReplicationSetRegionArray{ ReplicationSetRegionArgs{...} }
type ReplicationSetRegionArrayInput interface {
pulumi.Input
ToReplicationSetRegionArrayOutput() ReplicationSetRegionArrayOutput
ToReplicationSetRegionArrayOutputWithContext(context.Context) ReplicationSetRegionArrayOutput
}
type ReplicationSetRegionArray []ReplicationSetRegionInput
func (ReplicationSetRegionArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ReplicationSetRegion)(nil)).Elem()
}
func (i ReplicationSetRegionArray) ToReplicationSetRegionArrayOutput() ReplicationSetRegionArrayOutput {
return i.ToReplicationSetRegionArrayOutputWithContext(context.Background())
}
func (i ReplicationSetRegionArray) ToReplicationSetRegionArrayOutputWithContext(ctx context.Context) ReplicationSetRegionArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ReplicationSetRegionArrayOutput)
}
type ReplicationSetRegionOutput struct{ *pulumi.OutputState }
func (ReplicationSetRegionOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ReplicationSetRegion)(nil)).Elem()
}
func (o ReplicationSetRegionOutput) ToReplicationSetRegionOutput() ReplicationSetRegionOutput {
return o
}
func (o ReplicationSetRegionOutput) ToReplicationSetRegionOutputWithContext(ctx context.Context) ReplicationSetRegionOutput {
return o
}
// The Amazon Resource name (ARN) of the customer managed key. If omitted, AWS manages the AWS KMS keys for you, using an AWS owned key, as indicated by a default value of `DefaultKey`.
//
// The following arguments are optional:
func (o ReplicationSetRegionOutput) KmsKeyArn() pulumi.StringPtrOutput {
return o.ApplyT(func(v ReplicationSetRegion) *string { return v.KmsKeyArn }).(pulumi.StringPtrOutput)
}
// The name of the Region, such as `ap-southeast-2`.
func (o ReplicationSetRegionOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v ReplicationSetRegion) string { return v.Name }).(pulumi.StringOutput)
}
// The current status of the Region.
// * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`
func (o ReplicationSetRegionOutput) Status() pulumi.StringPtrOutput {
return o.ApplyT(func(v ReplicationSetRegion) *string { return v.Status }).(pulumi.StringPtrOutput)
}
// More information about the status of a Region.
func (o ReplicationSetRegionOutput) StatusMessage() pulumi.StringPtrOutput {
return o.ApplyT(func(v ReplicationSetRegion) *string { return v.StatusMessage }).(pulumi.StringPtrOutput)
}
type ReplicationSetRegionArrayOutput struct{ *pulumi.OutputState }
func (ReplicationSetRegionArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ReplicationSetRegion)(nil)).Elem()
}
func (o ReplicationSetRegionArrayOutput) ToReplicationSetRegionArrayOutput() ReplicationSetRegionArrayOutput {
return o
}
func (o ReplicationSetRegionArrayOutput) ToReplicationSetRegionArrayOutputWithContext(ctx context.Context) ReplicationSetRegionArrayOutput {
return o
}
func (o ReplicationSetRegionArrayOutput) Index(i pulumi.IntInput) ReplicationSetRegionOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReplicationSetRegion {
return vs[0].([]ReplicationSetRegion)[vs[1].(int)]
}).(ReplicationSetRegionOutput)
}
type ResponsePlanAction struct {
// The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
SsmAutomations []ResponsePlanActionSsmAutomation `pulumi:"ssmAutomations"`
}
// ResponsePlanActionInput is an input type that accepts ResponsePlanActionArgs and ResponsePlanActionOutput values.
// You can construct a concrete instance of `ResponsePlanActionInput` via:
//
// ResponsePlanActionArgs{...}
type ResponsePlanActionInput interface {
pulumi.Input
ToResponsePlanActionOutput() ResponsePlanActionOutput
ToResponsePlanActionOutputWithContext(context.Context) ResponsePlanActionOutput
}
type ResponsePlanActionArgs struct {
// The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
SsmAutomations ResponsePlanActionSsmAutomationArrayInput `pulumi:"ssmAutomations"`
}
func (ResponsePlanActionArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanAction)(nil)).Elem()
}
func (i ResponsePlanActionArgs) ToResponsePlanActionOutput() ResponsePlanActionOutput {
return i.ToResponsePlanActionOutputWithContext(context.Background())
}
func (i ResponsePlanActionArgs) ToResponsePlanActionOutputWithContext(ctx context.Context) ResponsePlanActionOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanActionOutput)
}
func (i ResponsePlanActionArgs) ToResponsePlanActionPtrOutput() ResponsePlanActionPtrOutput {
return i.ToResponsePlanActionPtrOutputWithContext(context.Background())
}
func (i ResponsePlanActionArgs) ToResponsePlanActionPtrOutputWithContext(ctx context.Context) ResponsePlanActionPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanActionOutput).ToResponsePlanActionPtrOutputWithContext(ctx)
}
// ResponsePlanActionPtrInput is an input type that accepts ResponsePlanActionArgs, ResponsePlanActionPtr and ResponsePlanActionPtrOutput values.
// You can construct a concrete instance of `ResponsePlanActionPtrInput` via:
//
// ResponsePlanActionArgs{...}
//
// or:
//
// nil
type ResponsePlanActionPtrInput interface {
pulumi.Input
ToResponsePlanActionPtrOutput() ResponsePlanActionPtrOutput
ToResponsePlanActionPtrOutputWithContext(context.Context) ResponsePlanActionPtrOutput
}
type responsePlanActionPtrType ResponsePlanActionArgs
func ResponsePlanActionPtr(v *ResponsePlanActionArgs) ResponsePlanActionPtrInput {
return (*responsePlanActionPtrType)(v)
}
func (*responsePlanActionPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ResponsePlanAction)(nil)).Elem()
}
func (i *responsePlanActionPtrType) ToResponsePlanActionPtrOutput() ResponsePlanActionPtrOutput {
return i.ToResponsePlanActionPtrOutputWithContext(context.Background())
}
func (i *responsePlanActionPtrType) ToResponsePlanActionPtrOutputWithContext(ctx context.Context) ResponsePlanActionPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanActionPtrOutput)
}
type ResponsePlanActionOutput struct{ *pulumi.OutputState }
func (ResponsePlanActionOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanAction)(nil)).Elem()
}
func (o ResponsePlanActionOutput) ToResponsePlanActionOutput() ResponsePlanActionOutput {
return o
}
func (o ResponsePlanActionOutput) ToResponsePlanActionOutputWithContext(ctx context.Context) ResponsePlanActionOutput {
return o
}
func (o ResponsePlanActionOutput) ToResponsePlanActionPtrOutput() ResponsePlanActionPtrOutput {
return o.ToResponsePlanActionPtrOutputWithContext(context.Background())
}
func (o ResponsePlanActionOutput) ToResponsePlanActionPtrOutputWithContext(ctx context.Context) ResponsePlanActionPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ResponsePlanAction) *ResponsePlanAction {
return &v
}).(ResponsePlanActionPtrOutput)
}
// The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
func (o ResponsePlanActionOutput) SsmAutomations() ResponsePlanActionSsmAutomationArrayOutput {
return o.ApplyT(func(v ResponsePlanAction) []ResponsePlanActionSsmAutomation { return v.SsmAutomations }).(ResponsePlanActionSsmAutomationArrayOutput)
}
type ResponsePlanActionPtrOutput struct{ *pulumi.OutputState }
func (ResponsePlanActionPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ResponsePlanAction)(nil)).Elem()
}
func (o ResponsePlanActionPtrOutput) ToResponsePlanActionPtrOutput() ResponsePlanActionPtrOutput {
return o
}
func (o ResponsePlanActionPtrOutput) ToResponsePlanActionPtrOutputWithContext(ctx context.Context) ResponsePlanActionPtrOutput {
return o
}
func (o ResponsePlanActionPtrOutput) Elem() ResponsePlanActionOutput {
return o.ApplyT(func(v *ResponsePlanAction) ResponsePlanAction {
if v != nil {
return *v
}
var ret ResponsePlanAction
return ret
}).(ResponsePlanActionOutput)
}
// The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
func (o ResponsePlanActionPtrOutput) SsmAutomations() ResponsePlanActionSsmAutomationArrayOutput {
return o.ApplyT(func(v *ResponsePlanAction) []ResponsePlanActionSsmAutomation {
if v == nil {
return nil
}
return v.SsmAutomations
}).(ResponsePlanActionSsmAutomationArrayOutput)
}
type ResponsePlanActionSsmAutomation struct {
// The automation document's name.
DocumentName string `pulumi:"documentName"`
// The version of the automation document to use at runtime.
DocumentVersion *string `pulumi:"documentVersion"`
// The key-value pair to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
DynamicParameters map[string]string `pulumi:"dynamicParameters"`
// The key-value pair parameters to use when the automation document runs. The following values are supported:
Parameters []ResponsePlanActionSsmAutomationParameter `pulumi:"parameters"`
// The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
RoleArn string `pulumi:"roleArn"`
// The account that the automation document runs in. This can be in either the management account or an application account.
TargetAccount *string `pulumi:"targetAccount"`
}
// ResponsePlanActionSsmAutomationInput is an input type that accepts ResponsePlanActionSsmAutomationArgs and ResponsePlanActionSsmAutomationOutput values.
// You can construct a concrete instance of `ResponsePlanActionSsmAutomationInput` via:
//
// ResponsePlanActionSsmAutomationArgs{...}
type ResponsePlanActionSsmAutomationInput interface {
pulumi.Input
ToResponsePlanActionSsmAutomationOutput() ResponsePlanActionSsmAutomationOutput
ToResponsePlanActionSsmAutomationOutputWithContext(context.Context) ResponsePlanActionSsmAutomationOutput
}
type ResponsePlanActionSsmAutomationArgs struct {
// The automation document's name.
DocumentName pulumi.StringInput `pulumi:"documentName"`
// The version of the automation document to use at runtime.
DocumentVersion pulumi.StringPtrInput `pulumi:"documentVersion"`
// The key-value pair to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
DynamicParameters pulumi.StringMapInput `pulumi:"dynamicParameters"`
// The key-value pair parameters to use when the automation document runs. The following values are supported:
Parameters ResponsePlanActionSsmAutomationParameterArrayInput `pulumi:"parameters"`
// The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
RoleArn pulumi.StringInput `pulumi:"roleArn"`
// The account that the automation document runs in. This can be in either the management account or an application account.
TargetAccount pulumi.StringPtrInput `pulumi:"targetAccount"`
}
func (ResponsePlanActionSsmAutomationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanActionSsmAutomation)(nil)).Elem()
}
func (i ResponsePlanActionSsmAutomationArgs) ToResponsePlanActionSsmAutomationOutput() ResponsePlanActionSsmAutomationOutput {
return i.ToResponsePlanActionSsmAutomationOutputWithContext(context.Background())
}
func (i ResponsePlanActionSsmAutomationArgs) ToResponsePlanActionSsmAutomationOutputWithContext(ctx context.Context) ResponsePlanActionSsmAutomationOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanActionSsmAutomationOutput)
}
// ResponsePlanActionSsmAutomationArrayInput is an input type that accepts ResponsePlanActionSsmAutomationArray and ResponsePlanActionSsmAutomationArrayOutput values.
// You can construct a concrete instance of `ResponsePlanActionSsmAutomationArrayInput` via:
//
// ResponsePlanActionSsmAutomationArray{ ResponsePlanActionSsmAutomationArgs{...} }
type ResponsePlanActionSsmAutomationArrayInput interface {
pulumi.Input
ToResponsePlanActionSsmAutomationArrayOutput() ResponsePlanActionSsmAutomationArrayOutput
ToResponsePlanActionSsmAutomationArrayOutputWithContext(context.Context) ResponsePlanActionSsmAutomationArrayOutput
}
type ResponsePlanActionSsmAutomationArray []ResponsePlanActionSsmAutomationInput
func (ResponsePlanActionSsmAutomationArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ResponsePlanActionSsmAutomation)(nil)).Elem()
}
func (i ResponsePlanActionSsmAutomationArray) ToResponsePlanActionSsmAutomationArrayOutput() ResponsePlanActionSsmAutomationArrayOutput {
return i.ToResponsePlanActionSsmAutomationArrayOutputWithContext(context.Background())
}
func (i ResponsePlanActionSsmAutomationArray) ToResponsePlanActionSsmAutomationArrayOutputWithContext(ctx context.Context) ResponsePlanActionSsmAutomationArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanActionSsmAutomationArrayOutput)
}
type ResponsePlanActionSsmAutomationOutput struct{ *pulumi.OutputState }
func (ResponsePlanActionSsmAutomationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanActionSsmAutomation)(nil)).Elem()
}
func (o ResponsePlanActionSsmAutomationOutput) ToResponsePlanActionSsmAutomationOutput() ResponsePlanActionSsmAutomationOutput {
return o
}
func (o ResponsePlanActionSsmAutomationOutput) ToResponsePlanActionSsmAutomationOutputWithContext(ctx context.Context) ResponsePlanActionSsmAutomationOutput {
return o
}
// The automation document's name.
func (o ResponsePlanActionSsmAutomationOutput) DocumentName() pulumi.StringOutput {
return o.ApplyT(func(v ResponsePlanActionSsmAutomation) string { return v.DocumentName }).(pulumi.StringOutput)
}
// The version of the automation document to use at runtime.
func (o ResponsePlanActionSsmAutomationOutput) DocumentVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v ResponsePlanActionSsmAutomation) *string { return v.DocumentVersion }).(pulumi.StringPtrOutput)
}
// The key-value pair to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
func (o ResponsePlanActionSsmAutomationOutput) DynamicParameters() pulumi.StringMapOutput {
return o.ApplyT(func(v ResponsePlanActionSsmAutomation) map[string]string { return v.DynamicParameters }).(pulumi.StringMapOutput)
}
// The key-value pair parameters to use when the automation document runs. The following values are supported:
func (o ResponsePlanActionSsmAutomationOutput) Parameters() ResponsePlanActionSsmAutomationParameterArrayOutput {
return o.ApplyT(func(v ResponsePlanActionSsmAutomation) []ResponsePlanActionSsmAutomationParameter {
return v.Parameters
}).(ResponsePlanActionSsmAutomationParameterArrayOutput)
}
// The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
func (o ResponsePlanActionSsmAutomationOutput) RoleArn() pulumi.StringOutput {
return o.ApplyT(func(v ResponsePlanActionSsmAutomation) string { return v.RoleArn }).(pulumi.StringOutput)
}
// The account that the automation document runs in. This can be in either the management account or an application account.
func (o ResponsePlanActionSsmAutomationOutput) TargetAccount() pulumi.StringPtrOutput {
return o.ApplyT(func(v ResponsePlanActionSsmAutomation) *string { return v.TargetAccount }).(pulumi.StringPtrOutput)
}
type ResponsePlanActionSsmAutomationArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlanActionSsmAutomationArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ResponsePlanActionSsmAutomation)(nil)).Elem()
}
func (o ResponsePlanActionSsmAutomationArrayOutput) ToResponsePlanActionSsmAutomationArrayOutput() ResponsePlanActionSsmAutomationArrayOutput {
return o
}
func (o ResponsePlanActionSsmAutomationArrayOutput) ToResponsePlanActionSsmAutomationArrayOutputWithContext(ctx context.Context) ResponsePlanActionSsmAutomationArrayOutput {
return o
}
func (o ResponsePlanActionSsmAutomationArrayOutput) Index(i pulumi.IntInput) ResponsePlanActionSsmAutomationOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePlanActionSsmAutomation {
return vs[0].([]ResponsePlanActionSsmAutomation)[vs[1].(int)]
}).(ResponsePlanActionSsmAutomationOutput)
}
type ResponsePlanActionSsmAutomationParameter struct {
// The name of the response plan.
Name string `pulumi:"name"`
// The values for the associated parameter name.
Values []string `pulumi:"values"`
}
// ResponsePlanActionSsmAutomationParameterInput is an input type that accepts ResponsePlanActionSsmAutomationParameterArgs and ResponsePlanActionSsmAutomationParameterOutput values.
// You can construct a concrete instance of `ResponsePlanActionSsmAutomationParameterInput` via:
//
// ResponsePlanActionSsmAutomationParameterArgs{...}
type ResponsePlanActionSsmAutomationParameterInput interface {
pulumi.Input
ToResponsePlanActionSsmAutomationParameterOutput() ResponsePlanActionSsmAutomationParameterOutput
ToResponsePlanActionSsmAutomationParameterOutputWithContext(context.Context) ResponsePlanActionSsmAutomationParameterOutput
}
type ResponsePlanActionSsmAutomationParameterArgs struct {
// The name of the response plan.
Name pulumi.StringInput `pulumi:"name"`
// The values for the associated parameter name.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (ResponsePlanActionSsmAutomationParameterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanActionSsmAutomationParameter)(nil)).Elem()
}
func (i ResponsePlanActionSsmAutomationParameterArgs) ToResponsePlanActionSsmAutomationParameterOutput() ResponsePlanActionSsmAutomationParameterOutput {
return i.ToResponsePlanActionSsmAutomationParameterOutputWithContext(context.Background())
}
func (i ResponsePlanActionSsmAutomationParameterArgs) ToResponsePlanActionSsmAutomationParameterOutputWithContext(ctx context.Context) ResponsePlanActionSsmAutomationParameterOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanActionSsmAutomationParameterOutput)
}
// ResponsePlanActionSsmAutomationParameterArrayInput is an input type that accepts ResponsePlanActionSsmAutomationParameterArray and ResponsePlanActionSsmAutomationParameterArrayOutput values.
// You can construct a concrete instance of `ResponsePlanActionSsmAutomationParameterArrayInput` via:
//
// ResponsePlanActionSsmAutomationParameterArray{ ResponsePlanActionSsmAutomationParameterArgs{...} }
type ResponsePlanActionSsmAutomationParameterArrayInput interface {
pulumi.Input
ToResponsePlanActionSsmAutomationParameterArrayOutput() ResponsePlanActionSsmAutomationParameterArrayOutput
ToResponsePlanActionSsmAutomationParameterArrayOutputWithContext(context.Context) ResponsePlanActionSsmAutomationParameterArrayOutput
}
type ResponsePlanActionSsmAutomationParameterArray []ResponsePlanActionSsmAutomationParameterInput
func (ResponsePlanActionSsmAutomationParameterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ResponsePlanActionSsmAutomationParameter)(nil)).Elem()
}
func (i ResponsePlanActionSsmAutomationParameterArray) ToResponsePlanActionSsmAutomationParameterArrayOutput() ResponsePlanActionSsmAutomationParameterArrayOutput {
return i.ToResponsePlanActionSsmAutomationParameterArrayOutputWithContext(context.Background())
}
func (i ResponsePlanActionSsmAutomationParameterArray) ToResponsePlanActionSsmAutomationParameterArrayOutputWithContext(ctx context.Context) ResponsePlanActionSsmAutomationParameterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanActionSsmAutomationParameterArrayOutput)
}
type ResponsePlanActionSsmAutomationParameterOutput struct{ *pulumi.OutputState }
func (ResponsePlanActionSsmAutomationParameterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanActionSsmAutomationParameter)(nil)).Elem()
}
func (o ResponsePlanActionSsmAutomationParameterOutput) ToResponsePlanActionSsmAutomationParameterOutput() ResponsePlanActionSsmAutomationParameterOutput {
return o
}
func (o ResponsePlanActionSsmAutomationParameterOutput) ToResponsePlanActionSsmAutomationParameterOutputWithContext(ctx context.Context) ResponsePlanActionSsmAutomationParameterOutput {
return o
}
// The name of the response plan.
func (o ResponsePlanActionSsmAutomationParameterOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v ResponsePlanActionSsmAutomationParameter) string { return v.Name }).(pulumi.StringOutput)
}
// The values for the associated parameter name.
func (o ResponsePlanActionSsmAutomationParameterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v ResponsePlanActionSsmAutomationParameter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type ResponsePlanActionSsmAutomationParameterArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlanActionSsmAutomationParameterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ResponsePlanActionSsmAutomationParameter)(nil)).Elem()
}
func (o ResponsePlanActionSsmAutomationParameterArrayOutput) ToResponsePlanActionSsmAutomationParameterArrayOutput() ResponsePlanActionSsmAutomationParameterArrayOutput {
return o
}
func (o ResponsePlanActionSsmAutomationParameterArrayOutput) ToResponsePlanActionSsmAutomationParameterArrayOutputWithContext(ctx context.Context) ResponsePlanActionSsmAutomationParameterArrayOutput {
return o
}
func (o ResponsePlanActionSsmAutomationParameterArrayOutput) Index(i pulumi.IntInput) ResponsePlanActionSsmAutomationParameterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePlanActionSsmAutomationParameter {
return vs[0].([]ResponsePlanActionSsmAutomationParameter)[vs[1].(int)]
}).(ResponsePlanActionSsmAutomationParameterOutput)
}
type ResponsePlanIncidentTemplate struct {
// A string used to stop Incident Manager from creating multiple incident records for the same incident.
DedupeString *string `pulumi:"dedupeString"`
// The impact value of a generated incident. The following values are supported:
Impact int `pulumi:"impact"`
// The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
IncidentTags map[string]string `pulumi:"incidentTags"`
// The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The `notificationTarget` configuration block supports the following argument:
NotificationTargets []ResponsePlanIncidentTemplateNotificationTarget `pulumi:"notificationTargets"`
// The summary of an incident.
Summary *string `pulumi:"summary"`
// The title of a generated incident.
Title string `pulumi:"title"`
}
// ResponsePlanIncidentTemplateInput is an input type that accepts ResponsePlanIncidentTemplateArgs and ResponsePlanIncidentTemplateOutput values.
// You can construct a concrete instance of `ResponsePlanIncidentTemplateInput` via:
//
// ResponsePlanIncidentTemplateArgs{...}
type ResponsePlanIncidentTemplateInput interface {
pulumi.Input
ToResponsePlanIncidentTemplateOutput() ResponsePlanIncidentTemplateOutput
ToResponsePlanIncidentTemplateOutputWithContext(context.Context) ResponsePlanIncidentTemplateOutput
}
type ResponsePlanIncidentTemplateArgs struct {
// A string used to stop Incident Manager from creating multiple incident records for the same incident.
DedupeString pulumi.StringPtrInput `pulumi:"dedupeString"`
// The impact value of a generated incident. The following values are supported:
Impact pulumi.IntInput `pulumi:"impact"`
// The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
IncidentTags pulumi.StringMapInput `pulumi:"incidentTags"`
// The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The `notificationTarget` configuration block supports the following argument:
NotificationTargets ResponsePlanIncidentTemplateNotificationTargetArrayInput `pulumi:"notificationTargets"`
// The summary of an incident.
Summary pulumi.StringPtrInput `pulumi:"summary"`
// The title of a generated incident.
Title pulumi.StringInput `pulumi:"title"`
}
func (ResponsePlanIncidentTemplateArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanIncidentTemplate)(nil)).Elem()
}
func (i ResponsePlanIncidentTemplateArgs) ToResponsePlanIncidentTemplateOutput() ResponsePlanIncidentTemplateOutput {
return i.ToResponsePlanIncidentTemplateOutputWithContext(context.Background())
}
func (i ResponsePlanIncidentTemplateArgs) ToResponsePlanIncidentTemplateOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplateOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanIncidentTemplateOutput)
}
func (i ResponsePlanIncidentTemplateArgs) ToResponsePlanIncidentTemplatePtrOutput() ResponsePlanIncidentTemplatePtrOutput {
return i.ToResponsePlanIncidentTemplatePtrOutputWithContext(context.Background())
}
func (i ResponsePlanIncidentTemplateArgs) ToResponsePlanIncidentTemplatePtrOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplatePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanIncidentTemplateOutput).ToResponsePlanIncidentTemplatePtrOutputWithContext(ctx)
}
// ResponsePlanIncidentTemplatePtrInput is an input type that accepts ResponsePlanIncidentTemplateArgs, ResponsePlanIncidentTemplatePtr and ResponsePlanIncidentTemplatePtrOutput values.
// You can construct a concrete instance of `ResponsePlanIncidentTemplatePtrInput` via:
//
// ResponsePlanIncidentTemplateArgs{...}
//
// or:
//
// nil
type ResponsePlanIncidentTemplatePtrInput interface {
pulumi.Input
ToResponsePlanIncidentTemplatePtrOutput() ResponsePlanIncidentTemplatePtrOutput
ToResponsePlanIncidentTemplatePtrOutputWithContext(context.Context) ResponsePlanIncidentTemplatePtrOutput
}
type responsePlanIncidentTemplatePtrType ResponsePlanIncidentTemplateArgs
func ResponsePlanIncidentTemplatePtr(v *ResponsePlanIncidentTemplateArgs) ResponsePlanIncidentTemplatePtrInput {
return (*responsePlanIncidentTemplatePtrType)(v)
}
func (*responsePlanIncidentTemplatePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ResponsePlanIncidentTemplate)(nil)).Elem()
}
func (i *responsePlanIncidentTemplatePtrType) ToResponsePlanIncidentTemplatePtrOutput() ResponsePlanIncidentTemplatePtrOutput {
return i.ToResponsePlanIncidentTemplatePtrOutputWithContext(context.Background())
}
func (i *responsePlanIncidentTemplatePtrType) ToResponsePlanIncidentTemplatePtrOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplatePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanIncidentTemplatePtrOutput)
}
type ResponsePlanIncidentTemplateOutput struct{ *pulumi.OutputState }
func (ResponsePlanIncidentTemplateOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanIncidentTemplate)(nil)).Elem()
}
func (o ResponsePlanIncidentTemplateOutput) ToResponsePlanIncidentTemplateOutput() ResponsePlanIncidentTemplateOutput {
return o
}
func (o ResponsePlanIncidentTemplateOutput) ToResponsePlanIncidentTemplateOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplateOutput {
return o
}
func (o ResponsePlanIncidentTemplateOutput) ToResponsePlanIncidentTemplatePtrOutput() ResponsePlanIncidentTemplatePtrOutput {
return o.ToResponsePlanIncidentTemplatePtrOutputWithContext(context.Background())
}
func (o ResponsePlanIncidentTemplateOutput) ToResponsePlanIncidentTemplatePtrOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplatePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ResponsePlanIncidentTemplate) *ResponsePlanIncidentTemplate {
return &v
}).(ResponsePlanIncidentTemplatePtrOutput)
}
// A string used to stop Incident Manager from creating multiple incident records for the same incident.
func (o ResponsePlanIncidentTemplateOutput) DedupeString() pulumi.StringPtrOutput {
return o.ApplyT(func(v ResponsePlanIncidentTemplate) *string { return v.DedupeString }).(pulumi.StringPtrOutput)
}
// The impact value of a generated incident. The following values are supported:
func (o ResponsePlanIncidentTemplateOutput) Impact() pulumi.IntOutput {
return o.ApplyT(func(v ResponsePlanIncidentTemplate) int { return v.Impact }).(pulumi.IntOutput)
}
// The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
func (o ResponsePlanIncidentTemplateOutput) IncidentTags() pulumi.StringMapOutput {
return o.ApplyT(func(v ResponsePlanIncidentTemplate) map[string]string { return v.IncidentTags }).(pulumi.StringMapOutput)
}
// The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The `notificationTarget` configuration block supports the following argument:
func (o ResponsePlanIncidentTemplateOutput) NotificationTargets() ResponsePlanIncidentTemplateNotificationTargetArrayOutput {
return o.ApplyT(func(v ResponsePlanIncidentTemplate) []ResponsePlanIncidentTemplateNotificationTarget {
return v.NotificationTargets
}).(ResponsePlanIncidentTemplateNotificationTargetArrayOutput)
}
// The summary of an incident.
func (o ResponsePlanIncidentTemplateOutput) Summary() pulumi.StringPtrOutput {
return o.ApplyT(func(v ResponsePlanIncidentTemplate) *string { return v.Summary }).(pulumi.StringPtrOutput)
}
// The title of a generated incident.
func (o ResponsePlanIncidentTemplateOutput) Title() pulumi.StringOutput {
return o.ApplyT(func(v ResponsePlanIncidentTemplate) string { return v.Title }).(pulumi.StringOutput)
}
type ResponsePlanIncidentTemplatePtrOutput struct{ *pulumi.OutputState }
func (ResponsePlanIncidentTemplatePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ResponsePlanIncidentTemplate)(nil)).Elem()
}
func (o ResponsePlanIncidentTemplatePtrOutput) ToResponsePlanIncidentTemplatePtrOutput() ResponsePlanIncidentTemplatePtrOutput {
return o
}
func (o ResponsePlanIncidentTemplatePtrOutput) ToResponsePlanIncidentTemplatePtrOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplatePtrOutput {
return o
}
func (o ResponsePlanIncidentTemplatePtrOutput) Elem() ResponsePlanIncidentTemplateOutput {
return o.ApplyT(func(v *ResponsePlanIncidentTemplate) ResponsePlanIncidentTemplate {
if v != nil {
return *v
}
var ret ResponsePlanIncidentTemplate
return ret
}).(ResponsePlanIncidentTemplateOutput)
}
// A string used to stop Incident Manager from creating multiple incident records for the same incident.
func (o ResponsePlanIncidentTemplatePtrOutput) DedupeString() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ResponsePlanIncidentTemplate) *string {
if v == nil {
return nil
}
return v.DedupeString
}).(pulumi.StringPtrOutput)
}
// The impact value of a generated incident. The following values are supported:
func (o ResponsePlanIncidentTemplatePtrOutput) Impact() pulumi.IntPtrOutput {
return o.ApplyT(func(v *ResponsePlanIncidentTemplate) *int {
if v == nil {
return nil
}
return &v.Impact
}).(pulumi.IntPtrOutput)
}
// The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
func (o ResponsePlanIncidentTemplatePtrOutput) IncidentTags() pulumi.StringMapOutput {
return o.ApplyT(func(v *ResponsePlanIncidentTemplate) map[string]string {
if v == nil {
return nil
}
return v.IncidentTags
}).(pulumi.StringMapOutput)
}
// The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The `notificationTarget` configuration block supports the following argument:
func (o ResponsePlanIncidentTemplatePtrOutput) NotificationTargets() ResponsePlanIncidentTemplateNotificationTargetArrayOutput {
return o.ApplyT(func(v *ResponsePlanIncidentTemplate) []ResponsePlanIncidentTemplateNotificationTarget {
if v == nil {
return nil
}
return v.NotificationTargets
}).(ResponsePlanIncidentTemplateNotificationTargetArrayOutput)
}
// The summary of an incident.
func (o ResponsePlanIncidentTemplatePtrOutput) Summary() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ResponsePlanIncidentTemplate) *string {
if v == nil {
return nil
}
return v.Summary
}).(pulumi.StringPtrOutput)
}
// The title of a generated incident.
func (o ResponsePlanIncidentTemplatePtrOutput) Title() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ResponsePlanIncidentTemplate) *string {
if v == nil {
return nil
}
return &v.Title
}).(pulumi.StringPtrOutput)
}
type ResponsePlanIncidentTemplateNotificationTarget struct {
// The ARN of the Amazon SNS topic.
//
// The following arguments are optional:
SnsTopicArn string `pulumi:"snsTopicArn"`
}
// ResponsePlanIncidentTemplateNotificationTargetInput is an input type that accepts ResponsePlanIncidentTemplateNotificationTargetArgs and ResponsePlanIncidentTemplateNotificationTargetOutput values.
// You can construct a concrete instance of `ResponsePlanIncidentTemplateNotificationTargetInput` via:
//
// ResponsePlanIncidentTemplateNotificationTargetArgs{...}
type ResponsePlanIncidentTemplateNotificationTargetInput interface {
pulumi.Input
ToResponsePlanIncidentTemplateNotificationTargetOutput() ResponsePlanIncidentTemplateNotificationTargetOutput
ToResponsePlanIncidentTemplateNotificationTargetOutputWithContext(context.Context) ResponsePlanIncidentTemplateNotificationTargetOutput
}
type ResponsePlanIncidentTemplateNotificationTargetArgs struct {
// The ARN of the Amazon SNS topic.
//
// The following arguments are optional:
SnsTopicArn pulumi.StringInput `pulumi:"snsTopicArn"`
}
func (ResponsePlanIncidentTemplateNotificationTargetArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanIncidentTemplateNotificationTarget)(nil)).Elem()
}
func (i ResponsePlanIncidentTemplateNotificationTargetArgs) ToResponsePlanIncidentTemplateNotificationTargetOutput() ResponsePlanIncidentTemplateNotificationTargetOutput {
return i.ToResponsePlanIncidentTemplateNotificationTargetOutputWithContext(context.Background())
}
func (i ResponsePlanIncidentTemplateNotificationTargetArgs) ToResponsePlanIncidentTemplateNotificationTargetOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplateNotificationTargetOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanIncidentTemplateNotificationTargetOutput)
}
// ResponsePlanIncidentTemplateNotificationTargetArrayInput is an input type that accepts ResponsePlanIncidentTemplateNotificationTargetArray and ResponsePlanIncidentTemplateNotificationTargetArrayOutput values.
// You can construct a concrete instance of `ResponsePlanIncidentTemplateNotificationTargetArrayInput` via:
//
// ResponsePlanIncidentTemplateNotificationTargetArray{ ResponsePlanIncidentTemplateNotificationTargetArgs{...} }
type ResponsePlanIncidentTemplateNotificationTargetArrayInput interface {
pulumi.Input
ToResponsePlanIncidentTemplateNotificationTargetArrayOutput() ResponsePlanIncidentTemplateNotificationTargetArrayOutput
ToResponsePlanIncidentTemplateNotificationTargetArrayOutputWithContext(context.Context) ResponsePlanIncidentTemplateNotificationTargetArrayOutput
}
type ResponsePlanIncidentTemplateNotificationTargetArray []ResponsePlanIncidentTemplateNotificationTargetInput
func (ResponsePlanIncidentTemplateNotificationTargetArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ResponsePlanIncidentTemplateNotificationTarget)(nil)).Elem()
}
func (i ResponsePlanIncidentTemplateNotificationTargetArray) ToResponsePlanIncidentTemplateNotificationTargetArrayOutput() ResponsePlanIncidentTemplateNotificationTargetArrayOutput {
return i.ToResponsePlanIncidentTemplateNotificationTargetArrayOutputWithContext(context.Background())
}
func (i ResponsePlanIncidentTemplateNotificationTargetArray) ToResponsePlanIncidentTemplateNotificationTargetArrayOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplateNotificationTargetArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanIncidentTemplateNotificationTargetArrayOutput)
}
type ResponsePlanIncidentTemplateNotificationTargetOutput struct{ *pulumi.OutputState }
func (ResponsePlanIncidentTemplateNotificationTargetOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanIncidentTemplateNotificationTarget)(nil)).Elem()
}
func (o ResponsePlanIncidentTemplateNotificationTargetOutput) ToResponsePlanIncidentTemplateNotificationTargetOutput() ResponsePlanIncidentTemplateNotificationTargetOutput {
return o
}
func (o ResponsePlanIncidentTemplateNotificationTargetOutput) ToResponsePlanIncidentTemplateNotificationTargetOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplateNotificationTargetOutput {
return o
}
// The ARN of the Amazon SNS topic.
//
// The following arguments are optional:
func (o ResponsePlanIncidentTemplateNotificationTargetOutput) SnsTopicArn() pulumi.StringOutput {
return o.ApplyT(func(v ResponsePlanIncidentTemplateNotificationTarget) string { return v.SnsTopicArn }).(pulumi.StringOutput)
}
type ResponsePlanIncidentTemplateNotificationTargetArrayOutput struct{ *pulumi.OutputState }
func (ResponsePlanIncidentTemplateNotificationTargetArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ResponsePlanIncidentTemplateNotificationTarget)(nil)).Elem()
}
func (o ResponsePlanIncidentTemplateNotificationTargetArrayOutput) ToResponsePlanIncidentTemplateNotificationTargetArrayOutput() ResponsePlanIncidentTemplateNotificationTargetArrayOutput {
return o
}
func (o ResponsePlanIncidentTemplateNotificationTargetArrayOutput) ToResponsePlanIncidentTemplateNotificationTargetArrayOutputWithContext(ctx context.Context) ResponsePlanIncidentTemplateNotificationTargetArrayOutput {
return o
}
func (o ResponsePlanIncidentTemplateNotificationTargetArrayOutput) Index(i pulumi.IntInput) ResponsePlanIncidentTemplateNotificationTargetOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePlanIncidentTemplateNotificationTarget {
return vs[0].([]ResponsePlanIncidentTemplateNotificationTarget)[vs[1].(int)]
}).(ResponsePlanIncidentTemplateNotificationTargetOutput)
}
type ResponsePlanIntegration struct {
// Details about the PagerDuty configuration for a response plan. The following values are supported:
Pagerduties []ResponsePlanIntegrationPagerduty `pulumi:"pagerduties"`
}
// ResponsePlanIntegrationInput is an input type that accepts ResponsePlanIntegrationArgs and ResponsePlanIntegrationOutput values.
// You can construct a concrete instance of `ResponsePlanIntegrationInput` via:
//
// ResponsePlanIntegrationArgs{...}
type ResponsePlanIntegrationInput interface {
pulumi.Input
ToResponsePlanIntegrationOutput() ResponsePlanIntegrationOutput
ToResponsePlanIntegrationOutputWithContext(context.Context) ResponsePlanIntegrationOutput
}
type ResponsePlanIntegrationArgs struct {
// Details about the PagerDuty configuration for a response plan. The following values are supported:
Pagerduties ResponsePlanIntegrationPagerdutyArrayInput `pulumi:"pagerduties"`
}
func (ResponsePlanIntegrationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanIntegration)(nil)).Elem()
}
func (i ResponsePlanIntegrationArgs) ToResponsePlanIntegrationOutput() ResponsePlanIntegrationOutput {
return i.ToResponsePlanIntegrationOutputWithContext(context.Background())
}
func (i ResponsePlanIntegrationArgs) ToResponsePlanIntegrationOutputWithContext(ctx context.Context) ResponsePlanIntegrationOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanIntegrationOutput)
}
func (i ResponsePlanIntegrationArgs) ToResponsePlanIntegrationPtrOutput() ResponsePlanIntegrationPtrOutput {
return i.ToResponsePlanIntegrationPtrOutputWithContext(context.Background())
}
func (i ResponsePlanIntegrationArgs) ToResponsePlanIntegrationPtrOutputWithContext(ctx context.Context) ResponsePlanIntegrationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanIntegrationOutput).ToResponsePlanIntegrationPtrOutputWithContext(ctx)
}
// ResponsePlanIntegrationPtrInput is an input type that accepts ResponsePlanIntegrationArgs, ResponsePlanIntegrationPtr and ResponsePlanIntegrationPtrOutput values.
// You can construct a concrete instance of `ResponsePlanIntegrationPtrInput` via:
//
// ResponsePlanIntegrationArgs{...}
//
// or:
//
// nil
type ResponsePlanIntegrationPtrInput interface {
pulumi.Input
ToResponsePlanIntegrationPtrOutput() ResponsePlanIntegrationPtrOutput
ToResponsePlanIntegrationPtrOutputWithContext(context.Context) ResponsePlanIntegrationPtrOutput
}
type responsePlanIntegrationPtrType ResponsePlanIntegrationArgs
func ResponsePlanIntegrationPtr(v *ResponsePlanIntegrationArgs) ResponsePlanIntegrationPtrInput {
return (*responsePlanIntegrationPtrType)(v)
}
func (*responsePlanIntegrationPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ResponsePlanIntegration)(nil)).Elem()
}
func (i *responsePlanIntegrationPtrType) ToResponsePlanIntegrationPtrOutput() ResponsePlanIntegrationPtrOutput {
return i.ToResponsePlanIntegrationPtrOutputWithContext(context.Background())
}
func (i *responsePlanIntegrationPtrType) ToResponsePlanIntegrationPtrOutputWithContext(ctx context.Context) ResponsePlanIntegrationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ResponsePlanIntegrationPtrOutput)
}
type ResponsePlanIntegrationOutput struct{ *pulumi.OutputState }
func (ResponsePlanIntegrationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ResponsePlanIntegration)(nil)).Elem()
}
func (o ResponsePlanIntegrationOutput) ToResponsePlanIntegrationOutput() ResponsePlanIntegrationOutput {
return o
}
func (o ResponsePlanIntegrationOutput) ToResponsePlanIntegrationOutputWithContext(ctx context.Context) ResponsePlanIntegrationOutput {
return o
}
func (o ResponsePlanIntegrationOutput) ToResponsePlanIntegrationPtrOutput() ResponsePlanIntegrationPtrOutput {
return o.ToResponsePlanIntegrationPtrOutputWithContext(context.Background())
}
func (o ResponsePlanIntegrationOutput) ToResponsePlanIntegrationPtrOutputWithContext(ctx context.Context) ResponsePlanIntegrationPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ResponsePlanIntegration) *ResponsePlanIntegration {
return &v
}).(ResponsePlanIntegrationPtrOutput)
}
// Details about the PagerDuty configuration for a response plan. The following values are supported:
func (o ResponsePlanIntegrationOutput) Pagerduties() ResponsePlanIntegrationPagerdutyArrayOutput {
return o.ApplyT(func(v ResponsePlanIntegration) []ResponsePlanIntegrationPagerduty { return v.Pagerduties }).(ResponsePlanIntegrationPagerdutyArrayOutput)
}
type ResponsePlanIntegrationPtrOutput struct{ *pulumi.OutputState }
func (ResponsePlanIntegrationPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ResponsePlanIntegration)(nil)).Elem()
}
func (o ResponsePlanIntegrationPtrOutput) ToResponsePlanIntegrationPtrOutput() ResponsePlanIntegrationPtrOutput {
return o
}
func (o ResponsePlanIntegrationPtrOutput) ToResponsePlanIntegrationPtrOutputWithContext(ctx context.Context) ResponsePlanIntegrationPtrOutput {
return o
}
func (o ResponsePlanIntegrationPtrOutput) Elem() ResponsePlanIntegrationOutput {
return o.ApplyT(func(v *ResponsePlanIntegration) ResponsePlanIntegration {
if v != nil {
return *v
}
var ret ResponsePlanIntegration
return ret
}).(ResponsePlanIntegrationOutput)
}
// Details about the PagerDuty configuration for a response plan. The following values are supported:
func (o ResponsePlanIntegrationPtrOutput) Pagerduties() ResponsePlanIntegrationPagerdutyArrayOutput {
return o.ApplyT(func(v *ResponsePlanIntegration) []ResponsePlanIntegrationPagerduty {
if v == nil {