AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.ElasticLoadBalancingV2.Model.TargetGroup

Namespace: Amazon.ElasticLoadBalancingV2.Model
Assembly: AWSSDK.ElasticLoadBalancingV2.dll
Version: 3.x.y.z

Syntax

C#
public class TargetGroup

The TargetGroup type exposes the following members

Constructors

NameDescription
Public Method TargetGroup()

Properties

NameTypeDescription
Public Property HealthCheckIntervalSeconds System.Int32

Gets and sets the property HealthCheckIntervalSeconds.

The approximate amount of time, in seconds, between health checks of an individual target.

Public Property HealthCheckPath System.String

Gets and sets the property HealthCheckPath.

The destination for the health check request.

Public Property HealthCheckPort System.String

Gets and sets the property HealthCheckPort.

The port to use to connect with the target.

Public Property HealthCheckProtocol Amazon.ElasticLoadBalancingV2.ProtocolEnum

Gets and sets the property HealthCheckProtocol.

The protocol to use to connect with the target.

Public Property HealthCheckTimeoutSeconds System.Int32

Gets and sets the property HealthCheckTimeoutSeconds.

The amount of time, in seconds, during which no response means a failed health check.

Public Property HealthyThresholdCount System.Int32

Gets and sets the property HealthyThresholdCount.

The number of consecutive health checks successes required before considering an unhealthy target healthy.

Public Property LoadBalancerArns System.Collections.Generic.List<System.String>

Gets and sets the property LoadBalancerArns.

The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.

Public Property Matcher Amazon.ElasticLoadBalancingV2.Model.Matcher

Gets and sets the property Matcher.

The HTTP codes to use when checking for a successful response from a target.

Public Property Port System.Int32

Gets and sets the property Port.

The port on which the targets are listening.

Public Property Protocol Amazon.ElasticLoadBalancingV2.ProtocolEnum

Gets and sets the property Protocol.

The protocol to use for routing traffic to the targets.

Public Property TargetGroupArn System.String

Gets and sets the property TargetGroupArn.

The Amazon Resource Name (ARN) of the target group.

Public Property TargetGroupName System.String

Gets and sets the property TargetGroupName.

The name of the target group.

Public Property 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 instance (targets are specified by instance ID) or ip (targets are specified by IP address).

Public Property UnhealthyThresholdCount System.Int32

Gets and sets the property UnhealthyThresholdCount.

The number of consecutive health check failures required before considering the target unhealthy.

Public Property VpcId System.String

Gets and sets the property VpcId.

The ID of the VPC for the targets.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms