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

#include <CreateAutoScalingGroupRequest.h>

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

Public Member Functions

 CreateAutoScalingGroupRequest ()
 
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)
 
CreateAutoScalingGroupRequestWithAutoScalingGroupName (const Aws::String &value)
 
CreateAutoScalingGroupRequestWithAutoScalingGroupName (Aws::String &&value)
 
CreateAutoScalingGroupRequestWithAutoScalingGroupName (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)
 
CreateAutoScalingGroupRequestWithLaunchConfigurationName (const Aws::String &value)
 
CreateAutoScalingGroupRequestWithLaunchConfigurationName (Aws::String &&value)
 
CreateAutoScalingGroupRequestWithLaunchConfigurationName (const char *value)
 
const LaunchTemplateSpecificationGetLaunchTemplate () const
 
bool LaunchTemplateHasBeenSet () const
 
void SetLaunchTemplate (const LaunchTemplateSpecification &value)
 
void SetLaunchTemplate (LaunchTemplateSpecification &&value)
 
CreateAutoScalingGroupRequestWithLaunchTemplate (const LaunchTemplateSpecification &value)
 
CreateAutoScalingGroupRequestWithLaunchTemplate (LaunchTemplateSpecification &&value)
 
const MixedInstancesPolicyGetMixedInstancesPolicy () const
 
bool MixedInstancesPolicyHasBeenSet () const
 
void SetMixedInstancesPolicy (const MixedInstancesPolicy &value)
 
void SetMixedInstancesPolicy (MixedInstancesPolicy &&value)
 
CreateAutoScalingGroupRequestWithMixedInstancesPolicy (const MixedInstancesPolicy &value)
 
CreateAutoScalingGroupRequestWithMixedInstancesPolicy (MixedInstancesPolicy &&value)
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
CreateAutoScalingGroupRequestWithInstanceId (const Aws::String &value)
 
CreateAutoScalingGroupRequestWithInstanceId (Aws::String &&value)
 
CreateAutoScalingGroupRequestWithInstanceId (const char *value)
 
int GetMinSize () const
 
bool MinSizeHasBeenSet () const
 
void SetMinSize (int value)
 
CreateAutoScalingGroupRequestWithMinSize (int value)
 
int GetMaxSize () const
 
bool MaxSizeHasBeenSet () const
 
void SetMaxSize (int value)
 
CreateAutoScalingGroupRequestWithMaxSize (int value)
 
int GetDesiredCapacity () const
 
bool DesiredCapacityHasBeenSet () const
 
void SetDesiredCapacity (int value)
 
CreateAutoScalingGroupRequestWithDesiredCapacity (int value)
 
int GetDefaultCooldown () const
 
bool DefaultCooldownHasBeenSet () const
 
void SetDefaultCooldown (int value)
 
CreateAutoScalingGroupRequestWithDefaultCooldown (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)
 
CreateAutoScalingGroupRequestWithAvailabilityZones (const Aws::Vector< Aws::String > &value)
 
CreateAutoScalingGroupRequestWithAvailabilityZones (Aws::Vector< Aws::String > &&value)
 
CreateAutoScalingGroupRequestAddAvailabilityZones (const Aws::String &value)
 
CreateAutoScalingGroupRequestAddAvailabilityZones (Aws::String &&value)
 
CreateAutoScalingGroupRequestAddAvailabilityZones (const char *value)
 
const Aws::Vector< Aws::String > & GetLoadBalancerNames () const
 
bool LoadBalancerNamesHasBeenSet () const
 
void SetLoadBalancerNames (const Aws::Vector< Aws::String > &value)
 
void SetLoadBalancerNames (Aws::Vector< Aws::String > &&value)
 
CreateAutoScalingGroupRequestWithLoadBalancerNames (const Aws::Vector< Aws::String > &value)
 
CreateAutoScalingGroupRequestWithLoadBalancerNames (Aws::Vector< Aws::String > &&value)
 
CreateAutoScalingGroupRequestAddLoadBalancerNames (const Aws::String &value)
 
CreateAutoScalingGroupRequestAddLoadBalancerNames (Aws::String &&value)
 
CreateAutoScalingGroupRequestAddLoadBalancerNames (const char *value)
 
const Aws::Vector< Aws::String > & GetTargetGroupARNs () const
 
bool TargetGroupARNsHasBeenSet () const
 
void SetTargetGroupARNs (const Aws::Vector< Aws::String > &value)
 
