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