AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest Class Reference

#include <UpdateAutoScalingGroupRequest.h>

+ Inheritance diagram for Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest:

Public Member Functions

 UpdateAutoScalingGroupRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetAutoScalingGroupName () const
 
bool AutoScalingGroupNameHasBeenSet () const
 
void SetAutoScalingGroupName (const Aws::String &value)
 
void SetAutoScalingGroupName (Aws::String &&value)
 
void SetAutoScalingGroupName (const char *value)
 
UpdateAutoScalingGroupRequestWithAutoScalingGroupName (const Aws::String &value)
 
UpdateAutoScalingGroupRequestWithAutoScalingGroupName (Aws::String &&value)
 
UpdateAutoScalingGroupRequestWithAutoScalingGroupName (const char *value)
 
const Aws::StringGetLaunchConfigurationName () const
 
bool LaunchConfigurationNameHasBeenSet () const
 
void SetLaunchConfigurationName (const Aws::String &value)
 
void SetLaunchConfigurationName (Aws::String &&value)
 
void SetLaunchConfigurationName (const char *value)
 
UpdateAutoScalingGroupRequestWithLaunchConfigurationName (const Aws::String &value)
 
UpdateAutoScalingGroupRequestWithLaunchConfigurationName (Aws::String &&value)
 
UpdateAutoScalingGroupRequestWithLaunchConfigurationName (const char *value)
 
const LaunchTemplateSpecificationGetLaunchTemplate () const
 
bool LaunchTemplateHasBeenSet () const
 
void SetLaunchTemplate (const LaunchTemplateSpecification &value)
 
void SetLaunchTemplate (LaunchTemplateSpecification &&value)
 
UpdateAutoScalingGroupRequestWithLaunchTemplate (const LaunchTemplateSpecification &value)
 
UpdateAutoScalingGroupRequestWithLaunchTemplate (LaunchTemplateSpecification &&value)
 
const MixedInstancesPolicyGetMixedInstancesPolicy () const
 
bool MixedInstancesPolicyHasBeenSet () const
 
void SetMixedInstancesPolicy (const MixedInstancesPolicy &value)
 
void SetMixedInstancesPolicy (MixedInstancesPolicy &&value)
 
UpdateAutoScalingGroupRequestWithMixedInstancesPolicy (const MixedInstancesPolicy &value)
 
UpdateAutoScalingGroupRequestWithMixedInstancesPolicy (MixedInstancesPolicy &&value)
 
int GetMinSize () const
 
bool MinSizeHasBeenSet () const
 
void SetMinSize (int value)
 
UpdateAutoScalingGroupRequestWithMinSize (int value)
 
int GetMaxSize () const
 
bool MaxSizeHasBeenSet () const
 
void SetMaxSize (int value)
 
UpdateAutoScalingGroupRequestWithMaxSize (int value)
 
int GetDesiredCapacity () const
 
bool DesiredCapacityHasBeenSet () const
 
void SetDesiredCapacity (int value)
 
UpdateAutoScalingGroupRequestWithDesiredCapacity (int value)
 
int GetDefaultCooldown () const
 
bool DefaultCooldownHasBeenSet () const
 
void SetDefaultCooldown (int value)
 
UpdateAutoScalingGroupRequestWithDefaultCooldown (int value)
 
const Aws::Vector< Aws::String > & GetAvailabilityZones () const
 
bool AvailabilityZonesHasBeenSet () const
 
void SetAvailabilityZones (const Aws::Vector< Aws::String > &value)
 
void SetAvailabilityZones (Aws::Vector< Aws::String > &&value)
 
UpdateAutoScalingGroupRequestWithAvailabilityZones (const Aws::Vector< Aws::String > &value)
 
UpdateAutoScalingGroupRequestWithAvailabilityZones (Aws::Vector< Aws::String > &&value)
 
UpdateAutoScalingGroupRequestAddAvailabilityZones (const Aws::String &value)
 
UpdateAutoScalingGroupRequestAddAvailabilityZones (Aws::String &&value)
 
UpdateAutoScalingGroupRequestAddAvailabilityZones (const char *value)
 
const Aws::StringGetHealthCheckType () const
 
bool HealthCheckTypeHasBeenSet () const
 
void SetHealthCheckType (const Aws::String &value)
 
void SetHealthCheckType (Aws::String &&value)
 
void SetHealthCheckType (const char *value)
 
