File Coverage

blib/lib/Paws/AutoScaling/AutoScalingGroup.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::AutoScaling::AutoScalingGroup;
2 1     1   759 use Moose;
  1     1   3  
  1         9  
  1         707  
  1         3  
  1         9  
3             has AutoScalingGroupARN => (is => 'ro', isa => 'Str');
4             has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1);
5             has AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
6             has CreatedTime => (is => 'ro', isa => 'Str', required => 1);
7             has DefaultCooldown => (is => 'ro', isa => 'Int', required => 1);
8             has DesiredCapacity => (is => 'ro', isa => 'Int', required => 1);
9             has EnabledMetrics => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::EnabledMetric]');
10             has HealthCheckGracePeriod => (is => 'ro', isa => 'Int');
11             has HealthCheckType => (is => 'ro', isa => 'Str', required => 1);
12             has Instances => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::Instance]');
13             has LaunchConfigurationName => (is => 'ro', isa => 'Str');
14             has LoadBalancerNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
15             has MaxSize => (is => 'ro', isa => 'Int', required => 1);
16             has MinSize => (is => 'ro', isa => 'Int', required => 1);
17             has NewInstancesProtectedFromScaleIn => (is => 'ro', isa => 'Bool');
18             has PlacementGroup => (is => 'ro', isa => 'Str');
19             has Status => (is => 'ro', isa => 'Str');
20             has SuspendedProcesses => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::SuspendedProcess]');
21             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::TagDescription]');
22             has TargetGroupARNs => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
23             has TerminationPolicies => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
24             has VPCZoneIdentifier => (is => 'ro', isa => 'Str');
25             1;
26              
27             ### main pod documentation begin ###
28              
29             =head1 NAME
30              
31             Paws::AutoScaling::AutoScalingGroup
32              
33             =head1 USAGE
34              
35             This class represents one of two things:
36              
37             =head3 Arguments in a call to a service
38              
39             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
40             Each attribute should be used as a named argument in the calls that expect this type of object.
41              
42             As an example, if Att1 is expected to be a Paws::AutoScaling::AutoScalingGroup object:
43              
44             $service_obj->Method(Att1 => { AutoScalingGroupARN => $value, ..., VPCZoneIdentifier => $value });
45              
46             =head3 Results returned from an API call
47              
48             Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::AutoScalingGroup object:
49              
50             $result = $service_obj->Method(...);
51             $result->Att1->AutoScalingGroupARN
52              
53             =head1 DESCRIPTION
54              
55             Describes an Auto Scaling group.
56              
57             =head1 ATTRIBUTES
58              
59              
60             =head2 AutoScalingGroupARN => Str
61              
62             The Amazon Resource Name (ARN) of the group.
63              
64              
65             =head2 B<REQUIRED> AutoScalingGroupName => Str
66              
67             The name of the group.
68              
69              
70             =head2 B<REQUIRED> AvailabilityZones => ArrayRef[Str|Undef]
71              
72             One or more Availability Zones for the group.
73              
74              
75             =head2 B<REQUIRED> CreatedTime => Str
76              
77             The date and time the group was created.
78              
79              
80             =head2 B<REQUIRED> DefaultCooldown => Int
81              
82             The amount of time, in seconds, after a scaling activity completes
83             before another scaling activity can start.
84              
85              
86             =head2 B<REQUIRED> DesiredCapacity => Int
87              
88             The desired size of the group.
89              
90              
91             =head2 EnabledMetrics => ArrayRef[L<Paws::AutoScaling::EnabledMetric>]
92              
93             The metrics enabled for the group.
94              
95              
96             =head2 HealthCheckGracePeriod => Int
97              
98             The amount of time, in seconds, that Auto Scaling waits before checking
99             the health status of an EC2 instance that has come into service.
100              
101              
102             =head2 B<REQUIRED> HealthCheckType => Str
103              
104             The service to use for the health checks. The valid values are C<EC2>
105             and C<ELB>.
106              
107              
108             =head2 Instances => ArrayRef[L<Paws::AutoScaling::Instance>]
109              
110             The EC2 instances associated with the group.
111              
112              
113             =head2 LaunchConfigurationName => Str
114              
115             The name of the associated launch configuration.
116              
117              
118             =head2 LoadBalancerNames => ArrayRef[Str|Undef]
119              
120             One or more load balancers associated with the group.
121              
122              
123             =head2 B<REQUIRED> MaxSize => Int
124              
125             The maximum size of the group.
126              
127              
128             =head2 B<REQUIRED> MinSize => Int
129              
130             The minimum size of the group.
131              
132              
133             =head2 NewInstancesProtectedFromScaleIn => Bool
134              
135             Indicates whether newly launched instances are protected from
136             termination by Auto Scaling when scaling in.
137              
138              
139             =head2 PlacementGroup => Str
140              
141             The name of the placement group into which you'll launch your
142             instances, if any. For more information, see Placement Groups in the
143             I<Amazon Elastic Compute Cloud User Guide>.
144              
145              
146             =head2 Status => Str
147              
148             The current state of the group when DeleteAutoScalingGroup is in
149             progress.
150              
151              
152             =head2 SuspendedProcesses => ArrayRef[L<Paws::AutoScaling::SuspendedProcess>]
153              
154             The suspended processes associated with the group.
155              
156              
157             =head2 Tags => ArrayRef[L<Paws::AutoScaling::TagDescription>]
158              
159             The tags for the group.
160              
161              
162             =head2 TargetGroupARNs => ArrayRef[Str|Undef]
163              
164             The Amazon Resource Names (ARN) of the target groups for your load
165             balancer.
166              
167              
168             =head2 TerminationPolicies => ArrayRef[Str|Undef]
169              
170             The termination policies for the group.
171              
172              
173             =head2 VPCZoneIdentifier => Str
174              
175             One or more subnet IDs, if applicable, separated by commas.
176              
177             If you specify C<VPCZoneIdentifier> and C<AvailabilityZones>, ensure
178             that the Availability Zones of the subnets match the values for
179             C<AvailabilityZones>.
180              
181              
182              
183             =head1 SEE ALSO
184              
185             This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
186              
187             =head1 BUGS and CONTRIBUTIONS
188              
189             The source code is located here: https://github.com/pplu/aws-sdk-perl
190              
191             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
192              
193             =cut
194