class Awsrm::AlbTargetGroupReader

Public Instance Methods

id() click to toggle source
# File lib/awsrm/resources/alb_target_group.rb, line 33
def id
  @resource.target_group_name
end
instance_ids() click to toggle source
# 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