| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ELBv2::TargetGroup; | ||
| 3 | use Moose; | ||
| 4 | has HealthCheckEnabled => (is => 'ro', isa => 'Bool'); | ||
| 5 | has HealthCheckIntervalSeconds => (is => 'ro', isa => 'Int'); | ||
| 6 | has HealthCheckPath => (is => 'ro', isa => 'Str'); | ||
| 7 | has HealthCheckPort => (is => 'ro', isa => 'Str'); | ||
| 8 | has HealthCheckProtocol => (is => 'ro', isa => 'Str'); | ||
| 9 | has HealthCheckTimeoutSeconds => (is => 'ro', isa => 'Int'); | ||
| 10 | has HealthyThresholdCount => (is => 'ro', isa => 'Int'); | ||
| 11 | has LoadBalancerArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 12 | has Matcher => (is => 'ro', isa => 'Paws::ELBv2::Matcher'); | ||
| 13 | has Port => (is => 'ro', isa => 'Int'); | ||
| 14 | has Protocol => (is => 'ro', isa => 'Str'); | ||
| 15 | has ProtocolVersion => (is => 'ro', isa => 'Str'); | ||
| 16 | has TargetGroupArn => (is => 'ro', isa => 'Str'); | ||
| 17 | has TargetGroupName => (is => 'ro', isa => 'Str'); | ||
| 18 | has TargetType => (is => 'ro', isa => 'Str'); | ||
| 19 | has UnhealthyThresholdCount => (is => 'ro', isa => 'Int'); | ||
| 20 | has VpcId => (is => 'ro', isa => 'Str'); | ||
| 21 | |||
| 22 | 1; | ||
| 23 | |||
| 24 | ### main pod documentation begin ### | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Paws::ELBv2::TargetGroup | ||
| 29 | |||
| 30 | =head1 USAGE | ||
| 31 | |||
| 32 | This class represents one of two things: | ||
| 33 | |||
| 34 | =head3 Arguments in a call to a service | ||
| 35 | |||
| 36 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 37 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 38 | |||
| 39 | As an example, if Att1 is expected to be a Paws::ELBv2::TargetGroup object: | ||
| 40 | |||
| 41 | $service_obj->Method(Att1 => { HealthCheckEnabled => $value, ..., VpcId => $value }); | ||
| 42 | |||
| 43 | =head3 Results returned from an API call | ||
| 44 | |||
| 45 | Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::TargetGroup object: | ||
| 46 | |||
| 47 | $result = $service_obj->Method(...); | ||
| 48 | $result->Att1->HealthCheckEnabled | ||
| 49 | |||
| 50 | =head1 DESCRIPTION | ||
| 51 | |||
| 52 | Information about a target group. | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 HealthCheckEnabled => Bool | ||
| 58 | |||
| 59 | Indicates whether health checks are enabled. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 HealthCheckIntervalSeconds => Int | ||
| 63 | |||
| 64 | The approximate amount of time, in seconds, between health checks of an | ||
| 65 | individual target. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 HealthCheckPath => Str | ||
| 69 | |||
| 70 | The destination for health checks on the targets. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 HealthCheckPort => Str | ||
| 74 | |||
| 75 | The port to use to connect with the target. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 HealthCheckProtocol => Str | ||
| 79 | |||
| 80 | The protocol to use to connect with the target. The GENEVE, TLS, UDP, | ||
| 81 | and TCP_UDP protocols are not supported for health checks. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 HealthCheckTimeoutSeconds => Int | ||
| 85 | |||
| 86 | The amount of time, in seconds, during which no response means a failed | ||
| 87 | health check. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 HealthyThresholdCount => Int | ||
| 91 | |||
| 92 | The number of consecutive health checks successes required before | ||
| 93 | considering an unhealthy target healthy. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 LoadBalancerArns => ArrayRef[Str|Undef] | ||
| 97 | |||
| 98 | The Amazon Resource Names (ARN) of the load balancers that route | ||
| 99 | traffic to this target group. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 Matcher => L<Paws::ELBv2::Matcher> | ||
| 103 | |||
| 104 | The HTTP or gRPC codes to use when checking for a successful response | ||
| 105 | from a target. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 Port => Int | ||
| 109 | |||
| 110 | The port on which the targets are listening. Not used if the target is | ||
| 111 | a Lambda function. | ||
| 112 | |||
| 113 | |||
| 114 | =head2 Protocol => Str | ||
| 115 | |||
| 116 | The protocol to use for routing traffic to the targets. | ||
| 117 | |||
| 118 | |||
| 119 | =head2 ProtocolVersion => Str | ||
| 120 | |||
| 121 | [HTTP/HTTPS protocol] The protocol version. The possible values are | ||
| 122 | C<GRPC>, C<HTTP1>, and C<HTTP2>. | ||
| 123 | |||
| 124 | |||
| 125 | =head2 TargetGroupArn => Str | ||
| 126 | |||
| 127 | The Amazon Resource Name (ARN) of the target group. | ||
| 128 | |||
| 129 | |||
| 130 | =head2 TargetGroupName => Str | ||
| 131 | |||
| 132 | The name of the target group. | ||
| 133 | |||
| 134 | |||
| 135 | =head2 TargetType => Str | ||
| 136 | |||
| 137 | The type of target that you must specify when registering targets with | ||
| 138 | this target group. The possible values are C<instance> (register | ||
| 139 | targets by instance ID), C<ip> (register targets by IP address), or | ||
| 140 | C<lambda> (register a single Lambda function as a target). | ||
| 141 | |||
| 142 | |||
| 143 | =head2 UnhealthyThresholdCount => Int | ||
| 144 | |||
| 145 | The number of consecutive health check failures required before | ||
| 146 | considering the target unhealthy. | ||
| 147 | |||
| 148 | |||
| 149 | =head2 VpcId => Str | ||
| 150 | |||
| 151 | The ID of the VPC for the targets. | ||
| 152 | |||
| 153 | |||
| 154 | |||
| 155 | =head1 SEE ALSO | ||
| 156 | |||
| 157 | This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2> | ||
| 158 | |||
| 159 | =head1 BUGS and CONTRIBUTIONS | ||
| 160 | |||
| 161 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 162 | |||
| 163 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 164 | |||
| 165 | =cut | ||
| 166 |