File Coverage

blib/lib/Paws/ELBv2/TargetGroup.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


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