Values_0.SpotFleetLaunchSpecificationSourceDescribes the launch specification for one or more Spot Instances. If you include On-Demand capacity in your fleet request or want to specify an EFA network device, you can't use SpotFleetLaunchSpecification; you must use LaunchTemplateConfig.
type nonrec t = {addressingType : String_.t option;Deprecated.
*)blockDeviceMappings : BlockDeviceMappingList.t option;One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
*)ebsOptimized : Boolean.t option;Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance. Default: false
*)iamInstanceProfile : IamInstanceProfileSpecification.t option;The IAM instance profile.
*)imageId : ImageId.t option;The ID of the AMI.
*)instanceType : InstanceType.t option;The instance type.
*)kernelId : String_.t option;The ID of the kernel.
*)keyName : KeyPairName.t option;The name of the key pair.
*)monitoring : SpotFleetMonitoring.t option;Enable or disable monitoring for the instances.
*)networkInterfaces : InstanceNetworkInterfaceSpecificationList.t option;The network interfaces. SpotFleetLaunchSpecification does not support Elastic Fabric Adapter (EFA). You must use LaunchTemplateConfig instead.
*)placement : SpotPlacement.t option;The placement information.
*)ramdiskId : String_.t option;The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the Amazon Web Services Resource Center and search for the kernel ID.
*)spotPrice : String_.t option;The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
*)subnetId : SubnetId.t option;The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2". If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
*)userData : SensitiveUserData.t option;The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
*)weightedCapacity : Double.t option;The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O. If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1. When specifying weights, the price used in the lowestPrice and priceCapacityOptimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity, resulting in only 1 instance being launched, the price used is per instance hour.
*)tagSpecifications : SpotFleetTagSpecificationList.t option;The tags to apply during creation.
*)instanceRequirements : InstanceRequirements.t option;The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes. If you specify InstanceRequirements, you can't specify InstanceType.
*)securityGroups : GroupIdentifierList.t option;The security groups. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
*)}val make :
?addressingType:??? ->
?blockDeviceMappings:??? ->
?ebsOptimized:??? ->
?iamInstanceProfile:??? ->
?imageId:??? ->
?instanceType:??? ->
?kernelId:??? ->
?keyName:??? ->
?monitoring:??? ->
?networkInterfaces:??? ->
?placement:??? ->
?ramdiskId:??? ->
?spotPrice:??? ->
?subnetId:??? ->
?userData:??? ->
?weightedCapacity:??? ->
?tagSpecifications:??? ->
?instanceRequirements:??? ->
?securityGroups:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of Double.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of Integer.t
| `List of
[> `String of SecurityGroupId.t
| `Structure of
(string
* [> `Boolean of Boolean.t | `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of Integer.t
| `String of SnapshotId.t
| `Structure of
(string * [> `Boolean of Boolean.t ]) list ])
list ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of Integer.t
| `List of
[> `Enum of string | `String of ExcludedInstanceType.t ] list
| `String of String_.t
| `Structure of
(string
* [> `Double of Double.t
| `Integer of Integer.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of String_.t ]) list ]
list ])
list ])
list ])
list ])
list ]