AWS SDK for C++  1.9.131
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 properties as part of a mixed instances policy.

When you update the launch template or overrides in the UpdateAutoScalingGroup API call, 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 39 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 properties that you specify override the same properties 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 128 of file LaunchTemplate.h.

◆ AddOverrides() [2/2]

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

Any properties that you specify override the same properties 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 135 of file LaunchTemplate.h.

◆ GetLaunchTemplateSpecification()

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

The launch template to use.

Definition at line 53 of file LaunchTemplate.h.

◆ GetOverrides()

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

Any properties that you specify override the same properties 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 86 of file LaunchTemplate.h.

◆ LaunchTemplateSpecificationHasBeenSet()

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

The launch template to use.

Definition at line 58 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 properties that you specify override the same properties 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 93 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 63 of file LaunchTemplate.h.

◆ SetLaunchTemplateSpecification() [2/2]

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

The launch template to use.

Definition at line 68 of file LaunchTemplate.h.

◆ SetOverrides() [1/2]

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

Any properties that you specify override the same properties 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 107 of file LaunchTemplate.h.

◆ SetOverrides() [2/2]

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

Any properties that you specify override the same properties 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 100 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 73 of file LaunchTemplate.h.

◆ WithLaunchTemplateSpecification() [2/2]

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

The launch template to use.

Definition at line 78 of file LaunchTemplate.h.

◆ WithOverrides() [1/2]

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

Any properties that you specify override the same properties 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 121 of file LaunchTemplate.h.

◆ WithOverrides() [2/2]

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

Any properties that you specify override the same properties 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 114 of file LaunchTemplate.h.


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