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/core/cloud/amazon/ec2_scaling_policy.rb
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, #initialize, #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.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_scaling_policy.rb', line 22 attribute :adjustment_type |
#asg_name ⇒ String
Returns Name of the associated autoscaling group.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_scaling_policy.rb', line 18 attribute :asg_name |
#cooldown ⇒ Integer?
Returns The minimum period of time between which autoscaling actions can take place.
34 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_scaling_policy.rb', line 34 attribute :cooldown |
#min_adjustment_step ⇒ Integer?
Returns Minimum amount of adjustment when policy is triggered.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_scaling_policy.rb', line 30 attribute :min_adjustment_step |
#name ⇒ String
Returns Unique name for the scaling policy.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_scaling_policy.rb', line 14 attribute :name |
#scaling_adjustment ⇒ Integer?
Returns The amount by which the autoscaling group is adjusted by the policy.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_scaling_policy.rb', line 26 attribute :scaling_adjustment |
#state ⇒ :present, :absent
Returns register or deregister the policy.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_scaling_policy.rb', line 10 attribute :state |