void SetTargetGroupARNs (Aws::Vector< Aws::String > &&value)
 
CreateAutoScalingGroupRequestWithTargetGroupARNs (const Aws::Vector< Aws::String > &value)
 
CreateAutoScalingGroupRequestWithTargetGroupARNs (Aws::Vector< Aws::String > &&value)
 
CreateAutoScalingGroupRequestAddTargetGroupARNs (const Aws::String &value)
 
CreateAutoScalingGroupRequestAddTargetGroupARNs (Aws::String &&value)
 
CreateAutoScalingGroupRequestAddTargetGroupARNs (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)
 
CreateAutoScalingGroupRequestWithHealthCheckType (const Aws::String &value)
 
CreateAutoScalingGroupRequestWithHealthCheckType (Aws::String &&value)
 
CreateAutoScalingGroupRequestWithHealthCheckType (const char *value)
 
int GetHealthCheckGracePeriod () const
 
bool HealthCheckGracePeriodHasBeenSet () const
 
void SetHealthCheckGracePeriod (int value)
 
CreateAutoScalingGroupRequestWithHealthCheckGracePeriod (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)
 
CreateAutoScalingGroupRequestWithPlacementGroup (const Aws::String &value)
 
CreateAutoScalingGroupRequestWithPlacementGroup (Aws::String &&value)
 
CreateAutoScalingGroupRequestWithPlacementGroup (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)
 
CreateAutoScalingGroupRequestWithVPCZoneIdentifier (const Aws::String &value)
 
CreateAutoScalingGroupRequestWithVPCZoneIdentifier (Aws::String &&value)
 
CreateAutoScalingGroupRequestWithVPCZoneIdentifier (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)
 
CreateAutoScalingGroupRequestWithTerminationPolicies (const Aws::Vector< Aws::String > &value)
 
CreateAutoScalingGroupRequestWithTerminationPolicies (Aws::Vector< Aws::String > &&value)
 
CreateAutoScalingGroupRequestAddTerminationPolicies (const Aws::String &value)
 
CreateAutoScalingGroupRequestAddTerminationPolicies (Aws::String &&value)
 
CreateAutoScalingGroupRequestAddTerminationPolicies (const char *value)
 
bool GetNewInstancesProtectedFromScaleIn () const
 
bool NewInstancesProtectedFromScaleInHasBeenSet () const
 
void SetNewInstancesProtectedFromScaleIn (bool value)
 
CreateAutoScalingGroupRequestWithNewInstancesProtectedFromScaleIn (bool value)
 
bool GetCapacityRebalance () const
 
bool CapacityRebalanceHasBeenSet () const
 
void SetCapacityRebalance (bool value)
 
CreateAutoScalingGroupRequestWithCapacityRebalance (bool value)
 
const Aws::Vector< LifecycleHookSpecification > & GetLifecycleHookSpecificationList () const
 
bool LifecycleHookSpecificationListHasBeenSet () const
 
void SetLifecycleHookSpecificationList (const Aws::Vector< LifecycleHookSpecification > &value)
 
void SetLifecycleHookSpecificationList (Aws::Vector< LifecycleHookSpecification > &&value)
 
CreateAutoScalingGroupRequestWithLifecycleHookSpecificationList (const Aws::Vector< LifecycleHookSpecification > &value)
 
CreateAutoScalingGroupRequestWithLifecycleHookSpecificationList (Aws::Vector< LifecycleHookSpecification > &&value)
 
CreateAutoScalingGroupRequestAddLifecycleHookSpecificationList (const LifecycleHookSpecification &value)
 
