Skip to content

Target Group

Backend pool for ALB/NLB.

load-balancer
category
25
settings
2
inputs
1
outputs
SettingTypeRequiredDefault
Target group nameTextYes
Protocol
Options: HTTP, HTTPS, TCP, TLS, UDP, TCP+UDP, GENEVE
ChoiceHTTP
Protocol version (ALB)
Options: HTTP/1.1, HTTP/2, gRPC
ChoiceHTTP1
PortNumberYes80
Target type
Options: Instance, IP address, Lambda, ALB
Choiceinstance
IP address type
Options: IPv4, IPv6
Choiceipv4
Health check pathText/health
Health check interval (s)Number30
Health check timeout (s)Number5
Healthy thresholdNumber5
Unhealthy thresholdNumber2
Health check protocol
Options: HTTP, HTTPS, TCP
ChoiceHTTP
Health check portTexttraffic-port
Healthy HTTP codesText200
Deregistration delay (s)Number300
Stickiness enabledTogglefalse
Stickiness type
Options: LB cookie (ALB), App cookie (ALB), Source IP (NLB)
Choicelb_cookie
Cookie duration (s)Number86400
App cookie nameText
LB algorithm
Options: Round robin, Least outstanding requests, Weighted random
Choiceround_robin
Preserve client IP (NLB)Toggletrue
Connection termination on deregTogglefalse
Slow start (s)Number0
Proxy protocol v2 (NLB)Togglefalse
TagsKey–value
SocketDirectionAcceptsTerraform arg
Load balancerInputany
VPCInputaws.vpcvpc_id
MembersOutputany