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

#include <SpotFleetLaunchSpecification.h>

Public Member Functions

 SpotFleetLaunchSpecification ()
 
 SpotFleetLaunchSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
SpotFleetLaunchSpecificationoperator= (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 Aws::Vector< GroupIdentifier > & GetSecurityGroups () const
 
bool SecurityGroupsHasBeenSet () const
 
void SetSecurityGroups (const Aws::Vector< GroupIdentifier > &value)
 
void SetSecurityGroups (Aws::Vector< GroupIdentifier > &&value)
 
SpotFleetLaunchSpecificationWithSecurityGroups (const Aws::Vector< GroupIdentifier > &value)
 
SpotFleetLaunchSpecificationWithSecurityGroups (Aws::Vector< GroupIdentifier > &&value)
 
SpotFleetLaunchSpecificationAddSecurityGroups (const GroupIdentifier &value)
 
SpotFleetLaunchSpecificationAddSecurityGroups (GroupIdentifier &&value)
 
const Aws::StringGetAddressingType () const
 
bool AddressingTypeHasBeenSet () const
 
void SetAddressingType (const Aws::String &value)
 
void SetAddressingType (Aws::String &&value)
 
void SetAddressingType (const char *value)
 
SpotFleetLaunchSpecificationWithAddressingType (const Aws::String &value)
 
SpotFleetLaunchSpecificationWithAddressingType (Aws::String &&value)
 
SpotFleetLaunchSpecificationWithAddressingType (const char *value)
 
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings () const
 
bool BlockDeviceMappingsHasBeenSet () const
 
void SetBlockDeviceMappings (const Aws::Vector< BlockDeviceMapping > &value)
 
void SetBlockDeviceMappings (Aws::Vector< BlockDeviceMapping > &&value)
 
SpotFleetLaunchSpecificationWithBlockDeviceMappings (const Aws::Vector< BlockDeviceMapping > &value)
 
SpotFleetLaunchSpecificationWithBlockDeviceMappings (Aws::Vector< BlockDeviceMapping > &&value)
 
SpotFleetLaunchSpecificationAddBlockDeviceMappings (const BlockDeviceMapping &value)
 
SpotFleetLaunchSpecificationAddBlockDeviceMappings (BlockDeviceMapping &&value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
SpotFleetLaunchSpecificationWithEbsOptimized (bool value)
 
const IamInstanceProfileSpecificationGetIamInstanceProfile () const
 
bool IamInstanceProfileHasBeenSet () const
 
void SetIamInstanceProfile (const IamInstanceProfileSpecification &value)
 
void SetIamInstanceProfile (IamInstanceProfileSpecification &&value)
 
SpotFleetLaunchSpecificationWithIamInstanceProfile (const IamInstanceProfileSpecification &value)
 
SpotFleetLaunchSpecificationWithIamInstanceProfile (IamInstanceProfileSpecification &&value)
 
const Aws::StringGetImageId () const
 
bool ImageIdHasBeenSet () const
 
void SetImageId (const Aws::String &value)
 
void SetImageId (Aws::String &&value)
 
void SetImageId (const char *value)
 
SpotFleetLaunchSpecificationWithImageId (const Aws::String &value)
 
SpotFleetLaunchSpecificationWithImageId (Aws::String &&value)
 
SpotFleetLaunchSpecificationWithImageId (const char *value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
SpotFleetLaunchSpecificationWithInstanceType (const InstanceType &value)
 
SpotFleetLaunchSpecificationWithInstanceType (InstanceType &&value)
 
const Aws::StringGetKernelId () const
 
bool KernelIdHasBeenSet () const
 
void SetKernelId (const Aws::String &value)
 
void SetKernelId (Aws::String &&value)
 
void SetKernelId (const char *value)
 
SpotFleetLaunchSpecificationWithKernelId (const Aws::String &value)
 
SpotFleetLaunchSpecificationWithKernelId (Aws::String &&value)
 
SpotFleetLaunchSpecificationWithKernelId (const char *value)
 
const Aws::StringGetKeyName () const
 
bool KeyNameHasBeenSet () const
 
void SetKeyName (const Aws::String &value)
 
void SetKeyName (Aws::String &&value)
 
void SetKeyName (const char *value)
 
SpotFleetLaunchSpecificationWithKeyName (const Aws::String &value)
 
SpotFleetLaunchSpecificationWithKeyName (Aws::String &&value)
 
SpotFleetLaunchSpecificationWithKeyName (const char *value)
 
const SpotFleetMonitoringGetMonitoring () const
 
bool MonitoringHasBeenSet () const
 
void SetMonitoring (const SpotFleetMonitoring &value)
 
void SetMonitoring (SpotFleetMonitoring &&value)
 
SpotFleetLaunchSpecificationWithMonitoring (const SpotFleetMonitoring &value)
 
SpotFleetLaunchSpecificationWithMonitoring (SpotFleetMonitoring &&value)
 
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces () const
 
bool NetworkInterfacesHasBeenSet () const
 
void SetNetworkInterfaces (const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
 
void SetNetworkInterfaces (Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
 
SpotFleetLaunchSpecificationWithNetworkInterfaces (const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
 
SpotFleetLaunchSpecificationWithNetworkInterfaces (Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
 
SpotFleetLaunchSpecificationAddNetworkInterfaces (const InstanceNetworkInterfaceSpecification &value)
 
SpotFleetLaunchSpecificationAddNetworkInterfaces (InstanceNetworkInterfaceSpecification &&value)
 
const SpotPlacementGetPlacement () const
 
bool PlacementHasBeenSet () const
 
void SetPlacement (const SpotPlacement &value)
 
void SetPlacement (SpotPlacement &&value)
 
SpotFleetLaunchSpecificationWithPlacement (const SpotPlacement &value)
 
SpotFleetLaunchSpecificationWithPlacement (SpotPlacement &&value)
 
const Aws::StringGetRamdiskId () const
 
bool RamdiskIdHasBeenSet () const
 
void SetRamdiskId (const Aws::String &value)
 
void SetRamdiskId (Aws::String &&value)
 
void SetRamdiskId (const char *value)
 
SpotFleetLaunchSpecificationWithRamdiskId (const Aws::String &value)
 
SpotFleetLaunchSpecificationWithRamdiskId (Aws::String &&value)
 
SpotFleetLaunchSpecificationWithRamdiskId (const char *value)
 
const Aws::StringGetSpotPrice () const
 
bool SpotPriceHasBeenSet () const
 
void SetSpotPrice (const Aws::String &value)
 
void SetSpotPrice (Aws::String &&value)
 
void SetSpotPrice (const char *value)
 
SpotFleetLaunchSpecificationWithSpotPrice (const Aws::String &value)
 
SpotFleetLaunchSpecificationWithSpotPrice (Aws::String &&value)
 
SpotFleetLaunchSpecificationWithSpotPrice (const char *value)
 
const Aws::StringGetSubnetId () const
 
bool SubnetIdHasBeenSet () const
 
void SetSubnetId (const Aws::String &value)
 
void SetSubnetId (Aws::String &&value)
 
void SetSubnetId (const char *value)
 
SpotFleetLaunchSpecificationWithSubnetId (const Aws::String &value)
 
SpotFleetLaunchSpecificationWithSubnetId (Aws::String &&value)
 
SpotFleetLaunchSpecificationWithSubnetId (const char *value)
 
const Aws::StringGetUserData () const
 
bool UserDataHasBeenSet () const
 
void SetUserData (const Aws::String &value)
 
void SetUserData (Aws::String &&value)
 
void SetUserData (const char *value)
 
SpotFleetLaunchSpecificationWithUserData (const Aws::String &value)
 
SpotFleetLaunchSpecificationWithUserData (Aws::String &&value)
 
SpotFleetLaunchSpecificationWithUserData (const char *value)
 
double GetWeightedCapacity () const
 
bool WeightedCapacityHasBeenSet () const
 
void SetWeightedCapacity (double value)
 
SpotFleetLaunchSpecificationWithWeightedCapacity (double value)
 
const Aws::Vector< SpotFleetTagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< SpotFleetTagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< SpotFleetTagSpecification > &&value)
 
SpotFleetLaunchSpecificationWithTagSpecifications (const Aws::Vector< SpotFleetTagSpecification > &value)
 
SpotFleetLaunchSpecificationWithTagSpecifications (Aws::Vector< SpotFleetTagSpecification > &&value)
 
SpotFleetLaunchSpecificationAddTagSpecifications (const SpotFleetTagSpecification &value)
 
SpotFleetLaunchSpecificationAddTagSpecifications (SpotFleetTagSpecification &&value)
 

Detailed Description

Describes 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.

See Also:

AWS API Reference

Definition at line 45 of file SpotFleetLaunchSpecification.h.

Constructor & Destructor Documentation

◆ SpotFleetLaunchSpecification() [1/2]

Aws::EC2::Model::SpotFleetLaunchSpecification::SpotFleetLaunchSpecification ( )

◆ SpotFleetLaunchSpecification() [2/2]

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

Member Function Documentation

◆ AddBlockDeviceMappings() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::AddBlockDeviceMappings ( BlockDeviceMapping &&  value)
inline

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.

Definition at line 224 of file SpotFleetLaunchSpecification.h.

◆ AddBlockDeviceMappings() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::AddBlockDeviceMappings ( const BlockDeviceMapping value)
inline

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.

Definition at line 215 of file SpotFleetLaunchSpecification.h.

◆ AddNetworkInterfaces() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::AddNetworkInterfaces ( const InstanceNetworkInterfaceSpecification value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

Definition at line 548 of file SpotFleetLaunchSpecification.h.

◆ AddNetworkInterfaces() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::AddNetworkInterfaces ( InstanceNetworkInterfaceSpecification &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

Definition at line 558 of file SpotFleetLaunchSpecification.h.

◆ AddressingTypeHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::AddressingTypeHasBeenSet ( ) const
inline

Deprecated.

Definition at line 121 of file SpotFleetLaunchSpecification.h.

◆ AddSecurityGroups() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::AddSecurityGroups ( const GroupIdentifier value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 103 of file SpotFleetLaunchSpecification.h.

◆ AddSecurityGroups() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::AddSecurityGroups ( GroupIdentifier &&  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 110 of file SpotFleetLaunchSpecification.h.

◆ AddTagSpecifications() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::AddTagSpecifications ( const SpotFleetTagSpecification value)
inline

The tags to apply during creation.

Definition at line 894 of file SpotFleetLaunchSpecification.h.

◆ AddTagSpecifications() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::AddTagSpecifications ( SpotFleetTagSpecification &&  value)
inline

The tags to apply during creation.

Definition at line 899 of file SpotFleetLaunchSpecification.h.

◆ BlockDeviceMappingsHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::BlockDeviceMappingsHasBeenSet ( ) const
inline

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.

Definition at line 170 of file SpotFleetLaunchSpecification.h.

◆ EbsOptimizedHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::EbsOptimizedHasBeenSet ( ) const
inline

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

Definition at line 243 of file SpotFleetLaunchSpecification.h.

◆ GetAddressingType()

const Aws::String& Aws::EC2::Model::SpotFleetLaunchSpecification::GetAddressingType ( ) const
inline

Deprecated.

Definition at line 116 of file SpotFleetLaunchSpecification.h.

◆ GetBlockDeviceMappings()

const Aws::Vector<BlockDeviceMapping>& Aws::EC2::Model::SpotFleetLaunchSpecification::GetBlockDeviceMappings ( ) const
inline

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.

Definition at line 161 of file SpotFleetLaunchSpecification.h.

◆ GetEbsOptimized()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::GetEbsOptimized ( ) const
inline

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

Definition at line 234 of file SpotFleetLaunchSpecification.h.

◆ GetIamInstanceProfile()

const IamInstanceProfileSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::GetIamInstanceProfile ( ) const
inline

The IAM instance profile.

Definition at line 267 of file SpotFleetLaunchSpecification.h.

◆ GetImageId()

const Aws::String& Aws::EC2::Model::SpotFleetLaunchSpecification::GetImageId ( ) const
inline

The ID of the AMI.

Definition at line 298 of file SpotFleetLaunchSpecification.h.

◆ GetInstanceType()

const InstanceType& Aws::EC2::Model::SpotFleetLaunchSpecification::GetInstanceType ( ) const
inline

The instance type.

Definition at line 339 of file SpotFleetLaunchSpecification.h.

◆ GetKernelId()

const Aws::String& Aws::EC2::Model::SpotFleetLaunchSpecification::GetKernelId ( ) const
inline

The ID of the kernel.

Definition at line 370 of file SpotFleetLaunchSpecification.h.

◆ GetKeyName()

const Aws::String& Aws::EC2::Model::SpotFleetLaunchSpecification::GetKeyName ( ) const
inline

The name of the key pair.

Definition at line 411 of file SpotFleetLaunchSpecification.h.

◆ GetMonitoring()

const SpotFleetMonitoring& Aws::EC2::Model::SpotFleetLaunchSpecification::GetMonitoring ( ) const
inline

Enable or disable monitoring for the instances.

Definition at line 452 of file SpotFleetLaunchSpecification.h.

◆ GetNetworkInterfaces()

const Aws::Vector<InstanceNetworkInterfaceSpecification>& Aws::EC2::Model::SpotFleetLaunchSpecification::GetNetworkInterfaces ( ) const
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

Definition at line 488 of file SpotFleetLaunchSpecification.h.

◆ GetPlacement()

const SpotPlacement& Aws::EC2::Model::SpotFleetLaunchSpecification::GetPlacement ( ) const
inline

The placement information.

Definition at line 564 of file SpotFleetLaunchSpecification.h.

◆ GetRamdiskId()

const Aws::String& Aws::EC2::Model::SpotFleetLaunchSpecification::GetRamdiskId ( ) const
inline

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.

Definition at line 598 of file SpotFleetLaunchSpecification.h.

◆ GetSecurityGroups()

const Aws::Vector<GroupIdentifier>& Aws::EC2::Model::SpotFleetLaunchSpecification::GetSecurityGroups ( ) const
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 61 of file SpotFleetLaunchSpecification.h.

◆ GetSpotPrice()

const Aws::String& Aws::EC2::Model::SpotFleetLaunchSpecification::GetSpotPrice ( ) const
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

Definition at line 663 of file SpotFleetLaunchSpecification.h.

◆ GetSubnetId()

const Aws::String& Aws::EC2::Model::SpotFleetLaunchSpecification::GetSubnetId ( ) const
inline

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".

Definition at line 727 of file SpotFleetLaunchSpecification.h.

◆ GetTagSpecifications()

const Aws::Vector<SpotFleetTagSpecification>& Aws::EC2::Model::SpotFleetLaunchSpecification::GetTagSpecifications ( ) const
inline

The tags to apply during creation.

Definition at line 864 of file SpotFleetLaunchSpecification.h.

◆ GetUserData()

const Aws::String& Aws::EC2::Model::SpotFleetLaunchSpecification::GetUserData ( ) const
inline

The Base64-encoded user data that instances use when starting up.

Definition at line 782 of file SpotFleetLaunchSpecification.h.

◆ GetWeightedCapacity()

double Aws::EC2::Model::SpotFleetLaunchSpecification::GetWeightedCapacity ( ) const
inline

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.

Definition at line 828 of file SpotFleetLaunchSpecification.h.

◆ IamInstanceProfileHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::IamInstanceProfileHasBeenSet ( ) const
inline

The IAM instance profile.

Definition at line 272 of file SpotFleetLaunchSpecification.h.

◆ ImageIdHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::ImageIdHasBeenSet ( ) const
inline

The ID of the AMI.

Definition at line 303 of file SpotFleetLaunchSpecification.h.

◆ InstanceTypeHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::InstanceTypeHasBeenSet ( ) const
inline

The instance type.

Definition at line 344 of file SpotFleetLaunchSpecification.h.

◆ KernelIdHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::KernelIdHasBeenSet ( ) const
inline

The ID of the kernel.

Definition at line 375 of file SpotFleetLaunchSpecification.h.

◆ KeyNameHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::KeyNameHasBeenSet ( ) const
inline

The name of the key pair.

Definition at line 416 of file SpotFleetLaunchSpecification.h.

◆ MonitoringHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::MonitoringHasBeenSet ( ) const
inline

Enable or disable monitoring for the instances.

Definition at line 457 of file SpotFleetLaunchSpecification.h.

◆ NetworkInterfacesHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::NetworkInterfacesHasBeenSet ( ) const
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

Definition at line 498 of file SpotFleetLaunchSpecification.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PlacementHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::PlacementHasBeenSet ( ) const
inline

The placement information.

Definition at line 569 of file SpotFleetLaunchSpecification.h.

◆ RamdiskIdHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::RamdiskIdHasBeenSet ( ) const
inline

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.

Definition at line 606 of file SpotFleetLaunchSpecification.h.

◆ SecurityGroupsHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::SecurityGroupsHasBeenSet ( ) const
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 68 of file SpotFleetLaunchSpecification.h.

◆ SetAddressingType() [1/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetAddressingType ( Aws::String &&  value)
inline

Deprecated.

Definition at line 131 of file SpotFleetLaunchSpecification.h.

◆ SetAddressingType() [2/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetAddressingType ( const Aws::String value)
inline

Deprecated.

Definition at line 126 of file SpotFleetLaunchSpecification.h.

◆ SetAddressingType() [3/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetAddressingType ( const char *  value)
inline

Deprecated.

Definition at line 136 of file SpotFleetLaunchSpecification.h.

◆ SetBlockDeviceMappings() [1/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetBlockDeviceMappings ( Aws::Vector< BlockDeviceMapping > &&  value)
inline

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.

Definition at line 188 of file SpotFleetLaunchSpecification.h.

◆ SetBlockDeviceMappings() [2/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetBlockDeviceMappings ( const Aws::Vector< BlockDeviceMapping > &  value)
inline

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.

Definition at line 179 of file SpotFleetLaunchSpecification.h.

◆ SetEbsOptimized()

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetEbsOptimized ( bool  value)
inline

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

Definition at line 252 of file SpotFleetLaunchSpecification.h.

◆ SetIamInstanceProfile() [1/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetIamInstanceProfile ( const IamInstanceProfileSpecification value)
inline

The IAM instance profile.

Definition at line 277 of file SpotFleetLaunchSpecification.h.

◆ SetIamInstanceProfile() [2/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetIamInstanceProfile ( IamInstanceProfileSpecification &&  value)
inline

The IAM instance profile.

Definition at line 282 of file SpotFleetLaunchSpecification.h.

◆ SetImageId() [1/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetImageId ( Aws::String &&  value)
inline

The ID of the AMI.

Definition at line 313 of file SpotFleetLaunchSpecification.h.

◆ SetImageId() [2/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetImageId ( const Aws::String value)
inline

The ID of the AMI.

Definition at line 308 of file SpotFleetLaunchSpecification.h.

◆ SetImageId() [3/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetImageId ( const char *  value)
inline

The ID of the AMI.

Definition at line 318 of file SpotFleetLaunchSpecification.h.

◆ SetInstanceType() [1/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetInstanceType ( const InstanceType value)
inline

The instance type.

Definition at line 349 of file SpotFleetLaunchSpecification.h.

◆ SetInstanceType() [2/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetInstanceType ( InstanceType &&  value)
inline

The instance type.

Definition at line 354 of file SpotFleetLaunchSpecification.h.

◆ SetKernelId() [1/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetKernelId ( Aws::String &&  value)
inline

The ID of the kernel.

Definition at line 385 of file SpotFleetLaunchSpecification.h.

◆ SetKernelId() [2/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetKernelId ( const Aws::String value)
inline

The ID of the kernel.

Definition at line 380 of file SpotFleetLaunchSpecification.h.

◆ SetKernelId() [3/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetKernelId ( const char *  value)
inline

The ID of the kernel.

Definition at line 390 of file SpotFleetLaunchSpecification.h.

◆ SetKeyName() [1/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetKeyName ( Aws::String &&  value)
inline

The name of the key pair.

Definition at line 426 of file SpotFleetLaunchSpecification.h.

◆ SetKeyName() [2/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetKeyName ( const Aws::String value)
inline

The name of the key pair.

Definition at line 421 of file SpotFleetLaunchSpecification.h.

◆ SetKeyName() [3/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetKeyName ( const char *  value)
inline

The name of the key pair.

Definition at line 431 of file SpotFleetLaunchSpecification.h.

◆ SetMonitoring() [1/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetMonitoring ( const SpotFleetMonitoring value)
inline

Enable or disable monitoring for the instances.

Definition at line 462 of file SpotFleetLaunchSpecification.h.

◆ SetMonitoring() [2/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetMonitoring ( SpotFleetMonitoring &&  value)
inline

Enable or disable monitoring for the instances.

Definition at line 467 of file SpotFleetLaunchSpecification.h.

◆ SetNetworkInterfaces() [1/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetNetworkInterfaces ( Aws::Vector< InstanceNetworkInterfaceSpecification > &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

Definition at line 518 of file SpotFleetLaunchSpecification.h.

◆ SetNetworkInterfaces() [2/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetNetworkInterfaces ( const Aws::Vector< InstanceNetworkInterfaceSpecification > &  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

Definition at line 508 of file SpotFleetLaunchSpecification.h.

◆ SetPlacement() [1/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetPlacement ( const SpotPlacement value)
inline

The placement information.

Definition at line 574 of file SpotFleetLaunchSpecification.h.

◆ SetPlacement() [2/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetPlacement ( SpotPlacement &&  value)
inline

The placement information.

Definition at line 579 of file SpotFleetLaunchSpecification.h.

◆ SetRamdiskId() [1/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetRamdiskId ( Aws::String &&  value)
inline

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.

Definition at line 622 of file SpotFleetLaunchSpecification.h.

◆ SetRamdiskId() [2/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetRamdiskId ( const Aws::String value)
inline

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.

Definition at line 614 of file SpotFleetLaunchSpecification.h.

◆ SetRamdiskId() [3/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetRamdiskId ( const char *  value)
inline

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.

Definition at line 630 of file SpotFleetLaunchSpecification.h.

◆ SetSecurityGroups() [1/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetSecurityGroups ( Aws::Vector< GroupIdentifier > &&  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 82 of file SpotFleetLaunchSpecification.h.

◆ SetSecurityGroups() [2/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetSecurityGroups ( const Aws::Vector< GroupIdentifier > &  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 75 of file SpotFleetLaunchSpecification.h.

◆ SetSpotPrice() [1/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetSpotPrice ( Aws::String &&  value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

Definition at line 687 of file SpotFleetLaunchSpecification.h.

◆ SetSpotPrice() [2/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetSpotPrice ( const Aws::String value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

Definition at line 679 of file SpotFleetLaunchSpecification.h.

◆ SetSpotPrice() [3/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetSpotPrice ( const char *  value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

Definition at line 695 of file SpotFleetLaunchSpecification.h.

◆ SetSubnetId() [1/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetSubnetId ( Aws::String &&  value)
inline

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".

Definition at line 748 of file SpotFleetLaunchSpecification.h.

◆ SetSubnetId() [2/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetSubnetId ( const Aws::String value)
inline

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".

Definition at line 741 of file SpotFleetLaunchSpecification.h.

◆ SetSubnetId() [3/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetSubnetId ( const char *  value)
inline

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".

Definition at line 755 of file SpotFleetLaunchSpecification.h.

◆ SetTagSpecifications() [1/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetTagSpecifications ( Aws::Vector< SpotFleetTagSpecification > &&  value)
inline

The tags to apply during creation.

Definition at line 879 of file SpotFleetLaunchSpecification.h.

◆ SetTagSpecifications() [2/2]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetTagSpecifications ( const Aws::Vector< SpotFleetTagSpecification > &  value)
inline

The tags to apply during creation.

Definition at line 874 of file SpotFleetLaunchSpecification.h.

◆ SetUserData() [1/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetUserData ( Aws::String &&  value)
inline

The Base64-encoded user data that instances use when starting up.

Definition at line 797 of file SpotFleetLaunchSpecification.h.

◆ SetUserData() [2/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetUserData ( const Aws::String value)
inline

The Base64-encoded user data that instances use when starting up.

Definition at line 792 of file SpotFleetLaunchSpecification.h.

◆ SetUserData() [3/3]

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetUserData ( const char *  value)
inline

The Base64-encoded user data that instances use when starting up.

Definition at line 802 of file SpotFleetLaunchSpecification.h.

◆ SetWeightedCapacity()

void Aws::EC2::Model::SpotFleetLaunchSpecification::SetWeightedCapacity ( double  value)
inline

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.

Definition at line 848 of file SpotFleetLaunchSpecification.h.

◆ SpotPriceHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::SpotPriceHasBeenSet ( ) const
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

Definition at line 671 of file SpotFleetLaunchSpecification.h.

◆ SubnetIdHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::SubnetIdHasBeenSet ( ) const
inline

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".

Definition at line 734 of file SpotFleetLaunchSpecification.h.

◆ TagSpecificationsHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::TagSpecificationsHasBeenSet ( ) const
inline

The tags to apply during creation.

Definition at line 869 of file SpotFleetLaunchSpecification.h.

◆ UserDataHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::UserDataHasBeenSet ( ) const
inline

The Base64-encoded user data that instances use when starting up.

Definition at line 787 of file SpotFleetLaunchSpecification.h.

◆ WeightedCapacityHasBeenSet()

bool Aws::EC2::Model::SpotFleetLaunchSpecification::WeightedCapacityHasBeenSet ( ) const
inline

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.

Definition at line 838 of file SpotFleetLaunchSpecification.h.

◆ WithAddressingType() [1/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithAddressingType ( Aws::String &&  value)
inline

Deprecated.

Definition at line 146 of file SpotFleetLaunchSpecification.h.

◆ WithAddressingType() [2/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithAddressingType ( const Aws::String value)
inline

Deprecated.

Definition at line 141 of file SpotFleetLaunchSpecification.h.

◆ WithAddressingType() [3/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithAddressingType ( const char *  value)
inline

Deprecated.

Definition at line 151 of file SpotFleetLaunchSpecification.h.

◆ WithBlockDeviceMappings() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithBlockDeviceMappings ( Aws::Vector< BlockDeviceMapping > &&  value)
inline

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.

Definition at line 206 of file SpotFleetLaunchSpecification.h.

◆ WithBlockDeviceMappings() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithBlockDeviceMappings ( const Aws::Vector< BlockDeviceMapping > &  value)
inline

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.

Definition at line 197 of file SpotFleetLaunchSpecification.h.

◆ WithEbsOptimized()

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithEbsOptimized ( bool  value)
inline

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

Definition at line 261 of file SpotFleetLaunchSpecification.h.

◆ WithIamInstanceProfile() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithIamInstanceProfile ( const IamInstanceProfileSpecification value)
inline

The IAM instance profile.

Definition at line 287 of file SpotFleetLaunchSpecification.h.

◆ WithIamInstanceProfile() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithIamInstanceProfile ( IamInstanceProfileSpecification &&  value)
inline

The IAM instance profile.

Definition at line 292 of file SpotFleetLaunchSpecification.h.

◆ WithImageId() [1/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithImageId ( Aws::String &&  value)
inline

The ID of the AMI.

Definition at line 328 of file SpotFleetLaunchSpecification.h.

◆ WithImageId() [2/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithImageId ( const Aws::String value)
inline

The ID of the AMI.

Definition at line 323 of file SpotFleetLaunchSpecification.h.

◆ WithImageId() [3/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithImageId ( const char *  value)
inline

The ID of the AMI.

Definition at line 333 of file SpotFleetLaunchSpecification.h.

◆ WithInstanceType() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithInstanceType ( const InstanceType value)
inline

The instance type.

Definition at line 359 of file SpotFleetLaunchSpecification.h.

◆ WithInstanceType() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithInstanceType ( InstanceType &&  value)
inline

The instance type.

Definition at line 364 of file SpotFleetLaunchSpecification.h.

◆ WithKernelId() [1/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithKernelId ( Aws::String &&  value)
inline

The ID of the kernel.

Definition at line 400 of file SpotFleetLaunchSpecification.h.

◆ WithKernelId() [2/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithKernelId ( const Aws::String value)
inline

The ID of the kernel.

Definition at line 395 of file SpotFleetLaunchSpecification.h.

◆ WithKernelId() [3/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithKernelId ( const char *  value)
inline

The ID of the kernel.

Definition at line 405 of file SpotFleetLaunchSpecification.h.

◆ WithKeyName() [1/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithKeyName ( Aws::String &&  value)
inline

The name of the key pair.

Definition at line 441 of file SpotFleetLaunchSpecification.h.

◆ WithKeyName() [2/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithKeyName ( const Aws::String value)
inline

The name of the key pair.

Definition at line 436 of file SpotFleetLaunchSpecification.h.

◆ WithKeyName() [3/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithKeyName ( const char *  value)
inline

The name of the key pair.

Definition at line 446 of file SpotFleetLaunchSpecification.h.

◆ WithMonitoring() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithMonitoring ( const SpotFleetMonitoring value)
inline

Enable or disable monitoring for the instances.

Definition at line 472 of file SpotFleetLaunchSpecification.h.

◆ WithMonitoring() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithMonitoring ( SpotFleetMonitoring &&  value)
inline

Enable or disable monitoring for the instances.

Definition at line 477 of file SpotFleetLaunchSpecification.h.

◆ WithNetworkInterfaces() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithNetworkInterfaces ( Aws::Vector< InstanceNetworkInterfaceSpecification > &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

Definition at line 538 of file SpotFleetLaunchSpecification.h.

◆ WithNetworkInterfaces() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithNetworkInterfaces ( const Aws::Vector< InstanceNetworkInterfaceSpecification > &  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

Definition at line 528 of file SpotFleetLaunchSpecification.h.

◆ WithPlacement() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithPlacement ( const SpotPlacement value)
inline

The placement information.

Definition at line 584 of file SpotFleetLaunchSpecification.h.

◆ WithPlacement() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithPlacement ( SpotPlacement &&  value)
inline

The placement information.

Definition at line 589 of file SpotFleetLaunchSpecification.h.

◆ WithRamdiskId() [1/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithRamdiskId ( Aws::String &&  value)
inline

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.

Definition at line 646 of file SpotFleetLaunchSpecification.h.

◆ WithRamdiskId() [2/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithRamdiskId ( const Aws::String value)
inline

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.

Definition at line 638 of file SpotFleetLaunchSpecification.h.

◆ WithRamdiskId() [3/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithRamdiskId ( const char *  value)
inline

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.

Definition at line 654 of file SpotFleetLaunchSpecification.h.

◆ WithSecurityGroups() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithSecurityGroups ( Aws::Vector< GroupIdentifier > &&  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 96 of file SpotFleetLaunchSpecification.h.

◆ WithSecurityGroups() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithSecurityGroups ( const Aws::Vector< GroupIdentifier > &  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 89 of file SpotFleetLaunchSpecification.h.

◆ WithSpotPrice() [1/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithSpotPrice ( Aws::String &&  value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

Definition at line 711 of file SpotFleetLaunchSpecification.h.

◆ WithSpotPrice() [2/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithSpotPrice ( const Aws::String value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

Definition at line 703 of file SpotFleetLaunchSpecification.h.

◆ WithSpotPrice() [3/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithSpotPrice ( const char *  value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

Definition at line 719 of file SpotFleetLaunchSpecification.h.

◆ WithSubnetId() [1/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithSubnetId ( Aws::String &&  value)
inline

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".

Definition at line 769 of file SpotFleetLaunchSpecification.h.

◆ WithSubnetId() [2/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithSubnetId ( const Aws::String value)
inline

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".

Definition at line 762 of file SpotFleetLaunchSpecification.h.

◆ WithSubnetId() [3/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithSubnetId ( const char *  value)
inline

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".

Definition at line 776 of file SpotFleetLaunchSpecification.h.

◆ WithTagSpecifications() [1/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithTagSpecifications ( Aws::Vector< SpotFleetTagSpecification > &&  value)
inline

The tags to apply during creation.

Definition at line 889 of file SpotFleetLaunchSpecification.h.

◆ WithTagSpecifications() [2/2]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithTagSpecifications ( const Aws::Vector< SpotFleetTagSpecification > &  value)
inline

The tags to apply during creation.

Definition at line 884 of file SpotFleetLaunchSpecification.h.

◆ WithUserData() [1/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithUserData ( Aws::String &&  value)
inline

The Base64-encoded user data that instances use when starting up.

Definition at line 812 of file SpotFleetLaunchSpecification.h.

◆ WithUserData() [2/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithUserData ( const Aws::String value)
inline

The Base64-encoded user data that instances use when starting up.

Definition at line 807 of file SpotFleetLaunchSpecification.h.

◆ WithUserData() [3/3]

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithUserData ( const char *  value)
inline

The Base64-encoded user data that instances use when starting up.

Definition at line 817 of file SpotFleetLaunchSpecification.h.

◆ WithWeightedCapacity()

SpotFleetLaunchSpecification& Aws::EC2::Model::SpotFleetLaunchSpecification::WithWeightedCapacity ( double  value)
inline

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.

Definition at line 858 of file SpotFleetLaunchSpecification.h.


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