TargetGroup class

Information about a target group.

Constructors

TargetGroup({bool? healthCheckEnabled, int? healthCheckIntervalSeconds, String? healthCheckPath, String? healthCheckPort, ProtocolEnum? healthCheckProtocol, int? healthCheckTimeoutSeconds, int? healthyThresholdCount, List<String>? loadBalancerArns, Matcher? matcher, int? port, ProtocolEnum? protocol, String? protocolVersion, String? targetGroupArn, String? targetGroupName, TargetTypeEnum? targetType, int? unhealthyThresholdCount, String? vpcId})
TargetGroup.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
healthCheckEnabled bool?
Indicates whether health checks are enabled.
final
healthCheckIntervalSeconds int?
The approximate amount of time, in seconds, between health checks of an individual target.
final
healthCheckPath String?
The destination for health checks on the targets.
final
healthCheckPort String?
The port to use to connect with the target.
final
healthCheckProtocol ProtocolEnum?
The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
final
healthCheckTimeoutSeconds int?
The amount of time, in seconds, during which no response means a failed health check.
final
healthyThresholdCount int?
The number of consecutive health checks successes required before considering an unhealthy target healthy.
final
loadBalancerArns List<String>?
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
final
matcher Matcher?
The HTTP or gRPC codes to use when checking for a successful response from a target.
final
port int?
The port on which the targets are listening. Not used if the target is a Lambda function.
final
protocol ProtocolEnum?
The protocol to use for routing traffic to the targets.
final
protocolVersion String?
HTTP/HTTPS protocol The protocol version. The possible values are GRPC, HTTP1, and HTTP2.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetGroupArn String?
The Amazon Resource Name (ARN) of the target group.
final
targetGroupName String?
The name of the target group.
final
targetType TargetTypeEnum?
The type of target that you must specify when registering targets with this target group. The possible values are instance (register targets by instance ID), ip (register targets by IP address), or lambda (register a single Lambda function as a target).
final
unhealthyThresholdCount int?
The number of consecutive health check failures required before considering the target unhealthy.
final
vpcId String?
The ID of the VPC for the targets.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited