File Coverage

blib/lib/Paws/EMR/AutoScalingPolicyDescription.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::EMR::AutoScalingPolicyDescription;
2 1     1   284 use Moose;
  1         2  
  1         6  
3             has Constraints => (is => 'ro', isa => 'Paws::EMR::ScalingConstraints');
4             has Rules => (is => 'ro', isa => 'ArrayRef[Paws::EMR::ScalingRule]');
5             has Status => (is => 'ro', isa => 'Paws::EMR::AutoScalingPolicyStatus');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::EMR::AutoScalingPolicyDescription
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::EMR::AutoScalingPolicyDescription object:
24              
25             $service_obj->Method(Att1 => { Constraints => $value, ..., Status => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::AutoScalingPolicyDescription object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Constraints
33              
34             =head1 DESCRIPTION
35              
36             An automatic scaling policy for a core instance group or task instance
37             group in an Amazon EMR cluster. The automatic scaling policy defines
38             how an instance group dynamically adds and terminates EC2 instances in
39             response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Constraints => L<Paws::EMR::ScalingConstraints>
45              
46             The upper and lower EC2 instance limits for an automatic scaling
47             policy. Automatic scaling activity will not cause an instance group to
48             grow above or below these limits.
49              
50              
51             =head2 Rules => ArrayRef[L<Paws::EMR::ScalingRule>]
52              
53             The scale-in and scale-out rules that comprise the automatic scaling
54             policy.
55              
56              
57             =head2 Status => L<Paws::EMR::AutoScalingPolicyStatus>
58              
59             The status of an automatic scaling policy.
60              
61              
62              
63             =head1 SEE ALSO
64              
65             This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
66              
67             =head1 BUGS and CONTRIBUTIONS
68              
69             The source code is located here: https://github.com/pplu/aws-sdk-perl
70              
71             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
72              
73             =cut
74