class Awful::AutoScalingNotifications
Public Instance Methods
ls(*names)
click to toggle source
# File lib/awful/auto_scaling_notifications.rb, line 7 def ls(*names) autoscaling.describe_notification_configurations(auto_scaling_group_names: names).notification_configurations.tap do |notifications| if options[:long] print_table notifications.map { |n| [n.auto_scaling_group_name, n.notification_type, n.topic_arn] } else puts notifications.map(&:notification_type) end end end
types()
click to toggle source
# File lib/awful/auto_scaling_notifications.rb, line 18 def types autoscaling.describe_auto_scaling_notification_types.auto_scaling_notification_types.tap do |types| puts types end end