AllocationStrategy |
String
|
Required: No. Indicates how to allocate the target capacity across the Spot pools that you specified in the Spot fleet request. For valid values, see SpotFleetRequestConfigData in the Amazon EC2 API Reference. |
ExcessCapacityTerminationPolicy |
String
|
Required: No. Indicates whether running Spot instances are terminated if you decrease the target capacity of the Spot fleet request below the current size of the Spot fleet. For valid values, see SpotFleetRequestConfigData in the Amazon EC2 API Reference. |
IamFleetRole |
String
|
Required: Yes. The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot fleet the ability to bid on, launch, and terminate instances on your behalf. For more information, see Spot Fleet Prerequisites in the Amazon EC2 User Guide for Linux Instances. |
LaunchSpecifications |
AmazonElasticComputeCloudSpotFleetSpotFleetRequestConfigDataLaunchSpecifications
|
Required: Yes. The launch specifications for the Spot fleet request. |
SpotPrice |
String
|
Required: Yes. The bid price per unit hour. For more information, see How Spot Fleet Works in the Amazon EC2 User Guide for Linux Instances. |
TargetCapacity |
Number
|
Required: Yes. The number of units to request for the spot fleet. You can choose to set the target capacity as the number of instances or as a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. For more information, see How Spot Fleet Works in the Amazon EC2 User Guide for Linux Instances. |
TerminateInstancesWithExpiration |
Boolean
|
Required: No. Indicates whether running Spot instances are terminated when the Spot fleet request expires. |
ValidFrom |
String
|
Required: No. The start date and time of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). By default, Amazon Elastic Compute Cloud (Amazon EC2 ) starts fulfilling the request immediately. |
ValidUntil |
String
|
Required: No. The end date and time of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). After the end date and time, Amazon EC2 doesn't request new Spot instances or enable them to fulfill the request. |