AWS SDK for C++  1.8.129
AWS SDK for C++
Public Member Functions | List of all members
Aws::AutoScaling::Model::LaunchTemplate Class Reference

#include <LaunchTemplate.h>

Public Member Functions

 LaunchTemplate ()
 
 LaunchTemplate (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchTemplateoperator= (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 LaunchTemplateSpecificationGetLaunchTemplateSpecification () const
 
bool LaunchTemplateSpecificationHasBeenSet () const
 
void SetLaunchTemplateSpecification (const LaunchTemplateSpecification &value)
 
void SetLaunchTemplateSpecification (LaunchTemplateSpecification &&value)
 
LaunchTemplateWithLaunchTemplateSpecification (const LaunchTemplateSpecification &value)
 
LaunchTemplateWithLaunchTemplateSpecification (LaunchTemplateSpecification &&value)
 
const Aws::Vector< LaunchTemplateOverrides > & GetOverrides () const
 
bool OverridesHasBeenSet () const
 
void SetOverrides (const Aws::Vector< LaunchTemplateOverrides > &value)
 
void SetOverrides (Aws::Vector< LaunchTemplateOverrides > &&value)
 
LaunchTemplateWithOverrides (const Aws::Vector< LaunchTemplateOverrides > &value)
 
LaunchTemplateWithOverrides (Aws::Vector< LaunchTemplateOverrides > &&value)
 
LaunchTemplateAddOverrides (const LaunchTemplateOverrides &value)
 
LaunchTemplateAddOverrides (LaunchTemplateOverrides &&value)
 

Detailed Description

Describes a launch template and overrides.

You specify these parameters as part of a mixed instances policy.

When you update the launch template or overrides, existing Amazon EC2 instances continue to run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.

See Also:

AWS API Reference

Definition at line 38 of file LaunchTemplate.h.

Constructor & Destructor Documentation

◆ LaunchTemplate() [1/2]

Aws::AutoScaling::Model::LaunchTemplate::LaunchTemplate ( )

◆ LaunchTemplate() [2/2]

Aws::AutoScaling::Model::LaunchTemplate::LaunchTemplate ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddOverrides() [1/2]

LaunchTemplate& Aws::AutoScaling::Model::LaunchTemplate::AddOverrides ( const LaunchTemplateOverrides value)
inline

Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

Definition at line 127 of file LaunchTemplate.h.

◆ AddOverrides() [2/2]

LaunchTemplate& Aws::AutoScaling::Model::LaunchTemplate::AddOverrides ( LaunchTemplateOverrides &&  value)
inline

Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

Definition at line 134 of file LaunchTemplate.h.

◆ GetLaunchTemplateSpecification()

const LaunchTemplateSpecification& Aws::AutoScaling::Model::LaunchTemplate::GetLaunchTemplateSpecification ( ) const
inline

The launch template to use.

Definition at line 52 of file LaunchTemplate.h.

◆ GetOverrides()

const Aws::Vector<LaunchTemplateOverrides>& Aws::AutoScaling::Model::LaunchTemplate::GetOverrides ( ) const
inline

Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

Definition at line 85 of file LaunchTemplate.h.

◆ LaunchTemplateSpecificationHasBeenSet()

bool Aws::AutoScaling::Model::LaunchTemplate::LaunchTemplateSpecificationHasBeenSet ( ) const
inline

The launch template to use.

Definition at line 57 of file LaunchTemplate.h.

◆ operator=()

LaunchTemplate& Aws::AutoScaling::Model::LaunchTemplate::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::AutoScaling::Model::LaunchTemplate::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

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

◆ OverridesHasBeenSet()

bool Aws::AutoScaling::Model::LaunchTemplate::OverridesHasBeenSet ( ) const
inline

Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

Definition at line 92 of file LaunchTemplate.h.

◆ SetLaunchTemplateSpecification() [1/2]

void Aws::AutoScaling::Model::LaunchTemplate::SetLaunchTemplateSpecification ( const LaunchTemplateSpecification value)
inline

The launch template to use.

Definition at line 62 of file LaunchTemplate.h.

◆ SetLaunchTemplateSpecification() [2/2]

void Aws::AutoScaling::Model::LaunchTemplate::SetLaunchTemplateSpecification ( LaunchTemplateSpecification &&  value)
inline

The launch template to use.

Definition at line 67 of file LaunchTemplate.h.

◆ SetOverrides() [1/2]

void Aws::AutoScaling::Model::LaunchTemplate::SetOverrides ( Aws::Vector< LaunchTemplateOverrides > &&  value)
inline

Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

Definition at line 106 of file LaunchTemplate.h.

◆ SetOverrides() [2/2]

void Aws::AutoScaling::Model::LaunchTemplate::SetOverrides ( const Aws::Vector< LaunchTemplateOverrides > &  value)
inline

Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

Definition at line 99 of file LaunchTemplate.h.

◆ WithLaunchTemplateSpecification() [1/2]

LaunchTemplate& Aws::AutoScaling::Model::LaunchTemplate::WithLaunchTemplateSpecification ( const LaunchTemplateSpecification value)
inline

The launch template to use.

Definition at line 72 of file LaunchTemplate.h.

◆ WithLaunchTemplateSpecification() [2/2]

LaunchTemplate& Aws::AutoScaling::Model::LaunchTemplate::WithLaunchTemplateSpecification ( LaunchTemplateSpecification &&  value)
inline

The launch template to use.

Definition at line 77 of file LaunchTemplate.h.

◆ WithOverrides() [1/2]

LaunchTemplate& Aws::AutoScaling::Model::LaunchTemplate::WithOverrides ( Aws::Vector< LaunchTemplateOverrides > &&  value)
inline

Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

Definition at line 120 of file LaunchTemplate.h.

◆ WithOverrides() [2/2]

LaunchTemplate& Aws::AutoScaling::Model::LaunchTemplate::WithOverrides ( const Aws::Vector< LaunchTemplateOverrides > &  value)
inline

Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

Definition at line 113 of file LaunchTemplate.h.


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