AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Information about a target group.
Namespace: Amazon.ElasticLoadBalancingV2.Model
Assembly: AWSSDK.ElasticLoadBalancingV2.dll
Version: 3.x.y.z
public class TargetGroup
The TargetGroup type exposes the following members
Name | Description | |
---|---|---|
TargetGroup() |
Name | Type | Description | |
---|---|---|---|
HealthCheckEnabled | System.Boolean |
Gets and sets the property HealthCheckEnabled. Indicates whether health checks are enabled. |
|
HealthCheckIntervalSeconds | System.Int32 |
Gets and sets the property HealthCheckIntervalSeconds. The approximate amount of time, in seconds, between health checks of an individual target. |
|
HealthCheckPath | System.String |
Gets and sets the property HealthCheckPath. The destination for health checks on the targets. |
|
HealthCheckPort | System.String |
Gets and sets the property HealthCheckPort. The port to use to connect with the target. |
|
HealthCheckProtocol | Amazon.ElasticLoadBalancingV2.ProtocolEnum |
Gets and sets the property HealthCheckProtocol. The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks. |
|
HealthCheckTimeoutSeconds | System.Int32 |
Gets and sets the property HealthCheckTimeoutSeconds. The amount of time, in seconds, during which no response means a failed health check. |
|
HealthyThresholdCount | System.Int32 |
Gets and sets the property HealthyThresholdCount. The number of consecutive health checks successes required before considering an unhealthy target healthy. |
|
IpAddressType | Amazon.ElasticLoadBalancingV2.TargetGroupIpAddressTypeEnum |
Gets and sets the property IpAddressType.
The type of IP address used for this target group. The possible values are |
|
LoadBalancerArns | System.Collections.Generic.List<System.String> |
Gets and sets the property LoadBalancerArns. The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target group. You can use each target group with only one load balancer. |
|
Matcher | Amazon.ElasticLoadBalancingV2.Model.Matcher |
Gets and sets the property Matcher. The HTTP or gRPC codes to use when checking for a successful response from a target. |
|
Port | System.Int32 |
Gets and sets the property Port. The port on which the targets are listening. This parameter is not used if the target is a Lambda function. |
|
Protocol | Amazon.ElasticLoadBalancingV2.ProtocolEnum |
Gets and sets the property Protocol. The protocol to use for routing traffic to the targets. |
|
ProtocolVersion | System.String |
Gets and sets the property ProtocolVersion.
[HTTP/HTTPS protocol] The protocol version. The possible values are |
|
TargetGroupArn | System.String |
Gets and sets the property TargetGroupArn. The Amazon Resource Name (ARN) of the target group. |
|
TargetGroupName | System.String |
Gets and sets the property TargetGroupName. The name of the target group. |
|
TargetType | Amazon.ElasticLoadBalancingV2.TargetTypeEnum |
Gets and sets the property TargetType.
The type of target that you must specify when registering targets with this target
group. The possible values are |
|
UnhealthyThresholdCount | System.Int32 |
Gets and sets the property UnhealthyThresholdCount. The number of consecutive health check failures required before considering the target unhealthy. |
|
VpcId | System.String |
Gets and sets the property VpcId. The ID of the VPC for the targets. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5