Class: Convection::Model::Template::Resource::ScalingPolicy

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

Overview

AWS::AutoScaling::ScalingPolicy

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

#adjustment_typeObject #adjustment_type(value) ⇒ Object

Overloads:

  • #adjustment_typeObject

    Returns the value of the 'AdjustmentType' CloudFormation property.

  • #adjustment_type(value) ⇒ Object

    Sets the 'AdjustmentType' CloudFormation property.

    Parameters:

    • value

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



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

property :adjustment_type, 'AdjustmentType'

#auto_scaling_group_nameObject #auto_scaling_group_name(value) ⇒ Object

Overloads:

  • #auto_scaling_group_nameObject

    Returns the value of the 'AutoScalingGroupName' CloudFormation property.

  • #auto_scaling_group_name(value) ⇒ Object

    Sets the 'AutoScalingGroupName' CloudFormation property.

    Parameters:

    • value

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



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

property :auto_scaling_group_name, 'AutoScalingGroupName'

#cooldownObject #cooldown(value) ⇒ Object

Overloads:

  • #cooldownObject

    Returns the value of the 'Cooldown' CloudFormation property.

  • #cooldown(value) ⇒ Object

    Sets the 'Cooldown' CloudFormation property.

    Parameters:

    • value

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



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

property :cooldown, 'Cooldown'

#scaling_adjustmentObject #scaling_adjustment(value) ⇒ Object

Overloads:

  • #scaling_adjustmentObject

    Returns the value of the 'ScalingAdjustment' CloudFormation property.

  • #scaling_adjustment(value) ⇒ Object

    Sets the 'ScalingAdjustment' CloudFormation property.

    Parameters:

    • value

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



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

property :scaling_adjustment, 'ScalingAdjustment'