---
type: resource-type
title: TargetGroup
description: aws resource type AWS::ElasticLoadBalancingV2::TargetGroup
name: TargetGroup
lexicon: aws
resource_type: AWS::ElasticLoadBalancingV2::TargetGroup
---
`AWS::ElasticLoadBalancingV2::TargetGroup`, a resource type of the aws lexicon.

## Properties

- `HealthCheckEnabled` (`boolean`, optional): Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance, ip, or alb, health checks are always enabled and cannot be disabled.
- `HealthCheckIntervalSeconds` (`number`, optional): The approximate amount of time, in seconds, between health checks of an individual target.
- `HealthCheckPath` (`string`, optional): [HTTP/HTTPS health checks] The destination for health checks on the targets. [HTTP1 or HTTP2 protocol version] The ping path. The default is /. [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.
- `HealthCheckPort` (`string`, optional): The port the load balancer uses when performing health checks on targets.
- `HealthCheckProtocol` (`string`, optional): The protocol the load balancer uses when performing health checks on targets.
- `HealthCheckTimeoutSeconds` (`number`, optional): The amount of time, in seconds, during which no response from a target means a failed health check.
- `HealthyThresholdCount` (`number`, optional): The number of consecutive health checks successes required before considering an unhealthy target healthy.
- `IpAddressType` (`string`, optional): The type of IP address used for this target group. The possible values are ipv4 and ipv6.
- `LoadBalancerArns` (`string[]`, optional): The Amazon Resource Names (ARNs) of the load balancers that route traffic to this target group.
- `Matcher` (`TargetGroup_Matcher`, optional): [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
- `Name` (`string`, optional): The name of the target group.
- `Port` (`number`, optional): The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.
- `Protocol` (`string`, optional): The protocol to use for routing traffic to the targets.
- `ProtocolVersion` (`string`, optional): [HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, HTTP1, and HTTP2.
- `Tags` (`TargetGroup_Tag[]`, optional): The tags.
- `TargetControlPort` (`number`, optional): The port that the target control agent uses to communicate the available capacity of targets to the load balancer.
- `TargetGroupArn` (`string`, optional): The ARN of the Target Group
- `TargetGroupAttributes` (`TargetGroup_TargetGroupAttribute[]`, optional): The attributes.
- `TargetGroupFullName` (`string`, optional): The full name of the target group.
- `TargetGroupName` (`string`, optional): The name of the target group.
- `Targets` (`TargetGroup_TargetDescription[]`, optional): The targets.
- `TargetType` (`string`, optional): The 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.
- `UnhealthyThresholdCount` (`number`, optional): The number of consecutive health check failures required before considering a target unhealthy.
- `VpcId` (`string`, optional): The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply.

## Attributes

- `LoadBalancerArns`
- `TargetGroupArn`
- `TargetGroupFullName`
- `TargetGroupName`
