Optional
deregistrationOptional
healthA Health Check block.
Optional
loadThe load balancer this target group is associated with. If not provided, a new load balancer will be automatically created.
Optional
nameThe name of the TargetGroup. If not specified, the [name] parameter passed into the TargetGroup constructor will be hashed and used as the name. If a [loadBalancer] is not provided, this name will be used to name that resource as well.
Optional
portThe port to use to connect with the target. Valid values are either ports 1-65536. If unspecified will be inferred from the [protocol].
Optional
protocolThe protocol to use to connect with the target. If unspecified will be inferred from [port].
Optional
proxyBoolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See doc for more information.
Optional
slowThe amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.
Optional
stickinessA Stickiness block. Stickiness blocks are documented below. stickiness
is only valid if
used with Load Balancers of type Application
Optional
tagsA mapping of tags to assign to the resource.
Optional
targetAn existing aws.lb.TargetGroup to use for this awsx.lb.TargetGroup. If not provided, one will be created.
Optional
targetThe type of target that you must specify when registering targets with this target group. The
possible values are instance
(targets are specified by instance ID) or ip
(targets are
specified by IP address) or lambda
(targets are specified by lambda arn). The default is
ip
. Note that you can't specify targets for a target group using both instance IDs and IP
addresses. If the target type is ip
, specify IP addresses from the subnets of the virtual
private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and
192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable
IP addresses.
Optional
vpcThe vpc this load balancer will be used with. Defaults to [Vpc.getDefault]
if
unspecified.
Generated using TypeDoc
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.