File Coverage

blib/lib/Paws/AutoScaling/LoadBalancerTargetGroupState.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::AutoScaling::LoadBalancerTargetGroupState;
2 1     1   444 use Moose;
  1         2  
  1         8  
3             has LoadBalancerTargetGroupARN => (is => 'ro', isa => 'Str');
4             has State => (is => 'ro', isa => 'Str');
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::AutoScaling::LoadBalancerTargetGroupState
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::AutoScaling::LoadBalancerTargetGroupState object:
23              
24             $service_obj->Method(Att1 => { LoadBalancerTargetGroupARN => $value, ..., State => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::LoadBalancerTargetGroupState object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->LoadBalancerTargetGroupARN
32              
33             =head1 DESCRIPTION
34              
35             Describes the state of a target group.
36              
37             If you attach a target group to an existing Auto Scaling group, the
38             initial state is C<Adding>. The state transitions to C<Added> after all
39             Auto Scaling instances are registered with the target group. If ELB
40             health checks are enabled, the state transitions to C<InService> after
41             at least one Auto Scaling instance passes the health check. If EC2
42             health checks are enabled instead, the target group remains in the
43             C<Added> state.
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 LoadBalancerTargetGroupARN => Str
49              
50             The Amazon Resource Name (ARN) of the target group.
51              
52              
53             =head2 State => Str
54              
55             The state of the target group.
56              
57             =over
58              
59             =item *
60              
61             C<Adding> - The Auto Scaling instances are being registered with the
62             target group.
63              
64             =item *
65              
66             C<Added> - All Auto Scaling instances are registered with the target
67             group.
68              
69             =item *
70              
71             C<InService> - At least one Auto Scaling instance passed an ELB health
72             check.
73              
74             =item *
75              
76             C<Removing> - The Auto Scaling instances are being deregistered from
77             the target group. If connection draining is enabled, Elastic Load
78             Balancing waits for in-flight requests to complete before deregistering
79             the instances.
80              
81             =item *
82              
83             C<Removed> - All Auto Scaling instances are deregistered from the
84             target group.
85              
86             =back
87              
88              
89              
90              
91             =head1 SEE ALSO
92              
93             This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
94              
95             =head1 BUGS and CONTRIBUTIONS
96              
97             The source code is located here: https://github.com/pplu/aws-sdk-perl
98              
99             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
100              
101             =cut
102