Class: Awsrm::AlbTargetGroupReader
- Inherits:
-
ResourceReader
- Object
- ResourceReader
- Awsrm::AlbTargetGroupReader
- Defined in:
- lib/awsrm/resources/alb_target_group.rb
Instance Method Summary collapse
Methods inherited from ResourceReader
#arn, #initialize, #method_missing, #respond_to?
Constructor Details
This class inherits a constructor from Awsrm::ResourceReader
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Awsrm::ResourceReader
Instance Method Details
#id ⇒ Object
33 34 35 |
# File 'lib/awsrm/resources/alb_target_group.rb', line 33 def id @resource.target_group_name end |
#instance_ids ⇒ Object
37 38 39 40 41 42 43 |
# File 'lib/awsrm/resources/alb_target_group.rb', line 37 def instance_ids Awsrm::Resource.elbv2_client.describe_target_health( target_group_arn: @resource.target_group_arn ).target_health_descriptions.map do |desc| desc.target.id end end |