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

#include <LaunchSpecification.h>

Public Member Functions

 LaunchSpecification ()
 
 LaunchSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchSpecificationoperator= (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::StringGetUserData () const
 
bool UserDataHasBeenSet () const
 
void SetUserData (const Aws::String &value)
 
void SetUserData (Aws::String &&value)
 
void SetUserData (const char *value)
 
LaunchSpecificationWithUserData (const Aws::String &value)
 
LaunchSpecificationWithUserData (Aws::String &&value)
 
LaunchSpecificationWithUserData (const char *value)
 
const Aws::Vector< GroupIdentifier > & GetSecurityGroups () const
 
bool SecurityGroupsHasBeenSet () const
 
void SetSecurityGroups (const Aws::Vector< GroupIdentifier > &value)
 
void SetSecurityGroups (Aws::Vector< GroupIdentifier > &&value)
 
LaunchSpecificationWithSecurityGroups (const Aws::Vector< GroupIdentifier > &value)
 
LaunchSpecificationWithSecurityGroups (Aws::Vector< GroupIdentifier > &&value)
 
LaunchSpecificationAddSecurityGroups (const GroupIdentifier &value)
 
LaunchSpecificationAddSecurityGroups (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)
 
LaunchSpecificationWithAddressingType (const Aws::String &value)
 
LaunchSpecificationWithAddressingType (Aws::String &&value)
 
LaunchSpecificationWithAddressingType (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)
 
LaunchSpecificationWithBlockDeviceMappings (const Aws::Vector< BlockDeviceMapping > &value)
 
LaunchSpecificationWithBlockDeviceMappings (Aws::Vector< BlockDeviceMapping > &&value)
 
LaunchSpecificationAddBlockDeviceMappings (const BlockDeviceMapping &value)
 
LaunchSpecificationAddBlockDeviceMappings (BlockDeviceMapping &&value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
LaunchSpecificationWithEbsOptimized (bool value)
 
const IamInstanceProfileSpecificationGetIamInstanceProfile () const
 
bool IamInstanceProfileHasBeenSet () const
 
void SetIamInstanceProfile (const IamInstanceProfileSpecification &value)
 
void SetIamInstanceProfile (IamInstanceProfileSpecification &&value)
 
LaunchSpecificationWithIamInstanceProfile (const IamInstanceProfileSpecification &value)
 
LaunchSpecificationWithIamInstanceProfile (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)
 
LaunchSpecificationWithImageId (const Aws::String &value)
 
LaunchSpecificationWithImageId (Aws::String &&value)
 
LaunchSpecificationWithImageId (const char *value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
LaunchSpecificationWithInstanceType (const InstanceType &value)
 
LaunchSpecificationWithInstanceType (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)
 
LaunchSpecificationWithKernelId (const Aws::String &value)
 
LaunchSpecificationWithKernelId (Aws::String &&value)
 
LaunchSpecificationWithKernelId (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)
 
LaunchSpecificationWithKeyName (const Aws::String &value)
 
LaunchSpecificationWithKeyName (Aws::String &&value)
 
LaunchSpecificationWithKeyName (const char *value)
 
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces () const
 
bool NetworkInterfacesHasBeenSet () const
 
void SetNetworkInterfaces (const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
 
void SetNetworkInterfaces (Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
 
LaunchSpecificationWithNetworkInterfaces (const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
 
LaunchSpecificationWithNetworkInterfaces (Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
 
LaunchSpecificationAddNetworkInterfaces (const InstanceNetworkInterfaceSpecification &value)
 
LaunchSpecificationAddNetworkInterfaces (InstanceNetworkInterfaceSpecification &&value)
 
const SpotPlacementGetPlacement () const
 
bool PlacementHasBeenSet () const
 
void SetPlacement (const SpotPlacement &value)
 
void SetPlacement (SpotPlacement &&value)
 
LaunchSpecificationWithPlacement (const SpotPlacement &value)
 
LaunchSpecificationWithPlacement (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)
 
LaunchSpecificationWithRamdiskId (const Aws::String &value)
 
LaunchSpecificationWithRamdiskId (Aws::String &&value)
 
LaunchSpecificationWithRamdiskId (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)
 
LaunchSpecificationWithSubnetId (const Aws::String &value)
 
LaunchSpecificationWithSubnetId (Aws::String &&value)
 
LaunchSpecificationWithSubnetId (const char *value)
 
const RunInstancesMonitoringEnabledGetMonitoring () const
 
bool MonitoringHasBeenSet () const
 
void SetMonitoring (const RunInstancesMonitoringEnabled &value)
 
void SetMonitoring (RunInstancesMonitoringEnabled &&value)
 
LaunchSpecificationWithMonitoring (const RunInstancesMonitoringEnabled &value)
 
LaunchSpecificationWithMonitoring (RunInstancesMonitoringEnabled &&value)
 

Detailed Description

Describes the launch specification for an instance.

See Also:

AWS API Reference

Definition at line 40 of file LaunchSpecification.h.

Constructor & Destructor Documentation

◆ LaunchSpecification() [1/2]

Aws::EC2::Model::LaunchSpecification::LaunchSpecification ( )

◆ LaunchSpecification() [2/2]

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

Member Function Documentation

◆ AddBlockDeviceMappings() [1/2]

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

One or more block device mapping entries.

Definition at line 228 of file LaunchSpecification.h.

◆ AddBlockDeviceMappings() [2/2]

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

One or more block device mapping entries.

Definition at line 223 of file LaunchSpecification.h.

◆ AddNetworkInterfaces() [1/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::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.

Definition at line 493 of file LaunchSpecification.h.

◆ AddNetworkInterfaces() [2/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::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.

Definition at line 499 of file LaunchSpecification.h.

◆ AddressingTypeHasBeenSet()

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

Deprecated.

Definition at line 157 of file LaunchSpecification.h.

◆ AddSecurityGroups() [1/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::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 139 of file LaunchSpecification.h.

◆ AddSecurityGroups() [2/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::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 146 of file LaunchSpecification.h.

◆ BlockDeviceMappingsHasBeenSet()

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

One or more block device mapping entries.

Definition at line 198 of file LaunchSpecification.h.

◆ EbsOptimizedHasBeenSet()

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

Indicates whether the instance is 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 247 of file LaunchSpecification.h.

◆ GetAddressingType()

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

Deprecated.

Definition at line 152 of file LaunchSpecification.h.

◆ GetBlockDeviceMappings()

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

One or more block device mapping entries.

Definition at line 193 of file LaunchSpecification.h.

◆ GetEbsOptimized()

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

Indicates whether the instance is 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 238 of file LaunchSpecification.h.

◆ GetIamInstanceProfile()

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

The IAM instance profile.

Definition at line 271 of file LaunchSpecification.h.

◆ GetImageId()

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

The ID of the AMI.

Definition at line 302 of file LaunchSpecification.h.

◆ GetInstanceType()

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

The instance type.

Definition at line 343 of file LaunchSpecification.h.

◆ GetKernelId()

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

The ID of the kernel.

Definition at line 374 of file LaunchSpecification.h.

◆ GetKeyName()

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

The name of the key pair.

Definition at line 415 of file LaunchSpecification.h.

◆ GetMonitoring()

const RunInstancesMonitoringEnabled& Aws::EC2::Model::LaunchSpecification::GetMonitoring ( ) const
inline

Definition at line 616 of file LaunchSpecification.h.

◆ GetNetworkInterfaces()

const Aws::Vector<InstanceNetworkInterfaceSpecification>& Aws::EC2::Model::LaunchSpecification::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.

Definition at line 457 of file LaunchSpecification.h.

◆ GetPlacement()

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

The placement information for the instance.

Definition at line 505 of file LaunchSpecification.h.

◆ GetRamdiskId()

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

The ID of the RAM disk.

Definition at line 536 of file LaunchSpecification.h.

◆ GetSecurityGroups()

const Aws::Vector<GroupIdentifier>& Aws::EC2::Model::LaunchSpecification::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 97 of file LaunchSpecification.h.

◆ GetSubnetId()

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

The ID of the subnet in which to launch the instance.

Definition at line 577 of file LaunchSpecification.h.

◆ GetUserData()

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

The Base64-encoded user data for the instance.

Definition at line 54 of file LaunchSpecification.h.

◆ IamInstanceProfileHasBeenSet()

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

The IAM instance profile.

Definition at line 276 of file LaunchSpecification.h.

◆ ImageIdHasBeenSet()

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

The ID of the AMI.

Definition at line 307 of file LaunchSpecification.h.

◆ InstanceTypeHasBeenSet()

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

The instance type.

Definition at line 348 of file LaunchSpecification.h.

◆ KernelIdHasBeenSet()

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

The ID of the kernel.

Definition at line 379 of file LaunchSpecification.h.

◆ KeyNameHasBeenSet()

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

The name of the key pair.

Definition at line 420 of file LaunchSpecification.h.

◆ MonitoringHasBeenSet()

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

Definition at line 619 of file LaunchSpecification.h.

◆ NetworkInterfacesHasBeenSet()

bool Aws::EC2::Model::LaunchSpecification::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.

Definition at line 463 of file LaunchSpecification.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PlacementHasBeenSet()

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

The placement information for the instance.

Definition at line 510 of file LaunchSpecification.h.

◆ RamdiskIdHasBeenSet()

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

The ID of the RAM disk.

Definition at line 541 of file LaunchSpecification.h.

◆ SecurityGroupsHasBeenSet()

bool Aws::EC2::Model::LaunchSpecification::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 104 of file LaunchSpecification.h.

◆ SetAddressingType() [1/3]

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

Deprecated.

Definition at line 167 of file LaunchSpecification.h.

◆ SetAddressingType() [2/3]

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

Deprecated.

Definition at line 162 of file LaunchSpecification.h.

◆ SetAddressingType() [3/3]

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

Deprecated.

Definition at line 172 of file LaunchSpecification.h.

◆ SetBlockDeviceMappings() [1/2]

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

One or more block device mapping entries.

Definition at line 208 of file LaunchSpecification.h.

◆ SetBlockDeviceMappings() [2/2]

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

One or more block device mapping entries.

Definition at line 203 of file LaunchSpecification.h.

◆ SetEbsOptimized()

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

Indicates whether the instance is 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 256 of file LaunchSpecification.h.

◆ SetIamInstanceProfile() [1/2]

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

The IAM instance profile.

Definition at line 281 of file LaunchSpecification.h.

◆ SetIamInstanceProfile() [2/2]

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

The IAM instance profile.

Definition at line 286 of file LaunchSpecification.h.

◆ SetImageId() [1/3]

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

The ID of the AMI.

Definition at line 317 of file LaunchSpecification.h.

◆ SetImageId() [2/3]

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

The ID of the AMI.

Definition at line 312 of file LaunchSpecification.h.

◆ SetImageId() [3/3]

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

The ID of the AMI.

Definition at line 322 of file LaunchSpecification.h.

◆ SetInstanceType() [1/2]

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

The instance type.

Definition at line 353 of file LaunchSpecification.h.

◆ SetInstanceType() [2/2]

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

The instance type.

Definition at line 358 of file LaunchSpecification.h.

◆ SetKernelId() [1/3]

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

The ID of the kernel.

Definition at line 389 of file LaunchSpecification.h.

◆ SetKernelId() [2/3]

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

The ID of the kernel.

Definition at line 384 of file LaunchSpecification.h.

◆ SetKernelId() [3/3]

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

The ID of the kernel.

Definition at line 394 of file LaunchSpecification.h.

◆ SetKeyName() [1/3]

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

The name of the key pair.

Definition at line 430 of file LaunchSpecification.h.

◆ SetKeyName() [2/3]

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

The name of the key pair.

Definition at line 425 of file LaunchSpecification.h.

◆ SetKeyName() [3/3]

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

The name of the key pair.

Definition at line 435 of file LaunchSpecification.h.

◆ SetMonitoring() [1/2]

void Aws::EC2::Model::LaunchSpecification::SetMonitoring ( const RunInstancesMonitoringEnabled value)
inline

Definition at line 622 of file LaunchSpecification.h.

◆ SetMonitoring() [2/2]

void Aws::EC2::Model::LaunchSpecification::SetMonitoring ( RunInstancesMonitoringEnabled &&  value)
inline

Definition at line 625 of file LaunchSpecification.h.

◆ SetNetworkInterfaces() [1/2]

void Aws::EC2::Model::LaunchSpecification::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.

Definition at line 475 of file LaunchSpecification.h.

◆ SetNetworkInterfaces() [2/2]

void Aws::EC2::Model::LaunchSpecification::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.

Definition at line 469 of file LaunchSpecification.h.

◆ SetPlacement() [1/2]

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

The placement information for the instance.

Definition at line 515 of file LaunchSpecification.h.

◆ SetPlacement() [2/2]

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

The placement information for the instance.

Definition at line 520 of file LaunchSpecification.h.

◆ SetRamdiskId() [1/3]

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

The ID of the RAM disk.

Definition at line 551 of file LaunchSpecification.h.

◆ SetRamdiskId() [2/3]

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

The ID of the RAM disk.

Definition at line 546 of file LaunchSpecification.h.

◆ SetRamdiskId() [3/3]

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

The ID of the RAM disk.

Definition at line 556 of file LaunchSpecification.h.

◆ SetSecurityGroups() [1/2]

void Aws::EC2::Model::LaunchSpecification::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 118 of file LaunchSpecification.h.

◆ SetSecurityGroups() [2/2]

void Aws::EC2::Model::LaunchSpecification::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 111 of file LaunchSpecification.h.

◆ SetSubnetId() [1/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 592 of file LaunchSpecification.h.

◆ SetSubnetId() [2/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 587 of file LaunchSpecification.h.

◆ SetSubnetId() [3/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 597 of file LaunchSpecification.h.

◆ SetUserData() [1/3]

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

The Base64-encoded user data for the instance.

Definition at line 69 of file LaunchSpecification.h.

◆ SetUserData() [2/3]

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

The Base64-encoded user data for the instance.

Definition at line 64 of file LaunchSpecification.h.

◆ SetUserData() [3/3]

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

The Base64-encoded user data for the instance.

Definition at line 74 of file LaunchSpecification.h.

◆ SubnetIdHasBeenSet()

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

The ID of the subnet in which to launch the instance.

Definition at line 582 of file LaunchSpecification.h.

◆ UserDataHasBeenSet()

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

The Base64-encoded user data for the instance.

Definition at line 59 of file LaunchSpecification.h.

◆ WithAddressingType() [1/3]

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

Deprecated.

Definition at line 182 of file LaunchSpecification.h.

◆ WithAddressingType() [2/3]

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

Deprecated.

Definition at line 177 of file LaunchSpecification.h.

◆ WithAddressingType() [3/3]

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

Deprecated.

Definition at line 187 of file LaunchSpecification.h.

◆ WithBlockDeviceMappings() [1/2]

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

One or more block device mapping entries.

Definition at line 218 of file LaunchSpecification.h.

◆ WithBlockDeviceMappings() [2/2]

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

One or more block device mapping entries.

Definition at line 213 of file LaunchSpecification.h.

◆ WithEbsOptimized()

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

Indicates whether the instance is 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 265 of file LaunchSpecification.h.

◆ WithIamInstanceProfile() [1/2]

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

The IAM instance profile.

Definition at line 291 of file LaunchSpecification.h.

◆ WithIamInstanceProfile() [2/2]

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

The IAM instance profile.

Definition at line 296 of file LaunchSpecification.h.

◆ WithImageId() [1/3]

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

The ID of the AMI.

Definition at line 332 of file LaunchSpecification.h.

◆ WithImageId() [2/3]

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

The ID of the AMI.

Definition at line 327 of file LaunchSpecification.h.

◆ WithImageId() [3/3]

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

The ID of the AMI.

Definition at line 337 of file LaunchSpecification.h.

◆ WithInstanceType() [1/2]

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

The instance type.

Definition at line 363 of file LaunchSpecification.h.

◆ WithInstanceType() [2/2]

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

The instance type.

Definition at line 368 of file LaunchSpecification.h.

◆ WithKernelId() [1/3]

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

The ID of the kernel.

Definition at line 404 of file LaunchSpecification.h.

◆ WithKernelId() [2/3]

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

The ID of the kernel.

Definition at line 399 of file LaunchSpecification.h.

◆ WithKernelId() [3/3]

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

The ID of the kernel.

Definition at line 409 of file LaunchSpecification.h.

◆ WithKeyName() [1/3]

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

The name of the key pair.

Definition at line 445 of file LaunchSpecification.h.

◆ WithKeyName() [2/3]

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

The name of the key pair.

Definition at line 440 of file LaunchSpecification.h.

◆ WithKeyName() [3/3]

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

The name of the key pair.

Definition at line 450 of file LaunchSpecification.h.

◆ WithMonitoring() [1/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::WithMonitoring ( const RunInstancesMonitoringEnabled value)
inline

Definition at line 628 of file LaunchSpecification.h.

◆ WithMonitoring() [2/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::WithMonitoring ( RunInstancesMonitoringEnabled &&  value)
inline

Definition at line 631 of file LaunchSpecification.h.

◆ WithNetworkInterfaces() [1/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::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.

Definition at line 487 of file LaunchSpecification.h.

◆ WithNetworkInterfaces() [2/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::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.

Definition at line 481 of file LaunchSpecification.h.

◆ WithPlacement() [1/2]

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

The placement information for the instance.

Definition at line 525 of file LaunchSpecification.h.

◆ WithPlacement() [2/2]

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

The placement information for the instance.

Definition at line 530 of file LaunchSpecification.h.

◆ WithRamdiskId() [1/3]

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

The ID of the RAM disk.

Definition at line 566 of file LaunchSpecification.h.

◆ WithRamdiskId() [2/3]

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

The ID of the RAM disk.

Definition at line 561 of file LaunchSpecification.h.

◆ WithRamdiskId() [3/3]

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

The ID of the RAM disk.

Definition at line 571 of file LaunchSpecification.h.

◆ WithSecurityGroups() [1/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::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 132 of file LaunchSpecification.h.

◆ WithSecurityGroups() [2/2]

LaunchSpecification& Aws::EC2::Model::LaunchSpecification::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 125 of file LaunchSpecification.h.

◆ WithSubnetId() [1/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 607 of file LaunchSpecification.h.

◆ WithSubnetId() [2/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 602 of file LaunchSpecification.h.

◆ WithSubnetId() [3/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 612 of file LaunchSpecification.h.

◆ WithUserData() [1/3]

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

The Base64-encoded user data for the instance.

Definition at line 84 of file LaunchSpecification.h.

◆ WithUserData() [2/3]

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

The Base64-encoded user data for the instance.

Definition at line 79 of file LaunchSpecification.h.

◆ WithUserData() [3/3]

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

The Base64-encoded user data for the instance.

Definition at line 89 of file LaunchSpecification.h.


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