UpdateAutoScalingGroupRequestWithHealthCheckType (const Aws::String &value)
 
UpdateAutoScalingGroupRequestWithHealthCheckType (Aws::String &&value)
 
UpdateAutoScalingGroupRequestWithHealthCheckType (const char *value)
 
int GetHealthCheckGracePeriod () const
 
bool HealthCheckGracePeriodHasBeenSet () const
 
void SetHealthCheckGracePeriod (int value)
 
UpdateAutoScalingGroupRequestWithHealthCheckGracePeriod (int value)
 
const Aws::StringGetPlacementGroup () const
 
bool PlacementGroupHasBeenSet () const
 
void SetPlacementGroup (const Aws::String &value)
 
void SetPlacementGroup (Aws::String &&value)
 
void SetPlacementGroup (const char *value)
 
UpdateAutoScalingGroupRequestWithPlacementGroup (const Aws::String &value)
 
UpdateAutoScalingGroupRequestWithPlacementGroup (Aws::String &&value)
 
UpdateAutoScalingGroupRequestWithPlacementGroup (const char *value)
 
const Aws::StringGetVPCZoneIdentifier () const
 
bool VPCZoneIdentifierHasBeenSet () const
 
void SetVPCZoneIdentifier (const Aws::String &value)
 
void SetVPCZoneIdentifier (Aws::String &&value)
 
void SetVPCZoneIdentifier (const char *value)
 
UpdateAutoScalingGroupRequestWithVPCZoneIdentifier (const Aws::String &value)
 
UpdateAutoScalingGroupRequestWithVPCZoneIdentifier (Aws::String &&value)
 
UpdateAutoScalingGroupRequestWithVPCZoneIdentifier (const char *value)
 
const Aws::Vector< Aws::String > & GetTerminationPolicies () const
 
bool TerminationPoliciesHasBeenSet () const
 
void SetTerminationPolicies (const Aws::Vector< Aws::String > &value)
 
void SetTerminationPolicies (Aws::Vector< Aws::String > &&value)
 
UpdateAutoScalingGroupRequestWithTerminationPolicies (const Aws::Vector< Aws::String > &value)
 
UpdateAutoScalingGroupRequestWithTerminationPolicies (Aws::Vector< Aws::String > &&value)
 
UpdateAutoScalingGroupRequestAddTerminationPolicies (const Aws::String &value)
 
UpdateAutoScalingGroupRequestAddTerminationPolicies (Aws::String &&value)
 
UpdateAutoScalingGroupRequestAddTerminationPolicies (const char *value)
 
bool GetNewInstancesProtectedFromScaleIn () const
 
bool NewInstancesProtectedFromScaleInHasBeenSet () const
 
void SetNewInstancesProtectedFromScaleIn (bool value)
 
UpdateAutoScalingGroupRequestWithNewInstancesProtectedFromScaleIn (bool value)
 
const Aws::StringGetServiceLinkedRoleARN () const
 
bool ServiceLinkedRoleARNHasBeenSet () const
 
void SetServiceLinkedRoleARN (const Aws::String &value)
 
void SetServiceLinkedRoleARN (Aws::String &&value)
 
void SetServiceLinkedRoleARN (const char *value)
 
UpdateAutoScalingGroupRequestWithServiceLinkedRoleARN (const Aws::String &value)
 
UpdateAutoScalingGroupRequestWithServiceLinkedRoleARN (Aws::String &&value)
 
UpdateAutoScalingGroupRequestWithServiceLinkedRoleARN (const char *value)
 
int GetMaxInstanceLifetime () const
 
bool MaxInstanceLifetimeHasBeenSet () const
 
void SetMaxInstanceLifetime (int value)
 
UpdateAutoScalingGroupRequestWithMaxInstanceLifetime (int value)
 
- Public Member Functions inherited from Aws::AutoScaling::AutoScalingRequest
virtual ~AutoScalingRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::AutoScaling::AutoScalingRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 24 of file UpdateAutoScalingGroupRequest.h.

Constructor & Destructor Documentation

◆ UpdateAutoScalingGroupRequest()

Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::UpdateAutoScalingGroupRequest ( )

Member Function Documentation

