NetworkListenerLookupOptions

class aws_cdk.aws_elasticloadbalancingv2.NetworkListenerLookupOptions(*, listener_port=None, load_balancer_arn=None, load_balancer_tags=None, listener_protocol=None)

Bases: aws_cdk.aws_elasticloadbalancingv2.BaseListenerLookupOptions

Options for looking up a network listener.

Parameters
  • listener_port (Union[int, float, None]) – Filter listeners by listener port. Default: - does not filter by listener port

  • load_balancer_arn (Optional[str]) – Filter listeners by associated load balancer arn. Default: - does not filter by load balancer arn

  • load_balancer_tags (Optional[Mapping[str, str]]) – Filter listeners by associated load balancer tags. Default: - does not filter by load balancer tags

  • listener_protocol (Optional[Protocol]) – Protocol of the listener port. Default: - listener is not filtered by protocol

Attributes

listener_port

Filter listeners by listener port.

Default
  • does not filter by listener port

Return type

Union[int, float, None]

listener_protocol

Protocol of the listener port.

Default
  • listener is not filtered by protocol

Return type

Optional[Protocol]

load_balancer_arn

Filter listeners by associated load balancer arn.

Default
  • does not filter by load balancer arn

Return type

Optional[str]

load_balancer_tags

Filter listeners by associated load balancer tags.

Default
  • does not filter by load balancer tags

Return type

Optional[Mapping[str, str]]