-
Notifications
You must be signed in to change notification settings - Fork 117
/
zz_spotfleetrequest_types.go
executable file
·1532 lines (1095 loc) · 78.9 KB
/
zz_spotfleetrequest_types.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
// SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by upjet. DO NOT EDIT.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type CapacityRebalanceInitParameters struct {
// The replacement strategy to use. Only available for spot fleets with fleet_type set to maintain. Valid values: launch.
ReplacementStrategy *string `json:"replacementStrategy,omitempty" tf:"replacement_strategy,omitempty"`
}
type CapacityRebalanceObservation struct {
// The replacement strategy to use. Only available for spot fleets with fleet_type set to maintain. Valid values: launch.
ReplacementStrategy *string `json:"replacementStrategy,omitempty" tf:"replacement_strategy,omitempty"`
}
type CapacityRebalanceParameters struct {
// The replacement strategy to use. Only available for spot fleets with fleet_type set to maintain. Valid values: launch.
// +kubebuilder:validation:Optional
ReplacementStrategy *string `json:"replacementStrategy,omitempty" tf:"replacement_strategy,omitempty"`
}
type InstanceRequirementsAcceleratorCountInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsAcceleratorCountObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsAcceleratorCountParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsAcceleratorTotalMemoryMibInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsAcceleratorTotalMemoryMibObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsAcceleratorTotalMemoryMibParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsBaselineEBSBandwidthMbpsObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsBaselineEBSBandwidthMbpsParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsMemoryGibPerVcpuInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsMemoryGibPerVcpuObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsMemoryGibPerVcpuParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsMemoryMibInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsMemoryMibObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsMemoryMibParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsNetworkBandwidthGbpsInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsNetworkBandwidthGbpsObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsNetworkBandwidthGbpsParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsNetworkInterfaceCountInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsNetworkInterfaceCountObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsNetworkInterfaceCountParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsTotalLocalStorageGbInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsTotalLocalStorageGbObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsTotalLocalStorageGbParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsVcpuCountInitParameters struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsVcpuCountObservation struct {
// Maximum.
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type InstanceRequirementsVcpuCountParameters struct {
// Maximum.
// +kubebuilder:validation:Optional
Max *float64 `json:"max,omitempty" tf:"max,omitempty"`
// Minimum.
// +kubebuilder:validation:Optional
Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}
type LaunchSpecificationEBSBlockDeviceInitParameters struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// The name of the launch template. Conflicts with id.
DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// The ID of the launch template. Conflicts with name.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// The ID of the launch template. Conflicts with name.
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type LaunchSpecificationEBSBlockDeviceObservation struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// The name of the launch template. Conflicts with id.
DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// The ID of the launch template. Conflicts with name.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// The ID of the launch template. Conflicts with name.
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type LaunchSpecificationEBSBlockDeviceParameters struct {
// +kubebuilder:validation:Optional
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// The name of the launch template. Conflicts with id.
// +kubebuilder:validation:Optional
DeviceName *string `json:"deviceName" tf:"device_name,omitempty"`
// +kubebuilder:validation:Optional
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// +kubebuilder:validation:Optional
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// The ID of the launch template. Conflicts with name.
// +kubebuilder:validation:Optional
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// The ID of the launch template. Conflicts with name.
// +kubebuilder:validation:Optional
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// +kubebuilder:validation:Optional
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
// +kubebuilder:validation:Optional
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
// +kubebuilder:validation:Optional
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type LaunchSpecificationEphemeralBlockDeviceInitParameters struct {
// The name of the launch template. Conflicts with id.
DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`
// The name of the launch template. Conflicts with id.
VirtualName *string `json:"virtualName,omitempty" tf:"virtual_name,omitempty"`
}
type LaunchSpecificationEphemeralBlockDeviceObservation struct {
// The name of the launch template. Conflicts with id.
DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`
// The name of the launch template. Conflicts with id.
VirtualName *string `json:"virtualName,omitempty" tf:"virtual_name,omitempty"`
}
type LaunchSpecificationEphemeralBlockDeviceParameters struct {
// The name of the launch template. Conflicts with id.
// +kubebuilder:validation:Optional
DeviceName *string `json:"deviceName" tf:"device_name,omitempty"`
// The name of the launch template. Conflicts with id.
// +kubebuilder:validation:Optional
VirtualName *string `json:"virtualName" tf:"virtual_name,omitempty"`
}
type LaunchSpecificationInitParameters struct {
AMI *string `json:"ami,omitempty" tf:"ami,omitempty"`
AssociatePublicIPAddress *bool `json:"associatePublicIpAddress,omitempty" tf:"associate_public_ip_address,omitempty"`
// The availability zone in which to place the request.
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
EBSBlockDevice []LaunchSpecificationEBSBlockDeviceInitParameters `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`
EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`
EphemeralBlockDevice []LaunchSpecificationEphemeralBlockDeviceInitParameters `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`
IAMInstanceProfile *string `json:"iamInstanceProfile,omitempty" tf:"iam_instance_profile,omitempty"`
// takes aws_iam_instance_profile attribute arn as input.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
IAMInstanceProfileArn *string `json:"iamInstanceProfileArn,omitempty" tf:"iam_instance_profile_arn,omitempty"`
// Reference to a InstanceProfile in iam to populate iamInstanceProfileArn.
// +kubebuilder:validation:Optional
IAMInstanceProfileArnRef *v1.Reference `json:"iamInstanceProfileArnRef,omitempty" tf:"-"`
// Selector for a InstanceProfile in iam to populate iamInstanceProfileArn.
// +kubebuilder:validation:Optional
IAMInstanceProfileArnSelector *v1.Selector `json:"iamInstanceProfileArnSelector,omitempty" tf:"-"`
// The type of instance to request.
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
// The name of the launch template. Conflicts with id.
KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`
Monitoring *bool `json:"monitoring,omitempty" tf:"monitoring,omitempty"`
PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`
PlacementTenancy *string `json:"placementTenancy,omitempty" tf:"placement_tenancy,omitempty"`
RootBlockDevice []LaunchSpecificationRootBlockDeviceInitParameters `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`
// The maximum bid price per unit hour.
SpotPrice *string `json:"spotPrice,omitempty" tf:"spot_price,omitempty"`
// The subnet in which to launch the requested instance.
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
// The capacity added to the fleet by a fulfilled request.
WeightedCapacity *string `json:"weightedCapacity,omitempty" tf:"weighted_capacity,omitempty"`
}
type LaunchSpecificationObservation struct {
AMI *string `json:"ami,omitempty" tf:"ami,omitempty"`
AssociatePublicIPAddress *bool `json:"associatePublicIpAddress,omitempty" tf:"associate_public_ip_address,omitempty"`
// The availability zone in which to place the request.
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
EBSBlockDevice []LaunchSpecificationEBSBlockDeviceObservation `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`
EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`
EphemeralBlockDevice []LaunchSpecificationEphemeralBlockDeviceObservation `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`
IAMInstanceProfile *string `json:"iamInstanceProfile,omitempty" tf:"iam_instance_profile,omitempty"`
// takes aws_iam_instance_profile attribute arn as input.
IAMInstanceProfileArn *string `json:"iamInstanceProfileArn,omitempty" tf:"iam_instance_profile_arn,omitempty"`
// The type of instance to request.
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
// The name of the launch template. Conflicts with id.
KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`
Monitoring *bool `json:"monitoring,omitempty" tf:"monitoring,omitempty"`
PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`
PlacementTenancy *string `json:"placementTenancy,omitempty" tf:"placement_tenancy,omitempty"`
RootBlockDevice []LaunchSpecificationRootBlockDeviceObservation `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`
// The maximum bid price per unit hour.
SpotPrice *string `json:"spotPrice,omitempty" tf:"spot_price,omitempty"`
// The subnet in which to launch the requested instance.
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
// The capacity added to the fleet by a fulfilled request.
WeightedCapacity *string `json:"weightedCapacity,omitempty" tf:"weighted_capacity,omitempty"`
}
type LaunchSpecificationParameters struct {
// +kubebuilder:validation:Optional
AMI *string `json:"ami" tf:"ami,omitempty"`
// +kubebuilder:validation:Optional
AssociatePublicIPAddress *bool `json:"associatePublicIpAddress,omitempty" tf:"associate_public_ip_address,omitempty"`
// The availability zone in which to place the request.
// +kubebuilder:validation:Optional
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// +kubebuilder:validation:Optional
EBSBlockDevice []LaunchSpecificationEBSBlockDeviceParameters `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`
// +kubebuilder:validation:Optional
EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`
// +kubebuilder:validation:Optional
EphemeralBlockDevice []LaunchSpecificationEphemeralBlockDeviceParameters `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`
// +kubebuilder:validation:Optional
IAMInstanceProfile *string `json:"iamInstanceProfile,omitempty" tf:"iam_instance_profile,omitempty"`
// takes aws_iam_instance_profile attribute arn as input.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
// +kubebuilder:validation:Optional
IAMInstanceProfileArn *string `json:"iamInstanceProfileArn,omitempty" tf:"iam_instance_profile_arn,omitempty"`
// Reference to a InstanceProfile in iam to populate iamInstanceProfileArn.
// +kubebuilder:validation:Optional
IAMInstanceProfileArnRef *v1.Reference `json:"iamInstanceProfileArnRef,omitempty" tf:"-"`
// Selector for a InstanceProfile in iam to populate iamInstanceProfileArn.
// +kubebuilder:validation:Optional
IAMInstanceProfileArnSelector *v1.Selector `json:"iamInstanceProfileArnSelector,omitempty" tf:"-"`
// The type of instance to request.
// +kubebuilder:validation:Optional
InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`
// The name of the launch template. Conflicts with id.
// +kubebuilder:validation:Optional
KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`
// +kubebuilder:validation:Optional
Monitoring *bool `json:"monitoring,omitempty" tf:"monitoring,omitempty"`
// +kubebuilder:validation:Optional
PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`
// +kubebuilder:validation:Optional
PlacementTenancy *string `json:"placementTenancy,omitempty" tf:"placement_tenancy,omitempty"`
// +kubebuilder:validation:Optional
RootBlockDevice []LaunchSpecificationRootBlockDeviceParameters `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`
// The maximum bid price per unit hour.
// +kubebuilder:validation:Optional
SpotPrice *string `json:"spotPrice,omitempty" tf:"spot_price,omitempty"`
// The subnet in which to launch the requested instance.
// +kubebuilder:validation:Optional
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// +kubebuilder:validation:Optional
UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
// +kubebuilder:validation:Optional
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
// The capacity added to the fleet by a fulfilled request.
// +kubebuilder:validation:Optional
WeightedCapacity *string `json:"weightedCapacity,omitempty" tf:"weighted_capacity,omitempty"`
}
type LaunchSpecificationRootBlockDeviceInitParameters struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// The ID of the launch template. Conflicts with name.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type LaunchSpecificationRootBlockDeviceObservation struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// The ID of the launch template. Conflicts with name.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type LaunchSpecificationRootBlockDeviceParameters struct {
// +kubebuilder:validation:Optional
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// +kubebuilder:validation:Optional
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// +kubebuilder:validation:Optional
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// The ID of the launch template. Conflicts with name.
// +kubebuilder:validation:Optional
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// +kubebuilder:validation:Optional
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
// +kubebuilder:validation:Optional
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
// +kubebuilder:validation:Optional
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type LaunchTemplateConfigInitParameters struct {
// Launch template specification. See Launch Template Specification below for more details.
LaunchTemplateSpecification []LaunchTemplateSpecificationInitParameters `json:"launchTemplateSpecification,omitempty" tf:"launch_template_specification,omitempty"`
// One or more override configurations. See Overrides below for more details.
Overrides []OverridesInitParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`
}
type LaunchTemplateConfigObservation struct {
// Launch template specification. See Launch Template Specification below for more details.
LaunchTemplateSpecification []LaunchTemplateSpecificationObservation `json:"launchTemplateSpecification,omitempty" tf:"launch_template_specification,omitempty"`
// One or more override configurations. See Overrides below for more details.
Overrides []OverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"`
}
type LaunchTemplateConfigParameters struct {
// Launch template specification. See Launch Template Specification below for more details.
// +kubebuilder:validation:Optional
LaunchTemplateSpecification []LaunchTemplateSpecificationParameters `json:"launchTemplateSpecification" tf:"launch_template_specification,omitempty"`
// One or more override configurations. See Overrides below for more details.
// +kubebuilder:validation:Optional
Overrides []OverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`
}
type LaunchTemplateSpecificationInitParameters struct {
// The ID of the launch template. Conflicts with name.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Reference to a LaunchTemplate in ec2 to populate id.
// +kubebuilder:validation:Optional
IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`
// Selector for a LaunchTemplate in ec2 to populate id.
// +kubebuilder:validation:Optional
IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`
// The name of the launch template. Conflicts with id.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Template version. Unlike the autoscaling equivalent, does not support $Latest or $Default, so use the launch_template resource's attribute, e.g., "${aws_launch_template.foo.latest_version}". It will use the default version if omitted.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("latest_version",true)
Version *string `json:"version,omitempty" tf:"version,omitempty"`
// Reference to a LaunchTemplate in ec2 to populate version.
// +kubebuilder:validation:Optional
VersionRef *v1.Reference `json:"versionRef,omitempty" tf:"-"`
// Selector for a LaunchTemplate in ec2 to populate version.
// +kubebuilder:validation:Optional
VersionSelector *v1.Selector `json:"versionSelector,omitempty" tf:"-"`
}
type LaunchTemplateSpecificationObservation struct {
// The ID of the launch template. Conflicts with name.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The name of the launch template. Conflicts with id.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Template version. Unlike the autoscaling equivalent, does not support $Latest or $Default, so use the launch_template resource's attribute, e.g., "${aws_launch_template.foo.latest_version}". It will use the default version if omitted.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type LaunchTemplateSpecificationParameters struct {
// The ID of the launch template. Conflicts with name.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
// +kubebuilder:validation:Optional
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Reference to a LaunchTemplate in ec2 to populate id.
// +kubebuilder:validation:Optional
IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`
// Selector for a LaunchTemplate in ec2 to populate id.
// +kubebuilder:validation:Optional
IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`
// The name of the launch template. Conflicts with id.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Template version. Unlike the autoscaling equivalent, does not support $Latest or $Default, so use the launch_template resource's attribute, e.g., "${aws_launch_template.foo.latest_version}". It will use the default version if omitted.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.LaunchTemplate
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("latest_version",true)
// +kubebuilder:validation:Optional
Version *string `json:"version,omitempty" tf:"version,omitempty"`
// Reference to a LaunchTemplate in ec2 to populate version.
// +kubebuilder:validation:Optional
VersionRef *v1.Reference `json:"versionRef,omitempty" tf:"-"`
// Selector for a LaunchTemplate in ec2 to populate version.
// +kubebuilder:validation:Optional
VersionSelector *v1.Selector `json:"versionSelector,omitempty" tf:"-"`
}
type OverridesInitParameters struct {
// The availability zone in which to place the request.
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// The instance requirements. See below.
InstanceRequirements []OverridesInstanceRequirementsInitParameters `json:"instanceRequirements,omitempty" tf:"instance_requirements,omitempty"`
// The type of instance to request.
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
// The priority for the launch template override. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority.
Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
// The maximum bid price per unit hour.
SpotPrice *string `json:"spotPrice,omitempty" tf:"spot_price,omitempty"`
// The subnet in which to launch the requested instance.
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// The capacity added to the fleet by a fulfilled request.
WeightedCapacity *float64 `json:"weightedCapacity,omitempty" tf:"weighted_capacity,omitempty"`
}
type OverridesInstanceRequirementsInitParameters struct {
// Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
AcceleratorCount []InstanceRequirementsAcceleratorCountInitParameters `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"`
// List of accelerator manufacturer names. Default is any manufacturer.
// +listType=set
AcceleratorManufacturers []*string `json:"acceleratorManufacturers,omitempty" tf:"accelerator_manufacturers,omitempty"`
// List of accelerator names. Default is any acclerator.
// +listType=set
AcceleratorNames []*string `json:"acceleratorNames,omitempty" tf:"accelerator_names,omitempty"`
// Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
AcceleratorTotalMemoryMib []InstanceRequirementsAcceleratorTotalMemoryMibInitParameters `json:"acceleratorTotalMemoryMib,omitempty" tf:"accelerator_total_memory_mib,omitempty"`
// List of accelerator types. Default is any accelerator type.
// +listType=set
AcceleratorTypes []*string `json:"acceleratorTypes,omitempty" tf:"accelerator_types,omitempty"`
// List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.
// +listType=set
AllowedInstanceTypes []*string `json:"allowedInstanceTypes,omitempty" tf:"allowed_instance_types,omitempty"`
// Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.
BareMetal *string `json:"bareMetal,omitempty" tf:"bare_metal,omitempty"`
// Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
BaselineEBSBandwidthMbps []InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters `json:"baselineEbsBandwidthMbps,omitempty" tf:"baseline_ebs_bandwidth_mbps,omitempty"`
// Indicate whether burstable performance instance types should be included, excluded, or required. Default is excluded.
BurstablePerformance *string `json:"burstablePerformance,omitempty" tf:"burstable_performance,omitempty"`
// List of CPU manufacturer names. Default is any manufacturer.
// +listType=set
CPUManufacturers []*string `json:"cpuManufacturers,omitempty" tf:"cpu_manufacturers,omitempty"`
// List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.
// +listType=set
ExcludedInstanceTypes []*string `json:"excludedInstanceTypes,omitempty" tf:"excluded_instance_types,omitempty"`
// List of instance generation names. Default is any generation.
// +listType=set
InstanceGenerations []*string `json:"instanceGenerations,omitempty" tf:"instance_generations,omitempty"`
// Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.
LocalStorage *string `json:"localStorage,omitempty" tf:"local_storage,omitempty"`
// List of local storage type names. Default any storage type.
// +listType=set
LocalStorageTypes []*string `json:"localStorageTypes,omitempty" tf:"local_storage_types,omitempty"`
// Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
MemoryGibPerVcpu []InstanceRequirementsMemoryGibPerVcpuInitParameters `json:"memoryGibPerVcpu,omitempty" tf:"memory_gib_per_vcpu,omitempty"`
// Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
MemoryMib []InstanceRequirementsMemoryMibInitParameters `json:"memoryMib,omitempty" tf:"memory_mib,omitempty"`
// Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
NetworkBandwidthGbps []InstanceRequirementsNetworkBandwidthGbpsInitParameters `json:"networkBandwidthGbps,omitempty" tf:"network_bandwidth_gbps,omitempty"`
// Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
NetworkInterfaceCount []InstanceRequirementsNetworkInterfaceCountInitParameters `json:"networkInterfaceCount,omitempty" tf:"network_interface_count,omitempty"`
// The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20.
OnDemandMaxPricePercentageOverLowestPrice *float64 `json:"onDemandMaxPricePercentageOverLowestPrice,omitempty" tf:"on_demand_max_price_percentage_over_lowest_price,omitempty"`
// Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.
RequireHibernateSupport *bool `json:"requireHibernateSupport,omitempty" tf:"require_hibernate_support,omitempty"`
// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100.
SpotMaxPricePercentageOverLowestPrice *float64 `json:"spotMaxPricePercentageOverLowestPrice,omitempty" tf:"spot_max_price_percentage_over_lowest_price,omitempty"`
// Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
TotalLocalStorageGb []InstanceRequirementsTotalLocalStorageGbInitParameters `json:"totalLocalStorageGb,omitempty" tf:"total_local_storage_gb,omitempty"`
// Block describing the minimum and maximum number of vCPUs. Default is no maximum.
VcpuCount []InstanceRequirementsVcpuCountInitParameters `json:"vcpuCount,omitempty" tf:"vcpu_count,omitempty"`
}
type OverridesInstanceRequirementsObservation struct {
// Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
AcceleratorCount []InstanceRequirementsAcceleratorCountObservation `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"`
// List of accelerator manufacturer names. Default is any manufacturer.
// +listType=set
AcceleratorManufacturers []*string `json:"acceleratorManufacturers,omitempty" tf:"accelerator_manufacturers,omitempty"`
// List of accelerator names. Default is any acclerator.
// +listType=set
AcceleratorNames []*string `json:"acceleratorNames,omitempty" tf:"accelerator_names,omitempty"`
// Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
AcceleratorTotalMemoryMib []InstanceRequirementsAcceleratorTotalMemoryMibObservation `json:"acceleratorTotalMemoryMib,omitempty" tf:"accelerator_total_memory_mib,omitempty"`
// List of accelerator types. Default is any accelerator type.
// +listType=set
AcceleratorTypes []*string `json:"acceleratorTypes,omitempty" tf:"accelerator_types,omitempty"`
// List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.
// +listType=set
AllowedInstanceTypes []*string `json:"allowedInstanceTypes,omitempty" tf:"allowed_instance_types,omitempty"`
// Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.
BareMetal *string `json:"bareMetal,omitempty" tf:"bare_metal,omitempty"`
// Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
BaselineEBSBandwidthMbps []InstanceRequirementsBaselineEBSBandwidthMbpsObservation `json:"baselineEbsBandwidthMbps,omitempty" tf:"baseline_ebs_bandwidth_mbps,omitempty"`
// Indicate whether burstable performance instance types should be included, excluded, or required. Default is excluded.
BurstablePerformance *string `json:"burstablePerformance,omitempty" tf:"burstable_performance,omitempty"`
// List of CPU manufacturer names. Default is any manufacturer.
// +listType=set
CPUManufacturers []*string `json:"cpuManufacturers,omitempty" tf:"cpu_manufacturers,omitempty"`
// List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.
// +listType=set
ExcludedInstanceTypes []*string `json:"excludedInstanceTypes,omitempty" tf:"excluded_instance_types,omitempty"`
// List of instance generation names. Default is any generation.
// +listType=set
InstanceGenerations []*string `json:"instanceGenerations,omitempty" tf:"instance_generations,omitempty"`
// Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.
LocalStorage *string `json:"localStorage,omitempty" tf:"local_storage,omitempty"`
// List of local storage type names. Default any storage type.
// +listType=set
LocalStorageTypes []*string `json:"localStorageTypes,omitempty" tf:"local_storage_types,omitempty"`
// Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
MemoryGibPerVcpu []InstanceRequirementsMemoryGibPerVcpuObservation `json:"memoryGibPerVcpu,omitempty" tf:"memory_gib_per_vcpu,omitempty"`
// Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
MemoryMib []InstanceRequirementsMemoryMibObservation `json:"memoryMib,omitempty" tf:"memory_mib,omitempty"`
// Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
NetworkBandwidthGbps []InstanceRequirementsNetworkBandwidthGbpsObservation `json:"networkBandwidthGbps,omitempty" tf:"network_bandwidth_gbps,omitempty"`
// Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
NetworkInterfaceCount []InstanceRequirementsNetworkInterfaceCountObservation `json:"networkInterfaceCount,omitempty" tf:"network_interface_count,omitempty"`
// The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20.
OnDemandMaxPricePercentageOverLowestPrice *float64 `json:"onDemandMaxPricePercentageOverLowestPrice,omitempty" tf:"on_demand_max_price_percentage_over_lowest_price,omitempty"`
// Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.
RequireHibernateSupport *bool `json:"requireHibernateSupport,omitempty" tf:"require_hibernate_support,omitempty"`
// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100.
SpotMaxPricePercentageOverLowestPrice *float64 `json:"spotMaxPricePercentageOverLowestPrice,omitempty" tf:"spot_max_price_percentage_over_lowest_price,omitempty"`
// Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
TotalLocalStorageGb []InstanceRequirementsTotalLocalStorageGbObservation `json:"totalLocalStorageGb,omitempty" tf:"total_local_storage_gb,omitempty"`
// Block describing the minimum and maximum number of vCPUs. Default is no maximum.
VcpuCount []InstanceRequirementsVcpuCountObservation `json:"vcpuCount,omitempty" tf:"vcpu_count,omitempty"`
}
type OverridesInstanceRequirementsParameters struct {
// Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
// +kubebuilder:validation:Optional
AcceleratorCount []InstanceRequirementsAcceleratorCountParameters `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"`
// List of accelerator manufacturer names. Default is any manufacturer.
// +kubebuilder:validation:Optional
// +listType=set
AcceleratorManufacturers []*string `json:"acceleratorManufacturers,omitempty" tf:"accelerator_manufacturers,omitempty"`
// List of accelerator names. Default is any acclerator.
// +kubebuilder:validation:Optional
// +listType=set
AcceleratorNames []*string `json:"acceleratorNames,omitempty" tf:"accelerator_names,omitempty"`
// Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
// +kubebuilder:validation:Optional
AcceleratorTotalMemoryMib []InstanceRequirementsAcceleratorTotalMemoryMibParameters `json:"acceleratorTotalMemoryMib,omitempty" tf:"accelerator_total_memory_mib,omitempty"`
// List of accelerator types. Default is any accelerator type.
// +kubebuilder:validation:Optional
// +listType=set
AcceleratorTypes []*string `json:"acceleratorTypes,omitempty" tf:"accelerator_types,omitempty"`
// List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.
// +kubebuilder:validation:Optional
// +listType=set
AllowedInstanceTypes []*string `json:"allowedInstanceTypes,omitempty" tf:"allowed_instance_types,omitempty"`
// Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.
// +kubebuilder:validation:Optional
BareMetal *string `json:"bareMetal,omitempty" tf:"bare_metal,omitempty"`
// Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
// +kubebuilder:validation:Optional
BaselineEBSBandwidthMbps []InstanceRequirementsBaselineEBSBandwidthMbpsParameters `json:"baselineEbsBandwidthMbps,omitempty" tf:"baseline_ebs_bandwidth_mbps,omitempty"`
// Indicate whether burstable performance instance types should be included, excluded, or required. Default is excluded.
// +kubebuilder:validation:Optional
BurstablePerformance *string `json:"burstablePerformance,omitempty" tf:"burstable_performance,omitempty"`
// List of CPU manufacturer names. Default is any manufacturer.
// +kubebuilder:validation:Optional
// +listType=set
CPUManufacturers []*string `json:"cpuManufacturers,omitempty" tf:"cpu_manufacturers,omitempty"`
// List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.
// +kubebuilder:validation:Optional