blib/lib/Paws/AutoScaling/TargetTrackingConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AutoScaling::TargetTrackingConfiguration;
3 use Moose;
4 has CustomizedMetricSpecification => (is => 'ro', isa => 'Paws::AutoScaling::CustomizedMetricSpecification');
5 has DisableScaleIn => (is => 'ro', isa => 'Bool');
6 has PredefinedMetricSpecification => (is => 'ro', isa => 'Paws::AutoScaling::PredefinedMetricSpecification');
7 has TargetValue => (is => 'ro', isa => 'Num', required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::AutoScaling::TargetTrackingConfiguration
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::AutoScaling::TargetTrackingConfiguration object:
27  
28 $service_obj->Method(Att1 => { CustomizedMetricSpecification => $value, ..., TargetValue => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::TargetTrackingConfiguration object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->CustomizedMetricSpecification
36  
37 =head1 DESCRIPTION
38  
39 Represents a target tracking scaling policy configuration to use with
40 Amazon EC2 Auto Scaling.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 CustomizedMetricSpecification => L<Paws::AutoScaling::CustomizedMetricSpecification>
46  
47 A customized metric. You must specify either a predefined metric or a
48 customized metric.
49  
50  
51 =head2 DisableScaleIn => Bool
52  
53 Indicates whether scaling in by the target tracking scaling policy is
54 disabled. If scaling in is disabled, the target tracking scaling policy
55 doesn't remove instances from the Auto Scaling group. Otherwise, the
56 target tracking scaling policy can remove instances from the Auto
57 Scaling group. The default is C<false>.
58  
59  
60 =head2 PredefinedMetricSpecification => L<Paws::AutoScaling::PredefinedMetricSpecification>
61  
62 A predefined metric. You must specify either a predefined metric or a
63 customized metric.
64  
65  
66 =head2 B<REQUIRED> TargetValue => Num
67  
68 The target value for the metric.
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83