AWS SDK for C++  1.9.106
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::SpotOptionsRequest Class Reference

#include <SpotOptionsRequest.h>

Public Member Functions

 SpotOptionsRequest ()
 
 SpotOptionsRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
SpotOptionsRequestoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const SpotAllocationStrategyGetAllocationStrategy () const
 
bool AllocationStrategyHasBeenSet () const
 
void SetAllocationStrategy (const SpotAllocationStrategy &value)
 
void SetAllocationStrategy (SpotAllocationStrategy &&value)
 
SpotOptionsRequestWithAllocationStrategy (const SpotAllocationStrategy &value)
 
SpotOptionsRequestWithAllocationStrategy (SpotAllocationStrategy &&value)
 
const FleetSpotMaintenanceStrategiesRequestGetMaintenanceStrategies () const
 
bool MaintenanceStrategiesHasBeenSet () const
 
void SetMaintenanceStrategies (const FleetSpotMaintenanceStrategiesRequest &value)
 
void SetMaintenanceStrategies (FleetSpotMaintenanceStrategiesRequest &&value)
 
SpotOptionsRequestWithMaintenanceStrategies (const FleetSpotMaintenanceStrategiesRequest &value)
 
SpotOptionsRequestWithMaintenanceStrategies (FleetSpotMaintenanceStrategiesRequest &&value)
 
const SpotInstanceInterruptionBehaviorGetInstanceInterruptionBehavior () const
 
bool InstanceInterruptionBehaviorHasBeenSet () const
 
void SetInstanceInterruptionBehavior (const SpotInstanceInterruptionBehavior &value)
 
void SetInstanceInterruptionBehavior (SpotInstanceInterruptionBehavior &&value)
 
SpotOptionsRequestWithInstanceInterruptionBehavior (const SpotInstanceInterruptionBehavior &value)
 
SpotOptionsRequestWithInstanceInterruptionBehavior (SpotInstanceInterruptionBehavior &&value)
 
int GetInstancePoolsToUseCount () const
 
bool InstancePoolsToUseCountHasBeenSet () const
 
void SetInstancePoolsToUseCount (int value)
 
SpotOptionsRequestWithInstancePoolsToUseCount (int value)
 
bool GetSingleInstanceType () const
 
bool SingleInstanceTypeHasBeenSet () const
 
void SetSingleInstanceType (bool value)
 
SpotOptionsRequestWithSingleInstanceType (bool value)
 
bool GetSingleAvailabilityZone () const
 
bool SingleAvailabilityZoneHasBeenSet () const
 
void SetSingleAvailabilityZone (bool value)
 
SpotOptionsRequestWithSingleAvailabilityZone (bool value)
 
int GetMinTargetCapacity () const
 
bool MinTargetCapacityHasBeenSet () const
 
void SetMinTargetCapacity (int value)
 
SpotOptionsRequestWithMinTargetCapacity (int value)
 
const Aws::StringGetMaxTotalPrice () const
 
bool MaxTotalPriceHasBeenSet () const
 
void SetMaxTotalPrice (const Aws::String &value)
 
void SetMaxTotalPrice (Aws::String &&value)
 
void SetMaxTotalPrice (const char *value)
 
SpotOptionsRequestWithMaxTotalPrice (const Aws::String &value)
 
SpotOptionsRequestWithMaxTotalPrice (Aws::String &&value)
 
SpotOptionsRequestWithMaxTotalPrice (const char *value)
 

Detailed Description

Describes the configuration of Spot Instances in an EC2 Fleet request.

See Also:

AWS API Reference

Definition at line 35 of file SpotOptionsRequest.h.

Constructor & Destructor Documentation

◆ SpotOptionsRequest() [1/2]

Aws::EC2::Model::SpotOptionsRequest::SpotOptionsRequest ( )

◆ SpotOptionsRequest() [2/2]

Aws::EC2::Model::SpotOptionsRequest::SpotOptionsRequest ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AllocationStrategyHasBeenSet()

bool Aws::EC2::Model::SpotOptionsRequest::AllocationStrategyHasBeenSet ( ) const
inline

Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

