listener#

async idem_aws.exec.aws.elbv2.listener.get(hub, ctx, name: str, resource_id: str = None, load_balancer_arn: str = None) Dict[source]#

Pass required params to get a target group resource.

Users can specify one of the following two to fetch results: ARN of the load balancer, or an ARN of the listener. Here ARN of the listener takes precedence during search i.e. if both the fields from above are present, search is done with LB arn.

Parameters:
  • name (str) – The name of the Idem state.

  • resource_id (str, Optional) – AWS ElasticLoadBalancingv2 Listener ARN to identify the listener resource.

  • load_balancer_arn ((str, Optional) – The Amazon Resource Name (ARN) of the ElasticLoadBalancingv2 load balancer.