-
Notifications
You must be signed in to change notification settings - Fork 117
/
zz_spotinstancerequest_types.go
executable file
·1089 lines (731 loc) · 49.3 KB
/
zz_spotinstancerequest_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 SpotInstanceRequestCPUOptionsInitParameters struct {
AmdSevSnp *string `json:"amdSevSnp,omitempty" tf:"amd_sev_snp,omitempty"`
CoreCount *float64 `json:"coreCount,omitempty" tf:"core_count,omitempty"`
ThreadsPerCore *float64 `json:"threadsPerCore,omitempty" tf:"threads_per_core,omitempty"`
}
type SpotInstanceRequestCPUOptionsObservation struct {
AmdSevSnp *string `json:"amdSevSnp,omitempty" tf:"amd_sev_snp,omitempty"`
CoreCount *float64 `json:"coreCount,omitempty" tf:"core_count,omitempty"`
ThreadsPerCore *float64 `json:"threadsPerCore,omitempty" tf:"threads_per_core,omitempty"`
}
type SpotInstanceRequestCPUOptionsParameters struct {
// +kubebuilder:validation:Optional
AmdSevSnp *string `json:"amdSevSnp,omitempty" tf:"amd_sev_snp,omitempty"`
// +kubebuilder:validation:Optional
CoreCount *float64 `json:"coreCount,omitempty" tf:"core_count,omitempty"`
// +kubebuilder:validation:Optional
ThreadsPerCore *float64 `json:"threadsPerCore,omitempty" tf:"threads_per_core,omitempty"`
}
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetInitParameters struct {
// The Spot Instance Request ID.
CapacityReservationID *string `json:"capacityReservationId,omitempty" tf:"capacity_reservation_id,omitempty"`
CapacityReservationResourceGroupArn *string `json:"capacityReservationResourceGroupArn,omitempty" tf:"capacity_reservation_resource_group_arn,omitempty"`
}
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetObservation struct {
// The Spot Instance Request ID.
CapacityReservationID *string `json:"capacityReservationId,omitempty" tf:"capacity_reservation_id,omitempty"`
CapacityReservationResourceGroupArn *string `json:"capacityReservationResourceGroupArn,omitempty" tf:"capacity_reservation_resource_group_arn,omitempty"`
}
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetParameters struct {
// The Spot Instance Request ID.
// +kubebuilder:validation:Optional
CapacityReservationID *string `json:"capacityReservationId,omitempty" tf:"capacity_reservation_id,omitempty"`
// +kubebuilder:validation:Optional
CapacityReservationResourceGroupArn *string `json:"capacityReservationResourceGroupArn,omitempty" tf:"capacity_reservation_resource_group_arn,omitempty"`
}
type SpotInstanceRequestCapacityReservationSpecificationInitParameters struct {
CapacityReservationPreference *string `json:"capacityReservationPreference,omitempty" tf:"capacity_reservation_preference,omitempty"`
CapacityReservationTarget []SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetInitParameters `json:"capacityReservationTarget,omitempty" tf:"capacity_reservation_target,omitempty"`
}
type SpotInstanceRequestCapacityReservationSpecificationObservation struct {
CapacityReservationPreference *string `json:"capacityReservationPreference,omitempty" tf:"capacity_reservation_preference,omitempty"`
CapacityReservationTarget []SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetObservation `json:"capacityReservationTarget,omitempty" tf:"capacity_reservation_target,omitempty"`
}
type SpotInstanceRequestCapacityReservationSpecificationParameters struct {
// +kubebuilder:validation:Optional
CapacityReservationPreference *string `json:"capacityReservationPreference,omitempty" tf:"capacity_reservation_preference,omitempty"`
// +kubebuilder:validation:Optional
CapacityReservationTarget []SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetParameters `json:"capacityReservationTarget,omitempty" tf:"capacity_reservation_target,omitempty"`
}
type SpotInstanceRequestCreditSpecificationInitParameters struct {
CPUCredits *string `json:"cpuCredits,omitempty" tf:"cpu_credits,omitempty"`
}
type SpotInstanceRequestCreditSpecificationObservation struct {
CPUCredits *string `json:"cpuCredits,omitempty" tf:"cpu_credits,omitempty"`
}
type SpotInstanceRequestCreditSpecificationParameters struct {
// +kubebuilder:validation:Optional
CPUCredits *string `json:"cpuCredits,omitempty" tf:"cpu_credits,omitempty"`
}
type SpotInstanceRequestEBSBlockDeviceInitParameters struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
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 Spot Instance Request ID.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// The Spot Instance Request ID.
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
// +mapType=granular
TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,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 SpotInstanceRequestEBSBlockDeviceObservation struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
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 Spot Instance Request ID.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// The Spot Instance Request ID.
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
// +mapType=granular
TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
// The Spot Instance Request ID.
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type SpotInstanceRequestEBSBlockDeviceParameters struct {
// +kubebuilder:validation:Optional
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// +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 Spot Instance Request ID.
// +kubebuilder:validation:Optional
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// The Spot Instance Request ID.
// +kubebuilder:validation:Optional
SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
// +kubebuilder:validation:Optional
// +mapType=granular
TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,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 SpotInstanceRequestEnclaveOptionsInitParameters struct {
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type SpotInstanceRequestEnclaveOptionsObservation struct {
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type SpotInstanceRequestEnclaveOptionsParameters struct {
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type SpotInstanceRequestEphemeralBlockDeviceInitParameters struct {
DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`
NoDevice *bool `json:"noDevice,omitempty" tf:"no_device,omitempty"`
VirtualName *string `json:"virtualName,omitempty" tf:"virtual_name,omitempty"`
}
type SpotInstanceRequestEphemeralBlockDeviceObservation struct {
DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`
NoDevice *bool `json:"noDevice,omitempty" tf:"no_device,omitempty"`
VirtualName *string `json:"virtualName,omitempty" tf:"virtual_name,omitempty"`
}
type SpotInstanceRequestEphemeralBlockDeviceParameters struct {
// +kubebuilder:validation:Optional
DeviceName *string `json:"deviceName" tf:"device_name,omitempty"`
// +kubebuilder:validation:Optional
NoDevice *bool `json:"noDevice,omitempty" tf:"no_device,omitempty"`
// +kubebuilder:validation:Optional
VirtualName *string `json:"virtualName,omitempty" tf:"virtual_name,omitempty"`
}
type SpotInstanceRequestInitParameters struct {
AMI *string `json:"ami,omitempty" tf:"ami,omitempty"`
AssociatePublicIPAddress *bool `json:"associatePublicIpAddress,omitempty" tf:"associate_public_ip_address,omitempty"`
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// The required duration for the Spot instances, in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
// The duration period starts as soon as your Spot instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates.
// Note that you can't specify an Availability Zone group or a launch group if you specify a duration.
BlockDurationMinutes *float64 `json:"blockDurationMinutes,omitempty" tf:"block_duration_minutes,omitempty"`
CPUCoreCount *float64 `json:"cpuCoreCount,omitempty" tf:"cpu_core_count,omitempty"`
CPUOptions []SpotInstanceRequestCPUOptionsInitParameters `json:"cpuOptions,omitempty" tf:"cpu_options,omitempty"`
CPUThreadsPerCore *float64 `json:"cpuThreadsPerCore,omitempty" tf:"cpu_threads_per_core,omitempty"`
CapacityReservationSpecification []SpotInstanceRequestCapacityReservationSpecificationInitParameters `json:"capacityReservationSpecification,omitempty" tf:"capacity_reservation_specification,omitempty"`
CreditSpecification []SpotInstanceRequestCreditSpecificationInitParameters `json:"creditSpecification,omitempty" tf:"credit_specification,omitempty"`
DisableAPIStop *bool `json:"disableApiStop,omitempty" tf:"disable_api_stop,omitempty"`
DisableAPITermination *bool `json:"disableApiTermination,omitempty" tf:"disable_api_termination,omitempty"`
EBSBlockDevice []SpotInstanceRequestEBSBlockDeviceInitParameters `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`
EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`
EnclaveOptions []SpotInstanceRequestEnclaveOptionsInitParameters `json:"enclaveOptions,omitempty" tf:"enclave_options,omitempty"`
EphemeralBlockDevice []SpotInstanceRequestEphemeralBlockDeviceInitParameters `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`
GetPasswordData *bool `json:"getPasswordData,omitempty" tf:"get_password_data,omitempty"`
Hibernation *bool `json:"hibernation,omitempty" tf:"hibernation,omitempty"`
// The Spot Instance Request ID.
HostID *string `json:"hostId,omitempty" tf:"host_id,omitempty"`
HostResourceGroupArn *string `json:"hostResourceGroupArn,omitempty" tf:"host_resource_group_arn,omitempty"`
IAMInstanceProfile *string `json:"iamInstanceProfile,omitempty" tf:"iam_instance_profile,omitempty"`
IPv6AddressCount *float64 `json:"ipv6AddressCount,omitempty" tf:"ipv6_address_count,omitempty"`
IPv6Addresses []*string `json:"ipv6Addresses,omitempty" tf:"ipv6_addresses,omitempty"`
InstanceInitiatedShutdownBehavior *string `json:"instanceInitiatedShutdownBehavior,omitempty" tf:"instance_initiated_shutdown_behavior,omitempty"`
// Indicates Spot instance behavior when it is interrupted. Valid values are terminate, stop, or hibernate. Default value is terminate.
InstanceInterruptionBehavior *string `json:"instanceInterruptionBehavior,omitempty" tf:"instance_interruption_behavior,omitempty"`
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`
// A launch group is a group of spot instances that launch together and terminate together.
// If left empty instances are launched and terminated individually.
LaunchGroup *string `json:"launchGroup,omitempty" tf:"launch_group,omitempty"`
LaunchTemplate []SpotInstanceRequestLaunchTemplateInitParameters `json:"launchTemplate,omitempty" tf:"launch_template,omitempty"`
MaintenanceOptions []SpotInstanceRequestMaintenanceOptionsInitParameters `json:"maintenanceOptions,omitempty" tf:"maintenance_options,omitempty"`
MetadataOptions []SpotInstanceRequestMetadataOptionsInitParameters `json:"metadataOptions,omitempty" tf:"metadata_options,omitempty"`
Monitoring *bool `json:"monitoring,omitempty" tf:"monitoring,omitempty"`
NetworkInterface []SpotInstanceRequestNetworkInterfaceInitParameters `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`
PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`
PlacementPartitionNumber *float64 `json:"placementPartitionNumber,omitempty" tf:"placement_partition_number,omitempty"`
PrivateDNSNameOptions []SpotInstanceRequestPrivateDNSNameOptionsInitParameters `json:"privateDnsNameOptions,omitempty" tf:"private_dns_name_options,omitempty"`
// The private IP address assigned to the instance
PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`
RootBlockDevice []SpotInstanceRequestRootBlockDeviceInitParameters `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`
// +listType=set
SecondaryPrivateIps []*string `json:"secondaryPrivateIps,omitempty" tf:"secondary_private_ips,omitempty"`
// +listType=set
SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`
SourceDestCheck *bool `json:"sourceDestCheck,omitempty" tf:"source_dest_check,omitempty"`
// The maximum price to request on the spot market.
SpotPrice *string `json:"spotPrice,omitempty" tf:"spot_price,omitempty"`
// If set to one-time, after
// the instance is terminated, the spot request will be closed.
SpotType *string `json:"spotType,omitempty" tf:"spot_type,omitempty"`
// The Spot Instance Request ID.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// Reference to a Subnet in ec2 to populate subnetId.
// +kubebuilder:validation:Optional
SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`
// Selector for a Subnet in ec2 to populate subnetId.
// +kubebuilder:validation:Optional
SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
Tenancy *string `json:"tenancy,omitempty" tf:"tenancy,omitempty"`
UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
UserDataBase64 *string `json:"userDataBase64,omitempty" tf:"user_data_base64,omitempty"`
UserDataReplaceOnChange *bool `json:"userDataReplaceOnChange,omitempty" tf:"user_data_replace_on_change,omitempty"`
// References to SecurityGroup in ec2 to populate vpcSecurityGroupIds.
// +kubebuilder:validation:Optional
VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"`
// Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds.
// +kubebuilder:validation:Optional
VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"`
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
// +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs
// +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
// The start date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
ValidFrom *string `json:"validFrom,omitempty" tf:"valid_from,omitempty"`
// The end date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. The default end date is 7 days from the current date.
ValidUntil *string `json:"validUntil,omitempty" tf:"valid_until,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
VolumeTags map[string]*string `json:"volumeTags,omitempty" tf:"volume_tags,omitempty"`
WaitForFulfillment *bool `json:"waitForFulfillment,omitempty" tf:"wait_for_fulfillment,omitempty"`
}
type SpotInstanceRequestLaunchTemplateInitParameters struct {
// The Spot Instance Request ID.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
Name *string `json:"name,omitempty" tf:"name,omitempty"`
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type SpotInstanceRequestLaunchTemplateObservation struct {
// The Spot Instance Request ID.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
Name *string `json:"name,omitempty" tf:"name,omitempty"`
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type SpotInstanceRequestLaunchTemplateParameters struct {
// The Spot Instance Request ID.
// +kubebuilder:validation:Optional
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// +kubebuilder:validation:Optional
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type SpotInstanceRequestMaintenanceOptionsInitParameters struct {
AutoRecovery *string `json:"autoRecovery,omitempty" tf:"auto_recovery,omitempty"`
}
type SpotInstanceRequestMaintenanceOptionsObservation struct {
AutoRecovery *string `json:"autoRecovery,omitempty" tf:"auto_recovery,omitempty"`
}
type SpotInstanceRequestMaintenanceOptionsParameters struct {
// +kubebuilder:validation:Optional
AutoRecovery *string `json:"autoRecovery,omitempty" tf:"auto_recovery,omitempty"`
}
type SpotInstanceRequestMetadataOptionsInitParameters struct {
HTTPEndpoint *string `json:"httpEndpoint,omitempty" tf:"http_endpoint,omitempty"`
HTTPProtocolIPv6 *string `json:"httpProtocolIpv6,omitempty" tf:"http_protocol_ipv6,omitempty"`
HTTPPutResponseHopLimit *float64 `json:"httpPutResponseHopLimit,omitempty" tf:"http_put_response_hop_limit,omitempty"`
HTTPTokens *string `json:"httpTokens,omitempty" tf:"http_tokens,omitempty"`
// Key-value map of resource tags.
InstanceMetadataTags *string `json:"instanceMetadataTags,omitempty" tf:"instance_metadata_tags,omitempty"`
}
type SpotInstanceRequestMetadataOptionsObservation struct {
HTTPEndpoint *string `json:"httpEndpoint,omitempty" tf:"http_endpoint,omitempty"`
HTTPProtocolIPv6 *string `json:"httpProtocolIpv6,omitempty" tf:"http_protocol_ipv6,omitempty"`
HTTPPutResponseHopLimit *float64 `json:"httpPutResponseHopLimit,omitempty" tf:"http_put_response_hop_limit,omitempty"`
HTTPTokens *string `json:"httpTokens,omitempty" tf:"http_tokens,omitempty"`
// Key-value map of resource tags.
InstanceMetadataTags *string `json:"instanceMetadataTags,omitempty" tf:"instance_metadata_tags,omitempty"`
}
type SpotInstanceRequestMetadataOptionsParameters struct {
// +kubebuilder:validation:Optional
HTTPEndpoint *string `json:"httpEndpoint,omitempty" tf:"http_endpoint,omitempty"`
// +kubebuilder:validation:Optional
HTTPProtocolIPv6 *string `json:"httpProtocolIpv6,omitempty" tf:"http_protocol_ipv6,omitempty"`
// +kubebuilder:validation:Optional
HTTPPutResponseHopLimit *float64 `json:"httpPutResponseHopLimit,omitempty" tf:"http_put_response_hop_limit,omitempty"`
// +kubebuilder:validation:Optional
HTTPTokens *string `json:"httpTokens,omitempty" tf:"http_tokens,omitempty"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
InstanceMetadataTags *string `json:"instanceMetadataTags,omitempty" tf:"instance_metadata_tags,omitempty"`
}
type SpotInstanceRequestNetworkInterfaceInitParameters struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
DeviceIndex *float64 `json:"deviceIndex,omitempty" tf:"device_index,omitempty"`
NetworkCardIndex *float64 `json:"networkCardIndex,omitempty" tf:"network_card_index,omitempty"`
// The Spot Instance Request ID.
NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"`
}
type SpotInstanceRequestNetworkInterfaceObservation struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
DeviceIndex *float64 `json:"deviceIndex,omitempty" tf:"device_index,omitempty"`
NetworkCardIndex *float64 `json:"networkCardIndex,omitempty" tf:"network_card_index,omitempty"`
// The Spot Instance Request ID.
NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"`
}
type SpotInstanceRequestNetworkInterfaceParameters struct {
// +kubebuilder:validation:Optional
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// +kubebuilder:validation:Optional
DeviceIndex *float64 `json:"deviceIndex" tf:"device_index,omitempty"`
// +kubebuilder:validation:Optional
NetworkCardIndex *float64 `json:"networkCardIndex,omitempty" tf:"network_card_index,omitempty"`
// The Spot Instance Request ID.
// +kubebuilder:validation:Optional
NetworkInterfaceID *string `json:"networkInterfaceId" tf:"network_interface_id,omitempty"`
}
type SpotInstanceRequestObservation struct {
AMI *string `json:"ami,omitempty" tf:"ami,omitempty"`
Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`
AssociatePublicIPAddress *bool `json:"associatePublicIpAddress,omitempty" tf:"associate_public_ip_address,omitempty"`
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// The required duration for the Spot instances, in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
// The duration period starts as soon as your Spot instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates.
// Note that you can't specify an Availability Zone group or a launch group if you specify a duration.
BlockDurationMinutes *float64 `json:"blockDurationMinutes,omitempty" tf:"block_duration_minutes,omitempty"`
CPUCoreCount *float64 `json:"cpuCoreCount,omitempty" tf:"cpu_core_count,omitempty"`
CPUOptions []SpotInstanceRequestCPUOptionsObservation `json:"cpuOptions,omitempty" tf:"cpu_options,omitempty"`
CPUThreadsPerCore *float64 `json:"cpuThreadsPerCore,omitempty" tf:"cpu_threads_per_core,omitempty"`
CapacityReservationSpecification []SpotInstanceRequestCapacityReservationSpecificationObservation `json:"capacityReservationSpecification,omitempty" tf:"capacity_reservation_specification,omitempty"`
CreditSpecification []SpotInstanceRequestCreditSpecificationObservation `json:"creditSpecification,omitempty" tf:"credit_specification,omitempty"`
DisableAPIStop *bool `json:"disableApiStop,omitempty" tf:"disable_api_stop,omitempty"`
DisableAPITermination *bool `json:"disableApiTermination,omitempty" tf:"disable_api_termination,omitempty"`
EBSBlockDevice []SpotInstanceRequestEBSBlockDeviceObservation `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`
EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`
EnclaveOptions []SpotInstanceRequestEnclaveOptionsObservation `json:"enclaveOptions,omitempty" tf:"enclave_options,omitempty"`
EphemeralBlockDevice []SpotInstanceRequestEphemeralBlockDeviceObservation `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`
GetPasswordData *bool `json:"getPasswordData,omitempty" tf:"get_password_data,omitempty"`
Hibernation *bool `json:"hibernation,omitempty" tf:"hibernation,omitempty"`
// The Spot Instance Request ID.
HostID *string `json:"hostId,omitempty" tf:"host_id,omitempty"`
HostResourceGroupArn *string `json:"hostResourceGroupArn,omitempty" tf:"host_resource_group_arn,omitempty"`
IAMInstanceProfile *string `json:"iamInstanceProfile,omitempty" tf:"iam_instance_profile,omitempty"`
// The Spot Instance Request ID.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
IPv6AddressCount *float64 `json:"ipv6AddressCount,omitempty" tf:"ipv6_address_count,omitempty"`
IPv6Addresses []*string `json:"ipv6Addresses,omitempty" tf:"ipv6_addresses,omitempty"`
InstanceInitiatedShutdownBehavior *string `json:"instanceInitiatedShutdownBehavior,omitempty" tf:"instance_initiated_shutdown_behavior,omitempty"`
// Indicates Spot instance behavior when it is interrupted. Valid values are terminate, stop, or hibernate. Default value is terminate.
InstanceInterruptionBehavior *string `json:"instanceInterruptionBehavior,omitempty" tf:"instance_interruption_behavior,omitempty"`
InstanceState *string `json:"instanceState,omitempty" tf:"instance_state,omitempty"`
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`
// A launch group is a group of spot instances that launch together and terminate together.
// If left empty instances are launched and terminated individually.
LaunchGroup *string `json:"launchGroup,omitempty" tf:"launch_group,omitempty"`
LaunchTemplate []SpotInstanceRequestLaunchTemplateObservation `json:"launchTemplate,omitempty" tf:"launch_template,omitempty"`
MaintenanceOptions []SpotInstanceRequestMaintenanceOptionsObservation `json:"maintenanceOptions,omitempty" tf:"maintenance_options,omitempty"`
MetadataOptions []SpotInstanceRequestMetadataOptionsObservation `json:"metadataOptions,omitempty" tf:"metadata_options,omitempty"`
Monitoring *bool `json:"monitoring,omitempty" tf:"monitoring,omitempty"`
NetworkInterface []SpotInstanceRequestNetworkInterfaceObservation `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`
OutpostArn *string `json:"outpostArn,omitempty" tf:"outpost_arn,omitempty"`
PasswordData *string `json:"passwordData,omitempty" tf:"password_data,omitempty"`
PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`
PlacementPartitionNumber *float64 `json:"placementPartitionNumber,omitempty" tf:"placement_partition_number,omitempty"`
// The Spot Instance Request ID.
PrimaryNetworkInterfaceID *string `json:"primaryNetworkInterfaceId,omitempty" tf:"primary_network_interface_id,omitempty"`
// The private DNS name assigned to the instance. Can only be
// used inside the Amazon EC2, and only available if you've enabled DNS hostnames
// for your VPC
PrivateDNS *string `json:"privateDns,omitempty" tf:"private_dns,omitempty"`
PrivateDNSNameOptions []SpotInstanceRequestPrivateDNSNameOptionsObservation `json:"privateDnsNameOptions,omitempty" tf:"private_dns_name_options,omitempty"`
// The private IP address assigned to the instance
PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`
// The public DNS name assigned to the instance. For EC2-VPC, this
// is only available if you've enabled DNS hostnames for your VPC
PublicDNS *string `json:"publicDns,omitempty" tf:"public_dns,omitempty"`
// The public IP address assigned to the instance, if applicable.
PublicIP *string `json:"publicIp,omitempty" tf:"public_ip,omitempty"`
RootBlockDevice []SpotInstanceRequestRootBlockDeviceObservation `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`
// +listType=set
SecondaryPrivateIps []*string `json:"secondaryPrivateIps,omitempty" tf:"secondary_private_ips,omitempty"`
// +listType=set
SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`
SourceDestCheck *bool `json:"sourceDestCheck,omitempty" tf:"source_dest_check,omitempty"`
// The current bid
// status
// of the Spot Instance Request.
SpotBidStatus *string `json:"spotBidStatus,omitempty" tf:"spot_bid_status,omitempty"`
// The Instance ID (if any) that is currently fulfilling
// the Spot Instance request.
SpotInstanceID *string `json:"spotInstanceId,omitempty" tf:"spot_instance_id,omitempty"`
// The maximum price to request on the spot market.
SpotPrice *string `json:"spotPrice,omitempty" tf:"spot_price,omitempty"`
// The current request
// state
// of the Spot Instance Request.
SpotRequestState *string `json:"spotRequestState,omitempty" tf:"spot_request_state,omitempty"`
// If set to one-time, after
// the instance is terminated, the spot request will be closed.
SpotType *string `json:"spotType,omitempty" tf:"spot_type,omitempty"`
// The Spot Instance Request ID.
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"`
// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
// +mapType=granular
TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
Tenancy *string `json:"tenancy,omitempty" tf:"tenancy,omitempty"`
UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
UserDataBase64 *string `json:"userDataBase64,omitempty" tf:"user_data_base64,omitempty"`
UserDataReplaceOnChange *bool `json:"userDataReplaceOnChange,omitempty" tf:"user_data_replace_on_change,omitempty"`
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
// The start date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
ValidFrom *string `json:"validFrom,omitempty" tf:"valid_from,omitempty"`
// The end date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. The default end date is 7 days from the current date.
ValidUntil *string `json:"validUntil,omitempty" tf:"valid_until,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
VolumeTags map[string]*string `json:"volumeTags,omitempty" tf:"volume_tags,omitempty"`
WaitForFulfillment *bool `json:"waitForFulfillment,omitempty" tf:"wait_for_fulfillment,omitempty"`
}
type SpotInstanceRequestParameters struct {
// +kubebuilder:validation:Optional
AMI *string `json:"ami,omitempty" tf:"ami,omitempty"`
// +kubebuilder:validation:Optional
AssociatePublicIPAddress *bool `json:"associatePublicIpAddress,omitempty" tf:"associate_public_ip_address,omitempty"`
// +kubebuilder:validation:Optional
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// The required duration for the Spot instances, in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
// The duration period starts as soon as your Spot instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates.
// Note that you can't specify an Availability Zone group or a launch group if you specify a duration.
// +kubebuilder:validation:Optional
BlockDurationMinutes *float64 `json:"blockDurationMinutes,omitempty" tf:"block_duration_minutes,omitempty"`
// +kubebuilder:validation:Optional
CPUCoreCount *float64 `json:"cpuCoreCount,omitempty" tf:"cpu_core_count,omitempty"`
// +kubebuilder:validation:Optional
CPUOptions []SpotInstanceRequestCPUOptionsParameters `json:"cpuOptions,omitempty" tf:"cpu_options,omitempty"`
// +kubebuilder:validation:Optional
CPUThreadsPerCore *float64 `json:"cpuThreadsPerCore,omitempty" tf:"cpu_threads_per_core,omitempty"`
// +kubebuilder:validation:Optional
CapacityReservationSpecification []SpotInstanceRequestCapacityReservationSpecificationParameters `json:"capacityReservationSpecification,omitempty" tf:"capacity_reservation_specification,omitempty"`
// +kubebuilder:validation:Optional
CreditSpecification []SpotInstanceRequestCreditSpecificationParameters `json:"creditSpecification,omitempty" tf:"credit_specification,omitempty"`
// +kubebuilder:validation:Optional
DisableAPIStop *bool `json:"disableApiStop,omitempty" tf:"disable_api_stop,omitempty"`
// +kubebuilder:validation:Optional
DisableAPITermination *bool `json:"disableApiTermination,omitempty" tf:"disable_api_termination,omitempty"`
// +kubebuilder:validation:Optional
EBSBlockDevice []SpotInstanceRequestEBSBlockDeviceParameters `json:"ebsBlockDevice,omitempty" tf:"ebs_block_device,omitempty"`
// +kubebuilder:validation:Optional
EBSOptimized *bool `json:"ebsOptimized,omitempty" tf:"ebs_optimized,omitempty"`
// +kubebuilder:validation:Optional
EnclaveOptions []SpotInstanceRequestEnclaveOptionsParameters `json:"enclaveOptions,omitempty" tf:"enclave_options,omitempty"`
// +kubebuilder:validation:Optional
EphemeralBlockDevice []SpotInstanceRequestEphemeralBlockDeviceParameters `json:"ephemeralBlockDevice,omitempty" tf:"ephemeral_block_device,omitempty"`
// +kubebuilder:validation:Optional
GetPasswordData *bool `json:"getPasswordData,omitempty" tf:"get_password_data,omitempty"`
// +kubebuilder:validation:Optional
Hibernation *bool `json:"hibernation,omitempty" tf:"hibernation,omitempty"`
// The Spot Instance Request ID.
// +kubebuilder:validation:Optional
HostID *string `json:"hostId,omitempty" tf:"host_id,omitempty"`
// +kubebuilder:validation:Optional
HostResourceGroupArn *string `json:"hostResourceGroupArn,omitempty" tf:"host_resource_group_arn,omitempty"`
// +kubebuilder:validation:Optional
IAMInstanceProfile *string `json:"iamInstanceProfile,omitempty" tf:"iam_instance_profile,omitempty"`
// +kubebuilder:validation:Optional
IPv6AddressCount *float64 `json:"ipv6AddressCount,omitempty" tf:"ipv6_address_count,omitempty"`
// +kubebuilder:validation:Optional
IPv6Addresses []*string `json:"ipv6Addresses,omitempty" tf:"ipv6_addresses,omitempty"`
// +kubebuilder:validation:Optional
InstanceInitiatedShutdownBehavior *string `json:"instanceInitiatedShutdownBehavior,omitempty" tf:"instance_initiated_shutdown_behavior,omitempty"`
// Indicates Spot instance behavior when it is interrupted. Valid values are terminate, stop, or hibernate. Default value is terminate.
// +kubebuilder:validation:Optional
InstanceInterruptionBehavior *string `json:"instanceInterruptionBehavior,omitempty" tf:"instance_interruption_behavior,omitempty"`
// +kubebuilder:validation:Optional
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
// +kubebuilder:validation:Optional
KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"`
// A launch group is a group of spot instances that launch together and terminate together.
// If left empty instances are launched and terminated individually.
// +kubebuilder:validation:Optional
LaunchGroup *string `json:"launchGroup,omitempty" tf:"launch_group,omitempty"`
// +kubebuilder:validation:Optional
LaunchTemplate []SpotInstanceRequestLaunchTemplateParameters `json:"launchTemplate,omitempty" tf:"launch_template,omitempty"`
// +kubebuilder:validation:Optional
MaintenanceOptions []SpotInstanceRequestMaintenanceOptionsParameters `json:"maintenanceOptions,omitempty" tf:"maintenance_options,omitempty"`
// +kubebuilder:validation:Optional
MetadataOptions []SpotInstanceRequestMetadataOptionsParameters `json:"metadataOptions,omitempty" tf:"metadata_options,omitempty"`
// +kubebuilder:validation:Optional
Monitoring *bool `json:"monitoring,omitempty" tf:"monitoring,omitempty"`
// +kubebuilder:validation:Optional
NetworkInterface []SpotInstanceRequestNetworkInterfaceParameters `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`
// +kubebuilder:validation:Optional
PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`
// +kubebuilder:validation:Optional
PlacementPartitionNumber *float64 `json:"placementPartitionNumber,omitempty" tf:"placement_partition_number,omitempty"`
// +kubebuilder:validation:Optional
PrivateDNSNameOptions []SpotInstanceRequestPrivateDNSNameOptionsParameters `json:"privateDnsNameOptions,omitempty" tf:"private_dns_name_options,omitempty"`
// The private IP address assigned to the instance
// +kubebuilder:validation:Optional
PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`
// Region is the region you'd like your resource to be created in.
// +upjet:crd:field:TFTag=-
// +kubebuilder:validation:Required
Region *string `json:"region" tf:"-"`
// +kubebuilder:validation:Optional
RootBlockDevice []SpotInstanceRequestRootBlockDeviceParameters `json:"rootBlockDevice,omitempty" tf:"root_block_device,omitempty"`
// +kubebuilder:validation:Optional
// +listType=set
SecondaryPrivateIps []*string `json:"secondaryPrivateIps,omitempty" tf:"secondary_private_ips,omitempty"`
// +kubebuilder:validation:Optional
// +listType=set
SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`
// +kubebuilder:validation:Optional
SourceDestCheck *bool `json:"sourceDestCheck,omitempty" tf:"source_dest_check,omitempty"`
// The maximum price to request on the spot market.
// +kubebuilder:validation:Optional
SpotPrice *string `json:"spotPrice,omitempty" tf:"spot_price,omitempty"`
// If set to one-time, after
// the instance is terminated, the spot request will be closed.
// +kubebuilder:validation:Optional
SpotType *string `json:"spotType,omitempty" tf:"spot_type,omitempty"`
// The Spot Instance Request ID.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
// +kubebuilder:validation:Optional
SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
// Reference to a Subnet in ec2 to populate subnetId.
// +kubebuilder:validation:Optional
SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`
// Selector for a Subnet in ec2 to populate subnetId.
// +kubebuilder:validation:Optional
SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// +kubebuilder:validation:Optional
Tenancy *string `json:"tenancy,omitempty" tf:"tenancy,omitempty"`
// +kubebuilder:validation:Optional
UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
// +kubebuilder:validation:Optional
UserDataBase64 *string `json:"userDataBase64,omitempty" tf:"user_data_base64,omitempty"`
// +kubebuilder:validation:Optional
UserDataReplaceOnChange *bool `json:"userDataReplaceOnChange,omitempty" tf:"user_data_replace_on_change,omitempty"`
// References to SecurityGroup in ec2 to populate vpcSecurityGroupIds.
// +kubebuilder:validation:Optional
VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"`
// Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds.
// +kubebuilder:validation:Optional
VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"`
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
// +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs
// +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector
// +kubebuilder:validation:Optional
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
// The start date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
// +kubebuilder:validation:Optional
ValidFrom *string `json:"validFrom,omitempty" tf:"valid_from,omitempty"`
// The end date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. The default end date is 7 days from the current date.
// +kubebuilder:validation:Optional
ValidUntil *string `json:"validUntil,omitempty" tf:"valid_until,omitempty"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
VolumeTags map[string]*string `json:"volumeTags,omitempty" tf:"volume_tags,omitempty"`
// +kubebuilder:validation:Optional
WaitForFulfillment *bool `json:"waitForFulfillment,omitempty" tf:"wait_for_fulfillment,omitempty"`
}
type SpotInstanceRequestPrivateDNSNameOptionsInitParameters struct {
EnableResourceNameDNSARecord *bool `json:"enableResourceNameDnsARecord,omitempty" tf:"enable_resource_name_dns_a_record,omitempty"`
EnableResourceNameDNSAaaaRecord *bool `json:"enableResourceNameDnsAaaaRecord,omitempty" tf:"enable_resource_name_dns_aaaa_record,omitempty"`
HostnameType *string `json:"hostnameType,omitempty" tf:"hostname_type,omitempty"`
}
type SpotInstanceRequestPrivateDNSNameOptionsObservation struct {
EnableResourceNameDNSARecord *bool `json:"enableResourceNameDnsARecord,omitempty" tf:"enable_resource_name_dns_a_record,omitempty"`
EnableResourceNameDNSAaaaRecord *bool `json:"enableResourceNameDnsAaaaRecord,omitempty" tf:"enable_resource_name_dns_aaaa_record,omitempty"`
HostnameType *string `json:"hostnameType,omitempty" tf:"hostname_type,omitempty"`
}
type SpotInstanceRequestPrivateDNSNameOptionsParameters struct {
// +kubebuilder:validation:Optional
EnableResourceNameDNSARecord *bool `json:"enableResourceNameDnsARecord,omitempty" tf:"enable_resource_name_dns_a_record,omitempty"`
// +kubebuilder:validation:Optional
EnableResourceNameDNSAaaaRecord *bool `json:"enableResourceNameDnsAaaaRecord,omitempty" tf:"enable_resource_name_dns_aaaa_record,omitempty"`
// +kubebuilder:validation:Optional
HostnameType *string `json:"hostnameType,omitempty" tf:"hostname_type,omitempty"`
}
type SpotInstanceRequestRootBlockDeviceInitParameters 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 Spot Instance Request ID.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
// +mapType=granular
TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,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 SpotInstanceRequestRootBlockDeviceObservation struct {
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
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 Spot Instance Request ID.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
// +mapType=granular
TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
// The Spot Instance Request ID.
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type SpotInstanceRequestRootBlockDeviceParameters struct {
// +kubebuilder:validation:Optional
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// +kubebuilder:validation:Optional