blib/lib/Paws/AppRunner/AutoScalingConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AppRunner::AutoScalingConfiguration;
3 use Moose;
4 has AutoScalingConfigurationArn => (is => 'ro', isa => 'Str');
5 has AutoScalingConfigurationName => (is => 'ro', isa => 'Str');
6 has AutoScalingConfigurationRevision => (is => 'ro', isa => 'Int');
7 has CreatedAt => (is => 'ro', isa => 'Str');
8 has DeletedAt => (is => 'ro', isa => 'Str');
9 has Latest => (is => 'ro', isa => 'Bool');
10 has MaxConcurrency => (is => 'ro', isa => 'Int');
11 has MaxSize => (is => 'ro', isa => 'Int');
12 has MinSize => (is => 'ro', isa => 'Int');
13 has Status => (is => 'ro', isa => 'Str');
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::AppRunner::AutoScalingConfiguration
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::AppRunner::AutoScalingConfiguration object:
33  
34 $service_obj->Method(Att1 => { AutoScalingConfigurationArn => $value, ..., Status => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::AppRunner::AutoScalingConfiguration object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->AutoScalingConfigurationArn
42  
43 =head1 DESCRIPTION
44  
45 Describes an AWS App Runner automatic scaling configuration resource.
46 Multiple revisions of a configuration have the same
47 C<AutoScalingConfigurationName> and different
48 C<AutoScalingConfigurationRevision> values.
49  
50 A higher C<MinSize> increases the spread of your App Runner service
51 over more Availability Zones in the AWS Region. The tradeoff is a
52 higher minimal cost.
53  
54 A lower C<MaxSize> controls your cost. The tradeoff is lower
55 responsiveness during peak demand.
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 AutoScalingConfigurationArn => Str
61  
62 The Amazon Resource Name (ARN) of this auto scaling configuration.
63  
64  
65 =head2 AutoScalingConfigurationName => Str
66  
67 The customer-provided auto scaling configuration name. It can be used
68 in multiple revisions of a configuration.
69  
70  
71 =head2 AutoScalingConfigurationRevision => Int
72  
73 The revision of this auto scaling configuration. It's unique among all
74 the active configurations (C<"Status": "ACTIVE">) that share the same
75 C<AutoScalingConfigurationName>.
76  
77  
78 =head2 CreatedAt => Str
79  
80 The time when the auto scaling configuration was created. It's in Unix
81 time stamp format.
82  
83  
84 =head2 DeletedAt => Str
85  
86 The time when the auto scaling configuration was deleted. It's in Unix
87 time stamp format.
88  
89  
90 =head2 Latest => Bool
91  
92 It's set to C<true> for the configuration with the highest C<Revision>
93 among all configurations that share the same C<Name>. It's set to
94 C<false> otherwise.
95  
96  
97 =head2 MaxConcurrency => Int
98  
99 The maximum number of concurrent requests that an instance processes.
100 If the number of concurrent requests exceeds this limit, App Runner
101 scales the service up.
102  
103  
104 =head2 MaxSize => Int
105  
106 The maximum number of instances that a service scales up to. At most
107 C<MaxSize> instances actively serve traffic for your service.
108  
109  
110 =head2 MinSize => Int
111  
112 The minimum number of instances that App Runner provisions for a
113 service. The service always has at least C<MinSize> provisioned
114 instances. Some of them actively serve traffic. The rest of them
115 (provisioned and inactive instances) are a cost-effective compute
116 capacity reserve and are ready to be quickly activated. You pay for
117 memory usage of all the provisioned instances. You pay for CPU usage of
118 only the active subset.
119  
120 App Runner temporarily doubles the number of provisioned instances
121 during deployments, to maintain the same capacity for both old and new
122 code.
123  
124  
125 =head2 Status => Str
126  
127 The current state of the auto scaling configuration. If the status of a
128 configuration revision is C<INACTIVE>, it was deleted and can't be
129 used. Inactive configuration revisions are permanently removed some
130 time after they are deleted.
131  
132  
133  
134 =head1 SEE ALSO
135  
136 This class forms part of L<Paws>, describing an object used in L<Paws::AppRunner>
137  
138 =head1 BUGS and CONTRIBUTIONS
139  
140 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
141  
142 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
143  
144 =cut
145