Sha256: 7f7db60d12937e1aa511a840bc3b2362ed6f9b1d1d8926a55610d171d1ae5eae
Contents?: true
Size: 721 Bytes
Versions: 8
Compression:
Stored size: 721 Bytes
Contents
class Ey::Core::Client::TargetAutoScalingPolicy < Ey::Core::Client::BaseAutoScalingPolicy identity :id attribute :auto_scaling_group_id, aliases: "auto_scaling_group", squash: ["id"] attribute :estimated_warmup, type: :integer attribute :target_value, type: :float attribute :disable_scale_in, type: :boolean attribute :metric_type has_many :auto_scaling_alarms def policy_params { "estimated_warmup" => estimated_warmup, "target_value" => target_value, "disable_scale_in" => disable_scale_in, "metric_type" => metric_type, "type" => type } end def policy_requires requires :target_value, :metric_type, :estimated_warmup end end
Version data entries
8 entries across 8 versions & 2 rubygems