Complete the code to specify the type of load balancer as Network Load Balancer.
LoadBalancerType: '[1]'
The Network Load Balancer type is specified by setting LoadBalancerType to network.
Complete the code to set the listener protocol for a Network Load Balancer.
Listeners: [{ Protocol: '[1]', Port: 80, DefaultActions: [...] }]Network Load Balancers use TCP protocol for listeners to handle Layer 4 traffic.
Fix the error in the target group protocol for a Network Load Balancer.
TargetGroupProtocol: '[1]'
Network Load Balancer target groups must use TCP protocol to match the NLB's Layer 4 operation.
Fill both blanks to configure health check protocol and port for a Network Load Balancer target group.
HealthCheckProtocol: '[1]', HealthCheckPort: '[2]'
Network Load Balancer health checks use TCP protocol and typically port 80 for checking target health.
Fill all three blanks to define a Network Load Balancer with cross-zone load balancing enabled and an Elastic IP allocation.
LoadBalancerAttributes: [{ Key: '[1]', Value: '[2]' }], Subnets: ['subnet-12345'], IpAddressType: '[3]'To enable cross-zone load balancing, set the attribute load_balancing.cross_zone.enabled to true. The IP address type for NLB is usually ipv4.