If the allocation strategy is lowest-price, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

If the allocation strategy is diversified, EC2 Fleet launches instances from all of the Spot Instance pools that you specify.

If the allocation strategy is capacity-optimized (recommended), EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Definition at line 88 of file SpotOptionsRequest.h.

◆ GetAllocationStrategy()

const SpotAllocationStrategy& Aws::EC2::Model::SpotOptionsRequest::GetAllocationStrategy ( ) const
inline

Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

If the allocation strategy is lowest-price, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

If the allocation strategy is diversified, EC2 Fleet launches instances from all of the Spot Instance pools that you specify.

If the allocation strategy is capacity-optimized (recommended), EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Definition at line 66 of file SpotOptionsRequest.h.

◆ GetInstanceInterruptionBehavior()

const SpotInstanceInterruptionBehavior& Aws::EC2::Model::SpotOptionsRequest::GetInstanceInterruptionBehavior ( ) const
inline

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 220 of file SpotOptionsRequest.h.

◆ GetInstancePoolsToUseCount()

int Aws::EC2::Model::SpotOptionsRequest::GetInstancePoolsToUseCount ( ) const
inline

The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

Definition at line 267 of file SpotOptionsRequest.h.

◆ GetMaintenanceStrategies()

const FleetSpotMaintenanceStrategiesRequest& Aws::EC2::Model::SpotOptionsRequest::GetMaintenanceStrategies ( ) const
inline

The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.

Definition at line 183 of file SpotOptionsRequest.h.

◆ GetMaxTotalPrice()

const Aws::String& Aws::EC2::Model::SpotOptionsRequest::GetMaxTotalPrice ( ) const
inline

The maximum amount per hour for Spot Instances that you're willing to pay.

Definition at line 401 of file SpotOptionsRequest.h.

◆ GetMinTargetCapacity()

int Aws::EC2::Model::SpotOptionsRequest::GetMinTargetCapacity ( ) const
inline

The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances.

Definition at line 376 of file SpotOptionsRequest.h.

◆ GetSingleAvailabilityZone()

bool Aws::EC2::Model::SpotOptionsRequest::GetSingleAvailabilityZone ( ) const
inline

Indicates that the fleet launches all Spot Instances into a single Availability Zone. Supported only for fleets of type instant.

Definition at line 351 of file SpotOptionsRequest.h.

◆ GetSingleInstanceType()

bool Aws::EC2::Model::SpotOptionsRequest::GetSingleInstanceType ( ) const
inline

Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet. Supported only for fleets of type instant.

Definition at line 323 of file SpotOptionsRequest.h.

◆ InstanceInterruptionBehaviorHasBeenSet()

bool Aws::EC2::Model::SpotOptionsRequest::InstanceInterruptionBehaviorHasBeenSet ( ) const
inline

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 226 of file SpotOptionsRequest.h.

◆ InstancePoolsToUseCountHasBeenSet()

bool Aws::EC2::Model::SpotOptionsRequest::InstancePoolsToUseCountHasBeenSet ( ) const
inline

The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

Definition at line 283 of file SpotOptionsRequest.h.

◆ MaintenanceStrategiesHasBeenSet()

bool Aws::EC2::Model::SpotOptionsRequest::MaintenanceStrategiesHasBeenSet ( ) const
inline

The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.

Definition at line 189 of file SpotOptionsRequest.h.

◆ MaxTotalPriceHasBeenSet()

bool Aws::EC2::Model::SpotOptionsRequest::MaxTotalPriceHasBeenSet ( ) const
inline

The maximum amount per hour for Spot Instances that you're willing to pay.

Definition at line 407 of file SpotOptionsRequest.h.

◆ MinTargetCapacityHasBeenSet()

bool Aws::EC2::Model::SpotOptionsRequest::MinTargetCapacityHasBeenSet ( ) const
inline

The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances.

Definition at line 382 of file SpotOptionsRequest.h.

◆ operator=()

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::SpotOptionsRequest::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::SpotOptionsRequest::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetAllocationStrategy() [1/2]

