Data Source schema for AWS::ElasticLoadBalancingV2::TargetGroup
id
(String) Uniquely identifies the resource.health_check_enabled
(Boolean) 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.health_check_interval_seconds
(Number) The approximate amount of time, in seconds, between health checks of an individual target.health_check_path
(String) [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.health_check_port
(String) The port the load balancer uses when performing health checks on targets.health_check_protocol
(String) The protocol the load balancer uses when performing health checks on targets.health_check_timeout_seconds
(Number) The amount of time, in seconds, during which no response from a target means a failed health check.healthy_threshold_count
(Number) The number of consecutive health checks successes required before considering an unhealthy target healthy.ip_address_type
(String) The type of IP address used for this target group. The possible values are ipv4 and ipv6.load_balancer_arns
(List of String) The Amazon Resource Names (ARNs) of the load balancers that route traffic to this target group.matcher
(Attributes) [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. (see below for nested schema)name
(String) The name of the target group.port
(Number) 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) The protocol to use for routing traffic to the targets.protocol_version
(String) [HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, HTTP1, and HTTP2.tags
(Attributes List) The tags. (see below for nested schema)target_group_arn
(String) The ARN of the Target Grouptarget_group_attributes
(Attributes Set) The attributes. (see below for nested schema)target_group_full_name
(String) The full name of the target group.target_group_name
(String) The name of the target group.target_type
(String) 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.targets
(Attributes Set) The targets. (see below for nested schema)unhealthy_threshold_count
(Number) The number of consecutive health check failures required before considering a target unhealthy.vpc_id
(String) The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply.matcher
Read-Only:
grpc_code
(String) You can specify values between 0 and 99. You can specify multiple values, or a range of values. The default value is 12.http_code
(String) For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values or a range of values.tags
Read-Only:
key
(String) The value for the tag.value
(String) The key name of the tag.target_group_attributes
Read-Only:
key
(String) The value of the attribute.value
(String) The name of the attribute.targets
Read-Only:
availability_zone
(String) An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer.id
(String) The ID of the target. If the target type of the target group is instance, specify an instance ID. If the target type is ip, specify an IP address. If the target type is lambda, specify the ARN of the Lambda function. If the target type is alb, specify the ARN of the Application Load Balancer target.port
(Number) The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. Not used if the target is a Lambda function.