Sha256: 4fba9fd977b7075883d55a561c4c0ebbd28f88d1d6d69150eb93e1b8cb443076
Contents?: true
Size: 636 Bytes
Versions: 8
Compression:
Stored size: 636 Bytes
Contents
class Ey::Core::Client::SimpleAutoScalingPolicy < Ey::Core::Client::BaseAutoScalingPolicy identity :id attribute :auto_scaling_group_id, aliases: "auto_scaling_group", squash: ["id"] attribute :cooldown, type: :integer attribute :action_unit attribute :action_type attribute :action_value has_many :auto_scaling_alarms def policy_params { "cooldown" => cooldown, "action_unit" => action_unit, "action_type" => action_type, "action_value" => action_value, "type" => type } end def policy_requires requires :action_value, :action_type, :action_unit end end
Version data entries
8 entries across 8 versions & 2 rubygems