Table: listener
Table to manage AWS Load Balancer listeners. Before you start using your Application Load Balancer, you must add one or more listeners. A listener is a process that checks for connection requests, using the protocol and port that you configure. The rules that you define for a listener determine how the load balancer routes requests to its registered targets.
Example
INSERT INTO listener (load_balancer_id, port, protocol, target_group_id) VALUES
((SELECT id FROM load_balancer WHERE load_balancer_name = 'lb_name'), 5678, 'tcp',
(SELECT id FROM target_group WHERE target_group_name = 'target_group_name'));
DELETE FROM listener WHERE load_balancer_id = (SELECT id FROM load_balancer WHERE load_balancer_name = 'lb_name');
See
- https://github.com/iasql/iasql/blob/b2c2383b73d73f5cdf75c867d334e80cdf40caa1/test/modules/aws-elb-integration.ts#L400
- https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html
Columns
• action_type: FORWARD
Action type for this specific listener
• Optional
certificate: certificate
Reference to the certificate used by the listener when exposing HTTPs ports
See
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html
• Optional
listener_arn: string
AWS ARN that identifies the listener
• load_balancer: load_balancer
Reference to the load balancer associated to this listener
• port: number
Port exposed at the listener
• protocol: protocol
Protocol for the exposed port
• Optional
ssl_policy: string
Type of SSL policy to use
See
• target_group: target_group
Reference to the target group associated with this listener