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