◆ AddAvailabilityZones() [1/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::AddAvailabilityZones ( const Aws::String value)
inline

One or more Availability Zones for the group.

Definition at line 453 of file UpdateAutoScalingGroupRequest.h.

◆ AddAvailabilityZones() [2/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::AddAvailabilityZones ( Aws::String &&  value)
inline

One or more Availability Zones for the group.

Definition at line 458 of file UpdateAutoScalingGroupRequest.h.

◆ AddAvailabilityZones() [3/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::AddAvailabilityZones ( const char *  value)
inline

One or more Availability Zones for the group.

Definition at line 463 of file UpdateAutoScalingGroupRequest.h.

◆ AddTerminationPolicies() [1/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::AddTerminationPolicies ( const Aws::String value)
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 786 of file UpdateAutoScalingGroupRequest.h.

◆ AddTerminationPolicies() [2/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::AddTerminationPolicies ( Aws::String &&  value)
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 796 of file UpdateAutoScalingGroupRequest.h.

◆ AddTerminationPolicies() [3/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::AddTerminationPolicies ( const char *  value)
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 806 of file UpdateAutoScalingGroupRequest.h.

◆ AutoScalingGroupNameHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::AutoScalingGroupNameHasBeenSet ( ) const
inline

The name of the Auto Scaling group.

Definition at line 50 of file UpdateAutoScalingGroupRequest.h.

◆ AvailabilityZonesHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::AvailabilityZonesHasBeenSet ( ) const
inline

One or more Availability Zones for the group.

Definition at line 428 of file UpdateAutoScalingGroupRequest.h.

◆ DefaultCooldownHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::DefaultCooldownHasBeenSet ( ) const
inline

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default value is 300.

This setting applies when using simple scaling policies, but not when using other scaling policies or scheduled scaling. For more information, see Scaling Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 395 of file UpdateAutoScalingGroupRequest.h.

◆ DesiredCapacityHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::DesiredCapacityHasBeenSet ( ) const
inline

The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.

This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.

Definition at line 356 of file UpdateAutoScalingGroupRequest.h.

◆ DumpBodyToUrl()

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetAutoScalingGroupName()

const Aws::String& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetAutoScalingGroupName ( ) const
inline

The name of the Auto Scaling group.

Definition at line 45 of file UpdateAutoScalingGroupRequest.h.

◆ GetAvailabilityZones()

const Aws::Vector<Aws::String>& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetAvailabilityZones ( ) const
inline

One or more Availability Zones for the group.

Definition at line 423 of file UpdateAutoScalingGroupRequest.h.

◆ GetDefaultCooldown()

int Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetDefaultCooldown ( ) const
inline

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default value is 300.

This setting applies when using simple scaling policies, but not when using other scaling policies or scheduled scaling. For more information, see Scaling Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 384 of file UpdateAutoScalingGroupRequest.h.

◆ GetDesiredCapacity()

int Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetDesiredCapacity ( ) const
inline

The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.

This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.

Definition at line 348 of file UpdateAutoScalingGroupRequest.h.

◆ GetHealthCheckGracePeriod()

int Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetHealthCheckGracePeriod ( ) const
inline

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default value is 0.

For more information, see Health Check Grace Period in the Amazon EC2 Auto Scaling User Guide.

Required if you are adding an ELB health check.

Definition at line 539 of file UpdateAutoScalingGroupRequest.h.

◆ GetHealthCheckType()

const Aws::String& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetHealthCheckType ( ) const
inline

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

Definition at line 472 of file UpdateAutoScalingGroupRequest.h.

◆ GetLaunchConfigurationName()

const Aws::String& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetLaunchConfigurationName ( ) const
inline

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

Definition at line 88 of file UpdateAutoScalingGroupRequest.h.

◆ GetLaunchTemplate()

const LaunchTemplateSpecification& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetLaunchTemplate ( ) const
inline

The launch template and version to use to specify the updates. If you specify LaunchTemplate in your update request, you can't specify LaunchConfigurationName or MixedInstancesPolicy.

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API Reference.

Definition at line 148 of file UpdateAutoScalingGroupRequest.h.

◆ GetMaxInstanceLifetime()

int Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetMaxInstanceLifetime ( ) const
inline

The maximum amount of time, in seconds, that an instance can be in service. The default is null.

This parameter is optional, but if you specify a value for it, you must specify a value of at least 604,800 seconds (7 days). To clear a previously set value, specify a new value of 0.

For more information, see Replacing Auto Scaling Instances Based on Maximum Instance Lifetime in the Amazon EC2 Auto Scaling User Guide.

Valid Range: Minimum value of 0.

Definition at line 929 of file UpdateAutoScalingGroupRequest.h.

◆ GetMaxSize()

int Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetMaxSize ( ) const
inline

The maximum size of the Auto Scaling group.

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above MaxSize to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).

Definition at line 309 of file UpdateAutoScalingGroupRequest.h.

◆ GetMinSize()

int Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetMinSize ( ) const
inline

The minimum size of the Auto Scaling group.

Definition at line 283 of file UpdateAutoScalingGroupRequest.h.

◆ GetMixedInstancesPolicy()

const MixedInstancesPolicy& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetMixedInstancesPolicy ( ) const
inline

An embedded object that specifies a mixed instances policy.

In your call to UpdateAutoScalingGroup, you can make changes to the policy that is specified. All optional parameters are left unchanged if not specified.

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 212 of file UpdateAutoScalingGroupRequest.h.

◆ GetNewInstancesProtectedFromScaleIn()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetNewInstancesProtectedFromScaleIn ( ) const
inline

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.

For more information about preventing instances from terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.

Definition at line 816 of file UpdateAutoScalingGroupRequest.h.

◆ GetPlacementGroup()

const Aws::String& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetPlacementGroup ( ) const
inline

The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.

Definition at line 580 of file UpdateAutoScalingGroupRequest.h.

◆ GetServiceLinkedRoleARN()

const Aws::String& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetServiceLinkedRoleARN ( ) const
inline

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 853 of file UpdateAutoScalingGroupRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file UpdateAutoScalingGroupRequest.h.

◆ GetTerminationPolicies()

const Aws::Vector<Aws::String>& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetTerminationPolicies ( ) const
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 726 of file UpdateAutoScalingGroupRequest.h.

◆ GetVPCZoneIdentifier()

const Aws::String& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::GetVPCZoneIdentifier ( ) const
inline

A comma-separated list of subnet IDs for virtual private cloud (VPC).

If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Definition at line 659 of file UpdateAutoScalingGroupRequest.h.

◆ HealthCheckGracePeriodHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::HealthCheckGracePeriodHasBeenSet ( ) const
inline

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default value is 0.

For more information, see Health Check Grace Period in the Amazon EC2 Auto Scaling User Guide.

Required if you are adding an ELB health check.

Definition at line 549 of file UpdateAutoScalingGroupRequest.h.

◆ HealthCheckTypeHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::HealthCheckTypeHasBeenSet ( ) const
inline

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

Definition at line 480 of file UpdateAutoScalingGroupRequest.h.

◆ LaunchConfigurationNameHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::LaunchConfigurationNameHasBeenSet ( ) const
inline

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

Definition at line 95 of file UpdateAutoScalingGroupRequest.h.

◆ LaunchTemplateHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::LaunchTemplateHasBeenSet ( ) const
inline

The launch template and version to use to specify the updates. If you specify LaunchTemplate in your update request, you can't specify LaunchConfigurationName or MixedInstancesPolicy.

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API Reference.

Definition at line 158 of file UpdateAutoScalingGroupRequest.h.

◆ MaxInstanceLifetimeHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::MaxInstanceLifetimeHasBeenSet ( ) const
inline

The maximum amount of time, in seconds, that an instance can be in service. The default is null.

This parameter is optional, but if you specify a value for it, you must specify a value of at least 604,800 seconds (7 days). To clear a previously set value, specify a new value of 0.

For more information, see Replacing Auto Scaling Instances Based on Maximum Instance Lifetime in the Amazon EC2 Auto Scaling User Guide.

Valid Range: Minimum value of 0.

Definition at line 941 of file UpdateAutoScalingGroupRequest.h.

◆ MaxSizeHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::MaxSizeHasBeenSet ( ) const
inline

The maximum size of the Auto Scaling group.

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above MaxSize to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).

Definition at line 319 of file UpdateAutoScalingGroupRequest.h.

◆ MinSizeHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::MinSizeHasBeenSet ( ) const
inline

The minimum size of the Auto Scaling group.

Definition at line 288 of file UpdateAutoScalingGroupRequest.h.

◆ MixedInstancesPolicyHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::MixedInstancesPolicyHasBeenSet ( ) const
inline

An embedded object that specifies a mixed instances policy.

In your call to UpdateAutoScalingGroup, you can make changes to the policy that is specified. All optional parameters are left unchanged if not specified.

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 225 of file UpdateAutoScalingGroupRequest.h.

◆ NewInstancesProtectedFromScaleInHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::NewInstancesProtectedFromScaleInHasBeenSet ( ) const
inline

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.

For more information about preventing instances from terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.

Definition at line 825 of file UpdateAutoScalingGroupRequest.h.

◆ PlacementGroupHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::PlacementGroupHasBeenSet ( ) const
inline

The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.

Definition at line 590 of file UpdateAutoScalingGroupRequest.h.

◆ SerializePayload()

Aws::String Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServiceLinkedRoleARNHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::ServiceLinkedRoleARNHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 862 of file UpdateAutoScalingGroupRequest.h.

◆ SetAutoScalingGroupName() [1/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetAutoScalingGroupName ( const Aws::String value)
inline

The name of the Auto Scaling group.

Definition at line 55 of file UpdateAutoScalingGroupRequest.h.

◆ SetAutoScalingGroupName() [2/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetAutoScalingGroupName ( Aws::String &&  value)
inline

The name of the Auto Scaling group.

Definition at line 60 of file UpdateAutoScalingGroupRequest.h.

◆ SetAutoScalingGroupName() [3/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetAutoScalingGroupName ( const char *  value)
inline

The name of the Auto Scaling group.

Definition at line 65 of file UpdateAutoScalingGroupRequest.h.

◆ SetAvailabilityZones() [1/2]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetAvailabilityZones ( const Aws::Vector< Aws::String > &  value)
inline

One or more Availability Zones for the group.

Definition at line 433 of file UpdateAutoScalingGroupRequest.h.

◆ SetAvailabilityZones() [2/2]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetAvailabilityZones ( Aws::Vector< Aws::String > &&  value)
inline

One or more Availability Zones for the group.

Definition at line 438 of file UpdateAutoScalingGroupRequest.h.

◆ SetDefaultCooldown()

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetDefaultCooldown ( int  value)
inline

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default value is 300.

This setting applies when using simple scaling policies, but not when using other scaling policies or scheduled scaling. For more information, see Scaling Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 406 of file UpdateAutoScalingGroupRequest.h.

◆ SetDesiredCapacity()

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetDesiredCapacity ( int  value)
inline

The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.

This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.

Definition at line 364 of file UpdateAutoScalingGroupRequest.h.

◆ SetHealthCheckGracePeriod()

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetHealthCheckGracePeriod ( int  value)
inline

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default value is 0.

For more information, see Health Check Grace Period in the Amazon EC2 Auto Scaling User Guide.

Required if you are adding an ELB health check.

Definition at line 559 of file UpdateAutoScalingGroupRequest.h.

◆ SetHealthCheckType() [1/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetHealthCheckType ( const Aws::String value)
inline

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

Definition at line 488 of file UpdateAutoScalingGroupRequest.h.

◆ SetHealthCheckType() [2/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetHealthCheckType ( Aws::String &&  value)
inline

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

Definition at line 496 of file UpdateAutoScalingGroupRequest.h.

◆ SetHealthCheckType() [3/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetHealthCheckType ( const char *  value)
inline

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

Definition at line 504 of file UpdateAutoScalingGroupRequest.h.

◆ SetLaunchConfigurationName() [1/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetLaunchConfigurationName ( const Aws::String value)
inline

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

Definition at line 102 of file UpdateAutoScalingGroupRequest.h.

◆ SetLaunchConfigurationName() [2/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetLaunchConfigurationName ( Aws::String &&  value)
inline

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

Definition at line 109 of file UpdateAutoScalingGroupRequest.h.

◆ SetLaunchConfigurationName() [3/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetLaunchConfigurationName ( const char *  value)
inline

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

Definition at line 116 of file UpdateAutoScalingGroupRequest.h.

◆ SetLaunchTemplate() [1/2]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetLaunchTemplate ( const LaunchTemplateSpecification value)
inline

The launch template and version to use to specify the updates. If you specify LaunchTemplate in your update request, you can't specify LaunchConfigurationName or MixedInstancesPolicy.

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API Reference.

Definition at line 168 of file UpdateAutoScalingGroupRequest.h.

◆ SetLaunchTemplate() [2/2]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetLaunchTemplate ( LaunchTemplateSpecification &&  value)
inline

The launch template and version to use to specify the updates. If you specify LaunchTemplate in your update request, you can't specify LaunchConfigurationName or MixedInstancesPolicy.

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API Reference.

Definition at line 178 of file UpdateAutoScalingGroupRequest.h.

◆ SetMaxInstanceLifetime()

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetMaxInstanceLifetime ( int  value)
inline

The maximum amount of time, in seconds, that an instance can be in service. The default is null.

This parameter is optional, but if you specify a value for it, you must specify a value of at least 604,800 seconds (7 days). To clear a previously set value, specify a new value of 0.

For more information, see Replacing Auto Scaling Instances Based on Maximum Instance Lifetime in the Amazon EC2 Auto Scaling User Guide.

Valid Range: Minimum value of 0.

Definition at line 953 of file UpdateAutoScalingGroupRequest.h.

◆ SetMaxSize()

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetMaxSize ( int  value)
inline

The maximum size of the Auto Scaling group.

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above MaxSize to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).

Definition at line 329 of file UpdateAutoScalingGroupRequest.h.

◆ SetMinSize()

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetMinSize ( int  value)
inline

The minimum size of the Auto Scaling group.

Definition at line 293 of file UpdateAutoScalingGroupRequest.h.

◆ SetMixedInstancesPolicy() [1/2]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetMixedInstancesPolicy ( const MixedInstancesPolicy value)
inline

An embedded object that specifies a mixed instances policy.

In your call to UpdateAutoScalingGroup, you can make changes to the policy that is specified. All optional parameters are left unchanged if not specified.

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 238 of file UpdateAutoScalingGroupRequest.h.

◆ SetMixedInstancesPolicy() [2/2]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetMixedInstancesPolicy ( MixedInstancesPolicy &&  value)
inline

An embedded object that specifies a mixed instances policy.

In your call to UpdateAutoScalingGroup, you can make changes to the policy that is specified. All optional parameters are left unchanged if not specified.

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 251 of file UpdateAutoScalingGroupRequest.h.

◆ SetNewInstancesProtectedFromScaleIn()

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetNewInstancesProtectedFromScaleIn ( bool  value)
inline

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.

For more information about preventing instances from terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.

Definition at line 834 of file UpdateAutoScalingGroupRequest.h.

◆ SetPlacementGroup() [1/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetPlacementGroup ( const Aws::String value)
inline

The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.

Definition at line 600 of file UpdateAutoScalingGroupRequest.h.

◆ SetPlacementGroup() [2/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetPlacementGroup ( Aws::String &&  value)
inline

The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.

Definition at line 610 of file UpdateAutoScalingGroupRequest.h.

◆ SetPlacementGroup() [3/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetPlacementGroup ( const char *  value)
inline

The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.

Definition at line 620 of file UpdateAutoScalingGroupRequest.h.

◆ SetServiceLinkedRoleARN() [1/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetServiceLinkedRoleARN ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 871 of file UpdateAutoScalingGroupRequest.h.

◆ SetServiceLinkedRoleARN() [2/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetServiceLinkedRoleARN ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 880 of file UpdateAutoScalingGroupRequest.h.

◆ SetServiceLinkedRoleARN() [3/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetServiceLinkedRoleARN ( const char *  value)
inline

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 889 of file UpdateAutoScalingGroupRequest.h.

◆ SetTerminationPolicies() [1/2]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetTerminationPolicies ( const Aws::Vector< Aws::String > &  value)
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 746 of file UpdateAutoScalingGroupRequest.h.

◆ SetTerminationPolicies() [2/2]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetTerminationPolicies ( Aws::Vector< Aws::String > &&  value)
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 756 of file UpdateAutoScalingGroupRequest.h.

◆ SetVPCZoneIdentifier() [1/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetVPCZoneIdentifier ( const Aws::String value)
inline

A comma-separated list of subnet IDs for virtual private cloud (VPC).

If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Definition at line 675 of file UpdateAutoScalingGroupRequest.h.

◆ SetVPCZoneIdentifier() [2/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetVPCZoneIdentifier ( Aws::String &&  value)
inline

A comma-separated list of subnet IDs for virtual private cloud (VPC).

If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Definition at line 683 of file UpdateAutoScalingGroupRequest.h.

◆ SetVPCZoneIdentifier() [3/3]

void Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::SetVPCZoneIdentifier ( const char *  value)
inline

A comma-separated list of subnet IDs for virtual private cloud (VPC).

If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Definition at line 691 of file UpdateAutoScalingGroupRequest.h.

◆ TerminationPoliciesHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::TerminationPoliciesHasBeenSet ( ) const
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 736 of file UpdateAutoScalingGroupRequest.h.

◆ VPCZoneIdentifierHasBeenSet()

bool Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::VPCZoneIdentifierHasBeenSet ( ) const
inline

A comma-separated list of subnet IDs for virtual private cloud (VPC).

If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Definition at line 667 of file UpdateAutoScalingGroupRequest.h.

◆ WithAutoScalingGroupName() [1/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithAutoScalingGroupName ( const Aws::String value)
inline

The name of the Auto Scaling group.

Definition at line 70 of file UpdateAutoScalingGroupRequest.h.

◆ WithAutoScalingGroupName() [2/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithAutoScalingGroupName ( Aws::String &&  value)
inline

The name of the Auto Scaling group.

Definition at line 75 of file UpdateAutoScalingGroupRequest.h.

◆ WithAutoScalingGroupName() [3/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithAutoScalingGroupName ( const char *  value)
inline

The name of the Auto Scaling group.

Definition at line 80 of file UpdateAutoScalingGroupRequest.h.

◆ WithAvailabilityZones() [1/2]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithAvailabilityZones ( const Aws::Vector< Aws::String > &  value)
inline

One or more Availability Zones for the group.

Definition at line 443 of file UpdateAutoScalingGroupRequest.h.

◆ WithAvailabilityZones() [2/2]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithAvailabilityZones ( Aws::Vector< Aws::String > &&  value)
inline

One or more Availability Zones for the group.

Definition at line 448 of file UpdateAutoScalingGroupRequest.h.

◆ WithDefaultCooldown()

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithDefaultCooldown ( int  value)
inline

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default value is 300.

This setting applies when using simple scaling policies, but not when using other scaling policies or scheduled scaling. For more information, see Scaling Cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 417 of file UpdateAutoScalingGroupRequest.h.

◆ WithDesiredCapacity()

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithDesiredCapacity ( int  value)
inline

The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.

This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.

Definition at line 372 of file UpdateAutoScalingGroupRequest.h.

◆ WithHealthCheckGracePeriod()

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithHealthCheckGracePeriod ( int  value)
inline

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default value is 0.

For more information, see Health Check Grace Period in the Amazon EC2 Auto Scaling User Guide.

Required if you are adding an ELB health check.

Definition at line 569 of file UpdateAutoScalingGroupRequest.h.

◆ WithHealthCheckType() [1/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithHealthCheckType ( const Aws::String value)
inline

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

Definition at line 512 of file UpdateAutoScalingGroupRequest.h.

◆ WithHealthCheckType() [2/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithHealthCheckType ( Aws::String &&  value)
inline

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

Definition at line 520 of file UpdateAutoScalingGroupRequest.h.

◆ WithHealthCheckType() [3/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithHealthCheckType ( const char *  value)
inline

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

Definition at line 528 of file UpdateAutoScalingGroupRequest.h.

◆ WithLaunchConfigurationName() [1/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithLaunchConfigurationName ( const Aws::String value)
inline

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

Definition at line 123 of file UpdateAutoScalingGroupRequest.h.

◆ WithLaunchConfigurationName() [2/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithLaunchConfigurationName ( Aws::String &&  value)
inline

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

Definition at line 130 of file UpdateAutoScalingGroupRequest.h.

◆ WithLaunchConfigurationName() [3/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithLaunchConfigurationName ( const char *  value)
inline

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

Definition at line 137 of file UpdateAutoScalingGroupRequest.h.

◆ WithLaunchTemplate() [1/2]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithLaunchTemplate ( const LaunchTemplateSpecification value)
inline

The launch template and version to use to specify the updates. If you specify LaunchTemplate in your update request, you can't specify LaunchConfigurationName or MixedInstancesPolicy.

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API Reference.

Definition at line 188 of file UpdateAutoScalingGroupRequest.h.

◆ WithLaunchTemplate() [2/2]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithLaunchTemplate ( LaunchTemplateSpecification &&  value)
inline

The launch template and version to use to specify the updates. If you specify LaunchTemplate in your update request, you can't specify LaunchConfigurationName or MixedInstancesPolicy.

For more information, see LaunchTemplateSpecification in the Amazon EC2 Auto Scaling API Reference.

Definition at line 198 of file UpdateAutoScalingGroupRequest.h.

◆ WithMaxInstanceLifetime()

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithMaxInstanceLifetime ( int  value)
inline

The maximum amount of time, in seconds, that an instance can be in service. The default is null.

This parameter is optional, but if you specify a value for it, you must specify a value of at least 604,800 seconds (7 days). To clear a previously set value, specify a new value of 0.

For more information, see Replacing Auto Scaling Instances Based on Maximum Instance Lifetime in the Amazon EC2 Auto Scaling User Guide.

Valid Range: Minimum value of 0.

Definition at line 965 of file UpdateAutoScalingGroupRequest.h.

◆ WithMaxSize()

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithMaxSize ( int  value)
inline

The maximum size of the Auto Scaling group.

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above MaxSize to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).

Definition at line 339 of file UpdateAutoScalingGroupRequest.h.

◆ WithMinSize()

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithMinSize ( int  value)
inline

The minimum size of the Auto Scaling group.

Definition at line 298 of file UpdateAutoScalingGroupRequest.h.

◆ WithMixedInstancesPolicy() [1/2]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithMixedInstancesPolicy ( const MixedInstancesPolicy value)
inline

An embedded object that specifies a mixed instances policy.

In your call to UpdateAutoScalingGroup, you can make changes to the policy that is specified. All optional parameters are left unchanged if not specified.

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 264 of file UpdateAutoScalingGroupRequest.h.

◆ WithMixedInstancesPolicy() [2/2]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithMixedInstancesPolicy ( MixedInstancesPolicy &&  value)
inline

An embedded object that specifies a mixed instances policy.

In your call to UpdateAutoScalingGroup, you can make changes to the policy that is specified. All optional parameters are left unchanged if not specified.

For more information, see MixedInstancesPolicy in the Amazon EC2 Auto Scaling API Reference and Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 277 of file UpdateAutoScalingGroupRequest.h.

◆ WithNewInstancesProtectedFromScaleIn()

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithNewInstancesProtectedFromScaleIn ( bool  value)
inline

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.

For more information about preventing instances from terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.

Definition at line 843 of file UpdateAutoScalingGroupRequest.h.

◆ WithPlacementGroup() [1/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithPlacementGroup ( const Aws::String value)
inline

The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.

Definition at line 630 of file UpdateAutoScalingGroupRequest.h.

◆ WithPlacementGroup() [2/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithPlacementGroup ( Aws::String &&  value)
inline

The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.

Definition at line 640 of file UpdateAutoScalingGroupRequest.h.

◆ WithPlacementGroup() [3/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithPlacementGroup ( const char *  value)
inline

The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.

Definition at line 650 of file UpdateAutoScalingGroupRequest.h.

◆ WithServiceLinkedRoleARN() [1/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithServiceLinkedRoleARN ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 898 of file UpdateAutoScalingGroupRequest.h.

◆ WithServiceLinkedRoleARN() [2/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithServiceLinkedRoleARN ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 907 of file UpdateAutoScalingGroupRequest.h.

◆ WithServiceLinkedRoleARN() [3/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithServiceLinkedRoleARN ( const char *  value)
inline

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 916 of file UpdateAutoScalingGroupRequest.h.

◆ WithTerminationPolicies() [1/2]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithTerminationPolicies ( const Aws::Vector< Aws::String > &  value)
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 766 of file UpdateAutoScalingGroupRequest.h.

◆ WithTerminationPolicies() [2/2]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithTerminationPolicies ( Aws::Vector< Aws::String > &&  value)
inline

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.

Definition at line 776 of file UpdateAutoScalingGroupRequest.h.

◆ WithVPCZoneIdentifier() [1/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithVPCZoneIdentifier ( const Aws::String value)
inline

A comma-separated list of subnet IDs for virtual private cloud (VPC).

If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Definition at line 699 of file UpdateAutoScalingGroupRequest.h.

◆ WithVPCZoneIdentifier() [2/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithVPCZoneIdentifier ( Aws::String &&  value)
inline

A comma-separated list of subnet IDs for virtual private cloud (VPC).

If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Definition at line 707 of file UpdateAutoScalingGroupRequest.h.

◆ WithVPCZoneIdentifier() [3/3]

UpdateAutoScalingGroupRequest& Aws::AutoScaling::Model::UpdateAutoScalingGroupRequest::WithVPCZoneIdentifier ( const char *  value)
inline

A comma-separated list of subnet IDs for virtual private cloud (VPC).

If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Definition at line 715 of file UpdateAutoScalingGroupRequest.h.


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