Skip to main content
Version: 0.1.9

target_group

Table to manage AWS Target groups. Each target group is used to route requests to one or more registered targets. When you create each listener rule, you specify a target group and conditions. When a rule condition is met, traffic is forwarded to the corresponding target group

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html

Columns

Optional health_check_enabled: boolean

Whether to enable healthchecks for this target group

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

Optional health_check_interval_seconds: number

The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds if the target type is instance or ip and 35 seconds if the target type is lambda.

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

Optional health_check_path: string

The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (/path?query). The default is /. If the protocol version is gRPC, specify the path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

Optional health_check_port: string

The port the load balancer uses when performing health checks on targets. The default is to use the port on which each target receives traffic from the load balancer.

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

Optional health_check_protocol: protocol

The protocol the load balancer uses when performing health checks on targets. The possible protocols are HTTP and HTTPS. The default is the HTTP protocol.

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

Optional health_check_timeout_seconds: number

The amount of time, in seconds, during which no response from a target means a failed health check. The range is 2–120 seconds. The default is 5 seconds if the target type is instance or ip and 30 seconds if the target type is lambda.

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

Optional healthy_threshold_count: number

The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

Optional ip_address_type: target_group_ip_address_type

Whether to expose ipv4 or ipv6

Optional port: number

Port to expose

Optional protocol: protocol

Protocol for the target group

Optional protocol_version: protocol_version

Protocol version for the target group

region: string

Region for the target group

Optional target_group_arn: string

AWS ARN to identify the target group

target_group_name: string

Name to identify the target group

target_type: target_type

Type of target group to create

Optional unhealthy_threshold_count: number

The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.

See

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html

Optional vpc: vpc

Reference to the associated VPC If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.