File Coverage

blib/lib/Paws/AutoScaling/UpdateAutoScalingGroup.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              
2             package Paws::AutoScaling::UpdateAutoScalingGroup;
3 1     1   519 use Moose;
  1         2  
  1         7  
4             has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1);
5             has AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has DefaultCooldown => (is => 'ro', isa => 'Int');
7             has DesiredCapacity => (is => 'ro', isa => 'Int');
8             has HealthCheckGracePeriod => (is => 'ro', isa => 'Int');
9             has HealthCheckType => (is => 'ro', isa => 'Str');
10             has LaunchConfigurationName => (is => 'ro', isa => 'Str');
11             has MaxSize => (is => 'ro', isa => 'Int');
12             has MinSize => (is => 'ro', isa => 'Int');
13             has NewInstancesProtectedFromScaleIn => (is => 'ro', isa => 'Bool');
14             has PlacementGroup => (is => 'ro', isa => 'Str');
15             has TerminationPolicies => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
16             has VPCZoneIdentifier => (is => 'ro', isa => 'Str');
17              
18 1     1   6183 use MooseX::ClassAttribute;
  1         3  
  1         9  
19              
20             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAutoScalingGroup');
21             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
22             class_has _result_key => (isa => 'Str', is => 'ro');
23             1;
24              
25             ### main pod documentation begin ###
26              
27             =head1 NAME
28              
29             Paws::AutoScaling::UpdateAutoScalingGroup - Arguments for method UpdateAutoScalingGroup on Paws::AutoScaling
30              
31             =head1 DESCRIPTION
32              
33             This class represents the parameters used for calling the method UpdateAutoScalingGroup on the
34             Auto Scaling service. Use the attributes of this class
35             as arguments to method UpdateAutoScalingGroup.
36              
37             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAutoScalingGroup.
38              
39             As an example:
40              
41             $service_obj->UpdateAutoScalingGroup(Att1 => $value1, Att2 => $value2, ...);
42              
43             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 B<REQUIRED> AutoScalingGroupName => Str
49              
50             The name of the Auto Scaling group.
51              
52              
53              
54             =head2 AvailabilityZones => ArrayRef[Str|Undef]
55              
56             One or more Availability Zones for the group.
57              
58              
59              
60             =head2 DefaultCooldown => Int
61              
62             The amount of time, in seconds, after a scaling activity completes
63             before another scaling activity can start. The default is 300.
64              
65             For more information, see Auto Scaling Cooldowns in the I<Auto Scaling
66             User Guide>.
67              
68              
69              
70             =head2 DesiredCapacity => Int
71              
72             The number of EC2 instances that should be running in the Auto Scaling
73             group. This number must be greater than or equal to the minimum size of
74             the group and less than or equal to the maximum size of the group.
75              
76              
77              
78             =head2 HealthCheckGracePeriod => Int
79              
80             The amount of time, in seconds, that Auto Scaling waits before checking
81             the health status of an EC2 instance that has come into service. The
82             default is 0.
83              
84             For more information, see Health Checks in the I<Auto Scaling User
85             Guide>.
86              
87              
88              
89             =head2 HealthCheckType => Str
90              
91             The service to use for the health checks. The valid values are C<EC2>
92             and C<ELB>.
93              
94              
95              
96             =head2 LaunchConfigurationName => Str
97              
98             The name of the launch configuration.
99              
100              
101              
102             =head2 MaxSize => Int
103              
104             The maximum size of the Auto Scaling group.
105              
106              
107              
108             =head2 MinSize => Int
109              
110             The minimum size of the Auto Scaling group.
111              
112              
113              
114             =head2 NewInstancesProtectedFromScaleIn => Bool
115              
116             Indicates whether newly launched instances are protected from
117             termination by Auto Scaling when scaling in.
118              
119              
120              
121             =head2 PlacementGroup => Str
122              
123             The name of the placement group into which you'll launch your
124             instances, if any. For more information, see Placement Groups in the
125             I<Amazon Elastic Compute Cloud User Guide>.
126              
127              
128              
129             =head2 TerminationPolicies => ArrayRef[Str|Undef]
130              
131             A standalone termination policy or a list of termination policies used
132             to select the instance to terminate. The policies are executed in the
133             order that they are listed.
134              
135             For more information, see Controlling Which Instances Auto Scaling
136             Terminates During Scale In in the I<Auto Scaling User Guide>.
137              
138              
139              
140             =head2 VPCZoneIdentifier => Str
141              
142             The ID of the subnet, if you are launching into a VPC. You can specify
143             several subnets in a comma-separated list.
144              
145             When you specify C<VPCZoneIdentifier> with C<AvailabilityZones>, ensure
146             that the subnets' Availability Zones match the values you specify for
147             C<AvailabilityZones>.
148              
149             For more information, see Launching Auto Scaling Instances in a VPC in
150             the I<Auto Scaling User Guide>.
151              
152              
153              
154              
155             =head1 SEE ALSO
156              
157             This class forms part of L<Paws>, documenting arguments for method UpdateAutoScalingGroup in L<Paws::AutoScaling>
158              
159             =head1 BUGS and CONTRIBUTIONS
160              
161             The source code is located here: https://github.com/pplu/aws-sdk-perl
162              
163             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
164              
165             =cut
166