Class: Ansible::Ruby::Modules::Ec2_metric_alarm

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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_actionsArray<String>, ...

Returns A list of the names action(s) taken when the alarm is in the ‘alarm’ status.

Returns:

  • (Array<String>, String, nil)

    A list of the names action(s) taken when the alarm is in the ‘alarm’ status



58
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 58

attribute :alarm_actions

#comparisonString?

Returns Determines how the threshold value is compared.

Returns:

  • (String, nil)

    Determines how the threshold value is compared



30
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 30

attribute :comparison

#descriptionString?

Returns A longer description of the alarm.

Returns:

  • (String, nil)

    A longer description of the alarm



50
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 50

attribute :description

#dimensionsHash?

Returns Describes to what the alarm is applied.

Returns:

  • (Hash, nil)

    Describes to what the alarm is applied



54
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 54

attribute :dimensions

#evaluation_periodsInteger?

Returns The number of times in which the metric is evaluated before final calculation.

Returns:

  • (Integer, nil)

    The number of times in which the metric is evaluated before final calculation



42
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 42

attribute :evaluation_periods

#insufficient_data_actionsObject?

Returns A list of the names of action(s) to take when the alarm is in the ‘insufficient_data’ status.

Returns:

  • (Object, nil)

    A list of the names of action(s) to take when the alarm is in the ‘insufficient_data’ status



62
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 62

attribute :insufficient_data_actions

#metricString?

Returns Name of the monitored metric (e.g. CPUUtilization),Metric must already exist.

Returns:

  • (String, nil)

    Name of the monitored metric (e.g. CPUUtilization),Metric must already exist



18
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 18

attribute :metric

#nameString

Returns Unique name for the alarm.

Returns:

  • (String)

    Unique name for the alarm



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 14

attribute :name

#namespaceString?

Returns Name of the appropriate namespace (‘AWS/EC2’, ‘System/Linux’, etc.), which determines the category it will appear under in cloudwatch.

Returns:

  • (String, nil)

    Name of the appropriate namespace (‘AWS/EC2’, ‘System/Linux’, etc.), which determines the category it will appear under in cloudwatch



22
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 22

attribute :namespace

#ok_actionsObject?

Returns A list of the names of action(s) to take when the alarm is in the ‘ok’ status.

Returns:

  • (Object, nil)

    A list of the names of action(s) to take when the alarm is in the ‘ok’ status



65
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 65

attribute :ok_actions

#periodInteger?

Returns The time (in seconds) between metric evaluations.

Returns:

  • (Integer, nil)

    The time (in seconds) between metric evaluations



38
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 38

attribute :period

#state:present, :absent

Returns register or deregister the alarm.

Returns:

  • (:present, :absent)

    register or deregister the alarm



10
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 10

attribute :state

#statisticString?

Returns Operation applied to the metric,Works in conjunction with period and evaluation_periods to determine the comparison value.

Returns:

  • (String, nil)

    Operation applied to the metric,Works in conjunction with period and evaluation_periods to determine the comparison value



26
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 26

attribute :statistic

#thresholdFloat?

Returns Sets the min/max bound for triggering the alarm.

Returns:

  • (Float, nil)

    Sets the min/max bound for triggering the alarm



34
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 34

attribute :threshold

#unitString?

Returns The threshold’s unit of measurement.

Returns:

  • (String, nil)

    The threshold’s unit of measurement



46
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_metric_alarm.rb', line 46

attribute :unit