Class: Ansible::Ruby::Modules::Ec2_scaling_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_scaling_policy
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/ec2_scaling_policy.rb
Overview
Can create or delete scaling policies for autoscaling groups Referenced autoscaling groups must already exist
Instance Method Summary collapse
-
#adjustment_type ⇒ :ChangeInCapacity, ...
The type of change in capacity of the autoscaling group.
-
#asg_name ⇒ String
Name of the associated autoscaling group.
-
#cooldown ⇒ Integer?
The minimum period of time between which autoscaling actions can take place.
-
#min_adjustment_step ⇒ Integer?
Minimum amount of adjustment when policy is triggered.
-
#name ⇒ String
Unique name for the scaling policy.
-
#scaling_adjustment ⇒ Integer?
The amount by which the autoscaling group is adjusted by the policy.
-
#state ⇒ :present, :absent
Register or deregister the policy.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#adjustment_type ⇒ :ChangeInCapacity, ...
Returns The type of change in capacity of the autoscaling group.
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_scaling_policy.rb', line 25 attribute :adjustment_type |
#asg_name ⇒ String
Returns Name of the associated autoscaling group.
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_scaling_policy.rb', line 21 attribute :asg_name |
#cooldown ⇒ Integer?
Returns The minimum period of time between which autoscaling actions can take place.
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_scaling_policy.rb', line 37 attribute :cooldown |
#min_adjustment_step ⇒ Integer?
Returns Minimum amount of adjustment when policy is triggered.
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_scaling_policy.rb', line 33 attribute :min_adjustment_step |
#name ⇒ String
Returns Unique name for the scaling policy.
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_scaling_policy.rb', line 17 attribute :name |
#scaling_adjustment ⇒ Integer?
Returns The amount by which the autoscaling group is adjusted by the policy.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_scaling_policy.rb', line 29 attribute :scaling_adjustment |
#state ⇒ :present, :absent
Returns register or deregister the policy.
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_scaling_policy.rb', line 13 attribute :state |