void Aws::EC2::Model::SpotOptionsRequest::SetAllocationStrategy ( const SpotAllocationStrategy value)
inline

Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

If the allocation strategy is lowest-price, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

If the allocation strategy is diversified, EC2 Fleet launches instances from all of the Spot Instance pools that you specify.

If the allocation strategy is capacity-optimized (recommended), EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Definition at line 110 of file SpotOptionsRequest.h.

◆ SetAllocationStrategy() [2/2]

void Aws::EC2::Model::SpotOptionsRequest::SetAllocationStrategy ( SpotAllocationStrategy &&  value)
inline

Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

If the allocation strategy is lowest-price, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

If the allocation strategy is diversified, EC2 Fleet launches instances from all of the Spot Instance pools that you specify.

If the allocation strategy is capacity-optimized (recommended), EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Definition at line 132 of file SpotOptionsRequest.h.

◆ SetInstanceInterruptionBehavior() [1/2]

void Aws::EC2::Model::SpotOptionsRequest::SetInstanceInterruptionBehavior ( const SpotInstanceInterruptionBehavior value)
inline

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 232 of file SpotOptionsRequest.h.

◆ SetInstanceInterruptionBehavior() [2/2]

void Aws::EC2::Model::SpotOptionsRequest::SetInstanceInterruptionBehavior ( SpotInstanceInterruptionBehavior &&  value)
inline

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 238 of file SpotOptionsRequest.h.

◆ SetInstancePoolsToUseCount()

void Aws::EC2::Model::SpotOptionsRequest::SetInstancePoolsToUseCount ( int  value)
inline

The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

Definition at line 299 of file SpotOptionsRequest.h.

◆ SetMaintenanceStrategies() [1/2]

void Aws::EC2::Model::SpotOptionsRequest::SetMaintenanceStrategies ( const FleetSpotMaintenanceStrategiesRequest value)
inline

The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.

Definition at line 195 of file SpotOptionsRequest.h.

◆ SetMaintenanceStrategies() [2/2]

void Aws::EC2::Model::SpotOptionsRequest::SetMaintenanceStrategies ( FleetSpotMaintenanceStrategiesRequest &&  value)
inline

The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.

Definition at line 201 of file SpotOptionsRequest.h.

◆ SetMaxTotalPrice() [1/3]

void Aws::EC2::Model::SpotOptionsRequest::SetMaxTotalPrice ( Aws::String &&  value)
inline

The maximum amount per hour for Spot Instances that you're willing to pay.

Definition at line 419 of file SpotOptionsRequest.h.

◆ SetMaxTotalPrice() [2/3]

void Aws::EC2::Model::SpotOptionsRequest::SetMaxTotalPrice ( const Aws::String value)
inline

The maximum amount per hour for Spot Instances that you're willing to pay.

Definition at line 413 of file SpotOptionsRequest.h.

◆ SetMaxTotalPrice() [3/3]

void Aws::EC2::Model::SpotOptionsRequest::SetMaxTotalPrice ( const char *  value)
inline

The maximum amount per hour for Spot Instances that you're willing to pay.

Definition at line 425 of file SpotOptionsRequest.h.

◆ SetMinTargetCapacity()

void Aws::EC2::Model::SpotOptionsRequest::SetMinTargetCapacity ( int  value)
inline

The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances.

Definition at line 388 of file SpotOptionsRequest.h.

◆ SetSingleAvailabilityZone()

void Aws::EC2::Model::SpotOptionsRequest::SetSingleAvailabilityZone ( bool  value)
inline

Indicates that the fleet launches all Spot Instances into a single Availability Zone. Supported only for fleets of type instant.

Definition at line 363 of file SpotOptionsRequest.h.

◆ SetSingleInstanceType()

void Aws::EC2::Model::SpotOptionsRequest::SetSingleInstanceType ( bool  value)
inline

Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet. Supported only for fleets of type instant.

Definition at line 337 of file SpotOptionsRequest.h.

◆ SingleAvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::SpotOptionsRequest::SingleAvailabilityZoneHasBeenSet ( ) const
inline

Indicates that the fleet launches all Spot Instances into a single Availability Zone. Supported only for fleets of type instant.

Definition at line 357 of file SpotOptionsRequest.h.

◆ SingleInstanceTypeHasBeenSet()

bool Aws::EC2::Model::SpotOptionsRequest::SingleInstanceTypeHasBeenSet ( ) const
inline

Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet. Supported only for fleets of type instant.

Definition at line 330 of file SpotOptionsRequest.h.

◆ WithAllocationStrategy() [1/2]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithAllocationStrategy ( const SpotAllocationStrategy value)
inline

Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

If the allocation strategy is lowest-price, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

If the allocation strategy is diversified, EC2 Fleet launches instances from all of the Spot Instance pools that you specify.

If the allocation strategy is capacity-optimized (recommended), EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Definition at line 154 of file SpotOptionsRequest.h.

◆ WithAllocationStrategy() [2/2]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithAllocationStrategy ( SpotAllocationStrategy &&  value)
inline

Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

If the allocation strategy is lowest-price, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

If the allocation strategy is diversified, EC2 Fleet launches instances from all of the Spot Instance pools that you specify.

If the allocation strategy is capacity-optimized (recommended), EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. Set a priority for each instance type by using the Priority parameter for LaunchTemplateOverrides. You can assign the same priority to different LaunchTemplateOverrides. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. capacity-optimized-prioritized is supported only if your fleet uses a launch template. Note that if the On-Demand AllocationStrategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity.

Definition at line 176 of file SpotOptionsRequest.h.

◆ WithInstanceInterruptionBehavior() [1/2]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithInstanceInterruptionBehavior ( const SpotInstanceInterruptionBehavior value)
inline

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 244 of file SpotOptionsRequest.h.

◆ WithInstanceInterruptionBehavior() [2/2]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithInstanceInterruptionBehavior ( SpotInstanceInterruptionBehavior &&  value)
inline

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 250 of file SpotOptionsRequest.h.

◆ WithInstancePoolsToUseCount()

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithInstancePoolsToUseCount ( int  value)
inline

The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

Definition at line 315 of file SpotOptionsRequest.h.

◆ WithMaintenanceStrategies() [1/2]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithMaintenanceStrategies ( const FleetSpotMaintenanceStrategiesRequest value)
inline

The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.

Definition at line 207 of file SpotOptionsRequest.h.

◆ WithMaintenanceStrategies() [2/2]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithMaintenanceStrategies ( FleetSpotMaintenanceStrategiesRequest &&  value)
inline

The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.

Definition at line 213 of file SpotOptionsRequest.h.

◆ WithMaxTotalPrice() [1/3]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithMaxTotalPrice ( Aws::String &&  value)
inline

The maximum amount per hour for Spot Instances that you're willing to pay.

Definition at line 437 of file SpotOptionsRequest.h.

◆ WithMaxTotalPrice() [2/3]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithMaxTotalPrice ( const Aws::String value)
inline

The maximum amount per hour for Spot Instances that you're willing to pay.

Definition at line 431 of file SpotOptionsRequest.h.

◆ WithMaxTotalPrice() [3/3]

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithMaxTotalPrice ( const char *  value)
inline

The maximum amount per hour for Spot Instances that you're willing to pay.

Definition at line 443 of file SpotOptionsRequest.h.

◆ WithMinTargetCapacity()

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithMinTargetCapacity ( int  value)
inline

The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances.

Definition at line 394 of file SpotOptionsRequest.h.

◆ WithSingleAvailabilityZone()

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithSingleAvailabilityZone ( bool  value)
inline

Indicates that the fleet launches all Spot Instances into a single Availability Zone. Supported only for fleets of type instant.

Definition at line 369 of file SpotOptionsRequest.h.

◆ WithSingleInstanceType()

SpotOptionsRequest& Aws::EC2::Model::SpotOptionsRequest::WithSingleInstanceType ( bool  value)
inline

Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet. Supported only for fleets of type instant.

Definition at line 344 of file SpotOptionsRequest.h.


The documentation for this class was generated from the following file: