Module | AWS::AutoScaling::GroupOptions |
In: |
lib/aws/auto_scaling/group_options.rb
|
This mixin provides a method for parsing Auto Scaling group options (for create and upate methods). @private
@param [Hash] options
@option options [required,Integer] :min_size
The maximum size of the Auto Scaling group.
@option options [required,Integer] :max_size
The minimum size of the Auto Scaling group.
@option options [required,LaunchConfiguration,String] :launch_configuration
The launch configuration to use with the Auto Scaling group. This may be a {LaunchConfiguration} object or a launch configuration name string.
@option options [required,Array<String>] :availability_zones
A list of Availability Zones for the Auto Scaling group. This can be {EC2::AvailabilityZone} objects or availability zone names.
@option options [Integer] :default_cooldown
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
@option options [Integer] :desired_capacity
The number of Amazon EC2 instances that should be running in the group.
@option options [Integer] :health_check_grace_period
Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.
@option options [Symbol] :health_check_type
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are +:ec2+ or +:elb+.
@option options [String] :placement_group
Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see {Using Cluster Instances}[http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using_cluster_computing.html].
@option options [Array<Hash>] :tags A list of tags to apply launched
instances. Each tag hash may have the following keys: * +:key+ - (required,String) The tag name. * +:value+ - (String) The optional tag value. * +:propagate_at_launch+ - (Boolean) Whether or not to propagate to instances, defaults to true.
@option options [Array<EC2::Subnet>,Array<String>] :subnets
A list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs). Ensure the subnets' Availability Zones match the Availability Zones specified.
@return [Hash]