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

#include <RequestLaunchTemplateData.h>

Public Member Functions

 RequestLaunchTemplateData ()
 
 RequestLaunchTemplateData (const Aws::Utils::Xml::XmlNode &xmlNode)
 
RequestLaunchTemplateDataoperator= (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::StringGetKernelId () const
 
bool KernelIdHasBeenSet () const
 
void SetKernelId (const Aws::String &value)
 
void SetKernelId (Aws::String &&value)
 
void SetKernelId (const char *value)
 
RequestLaunchTemplateDataWithKernelId (const Aws::String &value)
 
RequestLaunchTemplateDataWithKernelId (Aws::String &&value)
 
RequestLaunchTemplateDataWithKernelId (const char *value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
RequestLaunchTemplateDataWithEbsOptimized (bool value)
 
const LaunchTemplateIamInstanceProfileSpecificationRequestGetIamInstanceProfile () const
 
bool IamInstanceProfileHasBeenSet () const
 
void SetIamInstanceProfile (const LaunchTemplateIamInstanceProfileSpecificationRequest &value)
 
void SetIamInstanceProfile (LaunchTemplateIamInstanceProfileSpecificationRequest &&value)
 
RequestLaunchTemplateDataWithIamInstanceProfile (const LaunchTemplateIamInstanceProfileSpecificationRequest &value)
 
RequestLaunchTemplateDataWithIamInstanceProfile (LaunchTemplateIamInstanceProfileSpecificationRequest &&value)
 
const Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > & GetBlockDeviceMappings () const
 
bool BlockDeviceMappingsHasBeenSet () const
 
void SetBlockDeviceMappings (const Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > &value)
 
void SetBlockDeviceMappings (Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > &&value)
 
RequestLaunchTemplateDataWithBlockDeviceMappings (const Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > &value)
 
RequestLaunchTemplateDataWithBlockDeviceMappings (Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > &&value)
 
RequestLaunchTemplateDataAddBlockDeviceMappings (const LaunchTemplateBlockDeviceMappingRequest &value)
 
RequestLaunchTemplateDataAddBlockDeviceMappings (LaunchTemplateBlockDeviceMappingRequest &&value)
 
const Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > & GetNetworkInterfaces () const
 
bool NetworkInterfacesHasBeenSet () const
 
void SetNetworkInterfaces (const Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > &value)
 
void SetNetworkInterfaces (Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > &&value)
 
RequestLaunchTemplateDataWithNetworkInterfaces (const Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > &value)
 
RequestLaunchTemplateDataWithNetworkInterfaces (Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > &&value)
 
RequestLaunchTemplateDataAddNetworkInterfaces (const LaunchTemplateInstanceNetworkInterfaceSpecificationRequest &value)
 
RequestLaunchTemplateDataAddNetworkInterfaces (LaunchTemplateInstanceNetworkInterfaceSpecificationRequest &&value)
 
const Aws::StringGetImageId () const
 
bool ImageIdHasBeenSet () const
 
void SetImageId (const Aws::String &value)
 
void SetImageId (Aws::String &&value)
 
void SetImageId (const char *value)
 
RequestLaunchTemplateDataWithImageId (const Aws::String &value)
 
RequestLaunchTemplateDataWithImageId (Aws::String &&value)
 
RequestLaunchTemplateDataWithImageId (const char *value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
RequestLaunchTemplateDataWithInstanceType (const InstanceType &value)
 
RequestLaunchTemplateDataWithInstanceType (InstanceType &&value)
 
const Aws::StringGetKeyName () const
 
bool KeyNameHasBeenSet () const
 
void SetKeyName (const Aws::String &value)
 
void SetKeyName (Aws::String &&value)
 
void SetKeyName (const char *value)
 
RequestLaunchTemplateDataWithKeyName (const Aws::String &value)
 
RequestLaunchTemplateDataWithKeyName (Aws::String &&value)
 
RequestLaunchTemplateDataWithKeyName (const char *value)
 
const LaunchTemplatesMonitoringRequestGetMonitoring () const
 
bool MonitoringHasBeenSet () const
 
void SetMonitoring (const LaunchTemplatesMonitoringRequest &value)
 
void SetMonitoring (LaunchTemplatesMonitoringRequest &&value)
 
RequestLaunchTemplateDataWithMonitoring (const LaunchTemplatesMonitoringRequest &value)
 
RequestLaunchTemplateDataWithMonitoring (LaunchTemplatesMonitoringRequest &&value)
 
const LaunchTemplatePlacementRequestGetPlacement () const
 
bool PlacementHasBeenSet () const
 
void SetPlacement (const LaunchTemplatePlacementRequest &value)
 
void SetPlacement (LaunchTemplatePlacementRequest &&value)
 
RequestLaunchTemplateDataWithPlacement (const LaunchTemplatePlacementRequest &value)
 
RequestLaunchTemplateDataWithPlacement (LaunchTemplatePlacementRequest &&value)
 
const Aws::StringGetRamDiskId () const
 
bool RamDiskIdHasBeenSet () const
 
void SetRamDiskId (const Aws::String &value)
 
void SetRamDiskId (Aws::String &&value)
 
void SetRamDiskId (const char *value)
 
RequestLaunchTemplateDataWithRamDiskId (const Aws::String &value)
 
RequestLaunchTemplateDataWithRamDiskId (Aws::String &&value)
 
RequestLaunchTemplateDataWithRamDiskId (const char *value)
 
bool GetDisableApiTermination () const
 
bool DisableApiTerminationHasBeenSet () const
 
void SetDisableApiTermination (bool value)
 
RequestLaunchTemplateDataWithDisableApiTermination (bool value)
 
const ShutdownBehaviorGetInstanceInitiatedShutdownBehavior () const
 
bool InstanceInitiatedShutdownBehaviorHasBeenSet () const
 
void SetInstanceInitiatedShutdownBehavior (const ShutdownBehavior &value)
 
void SetInstanceInitiatedShutdownBehavior (ShutdownBehavior &&value)
 
RequestLaunchTemplateDataWithInstanceInitiatedShutdownBehavior (const ShutdownBehavior &value)
 
RequestLaunchTemplateDataWithInstanceInitiatedShutdownBehavior (ShutdownBehavior &&value)
 
const Aws::StringGetUserData () const
 
bool UserDataHasBeenSet () const
 
void SetUserData (const Aws::String &value)
 
void SetUserData (Aws::String &&value)
 
void SetUserData (const char *value)
 
RequestLaunchTemplateDataWithUserData (const Aws::String &value)
 
RequestLaunchTemplateDataWithUserData (Aws::String &&value)
 
RequestLaunchTemplateDataWithUserData (const char *value)
 
const Aws::Vector< LaunchTemplateTagSpecificationRequest > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< LaunchTemplateTagSpecificationRequest > &value)
 
void SetTagSpecifications (Aws::Vector< LaunchTemplateTagSpecificationRequest > &&value)
 
RequestLaunchTemplateDataWithTagSpecifications (const Aws::Vector< LaunchTemplateTagSpecificationRequest > &value)
 
RequestLaunchTemplateDataWithTagSpecifications (Aws::Vector< LaunchTemplateTagSpecificationRequest > &&value)
 
RequestLaunchTemplateDataAddTagSpecifications (const LaunchTemplateTagSpecificationRequest &value)
 
RequestLaunchTemplateDataAddTagSpecifications (LaunchTemplateTagSpecificationRequest &&value)
 
const Aws::Vector< ElasticGpuSpecification > & GetElasticGpuSpecifications () const
 
bool ElasticGpuSpecificationsHasBeenSet () const
 
void SetElasticGpuSpecifications (const Aws::Vector< ElasticGpuSpecification > &value)
 
void SetElasticGpuSpecifications (Aws::Vector< ElasticGpuSpecification > &&value)
 
RequestLaunchTemplateDataWithElasticGpuSpecifications (const Aws::Vector< ElasticGpuSpecification > &value)
 
RequestLaunchTemplateDataWithElasticGpuSpecifications (Aws::Vector< ElasticGpuSpecification > &&value)
 
RequestLaunchTemplateDataAddElasticGpuSpecifications (const ElasticGpuSpecification &value)
 
RequestLaunchTemplateDataAddElasticGpuSpecifications (ElasticGpuSpecification &&value)
 
const Aws::Vector< LaunchTemplateElasticInferenceAccelerator > & GetElasticInferenceAccelerators () const
 
bool ElasticInferenceAcceleratorsHasBeenSet () const
 
void SetElasticInferenceAccelerators (const Aws::Vector< LaunchTemplateElasticInferenceAccelerator > &value)
 
void SetElasticInferenceAccelerators (Aws::Vector< LaunchTemplateElasticInferenceAccelerator > &&value)
 
RequestLaunchTemplateDataWithElasticInferenceAccelerators (const Aws::Vector< LaunchTemplateElasticInferenceAccelerator > &value)
 
RequestLaunchTemplateDataWithElasticInferenceAccelerators (Aws::Vector< LaunchTemplateElasticInferenceAccelerator > &&value)
 
RequestLaunchTemplateDataAddElasticInferenceAccelerators (const LaunchTemplateElasticInferenceAccelerator &value)
 
RequestLaunchTemplateDataAddElasticInferenceAccelerators (LaunchTemplateElasticInferenceAccelerator &&value)
 
const Aws::Vector< Aws::String > & GetSecurityGroupIds () const
 
bool SecurityGroupIdsHasBeenSet () const
 
void SetSecurityGroupIds (const Aws::Vector< Aws::String > &value)
 
void SetSecurityGroupIds (Aws::Vector< Aws::String > &&value)
 
RequestLaunchTemplateDataWithSecurityGroupIds (const Aws::Vector< Aws::String > &value)
 
RequestLaunchTemplateDataWithSecurityGroupIds (Aws::Vector< Aws::String > &&value)
 
RequestLaunchTemplateDataAddSecurityGroupIds (const Aws::String &value)
 
RequestLaunchTemplateDataAddSecurityGroupIds (Aws::String &&value)
 
RequestLaunchTemplateDataAddSecurityGroupIds (const char *value)
 
const Aws::Vector< Aws::String > & GetSecurityGroups () const
 
bool SecurityGroupsHasBeenSet () const
 
void SetSecurityGroups (const Aws::Vector< Aws::String > &value)
 
void SetSecurityGroups (Aws::Vector< Aws::String > &&value)
 
RequestLaunchTemplateDataWithSecurityGroups (const Aws::Vector< Aws::String > &value)
 
RequestLaunchTemplateDataWithSecurityGroups (Aws::Vector< Aws::String > &&value)
 
RequestLaunchTemplateDataAddSecurityGroups (const Aws::String &value)
 
RequestLaunchTemplateDataAddSecurityGroups (Aws::String &&value)
 
RequestLaunchTemplateDataAddSecurityGroups (const char *value)
 
const LaunchTemplateInstanceMarketOptionsRequestGetInstanceMarketOptions () const
 
bool InstanceMarketOptionsHasBeenSet () const
 
void SetInstanceMarketOptions (const LaunchTemplateInstanceMarketOptionsRequest &value)
 
void SetInstanceMarketOptions (LaunchTemplateInstanceMarketOptionsRequest &&value)
 
RequestLaunchTemplateDataWithInstanceMarketOptions (const LaunchTemplateInstanceMarketOptionsRequest &value)
 
RequestLaunchTemplateDataWithInstanceMarketOptions (LaunchTemplateInstanceMarketOptionsRequest &&value)
 
const CreditSpecificationRequestGetCreditSpecification () const
 
bool CreditSpecificationHasBeenSet () const
 
void SetCreditSpecification (const CreditSpecificationRequest &value)
 
void SetCreditSpecification (CreditSpecificationRequest &&value)
 
RequestLaunchTemplateDataWithCreditSpecification (const CreditSpecificationRequest &value)
 
RequestLaunchTemplateDataWithCreditSpecification (CreditSpecificationRequest &&value)
 
const LaunchTemplateCpuOptionsRequestGetCpuOptions () const
 
bool CpuOptionsHasBeenSet () const
 
void SetCpuOptions (const LaunchTemplateCpuOptionsRequest &value)
 
void SetCpuOptions (LaunchTemplateCpuOptionsRequest &&value)
 
RequestLaunchTemplateDataWithCpuOptions (const LaunchTemplateCpuOptionsRequest &value)
 
RequestLaunchTemplateDataWithCpuOptions (LaunchTemplateCpuOptionsRequest &&value)
 
const LaunchTemplateCapacityReservationSpecificationRequestGetCapacityReservationSpecification () const
 
bool CapacityReservationSpecificationHasBeenSet () const
 
void SetCapacityReservationSpecification (const LaunchTemplateCapacityReservationSpecificationRequest &value)
 
void SetCapacityReservationSpecification (LaunchTemplateCapacityReservationSpecificationRequest &&value)
 
RequestLaunchTemplateDataWithCapacityReservationSpecification (const LaunchTemplateCapacityReservationSpecificationRequest &value)
 
RequestLaunchTemplateDataWithCapacityReservationSpecification (LaunchTemplateCapacityReservationSpecificationRequest &&value)
 
const Aws::Vector< LaunchTemplateLicenseConfigurationRequest > & GetLicenseSpecifications () const
 
bool LicenseSpecificationsHasBeenSet () const
 
void SetLicenseSpecifications (const Aws::Vector< LaunchTemplateLicenseConfigurationRequest > &value)
 
void SetLicenseSpecifications (Aws::Vector< LaunchTemplateLicenseConfigurationRequest > &&value)
 
RequestLaunchTemplateDataWithLicenseSpecifications (const Aws::Vector< LaunchTemplateLicenseConfigurationRequest > &value)
 
RequestLaunchTemplateDataWithLicenseSpecifications (Aws::Vector< LaunchTemplateLicenseConfigurationRequest > &&value)
 
RequestLaunchTemplateDataAddLicenseSpecifications (const LaunchTemplateLicenseConfigurationRequest &value)
 
RequestLaunchTemplateDataAddLicenseSpecifications (LaunchTemplateLicenseConfigurationRequest &&value)
 
const LaunchTemplateHibernationOptionsRequestGetHibernationOptions () const
 
bool HibernationOptionsHasBeenSet () const
 
void SetHibernationOptions (const LaunchTemplateHibernationOptionsRequest &value)
 
void SetHibernationOptions (LaunchTemplateHibernationOptionsRequest &&value)
 
RequestLaunchTemplateDataWithHibernationOptions (const LaunchTemplateHibernationOptionsRequest &value)
 
RequestLaunchTemplateDataWithHibernationOptions (LaunchTemplateHibernationOptionsRequest &&value)
 
const LaunchTemplateInstanceMetadataOptionsRequestGetMetadataOptions () const
 
bool MetadataOptionsHasBeenSet () const
 
void SetMetadataOptions (const LaunchTemplateInstanceMetadataOptionsRequest &value)
 
void SetMetadataOptions (LaunchTemplateInstanceMetadataOptionsRequest &&value)
 
RequestLaunchTemplateDataWithMetadataOptions (const LaunchTemplateInstanceMetadataOptionsRequest &value)
 
RequestLaunchTemplateDataWithMetadataOptions (LaunchTemplateInstanceMetadataOptionsRequest &&value)
 
const LaunchTemplateEnclaveOptionsRequestGetEnclaveOptions () const
 
bool EnclaveOptionsHasBeenSet () const
 
void SetEnclaveOptions (const LaunchTemplateEnclaveOptionsRequest &value)
 
void SetEnclaveOptions (LaunchTemplateEnclaveOptionsRequest &&value)
 
RequestLaunchTemplateDataWithEnclaveOptions (const LaunchTemplateEnclaveOptionsRequest &value)
 
RequestLaunchTemplateDataWithEnclaveOptions (LaunchTemplateEnclaveOptionsRequest &&value)
 

Detailed Description

The information to include in the launch template.

See Also:


AWS API Reference

Definition at line 51 of file RequestLaunchTemplateData.h.

Constructor & Destructor Documentation

◆ RequestLaunchTemplateData() [1/2]

Aws::EC2::Model::RequestLaunchTemplateData::RequestLaunchTemplateData ( )

◆ RequestLaunchTemplateData() [2/2]

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

Member Function Documentation

◆ AddBlockDeviceMappings() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddBlockDeviceMappings ( const LaunchTemplateBlockDeviceMappingRequest value)
inline

The block device mapping.

Definition at line 236 of file RequestLaunchTemplateData.h.

◆ AddBlockDeviceMappings() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddBlockDeviceMappings ( LaunchTemplateBlockDeviceMappingRequest &&  value)
inline

The block device mapping.

Definition at line 241 of file RequestLaunchTemplateData.h.

◆ AddElasticGpuSpecifications() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddElasticGpuSpecifications ( const ElasticGpuSpecification value)
inline

An elastic GPU to associate with the instance.

Definition at line 916 of file RequestLaunchTemplateData.h.

◆ AddElasticGpuSpecifications() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddElasticGpuSpecifications ( ElasticGpuSpecification &&  value)
inline

An elastic GPU to associate with the instance.

Definition at line 921 of file RequestLaunchTemplateData.h.

◆ AddElasticInferenceAccelerators() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddElasticInferenceAccelerators ( const LaunchTemplateElasticInferenceAccelerator value)
inline

The elastic inference accelerator for the instance.

Definition at line 957 of file RequestLaunchTemplateData.h.

◆ AddElasticInferenceAccelerators() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddElasticInferenceAccelerators ( LaunchTemplateElasticInferenceAccelerator &&  value)
inline

The elastic inference accelerator for the instance.

Definition at line 962 of file RequestLaunchTemplateData.h.

◆ AddLicenseSpecifications() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddLicenseSpecifications ( const LaunchTemplateLicenseConfigurationRequest value)
inline

The license configurations.

Definition at line 1295 of file RequestLaunchTemplateData.h.

◆ AddLicenseSpecifications() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddLicenseSpecifications ( LaunchTemplateLicenseConfigurationRequest &&  value)
inline

The license configurations.

Definition at line 1300 of file RequestLaunchTemplateData.h.

◆ AddNetworkInterfaces() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddNetworkInterfaces ( const LaunchTemplateInstanceNetworkInterfaceSpecificationRequest value)
inline

One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface.

Definition at line 284 of file RequestLaunchTemplateData.h.

◆ AddNetworkInterfaces() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddNetworkInterfaces ( LaunchTemplateInstanceNetworkInterfaceSpecificationRequest &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface.

Definition at line 290 of file RequestLaunchTemplateData.h.

◆ AddSecurityGroupIds() [1/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddSecurityGroupIds ( Aws::String &&  value)
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 1027 of file RequestLaunchTemplateData.h.

◆ AddSecurityGroupIds() [2/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddSecurityGroupIds ( const Aws::String value)
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 1019 of file RequestLaunchTemplateData.h.

◆ AddSecurityGroupIds() [3/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddSecurityGroupIds ( const char *  value)
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 1035 of file RequestLaunchTemplateData.h.

◆ AddSecurityGroups() [1/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddSecurityGroups ( Aws::String &&  value)
inline

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1092 of file RequestLaunchTemplateData.h.

◆ AddSecurityGroups() [2/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddSecurityGroups ( const Aws::String value)
inline

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1085 of file RequestLaunchTemplateData.h.

◆ AddSecurityGroups() [3/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddSecurityGroups ( const char *  value)
inline

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1099 of file RequestLaunchTemplateData.h.

◆ AddTagSpecifications() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddTagSpecifications ( const LaunchTemplateTagSpecificationRequest value)
inline

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

Definition at line 871 of file RequestLaunchTemplateData.h.

◆ AddTagSpecifications() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::AddTagSpecifications ( LaunchTemplateTagSpecificationRequest &&  value)
inline

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

Definition at line 880 of file RequestLaunchTemplateData.h.

◆ BlockDeviceMappingsHasBeenSet()

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

The block device mapping.

Definition at line 211 of file RequestLaunchTemplateData.h.

◆ CapacityReservationSpecificationHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::CapacityReservationSpecificationHasBeenSet ( ) const
inline

The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

Definition at line 1227 of file RequestLaunchTemplateData.h.

◆ CpuOptionsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::CpuOptionsHasBeenSet ( ) const
inline

The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1182 of file RequestLaunchTemplateData.h.

◆ CreditSpecificationHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::CreditSpecificationHasBeenSet ( ) const
inline

The credit option for CPU usage of the instance. Valid for T2, T3, or T3a instances only.

Definition at line 1143 of file RequestLaunchTemplateData.h.

◆ DisableApiTerminationHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::DisableApiTerminationHasBeenSet ( ) const
inline

If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after launch, use ModifyInstanceAttribute. Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, you can terminate the instance by running the shutdown command from the instance.

Definition at line 621 of file RequestLaunchTemplateData.h.

◆ EbsOptimizedHasBeenSet()

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

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

Definition at line 151 of file RequestLaunchTemplateData.h.

◆ ElasticGpuSpecificationsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::ElasticGpuSpecificationsHasBeenSet ( ) const
inline

An elastic GPU to associate with the instance.

Definition at line 891 of file RequestLaunchTemplateData.h.

◆ ElasticInferenceAcceleratorsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::ElasticInferenceAcceleratorsHasBeenSet ( ) const
inline

The elastic inference accelerator for the instance.

Definition at line 932 of file RequestLaunchTemplateData.h.

◆ EnclaveOptionsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::EnclaveOptionsHasBeenSet ( ) const
inline

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? in the Amazon Web Services Nitro Enclaves User Guide.

You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.

Definition at line 1431 of file RequestLaunchTemplateData.h.

◆ GetBlockDeviceMappings()

const Aws::Vector<LaunchTemplateBlockDeviceMappingRequest>& Aws::EC2::Model::RequestLaunchTemplateData::GetBlockDeviceMappings ( ) const
inline

The block device mapping.

Definition at line 206 of file RequestLaunchTemplateData.h.

◆ GetCapacityReservationSpecification()

const LaunchTemplateCapacityReservationSpecificationRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetCapacityReservationSpecification ( ) const
inline

The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

Definition at line 1219 of file RequestLaunchTemplateData.h.

◆ GetCpuOptions()

const LaunchTemplateCpuOptionsRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetCpuOptions ( ) const
inline

The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1175 of file RequestLaunchTemplateData.h.

◆ GetCreditSpecification()

const CreditSpecificationRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetCreditSpecification ( ) const
inline

The credit option for CPU usage of the instance. Valid for T2, T3, or T3a instances only.

Definition at line 1137 of file RequestLaunchTemplateData.h.

◆ GetDisableApiTermination()

bool Aws::EC2::Model::RequestLaunchTemplateData::GetDisableApiTermination ( ) const
inline

If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after launch, use ModifyInstanceAttribute. Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, you can terminate the instance by running the shutdown command from the instance.

Definition at line 610 of file RequestLaunchTemplateData.h.

◆ GetEbsOptimized()

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

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

Definition at line 142 of file RequestLaunchTemplateData.h.

◆ GetElasticGpuSpecifications()

const Aws::Vector<ElasticGpuSpecification>& Aws::EC2::Model::RequestLaunchTemplateData::GetElasticGpuSpecifications ( ) const
inline

An elastic GPU to associate with the instance.

Definition at line 886 of file RequestLaunchTemplateData.h.

◆ GetElasticInferenceAccelerators()

const Aws::Vector<LaunchTemplateElasticInferenceAccelerator>& Aws::EC2::Model::RequestLaunchTemplateData::GetElasticInferenceAccelerators ( ) const
inline

The elastic inference accelerator for the instance.

Definition at line 927 of file RequestLaunchTemplateData.h.

◆ GetEnclaveOptions()

const LaunchTemplateEnclaveOptionsRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetEnclaveOptions ( ) const
inline

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? in the Amazon Web Services Nitro Enclaves User Guide.

You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.

Definition at line 1421 of file RequestLaunchTemplateData.h.

◆ GetHibernationOptions()

const LaunchTemplateHibernationOptionsRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetHibernationOptions ( ) const
inline

Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1311 of file RequestLaunchTemplateData.h.

◆ GetIamInstanceProfile()

const LaunchTemplateIamInstanceProfileSpecificationRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetIamInstanceProfile ( ) const
inline

The name or Amazon Resource Name (ARN) of an IAM instance profile.

Definition at line 175 of file RequestLaunchTemplateData.h.

◆ GetImageId()

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

The ID of the AMI.

Definition at line 296 of file RequestLaunchTemplateData.h.

◆ GetInstanceInitiatedShutdownBehavior()

const ShutdownBehavior& Aws::EC2::Model::RequestLaunchTemplateData::GetInstanceInitiatedShutdownBehavior ( ) const
inline

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Default: stop

Definition at line 651 of file RequestLaunchTemplateData.h.

◆ GetInstanceMarketOptions()

const LaunchTemplateInstanceMarketOptionsRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetInstanceMarketOptions ( ) const
inline

The market (purchasing) option for the instances.

Definition at line 1105 of file RequestLaunchTemplateData.h.

◆ GetInstanceType()

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

The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 339 of file RequestLaunchTemplateData.h.

◆ GetKernelId()

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

The ID of the kernel.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 69 of file RequestLaunchTemplateData.h.

◆ GetKeyName()

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

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.

Definition at line 386 of file RequestLaunchTemplateData.h.

◆ GetLicenseSpecifications()

const Aws::Vector<LaunchTemplateLicenseConfigurationRequest>& Aws::EC2::Model::RequestLaunchTemplateData::GetLicenseSpecifications ( ) const
inline

The license configurations.

Definition at line 1265 of file RequestLaunchTemplateData.h.

◆ GetMetadataOptions()

const LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetMetadataOptions ( ) const
inline

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1370 of file RequestLaunchTemplateData.h.

◆ GetMonitoring()

const LaunchTemplatesMonitoringRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetMonitoring ( ) const
inline

The monitoring for the instance.

Definition at line 469 of file RequestLaunchTemplateData.h.

◆ GetNetworkInterfaces()

const Aws::Vector<LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>& Aws::EC2::Model::RequestLaunchTemplateData::GetNetworkInterfaces ( ) const
inline

One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface.

Definition at line 248 of file RequestLaunchTemplateData.h.

◆ GetPlacement()

const LaunchTemplatePlacementRequest& Aws::EC2::Model::RequestLaunchTemplateData::GetPlacement ( ) const
inline

The placement for the instance.

Definition at line 500 of file RequestLaunchTemplateData.h.

◆ GetRamDiskId()

const Aws::String& Aws::EC2::Model::RequestLaunchTemplateData::GetRamDiskId ( ) const
inline

The ID of the RAM disk.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 535 of file RequestLaunchTemplateData.h.

◆ GetSecurityGroupIds()

const Aws::Vector<Aws::String>& Aws::EC2::Model::RequestLaunchTemplateData::GetSecurityGroupIds ( ) const
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 971 of file RequestLaunchTemplateData.h.

◆ GetSecurityGroups()

const Aws::Vector<Aws::String>& Aws::EC2::Model::RequestLaunchTemplateData::GetSecurityGroups ( ) const
inline

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1043 of file RequestLaunchTemplateData.h.

◆ GetTagSpecifications()

const Aws::Vector<LaunchTemplateTagSpecificationRequest>& Aws::EC2::Model::RequestLaunchTemplateData::GetTagSpecifications ( ) const
inline

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

Definition at line 817 of file RequestLaunchTemplateData.h.

◆ GetUserData()

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

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance at Launch (Linux) or Adding User Data (Windows).

If you are creating the launch template for use with Batch, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

Definition at line 702 of file RequestLaunchTemplateData.h.

◆ HibernationOptionsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::HibernationOptionsHasBeenSet ( ) const
inline

Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1321 of file RequestLaunchTemplateData.h.

◆ IamInstanceProfileHasBeenSet()

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

The name or Amazon Resource Name (ARN) of an IAM instance profile.

Definition at line 180 of file RequestLaunchTemplateData.h.

◆ ImageIdHasBeenSet()

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

The ID of the AMI.

Definition at line 301 of file RequestLaunchTemplateData.h.

◆ InstanceInitiatedShutdownBehaviorHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::InstanceInitiatedShutdownBehaviorHasBeenSet ( ) const
inline

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Default: stop

Definition at line 658 of file RequestLaunchTemplateData.h.

◆ InstanceMarketOptionsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::InstanceMarketOptionsHasBeenSet ( ) const
inline

The market (purchasing) option for the instances.

Definition at line 1110 of file RequestLaunchTemplateData.h.

◆ InstanceTypeHasBeenSet()

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

The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 346 of file RequestLaunchTemplateData.h.

◆ KernelIdHasBeenSet()

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

The ID of the kernel.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 78 of file RequestLaunchTemplateData.h.

◆ KeyNameHasBeenSet()

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

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.

Definition at line 397 of file RequestLaunchTemplateData.h.

◆ LicenseSpecificationsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::LicenseSpecificationsHasBeenSet ( ) const
inline

The license configurations.

Definition at line 1270 of file RequestLaunchTemplateData.h.

◆ MetadataOptionsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::MetadataOptionsHasBeenSet ( ) const
inline

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1378 of file RequestLaunchTemplateData.h.

◆ MonitoringHasBeenSet()

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

The monitoring for the instance.

Definition at line 474 of file RequestLaunchTemplateData.h.

◆ NetworkInterfacesHasBeenSet()

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

One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface.

Definition at line 254 of file RequestLaunchTemplateData.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PlacementHasBeenSet()

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

The placement for the instance.

Definition at line 505 of file RequestLaunchTemplateData.h.

◆ RamDiskIdHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::RamDiskIdHasBeenSet ( ) const
inline

The ID of the RAM disk.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 544 of file RequestLaunchTemplateData.h.

◆ SecurityGroupIdsHasBeenSet()

bool Aws::EC2::Model::RequestLaunchTemplateData::SecurityGroupIdsHasBeenSet ( ) const
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 979 of file RequestLaunchTemplateData.h.

◆ SecurityGroupsHasBeenSet()

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

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1050 of file RequestLaunchTemplateData.h.

◆ SetBlockDeviceMappings() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetBlockDeviceMappings ( Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > &&  value)
inline

The block device mapping.

Definition at line 221 of file RequestLaunchTemplateData.h.

◆ SetBlockDeviceMappings() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetBlockDeviceMappings ( const Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > &  value)
inline

The block device mapping.

Definition at line 216 of file RequestLaunchTemplateData.h.

◆ SetCapacityReservationSpecification() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetCapacityReservationSpecification ( const LaunchTemplateCapacityReservationSpecificationRequest value)
inline

The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

Definition at line 1235 of file RequestLaunchTemplateData.h.

◆ SetCapacityReservationSpecification() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetCapacityReservationSpecification ( LaunchTemplateCapacityReservationSpecificationRequest &&  value)
inline

The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

Definition at line 1243 of file RequestLaunchTemplateData.h.

◆ SetCpuOptions() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetCpuOptions ( const LaunchTemplateCpuOptionsRequest value)
inline

The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1189 of file RequestLaunchTemplateData.h.

◆ SetCpuOptions() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetCpuOptions ( LaunchTemplateCpuOptionsRequest &&  value)
inline

The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1196 of file RequestLaunchTemplateData.h.

◆ SetCreditSpecification() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetCreditSpecification ( const CreditSpecificationRequest value)
inline

The credit option for CPU usage of the instance. Valid for T2, T3, or T3a instances only.

Definition at line 1149 of file RequestLaunchTemplateData.h.

◆ SetCreditSpecification() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetCreditSpecification ( CreditSpecificationRequest &&  value)
inline

The credit option for CPU usage of the instance. Valid for T2, T3, or T3a instances only.

Definition at line 1155 of file RequestLaunchTemplateData.h.

◆ SetDisableApiTermination()

void Aws::EC2::Model::RequestLaunchTemplateData::SetDisableApiTermination ( bool  value)
inline

If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after launch, use ModifyInstanceAttribute. Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, you can terminate the instance by running the shutdown command from the instance.

Definition at line 632 of file RequestLaunchTemplateData.h.

◆ SetEbsOptimized()

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

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

Definition at line 160 of file RequestLaunchTemplateData.h.

◆ SetElasticGpuSpecifications() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetElasticGpuSpecifications ( Aws::Vector< ElasticGpuSpecification > &&  value)
inline

An elastic GPU to associate with the instance.

Definition at line 901 of file RequestLaunchTemplateData.h.

◆ SetElasticGpuSpecifications() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetElasticGpuSpecifications ( const Aws::Vector< ElasticGpuSpecification > &  value)
inline

An elastic GPU to associate with the instance.

Definition at line 896 of file RequestLaunchTemplateData.h.

◆ SetElasticInferenceAccelerators() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetElasticInferenceAccelerators ( Aws::Vector< LaunchTemplateElasticInferenceAccelerator > &&  value)
inline

The elastic inference accelerator for the instance.

Definition at line 942 of file RequestLaunchTemplateData.h.

◆ SetElasticInferenceAccelerators() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetElasticInferenceAccelerators ( const Aws::Vector< LaunchTemplateElasticInferenceAccelerator > &  value)
inline

The elastic inference accelerator for the instance.

Definition at line 937 of file RequestLaunchTemplateData.h.

◆ SetEnclaveOptions() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetEnclaveOptions ( const LaunchTemplateEnclaveOptionsRequest value)
inline

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? in the Amazon Web Services Nitro Enclaves User Guide.

You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.

Definition at line 1441 of file RequestLaunchTemplateData.h.

◆ SetEnclaveOptions() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetEnclaveOptions ( LaunchTemplateEnclaveOptionsRequest &&  value)
inline

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? in the Amazon Web Services Nitro Enclaves User Guide.

You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.

Definition at line 1451 of file RequestLaunchTemplateData.h.

◆ SetHibernationOptions() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetHibernationOptions ( const LaunchTemplateHibernationOptionsRequest value)
inline

Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1331 of file RequestLaunchTemplateData.h.

◆ SetHibernationOptions() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetHibernationOptions ( LaunchTemplateHibernationOptionsRequest &&  value)
inline

Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1341 of file RequestLaunchTemplateData.h.

◆ SetIamInstanceProfile() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetIamInstanceProfile ( const LaunchTemplateIamInstanceProfileSpecificationRequest value)
inline

The name or Amazon Resource Name (ARN) of an IAM instance profile.

Definition at line 185 of file RequestLaunchTemplateData.h.

◆ SetIamInstanceProfile() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetIamInstanceProfile ( LaunchTemplateIamInstanceProfileSpecificationRequest &&  value)
inline

The name or Amazon Resource Name (ARN) of an IAM instance profile.

Definition at line 190 of file RequestLaunchTemplateData.h.

◆ SetImageId() [1/3]

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

The ID of the AMI.

Definition at line 311 of file RequestLaunchTemplateData.h.

◆ SetImageId() [2/3]

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

The ID of the AMI.

Definition at line 306 of file RequestLaunchTemplateData.h.

◆ SetImageId() [3/3]

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

The ID of the AMI.

Definition at line 316 of file RequestLaunchTemplateData.h.

◆ SetInstanceInitiatedShutdownBehavior() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetInstanceInitiatedShutdownBehavior ( const ShutdownBehavior value)
inline

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Default: stop

Definition at line 665 of file RequestLaunchTemplateData.h.

◆ SetInstanceInitiatedShutdownBehavior() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetInstanceInitiatedShutdownBehavior ( ShutdownBehavior &&  value)
inline

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Default: stop

Definition at line 672 of file RequestLaunchTemplateData.h.

◆ SetInstanceMarketOptions() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetInstanceMarketOptions ( const LaunchTemplateInstanceMarketOptionsRequest value)
inline

The market (purchasing) option for the instances.

Definition at line 1115 of file RequestLaunchTemplateData.h.

◆ SetInstanceMarketOptions() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetInstanceMarketOptions ( LaunchTemplateInstanceMarketOptionsRequest &&  value)
inline

The market (purchasing) option for the instances.

Definition at line 1120 of file RequestLaunchTemplateData.h.

◆ SetInstanceType() [1/2]

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

The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 353 of file RequestLaunchTemplateData.h.

◆ SetInstanceType() [2/2]

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

The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 360 of file RequestLaunchTemplateData.h.

◆ SetKernelId() [1/3]

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

The ID of the kernel.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 96 of file RequestLaunchTemplateData.h.

◆ SetKernelId() [2/3]

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

The ID of the kernel.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 87 of file RequestLaunchTemplateData.h.

◆ SetKernelId() [3/3]

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

The ID of the kernel.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 105 of file RequestLaunchTemplateData.h.

◆ SetKeyName() [1/3]

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

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.

Definition at line 419 of file RequestLaunchTemplateData.h.

◆ SetKeyName() [2/3]

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

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.

Definition at line 408 of file RequestLaunchTemplateData.h.

◆ SetKeyName() [3/3]

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

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.

Definition at line 430 of file RequestLaunchTemplateData.h.

◆ SetLicenseSpecifications() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetLicenseSpecifications ( Aws::Vector< LaunchTemplateLicenseConfigurationRequest > &&  value)
inline

The license configurations.

Definition at line 1280 of file RequestLaunchTemplateData.h.

◆ SetLicenseSpecifications() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetLicenseSpecifications ( const Aws::Vector< LaunchTemplateLicenseConfigurationRequest > &  value)
inline

The license configurations.

Definition at line 1275 of file RequestLaunchTemplateData.h.

◆ SetMetadataOptions() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetMetadataOptions ( const LaunchTemplateInstanceMetadataOptionsRequest value)
inline

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1386 of file RequestLaunchTemplateData.h.

◆ SetMetadataOptions() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetMetadataOptions ( LaunchTemplateInstanceMetadataOptionsRequest &&  value)
inline

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1394 of file RequestLaunchTemplateData.h.

◆ SetMonitoring() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetMonitoring ( const LaunchTemplatesMonitoringRequest value)
inline

The monitoring for the instance.

Definition at line 479 of file RequestLaunchTemplateData.h.

◆ SetMonitoring() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetMonitoring ( LaunchTemplatesMonitoringRequest &&  value)
inline

The monitoring for the instance.

Definition at line 484 of file RequestLaunchTemplateData.h.

◆ SetNetworkInterfaces() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetNetworkInterfaces ( Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface.

Definition at line 266 of file RequestLaunchTemplateData.h.

◆ SetNetworkInterfaces() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetNetworkInterfaces ( const Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > &  value)
inline

One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface.

Definition at line 260 of file RequestLaunchTemplateData.h.

◆ SetPlacement() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetPlacement ( const LaunchTemplatePlacementRequest value)
inline

The placement for the instance.

Definition at line 510 of file RequestLaunchTemplateData.h.

◆ SetPlacement() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetPlacement ( LaunchTemplatePlacementRequest &&  value)
inline

The placement for the instance.

Definition at line 515 of file RequestLaunchTemplateData.h.

◆ SetRamDiskId() [1/3]

void Aws::EC2::Model::RequestLaunchTemplateData::SetRamDiskId ( Aws::String &&  value)
inline

The ID of the RAM disk.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 562 of file RequestLaunchTemplateData.h.

◆ SetRamDiskId() [2/3]

void Aws::EC2::Model::RequestLaunchTemplateData::SetRamDiskId ( const Aws::String value)
inline

The ID of the RAM disk.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 553 of file RequestLaunchTemplateData.h.

◆ SetRamDiskId() [3/3]

void Aws::EC2::Model::RequestLaunchTemplateData::SetRamDiskId ( const char *  value)
inline

The ID of the RAM disk.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 571 of file RequestLaunchTemplateData.h.

◆ SetSecurityGroupIds() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetSecurityGroupIds ( Aws::Vector< Aws::String > &&  value)
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 995 of file RequestLaunchTemplateData.h.

◆ SetSecurityGroupIds() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetSecurityGroupIds ( const Aws::Vector< Aws::String > &  value)
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 987 of file RequestLaunchTemplateData.h.

◆ SetSecurityGroups() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetSecurityGroups ( Aws::Vector< Aws::String > &&  value)
inline

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1064 of file RequestLaunchTemplateData.h.

◆ SetSecurityGroups() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetSecurityGroups ( const Aws::Vector< Aws::String > &  value)
inline

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1057 of file RequestLaunchTemplateData.h.

◆ SetTagSpecifications() [1/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetTagSpecifications ( Aws::Vector< LaunchTemplateTagSpecificationRequest > &&  value)
inline

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

Definition at line 844 of file RequestLaunchTemplateData.h.

◆ SetTagSpecifications() [2/2]

void Aws::EC2::Model::RequestLaunchTemplateData::SetTagSpecifications ( const Aws::Vector< LaunchTemplateTagSpecificationRequest > &  value)
inline

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

Definition at line 835 of file RequestLaunchTemplateData.h.

◆ SetUserData() [1/3]

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

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance at Launch (Linux) or Adding User Data (Windows).

If you are creating the launch template for use with Batch, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

Definition at line 747 of file RequestLaunchTemplateData.h.

◆ SetUserData() [2/3]

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

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance at Launch (Linux) or Adding User Data (Windows).

If you are creating the launch template for use with Batch, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

Definition at line 732 of file RequestLaunchTemplateData.h.

◆ SetUserData() [3/3]

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

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance at Launch (Linux) or Adding User Data (Windows).

If you are creating the launch template for use with Batch, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

Definition at line 762 of file RequestLaunchTemplateData.h.

◆ TagSpecificationsHasBeenSet()

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

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

Definition at line 826 of file RequestLaunchTemplateData.h.

◆ UserDataHasBeenSet()

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

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance at Launch (Linux) or Adding User Data (Windows).

If you are creating the launch template for use with Batch, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

Definition at line 717 of file RequestLaunchTemplateData.h.

◆ WithBlockDeviceMappings() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithBlockDeviceMappings ( Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > &&  value)
inline

The block device mapping.

Definition at line 231 of file RequestLaunchTemplateData.h.

◆ WithBlockDeviceMappings() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithBlockDeviceMappings ( const Aws::Vector< LaunchTemplateBlockDeviceMappingRequest > &  value)
inline

The block device mapping.

Definition at line 226 of file RequestLaunchTemplateData.h.

◆ WithCapacityReservationSpecification() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithCapacityReservationSpecification ( const LaunchTemplateCapacityReservationSpecificationRequest value)
inline

The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

Definition at line 1251 of file RequestLaunchTemplateData.h.

◆ WithCapacityReservationSpecification() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithCapacityReservationSpecification ( LaunchTemplateCapacityReservationSpecificationRequest &&  value)
inline

The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

Definition at line 1259 of file RequestLaunchTemplateData.h.

◆ WithCpuOptions() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithCpuOptions ( const LaunchTemplateCpuOptionsRequest value)
inline

The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1203 of file RequestLaunchTemplateData.h.

◆ WithCpuOptions() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithCpuOptions ( LaunchTemplateCpuOptionsRequest &&  value)
inline

The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1210 of file RequestLaunchTemplateData.h.

◆ WithCreditSpecification() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithCreditSpecification ( const CreditSpecificationRequest value)
inline

The credit option for CPU usage of the instance. Valid for T2, T3, or T3a instances only.

Definition at line 1161 of file RequestLaunchTemplateData.h.

◆ WithCreditSpecification() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithCreditSpecification ( CreditSpecificationRequest &&  value)
inline

The credit option for CPU usage of the instance. Valid for T2, T3, or T3a instances only.

Definition at line 1167 of file RequestLaunchTemplateData.h.

◆ WithDisableApiTermination()

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithDisableApiTermination ( bool  value)
inline

If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after launch, use ModifyInstanceAttribute. Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate, you can terminate the instance by running the shutdown command from the instance.

Definition at line 643 of file RequestLaunchTemplateData.h.

◆ WithEbsOptimized()

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

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

Definition at line 169 of file RequestLaunchTemplateData.h.

◆ WithElasticGpuSpecifications() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithElasticGpuSpecifications ( Aws::Vector< ElasticGpuSpecification > &&  value)
inline

An elastic GPU to associate with the instance.

Definition at line 911 of file RequestLaunchTemplateData.h.

◆ WithElasticGpuSpecifications() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithElasticGpuSpecifications ( const Aws::Vector< ElasticGpuSpecification > &  value)
inline

An elastic GPU to associate with the instance.

Definition at line 906 of file RequestLaunchTemplateData.h.

◆ WithElasticInferenceAccelerators() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithElasticInferenceAccelerators ( Aws::Vector< LaunchTemplateElasticInferenceAccelerator > &&  value)
inline

The elastic inference accelerator for the instance.

Definition at line 952 of file RequestLaunchTemplateData.h.

◆ WithElasticInferenceAccelerators() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithElasticInferenceAccelerators ( const Aws::Vector< LaunchTemplateElasticInferenceAccelerator > &  value)
inline

The elastic inference accelerator for the instance.

Definition at line 947 of file RequestLaunchTemplateData.h.

◆ WithEnclaveOptions() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithEnclaveOptions ( const LaunchTemplateEnclaveOptionsRequest value)
inline

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? in the Amazon Web Services Nitro Enclaves User Guide.

You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.

Definition at line 1461 of file RequestLaunchTemplateData.h.

◆ WithEnclaveOptions() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithEnclaveOptions ( LaunchTemplateEnclaveOptionsRequest &&  value)
inline

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? in the Amazon Web Services Nitro Enclaves User Guide.

You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.

Definition at line 1471 of file RequestLaunchTemplateData.h.

◆ WithHibernationOptions() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithHibernationOptions ( const LaunchTemplateHibernationOptionsRequest value)
inline

Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1351 of file RequestLaunchTemplateData.h.

◆ WithHibernationOptions() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithHibernationOptions ( LaunchTemplateHibernationOptionsRequest &&  value)
inline

Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1361 of file RequestLaunchTemplateData.h.

◆ WithIamInstanceProfile() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithIamInstanceProfile ( const LaunchTemplateIamInstanceProfileSpecificationRequest value)
inline

The name or Amazon Resource Name (ARN) of an IAM instance profile.

Definition at line 195 of file RequestLaunchTemplateData.h.

◆ WithIamInstanceProfile() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithIamInstanceProfile ( LaunchTemplateIamInstanceProfileSpecificationRequest &&  value)
inline

The name or Amazon Resource Name (ARN) of an IAM instance profile.

Definition at line 200 of file RequestLaunchTemplateData.h.

◆ WithImageId() [1/3]

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

The ID of the AMI.

Definition at line 326 of file RequestLaunchTemplateData.h.

◆ WithImageId() [2/3]

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

The ID of the AMI.

Definition at line 321 of file RequestLaunchTemplateData.h.

◆ WithImageId() [3/3]

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

The ID of the AMI.

Definition at line 331 of file RequestLaunchTemplateData.h.

◆ WithInstanceInitiatedShutdownBehavior() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithInstanceInitiatedShutdownBehavior ( const ShutdownBehavior value)
inline

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Default: stop

Definition at line 679 of file RequestLaunchTemplateData.h.

◆ WithInstanceInitiatedShutdownBehavior() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithInstanceInitiatedShutdownBehavior ( ShutdownBehavior &&  value)
inline

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Default: stop

Definition at line 686 of file RequestLaunchTemplateData.h.

◆ WithInstanceMarketOptions() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithInstanceMarketOptions ( const LaunchTemplateInstanceMarketOptionsRequest value)
inline

The market (purchasing) option for the instances.

Definition at line 1125 of file RequestLaunchTemplateData.h.

◆ WithInstanceMarketOptions() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithInstanceMarketOptions ( LaunchTemplateInstanceMarketOptionsRequest &&  value)
inline

The market (purchasing) option for the instances.

Definition at line 1130 of file RequestLaunchTemplateData.h.

◆ WithInstanceType() [1/2]

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

The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 367 of file RequestLaunchTemplateData.h.

◆ WithInstanceType() [2/2]

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

The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 374 of file RequestLaunchTemplateData.h.

◆ WithKernelId() [1/3]

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

The ID of the kernel.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 123 of file RequestLaunchTemplateData.h.

◆ WithKernelId() [2/3]

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

The ID of the kernel.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 114 of file RequestLaunchTemplateData.h.

◆ WithKernelId() [3/3]

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

The ID of the kernel.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 132 of file RequestLaunchTemplateData.h.

◆ WithKeyName() [1/3]

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

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.

Definition at line 452 of file RequestLaunchTemplateData.h.

◆ WithKeyName() [2/3]

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

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.

Definition at line 441 of file RequestLaunchTemplateData.h.

◆ WithKeyName() [3/3]

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

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.

Definition at line 463 of file RequestLaunchTemplateData.h.

◆ WithLicenseSpecifications() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithLicenseSpecifications ( Aws::Vector< LaunchTemplateLicenseConfigurationRequest > &&  value)
inline

The license configurations.

Definition at line 1290 of file RequestLaunchTemplateData.h.

◆ WithLicenseSpecifications() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithLicenseSpecifications ( const Aws::Vector< LaunchTemplateLicenseConfigurationRequest > &  value)
inline

The license configurations.

Definition at line 1285 of file RequestLaunchTemplateData.h.

◆ WithMetadataOptions() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithMetadataOptions ( const LaunchTemplateInstanceMetadataOptionsRequest value)
inline

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1402 of file RequestLaunchTemplateData.h.

◆ WithMetadataOptions() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithMetadataOptions ( LaunchTemplateInstanceMetadataOptionsRequest &&  value)
inline

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide.

Definition at line 1410 of file RequestLaunchTemplateData.h.

◆ WithMonitoring() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithMonitoring ( const LaunchTemplatesMonitoringRequest value)
inline

The monitoring for the instance.

Definition at line 489 of file RequestLaunchTemplateData.h.

◆ WithMonitoring() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithMonitoring ( LaunchTemplatesMonitoringRequest &&  value)
inline

The monitoring for the instance.

Definition at line 494 of file RequestLaunchTemplateData.h.

◆ WithNetworkInterfaces() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithNetworkInterfaces ( Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface.

Definition at line 278 of file RequestLaunchTemplateData.h.

◆ WithNetworkInterfaces() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithNetworkInterfaces ( const Aws::Vector< LaunchTemplateInstanceNetworkInterfaceSpecificationRequest > &  value)
inline

One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface.

Definition at line 272 of file RequestLaunchTemplateData.h.

◆ WithPlacement() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithPlacement ( const LaunchTemplatePlacementRequest value)
inline

The placement for the instance.

Definition at line 520 of file RequestLaunchTemplateData.h.

◆ WithPlacement() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithPlacement ( LaunchTemplatePlacementRequest &&  value)
inline

The placement for the instance.

Definition at line 525 of file RequestLaunchTemplateData.h.

◆ WithRamDiskId() [1/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithRamDiskId ( Aws::String &&  value)
inline

The ID of the RAM disk.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 589 of file RequestLaunchTemplateData.h.

◆ WithRamDiskId() [2/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithRamDiskId ( const Aws::String value)
inline

The ID of the RAM disk.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 580 of file RequestLaunchTemplateData.h.

◆ WithRamDiskId() [3/3]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithRamDiskId ( const char *  value)
inline

The ID of the RAM disk.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon Elastic Compute Cloud User Guide.

Definition at line 598 of file RequestLaunchTemplateData.h.

◆ WithSecurityGroupIds() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithSecurityGroupIds ( Aws::Vector< Aws::String > &&  value)
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 1011 of file RequestLaunchTemplateData.h.

◆ WithSecurityGroupIds() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithSecurityGroupIds ( const Aws::Vector< Aws::String > &  value)
inline

One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.

Definition at line 1003 of file RequestLaunchTemplateData.h.

◆ WithSecurityGroups() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithSecurityGroups ( Aws::Vector< Aws::String > &&  value)
inline

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1078 of file RequestLaunchTemplateData.h.

◆ WithSecurityGroups() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithSecurityGroups ( const Aws::Vector< Aws::String > &  value)
inline

[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Definition at line 1071 of file RequestLaunchTemplateData.h.

◆ WithTagSpecifications() [1/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithTagSpecifications ( Aws::Vector< LaunchTemplateTagSpecificationRequest > &&  value)
inline

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

Definition at line 862 of file RequestLaunchTemplateData.h.

◆ WithTagSpecifications() [2/2]

RequestLaunchTemplateData& Aws::EC2::Model::RequestLaunchTemplateData::WithTagSpecifications ( const Aws::Vector< LaunchTemplateTagSpecificationRequest > &  value)
inline

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

Definition at line 853 of file RequestLaunchTemplateData.h.

◆ WithUserData() [1/3]

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

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance at Launch (Linux) or Adding User Data (Windows).

If you are creating the launch template for use with Batch, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

Definition at line 792 of file RequestLaunchTemplateData.h.

◆ WithUserData() [2/3]

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

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance at Launch (Linux) or Adding User Data (Windows).

If you are creating the launch template for use with Batch, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

Definition at line 777 of file RequestLaunchTemplateData.h.

◆ WithUserData() [3/3]

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

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance at Launch (Linux) or Adding User Data (Windows).

If you are creating the launch template for use with Batch, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

Definition at line 807 of file RequestLaunchTemplateData.h.


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