/
pulumiTypes.go
1486 lines (1209 loc) · 83.4 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 servicecatalog
import (
"context"
"reflect"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
var _ = internal.GetEnvOrDefault
type ProductProvisioningArtifactParameters struct {
// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
Description *string `pulumi:"description"`
// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
DisableTemplateValidation *bool `pulumi:"disableTemplateValidation"`
// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
Name *string `pulumi:"name"`
// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
TemplatePhysicalId *string `pulumi:"templatePhysicalId"`
// Template source as URL of the CloudFormation template in Amazon S3.
TemplateUrl *string `pulumi:"templateUrl"`
// Type of provisioning artifact. See [AWS Docs](https://docs.aws.amazon.com/servicecatalog/latest/dg/API_ProvisioningArtifactProperties.html) for valid list of values.
Type *string `pulumi:"type"`
}
// ProductProvisioningArtifactParametersInput is an input type that accepts ProductProvisioningArtifactParametersArgs and ProductProvisioningArtifactParametersOutput values.
// You can construct a concrete instance of `ProductProvisioningArtifactParametersInput` via:
//
// ProductProvisioningArtifactParametersArgs{...}
type ProductProvisioningArtifactParametersInput interface {
pulumi.Input
ToProductProvisioningArtifactParametersOutput() ProductProvisioningArtifactParametersOutput
ToProductProvisioningArtifactParametersOutputWithContext(context.Context) ProductProvisioningArtifactParametersOutput
}
type ProductProvisioningArtifactParametersArgs struct {
// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
Description pulumi.StringPtrInput `pulumi:"description"`
// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
DisableTemplateValidation pulumi.BoolPtrInput `pulumi:"disableTemplateValidation"`
// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
Name pulumi.StringPtrInput `pulumi:"name"`
// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
TemplatePhysicalId pulumi.StringPtrInput `pulumi:"templatePhysicalId"`
// Template source as URL of the CloudFormation template in Amazon S3.
TemplateUrl pulumi.StringPtrInput `pulumi:"templateUrl"`
// Type of provisioning artifact. See [AWS Docs](https://docs.aws.amazon.com/servicecatalog/latest/dg/API_ProvisioningArtifactProperties.html) for valid list of values.
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (ProductProvisioningArtifactParametersArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ProductProvisioningArtifactParameters)(nil)).Elem()
}
func (i ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersOutput() ProductProvisioningArtifactParametersOutput {
return i.ToProductProvisioningArtifactParametersOutputWithContext(context.Background())
}
func (i ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProductProvisioningArtifactParametersOutput)
}
func (i ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput {
return i.ToProductProvisioningArtifactParametersPtrOutputWithContext(context.Background())
}
func (i ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersPtrOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProductProvisioningArtifactParametersOutput).ToProductProvisioningArtifactParametersPtrOutputWithContext(ctx)
}
// ProductProvisioningArtifactParametersPtrInput is an input type that accepts ProductProvisioningArtifactParametersArgs, ProductProvisioningArtifactParametersPtr and ProductProvisioningArtifactParametersPtrOutput values.
// You can construct a concrete instance of `ProductProvisioningArtifactParametersPtrInput` via:
//
// ProductProvisioningArtifactParametersArgs{...}
//
// or:
//
// nil
type ProductProvisioningArtifactParametersPtrInput interface {
pulumi.Input
ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput
ToProductProvisioningArtifactParametersPtrOutputWithContext(context.Context) ProductProvisioningArtifactParametersPtrOutput
}
type productProvisioningArtifactParametersPtrType ProductProvisioningArtifactParametersArgs
func ProductProvisioningArtifactParametersPtr(v *ProductProvisioningArtifactParametersArgs) ProductProvisioningArtifactParametersPtrInput {
return (*productProvisioningArtifactParametersPtrType)(v)
}
func (*productProvisioningArtifactParametersPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ProductProvisioningArtifactParameters)(nil)).Elem()
}
func (i *productProvisioningArtifactParametersPtrType) ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput {
return i.ToProductProvisioningArtifactParametersPtrOutputWithContext(context.Background())
}
func (i *productProvisioningArtifactParametersPtrType) ToProductProvisioningArtifactParametersPtrOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProductProvisioningArtifactParametersPtrOutput)
}
type ProductProvisioningArtifactParametersOutput struct{ *pulumi.OutputState }
func (ProductProvisioningArtifactParametersOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ProductProvisioningArtifactParameters)(nil)).Elem()
}
func (o ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersOutput() ProductProvisioningArtifactParametersOutput {
return o
}
func (o ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersOutput {
return o
}
func (o ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput {
return o.ToProductProvisioningArtifactParametersPtrOutputWithContext(context.Background())
}
func (o ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersPtrOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ProductProvisioningArtifactParameters) *ProductProvisioningArtifactParameters {
return &v
}).(ProductProvisioningArtifactParametersPtrOutput)
}
// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
func (o ProductProvisioningArtifactParametersOutput) Description() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProductProvisioningArtifactParameters) *string { return v.Description }).(pulumi.StringPtrOutput)
}
// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
func (o ProductProvisioningArtifactParametersOutput) DisableTemplateValidation() pulumi.BoolPtrOutput {
return o.ApplyT(func(v ProductProvisioningArtifactParameters) *bool { return v.DisableTemplateValidation }).(pulumi.BoolPtrOutput)
}
// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
func (o ProductProvisioningArtifactParametersOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProductProvisioningArtifactParameters) *string { return v.Name }).(pulumi.StringPtrOutput)
}
// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
func (o ProductProvisioningArtifactParametersOutput) TemplatePhysicalId() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProductProvisioningArtifactParameters) *string { return v.TemplatePhysicalId }).(pulumi.StringPtrOutput)
}
// Template source as URL of the CloudFormation template in Amazon S3.
func (o ProductProvisioningArtifactParametersOutput) TemplateUrl() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProductProvisioningArtifactParameters) *string { return v.TemplateUrl }).(pulumi.StringPtrOutput)
}
// Type of provisioning artifact. See [AWS Docs](https://docs.aws.amazon.com/servicecatalog/latest/dg/API_ProvisioningArtifactProperties.html) for valid list of values.
func (o ProductProvisioningArtifactParametersOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProductProvisioningArtifactParameters) *string { return v.Type }).(pulumi.StringPtrOutput)
}
type ProductProvisioningArtifactParametersPtrOutput struct{ *pulumi.OutputState }
func (ProductProvisioningArtifactParametersPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ProductProvisioningArtifactParameters)(nil)).Elem()
}
func (o ProductProvisioningArtifactParametersPtrOutput) ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput {
return o
}
func (o ProductProvisioningArtifactParametersPtrOutput) ToProductProvisioningArtifactParametersPtrOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersPtrOutput {
return o
}
func (o ProductProvisioningArtifactParametersPtrOutput) Elem() ProductProvisioningArtifactParametersOutput {
return o.ApplyT(func(v *ProductProvisioningArtifactParameters) ProductProvisioningArtifactParameters {
if v != nil {
return *v
}
var ret ProductProvisioningArtifactParameters
return ret
}).(ProductProvisioningArtifactParametersOutput)
}
// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
func (o ProductProvisioningArtifactParametersPtrOutput) Description() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ProductProvisioningArtifactParameters) *string {
if v == nil {
return nil
}
return v.Description
}).(pulumi.StringPtrOutput)
}
// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
func (o ProductProvisioningArtifactParametersPtrOutput) DisableTemplateValidation() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *ProductProvisioningArtifactParameters) *bool {
if v == nil {
return nil
}
return v.DisableTemplateValidation
}).(pulumi.BoolPtrOutput)
}
// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
func (o ProductProvisioningArtifactParametersPtrOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ProductProvisioningArtifactParameters) *string {
if v == nil {
return nil
}
return v.Name
}).(pulumi.StringPtrOutput)
}
// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
func (o ProductProvisioningArtifactParametersPtrOutput) TemplatePhysicalId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ProductProvisioningArtifactParameters) *string {
if v == nil {
return nil
}
return v.TemplatePhysicalId
}).(pulumi.StringPtrOutput)
}
// Template source as URL of the CloudFormation template in Amazon S3.
func (o ProductProvisioningArtifactParametersPtrOutput) TemplateUrl() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ProductProvisioningArtifactParameters) *string {
if v == nil {
return nil
}
return v.TemplateUrl
}).(pulumi.StringPtrOutput)
}
// Type of provisioning artifact. See [AWS Docs](https://docs.aws.amazon.com/servicecatalog/latest/dg/API_ProvisioningArtifactProperties.html) for valid list of values.
func (o ProductProvisioningArtifactParametersPtrOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ProductProvisioningArtifactParameters) *string {
if v == nil {
return nil
}
return v.Type
}).(pulumi.StringPtrOutput)
}
type ProvisionedProductOutputType struct {
// The description of the output.
Description *string `pulumi:"description"`
// Parameter key.
Key *string `pulumi:"key"`
// Parameter value.
Value *string `pulumi:"value"`
}
// ProvisionedProductOutputTypeInput is an input type that accepts ProvisionedProductOutputTypeArgs and ProvisionedProductOutputTypeOutput values.
// You can construct a concrete instance of `ProvisionedProductOutputTypeInput` via:
//
// ProvisionedProductOutputTypeArgs{...}
type ProvisionedProductOutputTypeInput interface {
pulumi.Input
ToProvisionedProductOutputTypeOutput() ProvisionedProductOutputTypeOutput
ToProvisionedProductOutputTypeOutputWithContext(context.Context) ProvisionedProductOutputTypeOutput
}
type ProvisionedProductOutputTypeArgs struct {
// The description of the output.
Description pulumi.StringPtrInput `pulumi:"description"`
// Parameter key.
Key pulumi.StringPtrInput `pulumi:"key"`
// Parameter value.
Value pulumi.StringPtrInput `pulumi:"value"`
}
func (ProvisionedProductOutputTypeArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ProvisionedProductOutputType)(nil)).Elem()
}
func (i ProvisionedProductOutputTypeArgs) ToProvisionedProductOutputTypeOutput() ProvisionedProductOutputTypeOutput {
return i.ToProvisionedProductOutputTypeOutputWithContext(context.Background())
}
func (i ProvisionedProductOutputTypeArgs) ToProvisionedProductOutputTypeOutputWithContext(ctx context.Context) ProvisionedProductOutputTypeOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProvisionedProductOutputTypeOutput)
}
// ProvisionedProductOutputTypeArrayInput is an input type that accepts ProvisionedProductOutputTypeArray and ProvisionedProductOutputTypeArrayOutput values.
// You can construct a concrete instance of `ProvisionedProductOutputTypeArrayInput` via:
//
// ProvisionedProductOutputTypeArray{ ProvisionedProductOutputTypeArgs{...} }
type ProvisionedProductOutputTypeArrayInput interface {
pulumi.Input
ToProvisionedProductOutputTypeArrayOutput() ProvisionedProductOutputTypeArrayOutput
ToProvisionedProductOutputTypeArrayOutputWithContext(context.Context) ProvisionedProductOutputTypeArrayOutput
}
type ProvisionedProductOutputTypeArray []ProvisionedProductOutputTypeInput
func (ProvisionedProductOutputTypeArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProvisionedProductOutputType)(nil)).Elem()
}
func (i ProvisionedProductOutputTypeArray) ToProvisionedProductOutputTypeArrayOutput() ProvisionedProductOutputTypeArrayOutput {
return i.ToProvisionedProductOutputTypeArrayOutputWithContext(context.Background())
}
func (i ProvisionedProductOutputTypeArray) ToProvisionedProductOutputTypeArrayOutputWithContext(ctx context.Context) ProvisionedProductOutputTypeArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProvisionedProductOutputTypeArrayOutput)
}
type ProvisionedProductOutputTypeOutput struct{ *pulumi.OutputState }
func (ProvisionedProductOutputTypeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ProvisionedProductOutputType)(nil)).Elem()
}
func (o ProvisionedProductOutputTypeOutput) ToProvisionedProductOutputTypeOutput() ProvisionedProductOutputTypeOutput {
return o
}
func (o ProvisionedProductOutputTypeOutput) ToProvisionedProductOutputTypeOutputWithContext(ctx context.Context) ProvisionedProductOutputTypeOutput {
return o
}
// The description of the output.
func (o ProvisionedProductOutputTypeOutput) Description() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProvisionedProductOutputType) *string { return v.Description }).(pulumi.StringPtrOutput)
}
// Parameter key.
func (o ProvisionedProductOutputTypeOutput) Key() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProvisionedProductOutputType) *string { return v.Key }).(pulumi.StringPtrOutput)
}
// Parameter value.
func (o ProvisionedProductOutputTypeOutput) Value() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProvisionedProductOutputType) *string { return v.Value }).(pulumi.StringPtrOutput)
}
type ProvisionedProductOutputTypeArrayOutput struct{ *pulumi.OutputState }
func (ProvisionedProductOutputTypeArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProvisionedProductOutputType)(nil)).Elem()
}
func (o ProvisionedProductOutputTypeArrayOutput) ToProvisionedProductOutputTypeArrayOutput() ProvisionedProductOutputTypeArrayOutput {
return o
}
func (o ProvisionedProductOutputTypeArrayOutput) ToProvisionedProductOutputTypeArrayOutputWithContext(ctx context.Context) ProvisionedProductOutputTypeArrayOutput {
return o
}
func (o ProvisionedProductOutputTypeArrayOutput) Index(i pulumi.IntInput) ProvisionedProductOutputTypeOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProvisionedProductOutputType {
return vs[0].([]ProvisionedProductOutputType)[vs[1].(int)]
}).(ProvisionedProductOutputTypeOutput)
}
type ProvisionedProductProvisioningParameter struct {
// Parameter key.
Key string `pulumi:"key"`
// Whether to ignore `value` and keep the previous parameter value. Ignored when initially provisioning a product.
UsePreviousValue *bool `pulumi:"usePreviousValue"`
// Parameter value.
Value *string `pulumi:"value"`
}
// ProvisionedProductProvisioningParameterInput is an input type that accepts ProvisionedProductProvisioningParameterArgs and ProvisionedProductProvisioningParameterOutput values.
// You can construct a concrete instance of `ProvisionedProductProvisioningParameterInput` via:
//
// ProvisionedProductProvisioningParameterArgs{...}
type ProvisionedProductProvisioningParameterInput interface {
pulumi.Input
ToProvisionedProductProvisioningParameterOutput() ProvisionedProductProvisioningParameterOutput
ToProvisionedProductProvisioningParameterOutputWithContext(context.Context) ProvisionedProductProvisioningParameterOutput
}
type ProvisionedProductProvisioningParameterArgs struct {
// Parameter key.
Key pulumi.StringInput `pulumi:"key"`
// Whether to ignore `value` and keep the previous parameter value. Ignored when initially provisioning a product.
UsePreviousValue pulumi.BoolPtrInput `pulumi:"usePreviousValue"`
// Parameter value.
Value pulumi.StringPtrInput `pulumi:"value"`
}
func (ProvisionedProductProvisioningParameterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ProvisionedProductProvisioningParameter)(nil)).Elem()
}
func (i ProvisionedProductProvisioningParameterArgs) ToProvisionedProductProvisioningParameterOutput() ProvisionedProductProvisioningParameterOutput {
return i.ToProvisionedProductProvisioningParameterOutputWithContext(context.Background())
}
func (i ProvisionedProductProvisioningParameterArgs) ToProvisionedProductProvisioningParameterOutputWithContext(ctx context.Context) ProvisionedProductProvisioningParameterOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProvisionedProductProvisioningParameterOutput)
}
// ProvisionedProductProvisioningParameterArrayInput is an input type that accepts ProvisionedProductProvisioningParameterArray and ProvisionedProductProvisioningParameterArrayOutput values.
// You can construct a concrete instance of `ProvisionedProductProvisioningParameterArrayInput` via:
//
// ProvisionedProductProvisioningParameterArray{ ProvisionedProductProvisioningParameterArgs{...} }
type ProvisionedProductProvisioningParameterArrayInput interface {
pulumi.Input
ToProvisionedProductProvisioningParameterArrayOutput() ProvisionedProductProvisioningParameterArrayOutput
ToProvisionedProductProvisioningParameterArrayOutputWithContext(context.Context) ProvisionedProductProvisioningParameterArrayOutput
}
type ProvisionedProductProvisioningParameterArray []ProvisionedProductProvisioningParameterInput
func (ProvisionedProductProvisioningParameterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProvisionedProductProvisioningParameter)(nil)).Elem()
}
func (i ProvisionedProductProvisioningParameterArray) ToProvisionedProductProvisioningParameterArrayOutput() ProvisionedProductProvisioningParameterArrayOutput {
return i.ToProvisionedProductProvisioningParameterArrayOutputWithContext(context.Background())
}
func (i ProvisionedProductProvisioningParameterArray) ToProvisionedProductProvisioningParameterArrayOutputWithContext(ctx context.Context) ProvisionedProductProvisioningParameterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProvisionedProductProvisioningParameterArrayOutput)
}
type ProvisionedProductProvisioningParameterOutput struct{ *pulumi.OutputState }
func (ProvisionedProductProvisioningParameterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ProvisionedProductProvisioningParameter)(nil)).Elem()
}
func (o ProvisionedProductProvisioningParameterOutput) ToProvisionedProductProvisioningParameterOutput() ProvisionedProductProvisioningParameterOutput {
return o
}
func (o ProvisionedProductProvisioningParameterOutput) ToProvisionedProductProvisioningParameterOutputWithContext(ctx context.Context) ProvisionedProductProvisioningParameterOutput {
return o
}
// Parameter key.
func (o ProvisionedProductProvisioningParameterOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v ProvisionedProductProvisioningParameter) string { return v.Key }).(pulumi.StringOutput)
}
// Whether to ignore `value` and keep the previous parameter value. Ignored when initially provisioning a product.
func (o ProvisionedProductProvisioningParameterOutput) UsePreviousValue() pulumi.BoolPtrOutput {
return o.ApplyT(func(v ProvisionedProductProvisioningParameter) *bool { return v.UsePreviousValue }).(pulumi.BoolPtrOutput)
}
// Parameter value.
func (o ProvisionedProductProvisioningParameterOutput) Value() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProvisionedProductProvisioningParameter) *string { return v.Value }).(pulumi.StringPtrOutput)
}
type ProvisionedProductProvisioningParameterArrayOutput struct{ *pulumi.OutputState }
func (ProvisionedProductProvisioningParameterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProvisionedProductProvisioningParameter)(nil)).Elem()
}
func (o ProvisionedProductProvisioningParameterArrayOutput) ToProvisionedProductProvisioningParameterArrayOutput() ProvisionedProductProvisioningParameterArrayOutput {
return o
}
func (o ProvisionedProductProvisioningParameterArrayOutput) ToProvisionedProductProvisioningParameterArrayOutputWithContext(ctx context.Context) ProvisionedProductProvisioningParameterArrayOutput {
return o
}
func (o ProvisionedProductProvisioningParameterArrayOutput) Index(i pulumi.IntInput) ProvisionedProductProvisioningParameterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProvisionedProductProvisioningParameter {
return vs[0].([]ProvisionedProductProvisioningParameter)[vs[1].(int)]
}).(ProvisionedProductProvisioningParameterOutput)
}
type ProvisionedProductStackSetProvisioningPreferences struct {
// One or more AWS accounts that will have access to the provisioned product. The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all accounts from the STACKSET constraint.
Accounts []string `pulumi:"accounts"`
// Number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both. The default value is 0 if no value is specified.
FailureToleranceCount *int `pulumi:"failureToleranceCount"`
// Percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both.
FailureTolerancePercentage *int `pulumi:"failureTolerancePercentage"`
// Maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `failureToleranceCount`. `maxConcurrencyCount` is at most one more than the `failureToleranceCount`. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
MaxConcurrencyCount *int `pulumi:"maxConcurrencyCount"`
// Maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
MaxConcurrencyPercentage *int `pulumi:"maxConcurrencyPercentage"`
// One or more AWS Regions where the provisioned product will be available. The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all regions from the STACKSET constraint.
Regions []string `pulumi:"regions"`
}
// ProvisionedProductStackSetProvisioningPreferencesInput is an input type that accepts ProvisionedProductStackSetProvisioningPreferencesArgs and ProvisionedProductStackSetProvisioningPreferencesOutput values.
// You can construct a concrete instance of `ProvisionedProductStackSetProvisioningPreferencesInput` via:
//
// ProvisionedProductStackSetProvisioningPreferencesArgs{...}
type ProvisionedProductStackSetProvisioningPreferencesInput interface {
pulumi.Input
ToProvisionedProductStackSetProvisioningPreferencesOutput() ProvisionedProductStackSetProvisioningPreferencesOutput
ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext(context.Context) ProvisionedProductStackSetProvisioningPreferencesOutput
}
type ProvisionedProductStackSetProvisioningPreferencesArgs struct {
// One or more AWS accounts that will have access to the provisioned product. The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all accounts from the STACKSET constraint.
Accounts pulumi.StringArrayInput `pulumi:"accounts"`
// Number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both. The default value is 0 if no value is specified.
FailureToleranceCount pulumi.IntPtrInput `pulumi:"failureToleranceCount"`
// Percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both.
FailureTolerancePercentage pulumi.IntPtrInput `pulumi:"failureTolerancePercentage"`
// Maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `failureToleranceCount`. `maxConcurrencyCount` is at most one more than the `failureToleranceCount`. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
MaxConcurrencyCount pulumi.IntPtrInput `pulumi:"maxConcurrencyCount"`
// Maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
MaxConcurrencyPercentage pulumi.IntPtrInput `pulumi:"maxConcurrencyPercentage"`
// One or more AWS Regions where the provisioned product will be available. The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all regions from the STACKSET constraint.
Regions pulumi.StringArrayInput `pulumi:"regions"`
}
func (ProvisionedProductStackSetProvisioningPreferencesArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ProvisionedProductStackSetProvisioningPreferences)(nil)).Elem()
}
func (i ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesOutput() ProvisionedProductStackSetProvisioningPreferencesOutput {
return i.ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext(context.Background())
}
func (i ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProvisionedProductStackSetProvisioningPreferencesOutput)
}
func (i ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesPtrOutput() ProvisionedProductStackSetProvisioningPreferencesPtrOutput {
return i.ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(context.Background())
}
func (i ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProvisionedProductStackSetProvisioningPreferencesOutput).ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(ctx)
}
// ProvisionedProductStackSetProvisioningPreferencesPtrInput is an input type that accepts ProvisionedProductStackSetProvisioningPreferencesArgs, ProvisionedProductStackSetProvisioningPreferencesPtr and ProvisionedProductStackSetProvisioningPreferencesPtrOutput values.
// You can construct a concrete instance of `ProvisionedProductStackSetProvisioningPreferencesPtrInput` via:
//
// ProvisionedProductStackSetProvisioningPreferencesArgs{...}
//
// or:
//
// nil
type ProvisionedProductStackSetProvisioningPreferencesPtrInput interface {
pulumi.Input
ToProvisionedProductStackSetProvisioningPreferencesPtrOutput() ProvisionedProductStackSetProvisioningPreferencesPtrOutput
ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput
}
type provisionedProductStackSetProvisioningPreferencesPtrType ProvisionedProductStackSetProvisioningPreferencesArgs
func ProvisionedProductStackSetProvisioningPreferencesPtr(v *ProvisionedProductStackSetProvisioningPreferencesArgs) ProvisionedProductStackSetProvisioningPreferencesPtrInput {
return (*provisionedProductStackSetProvisioningPreferencesPtrType)(v)
}
func (*provisionedProductStackSetProvisioningPreferencesPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ProvisionedProductStackSetProvisioningPreferences)(nil)).Elem()
}
func (i *provisionedProductStackSetProvisioningPreferencesPtrType) ToProvisionedProductStackSetProvisioningPreferencesPtrOutput() ProvisionedProductStackSetProvisioningPreferencesPtrOutput {
return i.ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(context.Background())
}
func (i *provisionedProductStackSetProvisioningPreferencesPtrType) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProvisionedProductStackSetProvisioningPreferencesPtrOutput)
}
type ProvisionedProductStackSetProvisioningPreferencesOutput struct{ *pulumi.OutputState }
func (ProvisionedProductStackSetProvisioningPreferencesOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ProvisionedProductStackSetProvisioningPreferences)(nil)).Elem()
}
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesOutput() ProvisionedProductStackSetProvisioningPreferencesOutput {
return o
}
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesOutput {
return o
}
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutput() ProvisionedProductStackSetProvisioningPreferencesPtrOutput {
return o.ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(context.Background())
}
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ProvisionedProductStackSetProvisioningPreferences) *ProvisionedProductStackSetProvisioningPreferences {
return &v
}).(ProvisionedProductStackSetProvisioningPreferencesPtrOutput)
}
// One or more AWS accounts that will have access to the provisioned product. The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all accounts from the STACKSET constraint.
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) Accounts() pulumi.StringArrayOutput {
return o.ApplyT(func(v ProvisionedProductStackSetProvisioningPreferences) []string { return v.Accounts }).(pulumi.StringArrayOutput)
}
// Number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both. The default value is 0 if no value is specified.
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) FailureToleranceCount() pulumi.IntPtrOutput {
return o.ApplyT(func(v ProvisionedProductStackSetProvisioningPreferences) *int { return v.FailureToleranceCount }).(pulumi.IntPtrOutput)
}
// Percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both.
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) FailureTolerancePercentage() pulumi.IntPtrOutput {
return o.ApplyT(func(v ProvisionedProductStackSetProvisioningPreferences) *int { return v.FailureTolerancePercentage }).(pulumi.IntPtrOutput)
}
// Maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `failureToleranceCount`. `maxConcurrencyCount` is at most one more than the `failureToleranceCount`. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) MaxConcurrencyCount() pulumi.IntPtrOutput {
return o.ApplyT(func(v ProvisionedProductStackSetProvisioningPreferences) *int { return v.MaxConcurrencyCount }).(pulumi.IntPtrOutput)
}
// Maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) MaxConcurrencyPercentage() pulumi.IntPtrOutput {
return o.ApplyT(func(v ProvisionedProductStackSetProvisioningPreferences) *int { return v.MaxConcurrencyPercentage }).(pulumi.IntPtrOutput)
}
// One or more AWS Regions where the provisioned product will be available. The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all regions from the STACKSET constraint.
func (o ProvisionedProductStackSetProvisioningPreferencesOutput) Regions() pulumi.StringArrayOutput {
return o.ApplyT(func(v ProvisionedProductStackSetProvisioningPreferences) []string { return v.Regions }).(pulumi.StringArrayOutput)
}
type ProvisionedProductStackSetProvisioningPreferencesPtrOutput struct{ *pulumi.OutputState }
func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ProvisionedProductStackSetProvisioningPreferences)(nil)).Elem()
}
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutput() ProvisionedProductStackSetProvisioningPreferencesPtrOutput {
return o
}
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput {
return o
}
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) Elem() ProvisionedProductStackSetProvisioningPreferencesOutput {
return o.ApplyT(func(v *ProvisionedProductStackSetProvisioningPreferences) ProvisionedProductStackSetProvisioningPreferences {
if v != nil {
return *v
}
var ret ProvisionedProductStackSetProvisioningPreferences
return ret
}).(ProvisionedProductStackSetProvisioningPreferencesOutput)
}
// One or more AWS accounts that will have access to the provisioned product. The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all accounts from the STACKSET constraint.
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) Accounts() pulumi.StringArrayOutput {
return o.ApplyT(func(v *ProvisionedProductStackSetProvisioningPreferences) []string {
if v == nil {
return nil
}
return v.Accounts
}).(pulumi.StringArrayOutput)
}
// Number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both. The default value is 0 if no value is specified.
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) FailureToleranceCount() pulumi.IntPtrOutput {
return o.ApplyT(func(v *ProvisionedProductStackSetProvisioningPreferences) *int {
if v == nil {
return nil
}
return v.FailureToleranceCount
}).(pulumi.IntPtrOutput)
}
// Percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both.
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) FailureTolerancePercentage() pulumi.IntPtrOutput {
return o.ApplyT(func(v *ProvisionedProductStackSetProvisioningPreferences) *int {
if v == nil {
return nil
}
return v.FailureTolerancePercentage
}).(pulumi.IntPtrOutput)
}
// Maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `failureToleranceCount`. `maxConcurrencyCount` is at most one more than the `failureToleranceCount`. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) MaxConcurrencyCount() pulumi.IntPtrOutput {
return o.ApplyT(func(v *ProvisionedProductStackSetProvisioningPreferences) *int {
if v == nil {
return nil
}
return v.MaxConcurrencyCount
}).(pulumi.IntPtrOutput)
}
// Maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) MaxConcurrencyPercentage() pulumi.IntPtrOutput {
return o.ApplyT(func(v *ProvisionedProductStackSetProvisioningPreferences) *int {
if v == nil {
return nil
}
return v.MaxConcurrencyPercentage
}).(pulumi.IntPtrOutput)
}
// One or more AWS Regions where the provisioned product will be available. The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all regions from the STACKSET constraint.
func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) Regions() pulumi.StringArrayOutput {
return o.ApplyT(func(v *ProvisionedProductStackSetProvisioningPreferences) []string {
if v == nil {
return nil
}
return v.Regions
}).(pulumi.StringArrayOutput)
}
type ServiceActionDefinition struct {
// ARN of the role that performs the self-service actions on your behalf. For example, `arn:aws:iam::12345678910:role/ActionRole`. To reuse the provisioned product launch role, set to `LAUNCH_ROLE`.
AssumeRole *string `pulumi:"assumeRole"`
// Name of the SSM document. For example, `AWS-RestartEC2Instance`. If you are using a shared SSM document, you must provide the ARN instead of the name.
Name string `pulumi:"name"`
// List of parameters in JSON format. For example: `[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]` or `[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]`.
Parameters *string `pulumi:"parameters"`
// Service action definition type. Valid value is `SSM_AUTOMATION`. Default is `SSM_AUTOMATION`.
Type *string `pulumi:"type"`
// SSM document version. For example, `1`.
Version string `pulumi:"version"`
}
// ServiceActionDefinitionInput is an input type that accepts ServiceActionDefinitionArgs and ServiceActionDefinitionOutput values.
// You can construct a concrete instance of `ServiceActionDefinitionInput` via:
//
// ServiceActionDefinitionArgs{...}
type ServiceActionDefinitionInput interface {
pulumi.Input
ToServiceActionDefinitionOutput() ServiceActionDefinitionOutput
ToServiceActionDefinitionOutputWithContext(context.Context) ServiceActionDefinitionOutput
}
type ServiceActionDefinitionArgs struct {
// ARN of the role that performs the self-service actions on your behalf. For example, `arn:aws:iam::12345678910:role/ActionRole`. To reuse the provisioned product launch role, set to `LAUNCH_ROLE`.
AssumeRole pulumi.StringPtrInput `pulumi:"assumeRole"`
// Name of the SSM document. For example, `AWS-RestartEC2Instance`. If you are using a shared SSM document, you must provide the ARN instead of the name.
Name pulumi.StringInput `pulumi:"name"`
// List of parameters in JSON format. For example: `[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]` or `[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]`.
Parameters pulumi.StringPtrInput `pulumi:"parameters"`
// Service action definition type. Valid value is `SSM_AUTOMATION`. Default is `SSM_AUTOMATION`.
Type pulumi.StringPtrInput `pulumi:"type"`
// SSM document version. For example, `1`.
Version pulumi.StringInput `pulumi:"version"`
}
func (ServiceActionDefinitionArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceActionDefinition)(nil)).Elem()
}
func (i ServiceActionDefinitionArgs) ToServiceActionDefinitionOutput() ServiceActionDefinitionOutput {
return i.ToServiceActionDefinitionOutputWithContext(context.Background())
}
func (i ServiceActionDefinitionArgs) ToServiceActionDefinitionOutputWithContext(ctx context.Context) ServiceActionDefinitionOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceActionDefinitionOutput)
}
func (i ServiceActionDefinitionArgs) ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput {
return i.ToServiceActionDefinitionPtrOutputWithContext(context.Background())
}
func (i ServiceActionDefinitionArgs) ToServiceActionDefinitionPtrOutputWithContext(ctx context.Context) ServiceActionDefinitionPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceActionDefinitionOutput).ToServiceActionDefinitionPtrOutputWithContext(ctx)
}
// ServiceActionDefinitionPtrInput is an input type that accepts ServiceActionDefinitionArgs, ServiceActionDefinitionPtr and ServiceActionDefinitionPtrOutput values.
// You can construct a concrete instance of `ServiceActionDefinitionPtrInput` via:
//
// ServiceActionDefinitionArgs{...}
//
// or:
//
// nil
type ServiceActionDefinitionPtrInput interface {
pulumi.Input
ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput
ToServiceActionDefinitionPtrOutputWithContext(context.Context) ServiceActionDefinitionPtrOutput
}
type serviceActionDefinitionPtrType ServiceActionDefinitionArgs
func ServiceActionDefinitionPtr(v *ServiceActionDefinitionArgs) ServiceActionDefinitionPtrInput {
return (*serviceActionDefinitionPtrType)(v)
}
func (*serviceActionDefinitionPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceActionDefinition)(nil)).Elem()
}
func (i *serviceActionDefinitionPtrType) ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput {
return i.ToServiceActionDefinitionPtrOutputWithContext(context.Background())
}
func (i *serviceActionDefinitionPtrType) ToServiceActionDefinitionPtrOutputWithContext(ctx context.Context) ServiceActionDefinitionPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceActionDefinitionPtrOutput)
}
type ServiceActionDefinitionOutput struct{ *pulumi.OutputState }
func (ServiceActionDefinitionOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceActionDefinition)(nil)).Elem()
}
func (o ServiceActionDefinitionOutput) ToServiceActionDefinitionOutput() ServiceActionDefinitionOutput {
return o
}
func (o ServiceActionDefinitionOutput) ToServiceActionDefinitionOutputWithContext(ctx context.Context) ServiceActionDefinitionOutput {
return o
}
func (o ServiceActionDefinitionOutput) ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput {
return o.ToServiceActionDefinitionPtrOutputWithContext(context.Background())
}
func (o ServiceActionDefinitionOutput) ToServiceActionDefinitionPtrOutputWithContext(ctx context.Context) ServiceActionDefinitionPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceActionDefinition) *ServiceActionDefinition {
return &v
}).(ServiceActionDefinitionPtrOutput)
}
// ARN of the role that performs the self-service actions on your behalf. For example, `arn:aws:iam::12345678910:role/ActionRole`. To reuse the provisioned product launch role, set to `LAUNCH_ROLE`.
func (o ServiceActionDefinitionOutput) AssumeRole() pulumi.StringPtrOutput {
return o.ApplyT(func(v ServiceActionDefinition) *string { return v.AssumeRole }).(pulumi.StringPtrOutput)
}
// Name of the SSM document. For example, `AWS-RestartEC2Instance`. If you are using a shared SSM document, you must provide the ARN instead of the name.
func (o ServiceActionDefinitionOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v ServiceActionDefinition) string { return v.Name }).(pulumi.StringOutput)
}
// List of parameters in JSON format. For example: `[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]` or `[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]`.
func (o ServiceActionDefinitionOutput) Parameters() pulumi.StringPtrOutput {
return o.ApplyT(func(v ServiceActionDefinition) *string { return v.Parameters }).(pulumi.StringPtrOutput)
}
// Service action definition type. Valid value is `SSM_AUTOMATION`. Default is `SSM_AUTOMATION`.
func (o ServiceActionDefinitionOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v ServiceActionDefinition) *string { return v.Type }).(pulumi.StringPtrOutput)
}
// SSM document version. For example, `1`.
func (o ServiceActionDefinitionOutput) Version() pulumi.StringOutput {
return o.ApplyT(func(v ServiceActionDefinition) string { return v.Version }).(pulumi.StringOutput)
}
type ServiceActionDefinitionPtrOutput struct{ *pulumi.OutputState }
func (ServiceActionDefinitionPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceActionDefinition)(nil)).Elem()
}
func (o ServiceActionDefinitionPtrOutput) ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput {
return o
}
func (o ServiceActionDefinitionPtrOutput) ToServiceActionDefinitionPtrOutputWithContext(ctx context.Context) ServiceActionDefinitionPtrOutput {
return o
}
func (o ServiceActionDefinitionPtrOutput) Elem() ServiceActionDefinitionOutput {
return o.ApplyT(func(v *ServiceActionDefinition) ServiceActionDefinition {
if v != nil {
return *v
}
var ret ServiceActionDefinition
return ret
}).(ServiceActionDefinitionOutput)
}
// ARN of the role that performs the self-service actions on your behalf. For example, `arn:aws:iam::12345678910:role/ActionRole`. To reuse the provisioned product launch role, set to `LAUNCH_ROLE`.
func (o ServiceActionDefinitionPtrOutput) AssumeRole() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceActionDefinition) *string {
if v == nil {
return nil
}
return v.AssumeRole
}).(pulumi.StringPtrOutput)
}
// Name of the SSM document. For example, `AWS-RestartEC2Instance`. If you are using a shared SSM document, you must provide the ARN instead of the name.
func (o ServiceActionDefinitionPtrOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceActionDefinition) *string {
if v == nil {
return nil
}
return &v.Name
}).(pulumi.StringPtrOutput)
}
// List of parameters in JSON format. For example: `[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]` or `[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]`.
func (o ServiceActionDefinitionPtrOutput) Parameters() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceActionDefinition) *string {
if v == nil {
return nil
}
return v.Parameters
}).(pulumi.StringPtrOutput)
}
// Service action definition type. Valid value is `SSM_AUTOMATION`. Default is `SSM_AUTOMATION`.
func (o ServiceActionDefinitionPtrOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceActionDefinition) *string {
if v == nil {
return nil
}
return v.Type
}).(pulumi.StringPtrOutput)
}
// SSM document version. For example, `1`.
func (o ServiceActionDefinitionPtrOutput) Version() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceActionDefinition) *string {
if v == nil {
return nil
}
return &v.Version
}).(pulumi.StringPtrOutput)
}
type GetLaunchPathsSummary struct {
// Block for constraints on the portfolio-product relationship. See details below.
ConstraintSummaries []GetLaunchPathsSummaryConstraintSummary `pulumi:"constraintSummaries"`
// Name of the portfolio to which the path was assigned.
Name string `pulumi:"name"`
// Identifier of the product path.
PathId string `pulumi:"pathId"`
// Tags associated with this product path.
Tags map[string]string `pulumi:"tags"`
}
// GetLaunchPathsSummaryInput is an input type that accepts GetLaunchPathsSummaryArgs and GetLaunchPathsSummaryOutput values.
// You can construct a concrete instance of `GetLaunchPathsSummaryInput` via:
//
// GetLaunchPathsSummaryArgs{...}
type GetLaunchPathsSummaryInput interface {
pulumi.Input
ToGetLaunchPathsSummaryOutput() GetLaunchPathsSummaryOutput
ToGetLaunchPathsSummaryOutputWithContext(context.Context) GetLaunchPathsSummaryOutput
}
type GetLaunchPathsSummaryArgs struct {
// Block for constraints on the portfolio-product relationship. See details below.
ConstraintSummaries GetLaunchPathsSummaryConstraintSummaryArrayInput `pulumi:"constraintSummaries"`
// Name of the portfolio to which the path was assigned.
Name pulumi.StringInput `pulumi:"name"`
// Identifier of the product path.
PathId pulumi.StringInput `pulumi:"pathId"`
// Tags associated with this product path.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
func (GetLaunchPathsSummaryArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetLaunchPathsSummary)(nil)).Elem()
}
func (i GetLaunchPathsSummaryArgs) ToGetLaunchPathsSummaryOutput() GetLaunchPathsSummaryOutput {
return i.ToGetLaunchPathsSummaryOutputWithContext(context.Background())
}
func (i GetLaunchPathsSummaryArgs) ToGetLaunchPathsSummaryOutputWithContext(ctx context.Context) GetLaunchPathsSummaryOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetLaunchPathsSummaryOutput)
}
// GetLaunchPathsSummaryArrayInput is an input type that accepts GetLaunchPathsSummaryArray and GetLaunchPathsSummaryArrayOutput values.
// You can construct a concrete instance of `GetLaunchPathsSummaryArrayInput` via:
//
// GetLaunchPathsSummaryArray{ GetLaunchPathsSummaryArgs{...} }
type GetLaunchPathsSummaryArrayInput interface {
pulumi.Input
ToGetLaunchPathsSummaryArrayOutput() GetLaunchPathsSummaryArrayOutput
ToGetLaunchPathsSummaryArrayOutputWithContext(context.Context) GetLaunchPathsSummaryArrayOutput
}
type GetLaunchPathsSummaryArray []GetLaunchPathsSummaryInput
func (GetLaunchPathsSummaryArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetLaunchPathsSummary)(nil)).Elem()
}
func (i GetLaunchPathsSummaryArray) ToGetLaunchPathsSummaryArrayOutput() GetLaunchPathsSummaryArrayOutput {
return i.ToGetLaunchPathsSummaryArrayOutputWithContext(context.Background())
}
func (i GetLaunchPathsSummaryArray) ToGetLaunchPathsSummaryArrayOutputWithContext(ctx context.Context) GetLaunchPathsSummaryArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetLaunchPathsSummaryArrayOutput)
}
type GetLaunchPathsSummaryOutput struct{ *pulumi.OutputState }
func (GetLaunchPathsSummaryOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetLaunchPathsSummary)(nil)).Elem()
}
func (o GetLaunchPathsSummaryOutput) ToGetLaunchPathsSummaryOutput() GetLaunchPathsSummaryOutput {
return o