Readonly
attributesTarget Group Attributes.
CustomizationsConfigTypes.targetGroupAttributes
Readonly
healthReadonly
matcherThe HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499.
Readonly
nameThe name of the target group. This value is used in Application Load Balancer listeners, Network Load Balancer listeners, and Autoscaling config.
Readonly
portThe port on which the targets receive traffic.
Readonly
protocolTarget group protocol version. Should be one of HTTP, HTTPS, GENEVE, TCP, UDP, TCP_UDP or TLS The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. A TCP_UDP listener must be associated with a TCP_UDP target group. For Gateway Load Balancers, the supported protocol is GENEVE.
Readonly
protocolThe protocol version. Should be one of 'GRPC', 'HTTP1', 'HTTP2'. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.
Readonly
shareThe accounts/OUs location where the Target Group will be deployed to.
Readonly
targetsTarget group targets. These targets should be the friendly names assigned to firewall instances.
This property should only be defined if also defining EC2-based firewall instances. It should be left undefined for application configurations.
Readonly
thresholdReadonly
typeThe type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.
instance
- Register targets by instance ID. This is the default value.ip
- Register targets by IP address. You can 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.
alb
- Register a single Application Load Balancer as a target.Generated using TypeDoc
CustomizationsConfig / AppConfigItem | Ec2FirewallConfig / TargetGroupItemConfig
Target Group Configuration
See
https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html
Example