Class: Ansible::Ruby::Modules::Ec2_metric_alarm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_metric_alarm
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb
Instance Method Summary collapse
-
#alarm_actions ⇒ Array<String>, ...
A list of the names action(s) taken when the alarm is in the ‘alarm’ status.
-
#comparison ⇒ String?
Determines how the threshold value is compared.
-
#description ⇒ String?
A longer description of the alarm.
-
#dimensions ⇒ Hash?
Describes to what the alarm is applied.
-
#evaluation_periods ⇒ Integer?
The number of times in which the metric is evaluated before final calculation.
-
#insufficient_data_actions ⇒ Object?
A list of the names of action(s) to take when the alarm is in the ‘insufficient_data’ status.
-
#metric ⇒ String?
Name of the monitored metric (e.g. CPUUtilization),Metric must already exist.
-
#name ⇒ String
Unique name for the alarm.
-
#namespace ⇒ String?
Name of the appropriate namespace (‘AWS/EC2’, ‘System/Linux’, etc.), which determines the category it will appear under in cloudwatch.
-
#ok_actions ⇒ Object?
A list of the names of action(s) to take when the alarm is in the ‘ok’ status.
-
#period ⇒ Integer?
The time (in seconds) between metric evaluations.
-
#state ⇒ :present, :absent
Register or deregister the alarm.
-
#statistic ⇒ String?
Operation applied to the metric,Works in conjunction with period and evaluation_periods to determine the comparison value.
-
#threshold ⇒ Float?
Sets the min/max bound for triggering the alarm.
-
#unit ⇒ String?
The threshold’s unit of measurement.
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
#alarm_actions ⇒ Array<String>, ...
58 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 58 attribute :alarm_actions |
#comparison ⇒ String?
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 30 attribute :comparison |
#description ⇒ String?
50 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 50 attribute :description |
#dimensions ⇒ Hash?
54 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 54 attribute :dimensions |
#evaluation_periods ⇒ Integer?
42 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 42 attribute :evaluation_periods |
#insufficient_data_actions ⇒ Object?
62 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 62 attribute :insufficient_data_actions |
#metric ⇒ String?
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 18 attribute :metric |
#name ⇒ String
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 14 attribute :name |
#namespace ⇒ String?
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 22 attribute :namespace |
#ok_actions ⇒ Object?
65 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 65 attribute :ok_actions |
#period ⇒ Integer?
38 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 38 attribute :period |
#state ⇒ :present, :absent
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 10 attribute :state |
#statistic ⇒ String?
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 26 attribute :statistic |
#threshold ⇒ Float?
34 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 34 attribute :threshold |
#unit ⇒ String?
46 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 46 attribute :unit |