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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::LaunchTemplateOverrides;
2 use Moose;
3 has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
4 has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
5 has Priority => (is => 'ro', isa => 'Num', request_name => 'priority', traits => ['NameInRequest']);
6 has SpotPrice => (is => 'ro', isa => 'Str', request_name => 'spotPrice', traits => ['NameInRequest']);
7 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
8 has WeightedCapacity => (is => 'ro', isa => 'Num', request_name => 'weightedCapacity', traits => ['NameInRequest']);
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::EC2::LaunchTemplateOverrides
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::EC2::LaunchTemplateOverrides object:
27  
28 $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., WeightedCapacity => $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::EC2::LaunchTemplateOverrides object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->AvailabilityZone
36  
37 =head1 DESCRIPTION
38  
39 This class has no description
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 AvailabilityZone => Str
45  
46 The Availability Zone in which to launch the instances.
47  
48  
49 =head2 InstanceType => Str
50  
51 The instance type.
52  
53  
54 =head2 Priority => Num
55  
56 The priority for the launch template override. The highest priority is
57 launched first.
58  
59 If C<OnDemandAllocationStrategy> is set to C<prioritized>, Spot Fleet
60 uses priority to determine which launch template override to use first
61 in fulfilling On-Demand capacity.
62  
63 If the Spot C<AllocationStrategy> is set to
64 C<capacityOptimizedPrioritized>, Spot Fleet uses priority on a
65 best-effort basis to determine which launch template override to use in
66 fulfilling Spot capacity, but optimizes for capacity first.
67  
68 Valid values are whole numbers starting at C<0>. The lower the number,
69 the higher the priority. If no number is set, the launch template
70 override has the lowest priority. You can set the same priority for
71 different launch template overrides.
72  
73  
74 =head2 SpotPrice => Str
75  
76 The maximum price per unit hour that you are willing to pay for a Spot
77 Instance.
78  
79  
80 =head2 SubnetId => Str
81  
82 The ID of the subnet in which to launch the instances.
83  
84  
85 =head2 WeightedCapacity => Num
86  
87 The number of units provided by the specified instance type.
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut