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

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 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::LaunchTemplateOverrides;
3 use Moose;
4 has InstanceType => (is => 'ro', isa => 'Str');
5 has LaunchTemplateSpecification => (is => 'ro', isa => 'Paws::AutoScaling::LaunchTemplateSpecification');
6 has WeightedCapacity => (is => 'ro', isa => 'Str');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::AutoScaling::LaunchTemplateOverrides
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::AutoScaling::LaunchTemplateOverrides object:
26  
27 $service_obj->Method(Att1 => { InstanceType => $value, ..., WeightedCapacity => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::LaunchTemplateOverrides object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->InstanceType
35  
36 =head1 DESCRIPTION
37  
38 Describes an override for a launch template. The maximum number of
39 instance types that can be associated with an Auto Scaling group is 40.
40 The maximum number of distinct launch templates you can define for an
41 Auto Scaling group is 20. For more information about configuring
42 overrides, see Configuring overrides
43 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-override-options.html)
44 in the I<Amazon EC2 Auto Scaling User Guide>.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 InstanceType => Str
50  
51 The instance type, such as C<m3.xlarge>. You must use an instance type
52 that is supported in your requested Region and Availability Zones. For
53 more information, see Instance types
54 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html)
55 in the I<Amazon Elastic Compute Cloud User Guide>.
56  
57  
58 =head2 LaunchTemplateSpecification => L<Paws::AutoScaling::LaunchTemplateSpecification>
59  
60 Provides the launch template to be used when launching the instance
61 type. For example, some instance types might require a launch template
62 with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the
63 launch template that's defined for your mixed instances policy. For
64 more information, see Specifying a different launch template for an
65 instance type
66 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-template-overrides.html)
67 in the I<Amazon EC2 Auto Scaling User Guide>.
68  
69  
70 =head2 WeightedCapacity => Str
71  
72 The number of capacity units provided by the specified instance type in
73 terms of virtual CPUs, memory, storage, throughput, or other relative
74 performance characteristic. When a Spot or On-Demand Instance is
75 provisioned, the capacity units count toward the desired capacity.
76 Amazon EC2 Auto Scaling provisions instances until the desired capacity
77 is totally fulfilled, even if this results in an overage. For example,
78 if there are 2 units remaining to fulfill capacity, and Amazon EC2 Auto
79 Scaling can only provision an instance with a C<WeightedCapacity> of 5
80 units, the instance is provisioned, and the desired capacity is
81 exceeded by 3 units. For more information, see Instance weighting for
82 Amazon EC2 Auto Scaling
83 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-weighting.html)
84 in the I<Amazon EC2 Auto Scaling User Guide>. Value must be in the
85 range of 1 to 999.
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100