blib/lib/Paws/ELBv2/TargetDescription.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ELBv2::TargetDescription;
3 use Moose;
4 has AvailabilityZone => (is => 'ro', isa => 'Str');
5 has Id => (is => 'ro', isa => 'Str', required => 1);
6 has Port => (is => 'ro', isa => 'Int');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::ELBv2::TargetDescription
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::ELBv2::TargetDescription object:
26  
27 $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., Port => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::TargetDescription object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->AvailabilityZone
35  
36 =head1 DESCRIPTION
37  
38 Information about a target.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 AvailabilityZone => Str
44  
45 An Availability Zone or C<all>. This determines whether the target
46 receives traffic from the load balancer nodes in the specified
47 Availability Zone or from all enabled Availability Zones for the load
48 balancer.
49  
50 This parameter is not supported if the target type of the target group
51 is C<instance>.
52  
53 If the target type is C<ip> and the IP address is in a subnet of the
54 VPC for the target group, the Availability Zone is automatically
55 detected and this parameter is optional. If the IP address is outside
56 the VPC, this parameter is required.
57  
58 With an Application Load Balancer, if the target type is C<ip> and the
59 IP address is outside the VPC for the target group, the only supported
60 value is C<all>.
61  
62 If the target type is C<lambda>, this parameter is optional and the
63 only supported value is C<all>.
64  
65  
66 =head2 B<REQUIRED> Id => Str
67  
68 The ID of the target. If the target type of the target group is
69 C<instance>, specify an instance ID. If the target type is C<ip>,
70 specify an IP address. If the target type is C<lambda>, specify the ARN
71 of the Lambda function.
72  
73  
74 =head2 Port => Int
75  
76 The port on which the target is listening. If the target group protocol
77 is GENEVE, the supported port is 6081. Not used if the target is a
78 Lambda function.
79  
80  
81  
82 =head1 SEE ALSO
83  
84 This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2>
85  
86 =head1 BUGS and CONTRIBUTIONS
87  
88 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
89  
90 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
91  
92 =cut
93