LoadBalancers – AWS CLI

  1. aws elbv2 describe-load-balancers| jq -c ‘.LoadBalancers[]|[.LoadBalancerName,.LoadBalancerArn]’ # list arns
  2. aws elbv2 describe-listeners –load-balancer-arn <ARN>  | jq -c ‘.|.Listeners[]|[.Protocol,.Port,.ListenerArn] # list listeners
  3.  aws elbv2 describe-rules –listener-arn <ARN> | jq -c ‘.Rules[]|.Conditions,.Actions’ # list rules

Previous Post

Leave a Reply

Your email address will not be published. Required fields are marked *