Class: Convection::Model::Template::Resource::CloudWatchAlarm

Inherits:
Convection::Model::Template::Resource show all
Defined in:
lib/convection/model/template/resource/aws_cloud_watch_alarm.rb

Overview

AWS::CloudWatch::Alarm

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #name, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, #render, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

attach_resource

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select

Constructor Details

This class inherits a constructor from Convection::Model::Template::Resource

Instance Method Details

#actions_enabled ⇒ Object #actions_enabled(value) ⇒ Object

Overloads:

  • #actions_enabled ⇒ Object

    Returns the value of the 'ActionsEnabled' CloudFormation property.

  • #actions_enabled(value) ⇒ Object

    Sets the 'ActionsEnabled' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'ActionsEnabled' CloudFormation property to.



12
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 12

property :actions_enabled, 'ActionsEnabled', :default => true

#alarm_action ⇒ Object #alarm_action(value) ⇒ Object

Overloads:

  • #alarm_action ⇒ Object

    Returns the value of the 'AlarmActions' CloudFormation property.

  • #alarm_action(value) ⇒ Object

    Sets the 'AlarmActions' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'AlarmActions' CloudFormation property to.



13
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 13

property :alarm_action, 'AlarmActions', :type => :list

#alarm_description ⇒ Object #alarm_description(value) ⇒ Object

Overloads:

  • #alarm_description ⇒ Object

    Returns the value of the 'AlarmDescription' CloudFormation property.

  • #alarm_description(value) ⇒ Object

    Sets the 'AlarmDescription' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'AlarmDescription' CloudFormation property to.



14
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 14

property :alarm_description, 'AlarmDescription'

#alarm_name ⇒ Object #alarm_name(value) ⇒ Object

Overloads:

  • #alarm_name ⇒ Object

    Returns the value of the 'AlarmName' CloudFormation property.

  • #alarm_name(value) ⇒ Object

    Sets the 'AlarmName' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'AlarmName' CloudFormation property to.



15
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 15

property :alarm_name, 'AlarmName'

#comparison_operator ⇒ Object #comparison_operator(value) ⇒ Object

Overloads:

  • #comparison_operator ⇒ Object

    Returns the value of the 'ComparisonOperator' CloudFormation property.

  • #comparison_operator(value) ⇒ Object

    Sets the 'ComparisonOperator' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'ComparisonOperator' CloudFormation property to.



16
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 16

property :comparison_operator, 'ComparisonOperator'

#dimension ⇒ Object #dimension(value) ⇒ Object

Overloads:

  • #dimension ⇒ Object

    Returns the value of the 'Dimensions' CloudFormation property.

  • #dimension(value) ⇒ Object

    Sets the 'Dimensions' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'Dimensions' CloudFormation property to.



17
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 17

property :dimension, 'Dimensions', :type => :list

#evaluation_periods ⇒ Object #evaluation_periods(value) ⇒ Object

Overloads:

  • #evaluation_periods ⇒ Object

    Returns the value of the 'EvaluationPeriods' CloudFormation property.

  • #evaluation_periods(value) ⇒ Object

    Sets the 'EvaluationPeriods' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'EvaluationPeriods' CloudFormation property to.



18
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 18

property :evaluation_periods, 'EvaluationPeriods'

#insufficient_data_action ⇒ Object #insufficient_data_action(value) ⇒ Object

Overloads:

  • #insufficient_data_action ⇒ Object

    Returns the value of the 'InsufficientDataActions' CloudFormation property.

  • #insufficient_data_action(value) ⇒ Object

    Sets the 'InsufficientDataActions' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'InsufficientDataActions' CloudFormation property to.



19
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 19

property :insufficient_data_action, 'InsufficientDataActions', :type => :list

#metric_name ⇒ Object #metric_name(value) ⇒ Object

Overloads:

  • #metric_name ⇒ Object

    Returns the value of the 'MetricName' CloudFormation property.

  • #metric_name(value) ⇒ Object

    Sets the 'MetricName' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'MetricName' CloudFormation property to.



20
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 20

property :metric_name, 'MetricName'

#namespace ⇒ Object #namespace(value) ⇒ Object

Overloads:

  • #namespace ⇒ Object

    Returns the value of the 'Namespace' CloudFormation property.

  • #namespace(value) ⇒ Object

    Sets the 'Namespace' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'Namespace' CloudFormation property to.



21
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 21

property :namespace, 'Namespace'

#ok_action ⇒ Object #ok_action(value) ⇒ Object

Overloads:

  • #ok_action ⇒ Object

    Returns the value of the 'OKActions' CloudFormation property.

  • #ok_action(value) ⇒ Object

    Sets the 'OKActions' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'OKActions' CloudFormation property to.



22
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 22

property :ok_action, 'OKActions', :type => :list

#period ⇒ Object #period(value) ⇒ Object

Overloads:

  • #period ⇒ Object

    Returns the value of the 'Period' CloudFormation property.

  • #period(value) ⇒ Object

    Sets the 'Period' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'Period' CloudFormation property to.



23
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 23

property :period, 'Period'

#statistic ⇒ Object #statistic(value) ⇒ Object

Overloads:

  • #statistic ⇒ Object

    Returns the value of the 'Statistic' CloudFormation property.

  • #statistic(value) ⇒ Object

    Sets the 'Statistic' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'Statistic' CloudFormation property to.



24
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 24

property :statistic, 'Statistic'

#threshold ⇒ Object #threshold(value) ⇒ Object

Overloads:

  • #threshold ⇒ Object

    Returns the value of the 'Threshold' CloudFormation property.

  • #threshold(value) ⇒ Object

    Sets the 'Threshold' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'Threshold' CloudFormation property to.



25
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 25

property :threshold, 'Threshold'

#unit ⇒ Object #unit(value) ⇒ Object

Overloads:

  • #unit ⇒ Object

    Returns the value of the 'Unit' CloudFormation property.

  • #unit(value) ⇒ Object

    Sets the 'Unit' CloudFormation property.

    Parameters:

    • value —

      the value to set the 'Unit' CloudFormation property to.



26
# File 'lib/convection/model/template/resource/aws_cloud_watch_alarm.rb', line 26

property :unit, 'Unit'