CreateAutoScalingGroupRequestAddLifecycleHookSpecificationList (LifecycleHookSpecification &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateAutoScalingGroupRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateAutoScalingGroupRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateAutoScalingGroupRequestAddTags (const Tag &value)
 
CreateAutoScalingGroupRequestAddTags (Tag &&value)
 
const Aws::StringGetServiceLinkedRoleARN () const
 
bool ServiceLinkedRoleARNHasBeenSet () const
 
void SetServiceLinkedRoleARN (const Aws::String &value)
 
void SetServiceLinkedRoleARN (Aws::String &&value)
 
void SetServiceLinkedRoleARN (const char *value)
 
CreateAutoScalingGroupRequestWithServiceLinkedRoleARN (const Aws::String &value)
 
CreateAutoScalingGroupRequestWithServiceLinkedRoleARN (Aws::String &&value)
 
CreateAutoScalingGroupRequestWithServiceLinkedRoleARN (const char *value)
 
int GetMaxInstanceLifetime () const
 
bool MaxInstanceLifetimeHasBeenSet () const
 
void SetMaxInstanceLifetime (int value)
 
CreateAutoScalingGroupRequestWithMaxInstanceLifetime (int value)
 
const Aws::StringGetContext () const
 
bool ContextHasBeenSet () const
 
void SetContext (const Aws::String &value)
 
void SetContext (Aws::String &&value)
 
void SetContext (const char *value)
 
CreateAutoScalingGroupRequestWithContext (const Aws::String &value)
 
CreateAutoScalingGroupRequestWithContext (Aws::String &&value)
 
CreateAutoScalingGroupRequestWithContext (const char *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 26 of file CreateAutoScalingGroupRequest.h.

Constructor & Destructor Documentation

◆ CreateAutoScalingGroupRequest()

Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::CreateAutoScalingGroupRequest ( )

Member Function Documentation

◆ AddAvailabilityZones() [1/3]

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 677 of file CreateAutoScalingGroupRequest.h.

◆ AddAvailabilityZones() [2/3]

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 668 of file CreateAutoScalingGroupRequest.h.

◆ AddAvailabilityZones() [3/3]

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 686 of file CreateAutoScalingGroupRequest.h.

◆ AddLifecycleHookSpecificationList() [1/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddLifecycleHookSpecificationList ( const LifecycleHookSpecification value)
inline

One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.

Definition at line 1365 of file CreateAutoScalingGroupRequest.h.

◆ AddLifecycleHookSpecificationList() [2/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddLifecycleHookSpecificationList ( LifecycleHookSpecification &&  value)
inline

One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.

Definition at line 1371 of file CreateAutoScalingGroupRequest.h.

◆ AddLoadBalancerNames() [1/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddLoadBalancerNames ( Aws::String &&  value)
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 743 of file CreateAutoScalingGroupRequest.h.

◆ AddLoadBalancerNames() [2/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddLoadBalancerNames ( const Aws::String value)
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 736 of file CreateAutoScalingGroupRequest.h.

◆ AddLoadBalancerNames() [3/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddLoadBalancerNames ( const char *  value)
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 750 of file CreateAutoScalingGroupRequest.h.

◆ AddTags() [1/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddTags ( const Tag value)
inline

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1470 of file CreateAutoScalingGroupRequest.h.

◆ AddTags() [2/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddTags ( Tag &&  value)
inline

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1484 of file CreateAutoScalingGroupRequest.h.

◆ AddTargetGroupARNs() [1/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddTargetGroupARNs ( Aws::String &&  value)
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 831 of file CreateAutoScalingGroupRequest.h.

◆ AddTargetGroupARNs() [2/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddTargetGroupARNs ( const Aws::String value)
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 821 of file CreateAutoScalingGroupRequest.h.

◆ AddTargetGroupARNs() [3/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::AddTargetGroupARNs ( const char *  value)
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 841 of file CreateAutoScalingGroupRequest.h.

◆ AddTerminationPolicies() [1/3]

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1226 of file CreateAutoScalingGroupRequest.h.

◆ AddTerminationPolicies() [2/3]

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1216 of file CreateAutoScalingGroupRequest.h.

◆ AddTerminationPolicies() [3/3]

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1236 of file CreateAutoScalingGroupRequest.h.

◆ AutoScalingGroupNameHasBeenSet()

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

The name of the Auto Scaling group. This name must be unique per Region per account.

Definition at line 54 of file CreateAutoScalingGroupRequest.h.

◆ AvailabilityZonesHasBeenSet()

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 623 of file CreateAutoScalingGroupRequest.h.

◆ CapacityRebalanceHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::CapacityRebalanceHasBeenSet ( ) const
inline

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1298 of file CreateAutoScalingGroupRequest.h.

◆ ContextHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::ContextHasBeenSet ( ) const
inline

Reserved.

Definition at line 1625 of file CreateAutoScalingGroupRequest.h.

◆ DefaultCooldownHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 582 of file CreateAutoScalingGroupRequest.h.

◆ DesiredCapacityHasBeenSet()

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

The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure auto scaling. 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. If you do not specify a desired capacity, the default is the minimum size of the group.

Definition at line 539 of file CreateAutoScalingGroupRequest.h.

◆ DumpBodyToUrl()

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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::CreateAutoScalingGroupRequest::GetAutoScalingGroupName ( ) const
inline

The name of the Auto Scaling group. This name must be unique per Region per account.

Definition at line 48 of file CreateAutoScalingGroupRequest.h.

◆ GetAvailabilityZones()

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 614 of file CreateAutoScalingGroupRequest.h.

◆ GetCapacityRebalance()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::GetCapacityRebalance ( ) const
inline

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1286 of file CreateAutoScalingGroupRequest.h.

◆ GetContext()

const Aws::String& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::GetContext ( ) const
inline

Reserved.

Definition at line 1620 of file CreateAutoScalingGroupRequest.h.

◆ GetDefaultCooldown()

int Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 571 of file CreateAutoScalingGroupRequest.h.

◆ GetDesiredCapacity()

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

The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure auto scaling. 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. If you do not specify a desired capacity, the default is the minimum size of the group.

Definition at line 529 of file CreateAutoScalingGroupRequest.h.

◆ GetHealthCheckGracePeriod()

int Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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. During this time, any health check failures for the instance are ignored. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide.

Conditional: Required if you are adding an ELB health check.

Definition at line 950 of file CreateAutoScalingGroupRequest.h.

◆ GetHealthCheckType()

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

The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 854 of file CreateAutoScalingGroupRequest.h.

◆ GetInstanceId()

const Aws::String& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::GetInstanceId ( ) const
inline

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

Definition at line 365 of file CreateAutoScalingGroupRequest.h.

◆ GetLaunchConfigurationName()

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

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

Definition at line 100 of file CreateAutoScalingGroupRequest.h.

◆ GetLaunchTemplate()

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

Parameters used to specify the launch template and version to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

Definition at line 178 of file CreateAutoScalingGroupRequest.h.

◆ GetLifecycleHookSpecificationList()

const Aws::Vector<LifecycleHookSpecification>& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::GetLifecycleHookSpecificationList ( ) const
inline

One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.

Definition at line 1329 of file CreateAutoScalingGroupRequest.h.

◆ GetLoadBalancerNames()

const Aws::Vector<Aws::String>& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::GetLoadBalancerNames ( ) const
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 694 of file CreateAutoScalingGroupRequest.h.

◆ GetMaxInstanceLifetime()

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

The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1584 of file CreateAutoScalingGroupRequest.h.

◆ GetMaxSize()

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

The maximum size of the 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 488 of file CreateAutoScalingGroupRequest.h.

◆ GetMinSize()

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

The minimum size of the group.

Definition at line 462 of file CreateAutoScalingGroupRequest.h.

◆ GetMixedInstancesPolicy()

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

An embedded object that specifies a mixed instances policy. The required properties must be specified. If optional properties are unspecified, their default values are used.

The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 266 of file CreateAutoScalingGroupRequest.h.

◆ GetNewInstancesProtectedFromScaleIn()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 scale-in protection in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1246 of file CreateAutoScalingGroupRequest.h.

◆ GetPlacementGroup()

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

The name of an existing 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 994 of file CreateAutoScalingGroupRequest.h.

◆ GetServiceLinkedRoleARN()

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

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1496 of file CreateAutoScalingGroupRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file CreateAutoScalingGroupRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::GetTags ( ) const
inline

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1386 of file CreateAutoScalingGroupRequest.h.

◆ GetTargetGroupARNs()

const Aws::Vector<Aws::String>& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::GetTargetGroupARNs ( ) const
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 761 of file CreateAutoScalingGroupRequest.h.

◆ GetTerminationPolicies()

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1156 of file CreateAutoScalingGroupRequest.h.

◆ GetVPCZoneIdentifier()

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

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.

Definition at line 1075 of file CreateAutoScalingGroupRequest.h.

◆ HealthCheckGracePeriodHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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. During this time, any health check failures for the instance are ignored. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide.

Conditional: Required if you are adding an ELB health check.

Definition at line 961 of file CreateAutoScalingGroupRequest.h.

◆ HealthCheckTypeHasBeenSet()

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

The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 866 of file CreateAutoScalingGroupRequest.h.

◆ InstanceIdHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::InstanceIdHasBeenSet ( ) const
inline

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

Definition at line 378 of file CreateAutoScalingGroupRequest.h.

◆ LaunchConfigurationNameHasBeenSet()

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

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

Definition at line 109 of file CreateAutoScalingGroupRequest.h.

◆ LaunchTemplateHasBeenSet()

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

Parameters used to specify the launch template and version to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

Definition at line 192 of file CreateAutoScalingGroupRequest.h.

◆ LifecycleHookSpecificationListHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::LifecycleHookSpecificationListHasBeenSet ( ) const
inline

One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.

Definition at line 1335 of file CreateAutoScalingGroupRequest.h.

◆ LoadBalancerNamesHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::LoadBalancerNamesHasBeenSet ( ) const
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 701 of file CreateAutoScalingGroupRequest.h.

◆ MaxInstanceLifetimeHasBeenSet()

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

The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1594 of file CreateAutoScalingGroupRequest.h.

◆ MaxSizeHasBeenSet()

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

The maximum size of the 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 498 of file CreateAutoScalingGroupRequest.h.

◆ MinSizeHasBeenSet()

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

The minimum size of the group.

Definition at line 467 of file CreateAutoScalingGroupRequest.h.

◆ MixedInstancesPolicyHasBeenSet()

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

An embedded object that specifies a mixed instances policy. The required properties must be specified. If optional properties are unspecified, their default values are used.

The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 283 of file CreateAutoScalingGroupRequest.h.

◆ NewInstancesProtectedFromScaleInHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 scale-in protection in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1255 of file CreateAutoScalingGroupRequest.h.

◆ PlacementGroupHasBeenSet()

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

The name of an existing 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 1004 of file CreateAutoScalingGroupRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServiceLinkedRoleARNHasBeenSet()

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

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1507 of file CreateAutoScalingGroupRequest.h.

◆ SetAutoScalingGroupName() [1/3]

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

The name of the Auto Scaling group. This name must be unique per Region per account.

Definition at line 66 of file CreateAutoScalingGroupRequest.h.

◆ SetAutoScalingGroupName() [2/3]

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

The name of the Auto Scaling group. This name must be unique per Region per account.

Definition at line 60 of file CreateAutoScalingGroupRequest.h.

◆ SetAutoScalingGroupName() [3/3]

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

The name of the Auto Scaling group. This name must be unique per Region per account.

Definition at line 72 of file CreateAutoScalingGroupRequest.h.

◆ SetAvailabilityZones() [1/2]

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 641 of file CreateAutoScalingGroupRequest.h.

◆ SetAvailabilityZones() [2/2]

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 632 of file CreateAutoScalingGroupRequest.h.

◆ SetCapacityRebalance()

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetCapacityRebalance ( bool  value)
inline

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1310 of file CreateAutoScalingGroupRequest.h.

◆ SetContext() [1/3]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetContext ( Aws::String &&  value)
inline

Reserved.

Definition at line 1635 of file CreateAutoScalingGroupRequest.h.

◆ SetContext() [2/3]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetContext ( const Aws::String value)
inline

Reserved.

Definition at line 1630 of file CreateAutoScalingGroupRequest.h.

◆ SetContext() [3/3]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetContext ( const char *  value)
inline

Reserved.

Definition at line 1640 of file CreateAutoScalingGroupRequest.h.

◆ SetDefaultCooldown()

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 593 of file CreateAutoScalingGroupRequest.h.

◆ SetDesiredCapacity()

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

The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure auto scaling. 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. If you do not specify a desired capacity, the default is the minimum size of the group.

Definition at line 549 of file CreateAutoScalingGroupRequest.h.

◆ SetHealthCheckGracePeriod()

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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. During this time, any health check failures for the instance are ignored. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide.

Conditional: Required if you are adding an ELB health check.

Definition at line 972 of file CreateAutoScalingGroupRequest.h.

◆ SetHealthCheckType() [1/3]

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

The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 890 of file CreateAutoScalingGroupRequest.h.

◆ SetHealthCheckType() [2/3]

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

The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 878 of file CreateAutoScalingGroupRequest.h.

◆ SetHealthCheckType() [3/3]

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

The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 902 of file CreateAutoScalingGroupRequest.h.

◆ SetInstanceId() [1/3]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetInstanceId ( Aws::String &&  value)
inline

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

Definition at line 404 of file CreateAutoScalingGroupRequest.h.

◆ SetInstanceId() [2/3]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetInstanceId ( const Aws::String value)
inline

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

Definition at line 391 of file CreateAutoScalingGroupRequest.h.

◆ SetInstanceId() [3/3]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetInstanceId ( const char *  value)
inline

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

Definition at line 417 of file CreateAutoScalingGroupRequest.h.

◆ SetLaunchConfigurationName() [1/3]

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

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

Definition at line 127 of file CreateAutoScalingGroupRequest.h.

◆ SetLaunchConfigurationName() [2/3]

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

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

Definition at line 118 of file CreateAutoScalingGroupRequest.h.

◆ SetLaunchConfigurationName() [3/3]

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

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

Definition at line 136 of file CreateAutoScalingGroupRequest.h.

◆ SetLaunchTemplate() [1/2]

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

Parameters used to specify the launch template and version to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

Definition at line 206 of file CreateAutoScalingGroupRequest.h.

◆ SetLaunchTemplate() [2/2]

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

Parameters used to specify the launch template and version to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

Definition at line 220 of file CreateAutoScalingGroupRequest.h.

◆ SetLifecycleHookSpecificationList() [1/2]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetLifecycleHookSpecificationList ( Aws::Vector< LifecycleHookSpecification > &&  value)
inline

One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.

Definition at line 1347 of file CreateAutoScalingGroupRequest.h.

◆ SetLifecycleHookSpecificationList() [2/2]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetLifecycleHookSpecificationList ( const Aws::Vector< LifecycleHookSpecification > &  value)
inline

One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.

Definition at line 1341 of file CreateAutoScalingGroupRequest.h.

◆ SetLoadBalancerNames() [1/2]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetLoadBalancerNames ( Aws::Vector< Aws::String > &&  value)
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 715 of file CreateAutoScalingGroupRequest.h.

◆ SetLoadBalancerNames() [2/2]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetLoadBalancerNames ( const Aws::Vector< Aws::String > &  value)
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 708 of file CreateAutoScalingGroupRequest.h.

◆ SetMaxInstanceLifetime()

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

The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1604 of file CreateAutoScalingGroupRequest.h.

◆ SetMaxSize()

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

The maximum size of the 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 508 of file CreateAutoScalingGroupRequest.h.

◆ SetMinSize()

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

The minimum size of the group.

Definition at line 472 of file CreateAutoScalingGroupRequest.h.

◆ SetMixedInstancesPolicy() [1/2]

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

An embedded object that specifies a mixed instances policy. The required properties must be specified. If optional properties are unspecified, their default values are used.

The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 300 of file CreateAutoScalingGroupRequest.h.

◆ SetMixedInstancesPolicy() [2/2]

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

An embedded object that specifies a mixed instances policy. The required properties must be specified. If optional properties are unspecified, their default values are used.

The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 317 of file CreateAutoScalingGroupRequest.h.

◆ SetNewInstancesProtectedFromScaleIn()

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 scale-in protection in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1264 of file CreateAutoScalingGroupRequest.h.

◆ SetPlacementGroup() [1/3]

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

The name of an existing 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 1024 of file CreateAutoScalingGroupRequest.h.

◆ SetPlacementGroup() [2/3]

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

The name of an existing 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 1014 of file CreateAutoScalingGroupRequest.h.

◆ SetPlacementGroup() [3/3]

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

The name of an existing 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 1034 of file CreateAutoScalingGroupRequest.h.

◆ SetServiceLinkedRoleARN() [1/3]

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

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1529 of file CreateAutoScalingGroupRequest.h.

◆ SetServiceLinkedRoleARN() [2/3]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 Amazon Web Services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1518 of file CreateAutoScalingGroupRequest.h.

◆ SetServiceLinkedRoleARN() [3/3]

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

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1540 of file CreateAutoScalingGroupRequest.h.

◆ SetTags() [1/2]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1428 of file CreateAutoScalingGroupRequest.h.

◆ SetTags() [2/2]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1414 of file CreateAutoScalingGroupRequest.h.

◆ SetTargetGroupARNs() [1/2]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetTargetGroupARNs ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 791 of file CreateAutoScalingGroupRequest.h.

◆ SetTargetGroupARNs() [2/2]

void Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::SetTargetGroupARNs ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 781 of file CreateAutoScalingGroupRequest.h.

◆ SetTerminationPolicies() [1/2]

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1186 of file CreateAutoScalingGroupRequest.h.

◆ SetTerminationPolicies() [2/2]

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1176 of file CreateAutoScalingGroupRequest.h.

◆ SetVPCZoneIdentifier() [1/3]

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

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.

Definition at line 1105 of file CreateAutoScalingGroupRequest.h.

◆ SetVPCZoneIdentifier() [2/3]

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

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.

Definition at line 1095 of file CreateAutoScalingGroupRequest.h.

◆ SetVPCZoneIdentifier() [3/3]

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

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.

Definition at line 1115 of file CreateAutoScalingGroupRequest.h.

◆ TagsHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::TagsHasBeenSet ( ) const
inline

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1400 of file CreateAutoScalingGroupRequest.h.

◆ TargetGroupARNsHasBeenSet()

bool Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::TargetGroupARNsHasBeenSet ( ) const
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 771 of file CreateAutoScalingGroupRequest.h.

◆ TerminationPoliciesHasBeenSet()

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1166 of file CreateAutoScalingGroupRequest.h.

◆ VPCZoneIdentifierHasBeenSet()

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

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.

Definition at line 1085 of file CreateAutoScalingGroupRequest.h.

◆ WithAutoScalingGroupName() [1/3]

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

The name of the Auto Scaling group. This name must be unique per Region per account.

Definition at line 84 of file CreateAutoScalingGroupRequest.h.

◆ WithAutoScalingGroupName() [2/3]

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

The name of the Auto Scaling group. This name must be unique per Region per account.

Definition at line 78 of file CreateAutoScalingGroupRequest.h.

◆ WithAutoScalingGroupName() [3/3]

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

The name of the Auto Scaling group. This name must be unique per Region per account.

Definition at line 90 of file CreateAutoScalingGroupRequest.h.

◆ WithAvailabilityZones() [1/2]

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 659 of file CreateAutoScalingGroupRequest.h.

◆ WithAvailabilityZones() [2/2]

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

A list of Availability Zones where instances in the Auto Scaling group can be created. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.

Definition at line 650 of file CreateAutoScalingGroupRequest.h.

◆ WithCapacityRebalance()

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithCapacityRebalance ( bool  value)
inline

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1322 of file CreateAutoScalingGroupRequest.h.

◆ WithContext() [1/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithContext ( Aws::String &&  value)
inline

Reserved.

Definition at line 1650 of file CreateAutoScalingGroupRequest.h.

◆ WithContext() [2/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithContext ( const Aws::String value)
inline

Reserved.

Definition at line 1645 of file CreateAutoScalingGroupRequest.h.

◆ WithContext() [3/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithContext ( const char *  value)
inline

Reserved.

Definition at line 1655 of file CreateAutoScalingGroupRequest.h.

◆ WithDefaultCooldown()

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 604 of file CreateAutoScalingGroupRequest.h.

◆ WithDesiredCapacity()

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

The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure auto scaling. 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. If you do not specify a desired capacity, the default is the minimum size of the group.

Definition at line 559 of file CreateAutoScalingGroupRequest.h.

◆ WithHealthCheckGracePeriod()

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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. During this time, any health check failures for the instance are ignored. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide.

Conditional: Required if you are adding an ELB health check.

Definition at line 983 of file CreateAutoScalingGroupRequest.h.

◆ WithHealthCheckType() [1/3]

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

The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 926 of file CreateAutoScalingGroupRequest.h.

◆ WithHealthCheckType() [2/3]

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

The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 914 of file CreateAutoScalingGroupRequest.h.

◆ WithHealthCheckType() [3/3]

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

The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 938 of file CreateAutoScalingGroupRequest.h.

◆ WithInstanceId() [1/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithInstanceId ( Aws::String &&  value)
inline

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

Definition at line 443 of file CreateAutoScalingGroupRequest.h.

◆ WithInstanceId() [2/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithInstanceId ( const Aws::String value)
inline

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

Definition at line 430 of file CreateAutoScalingGroupRequest.h.

◆ WithInstanceId() [3/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithInstanceId ( const char *  value)
inline

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

Definition at line 456 of file CreateAutoScalingGroupRequest.h.

◆ WithLaunchConfigurationName() [1/3]

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

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

Definition at line 154 of file CreateAutoScalingGroupRequest.h.

◆ WithLaunchConfigurationName() [2/3]

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

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

Definition at line 145 of file CreateAutoScalingGroupRequest.h.

◆ WithLaunchConfigurationName() [3/3]

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

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

Definition at line 163 of file CreateAutoScalingGroupRequest.h.

◆ WithLaunchTemplate() [1/2]

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

Parameters used to specify the launch template and version to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

Definition at line 234 of file CreateAutoScalingGroupRequest.h.

◆ WithLaunchTemplate() [2/2]

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

Parameters used to specify the launch template and version to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

Definition at line 248 of file CreateAutoScalingGroupRequest.h.

◆ WithLifecycleHookSpecificationList() [1/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithLifecycleHookSpecificationList ( Aws::Vector< LifecycleHookSpecification > &&  value)
inline

One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.

Definition at line 1359 of file CreateAutoScalingGroupRequest.h.

◆ WithLifecycleHookSpecificationList() [2/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithLifecycleHookSpecificationList ( const Aws::Vector< LifecycleHookSpecification > &  value)
inline

One or more lifecycle hooks for the group, which specify actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.

Definition at line 1353 of file CreateAutoScalingGroupRequest.h.

◆ WithLoadBalancerNames() [1/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithLoadBalancerNames ( Aws::Vector< Aws::String > &&  value)
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 729 of file CreateAutoScalingGroupRequest.h.

◆ WithLoadBalancerNames() [2/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithLoadBalancerNames ( const Aws::Vector< Aws::String > &  value)
inline

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

Definition at line 722 of file CreateAutoScalingGroupRequest.h.

◆ WithMaxInstanceLifetime()

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

The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1614 of file CreateAutoScalingGroupRequest.h.

◆ WithMaxSize()

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

The maximum size of the 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 518 of file CreateAutoScalingGroupRequest.h.

◆ WithMinSize()

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

The minimum size of the group.

Definition at line 477 of file CreateAutoScalingGroupRequest.h.

◆ WithMixedInstancesPolicy() [1/2]

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

An embedded object that specifies a mixed instances policy. The required properties must be specified. If optional properties are unspecified, their default values are used.

The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 334 of file CreateAutoScalingGroupRequest.h.

◆ WithMixedInstancesPolicy() [2/2]

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

An embedded object that specifies a mixed instances policy. The required properties must be specified. If optional properties are unspecified, their default values are used.

The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

Definition at line 351 of file CreateAutoScalingGroupRequest.h.

◆ WithNewInstancesProtectedFromScaleIn()

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 scale-in protection in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1273 of file CreateAutoScalingGroupRequest.h.

◆ WithPlacementGroup() [1/3]

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

The name of an existing 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 1054 of file CreateAutoScalingGroupRequest.h.

◆ WithPlacementGroup() [2/3]

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

The name of an existing 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 1044 of file CreateAutoScalingGroupRequest.h.

◆ WithPlacementGroup() [3/3]

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

The name of an existing 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 1064 of file CreateAutoScalingGroupRequest.h.

◆ WithServiceLinkedRoleARN() [1/3]

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

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1562 of file CreateAutoScalingGroupRequest.h.

◆ WithServiceLinkedRoleARN() [2/3]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::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 Amazon Web Services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1551 of file CreateAutoScalingGroupRequest.h.

◆ WithServiceLinkedRoleARN() [3/3]

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

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1573 of file CreateAutoScalingGroupRequest.h.

◆ WithTags() [1/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1456 of file CreateAutoScalingGroupRequest.h.

◆ WithTags() [2/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1442 of file CreateAutoScalingGroupRequest.h.

◆ WithTargetGroupARNs() [1/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithTargetGroupARNs ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 811 of file CreateAutoScalingGroupRequest.h.

◆ WithTargetGroupARNs() [2/2]

CreateAutoScalingGroupRequest& Aws::AutoScaling::Model::CreateAutoScalingGroupRequest::WithTargetGroupARNs ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Definition at line 801 of file CreateAutoScalingGroupRequest.h.

◆ WithTerminationPolicies() [1/2]

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1206 of file CreateAutoScalingGroupRequest.h.

◆ WithTerminationPolicies() [2/2]

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

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Definition at line 1196 of file CreateAutoScalingGroupRequest.h.

◆ WithVPCZoneIdentifier() [1/3]

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

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.

Definition at line 1135 of file CreateAutoScalingGroupRequest.h.

◆ WithVPCZoneIdentifier() [2/3]

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

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.

Definition at line 1125 of file CreateAutoScalingGroupRequest.h.

◆ WithVPCZoneIdentifier() [3/3]

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

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.

Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.

Definition at line 1145 of file CreateAutoScalingGroupRequest.h.


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