Method: Fog::AWS::AutoScaling::Group#instances_out_service

Defined in:
lib/fog/aws/models/auto_scaling/group.rb

#instances_out_serviceObject


85
86
87
# File 'lib/fog/aws/models/auto_scaling/group.rb', line 85

def instances_out_service
  attributes[:instances].select {|hash| hash['LifecycleState'] == 'OutOfService'}.map {|hash| hash['InstanceId']}
end