The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ELBv2::TargetGroup

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ELBv2::TargetGroup object:

  $service_obj->Method(Att1 => { HealthCheckEnabled => $value, ..., VpcId => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::TargetGroup object:

  $result = $service_obj->Method(...);
  $result->Att1->HealthCheckEnabled

DESCRIPTION

Information about a target group.

ATTRIBUTES

HealthCheckEnabled => Bool

Indicates whether health checks are enabled.

HealthCheckIntervalSeconds => Int

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

HealthCheckPath => Str

The destination for health checks on the targets.

HealthCheckPort => Str

The port to use to connect with the target.

HealthCheckProtocol => Str

The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

HealthCheckTimeoutSeconds => Int

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

HealthyThresholdCount => Int

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

LoadBalancerArns => ArrayRef[Str|Undef]

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

Matcher => Paws::ELBv2::Matcher

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

Port => Int

The port on which the targets are listening. Not used if the target is a Lambda function.

Protocol => Str

The protocol to use for routing traffic to the targets.

ProtocolVersion => Str

[HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, HTTP1, and HTTP2.

TargetGroupArn => Str

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

TargetGroupName => Str

The name of the target group.

TargetType => Str

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).

UnhealthyThresholdCount => Int

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

VpcId => Str

The ID of the VPC for the targets.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::ELBv2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues