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

#include <FleetSpotCapacityRebalance.h>

Public Member Functions

 FleetSpotCapacityRebalance ()
 
 FleetSpotCapacityRebalance (const Aws::Utils::Xml::XmlNode &xmlNode)
 
FleetSpotCapacityRebalanceoperator= (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 FleetReplacementStrategyGetReplacementStrategy () const
 
bool ReplacementStrategyHasBeenSet () const
 
void SetReplacementStrategy (const FleetReplacementStrategy &value)
 
void SetReplacementStrategy (FleetReplacementStrategy &&value)
 
FleetSpotCapacityRebalanceWithReplacementStrategy (const FleetReplacementStrategy &value)
 
FleetSpotCapacityRebalanceWithReplacementStrategy (FleetReplacementStrategy &&value)
 

Detailed Description

The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.

See Also:

AWS API Reference

Definition at line 32 of file FleetSpotCapacityRebalance.h.

Constructor & Destructor Documentation

◆ FleetSpotCapacityRebalance() [1/2]

Aws::EC2::Model::FleetSpotCapacityRebalance::FleetSpotCapacityRebalance ( )

◆ FleetSpotCapacityRebalance() [2/2]

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

Member Function Documentation

◆ GetReplacementStrategy()

const FleetReplacementStrategy& Aws::EC2::Model::FleetSpotCapacityRebalance::GetReplacementStrategy ( ) const
inline

To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify launch. Only available for fleets of type maintain.

When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.

Definition at line 52 of file FleetSpotCapacityRebalance.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ ReplacementStrategyHasBeenSet()

bool Aws::EC2::Model::FleetSpotCapacityRebalance::ReplacementStrategyHasBeenSet ( ) const
inline

To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify launch. Only available for fleets of type maintain.

When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.

Definition at line 63 of file FleetSpotCapacityRebalance.h.

◆ SetReplacementStrategy() [1/2]

void Aws::EC2::Model::FleetSpotCapacityRebalance::SetReplacementStrategy ( const FleetReplacementStrategy value)
inline

To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify launch. Only available for fleets of type maintain.

When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.

Definition at line 74 of file FleetSpotCapacityRebalance.h.

◆ SetReplacementStrategy() [2/2]

void Aws::EC2::Model::FleetSpotCapacityRebalance::SetReplacementStrategy ( FleetReplacementStrategy &&  value)
inline

To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify launch. Only available for fleets of type maintain.

When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.

Definition at line 85 of file FleetSpotCapacityRebalance.h.

◆ WithReplacementStrategy() [1/2]

FleetSpotCapacityRebalance& Aws::EC2::Model::FleetSpotCapacityRebalance::WithReplacementStrategy ( const FleetReplacementStrategy value)
inline

To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify launch. Only available for fleets of type maintain.

When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.

Definition at line 96 of file FleetSpotCapacityRebalance.h.

◆ WithReplacementStrategy() [2/2]

FleetSpotCapacityRebalance& Aws::EC2::Model::FleetSpotCapacityRebalance::WithReplacementStrategy ( FleetReplacementStrategy &&  value)
inline

To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify launch. Only available for fleets of type maintain.

When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.

Definition at line 107 of file FleetSpotCapacityRebalance.h.


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