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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::FleetLaunchTemplateOverrides;
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 MaxPrice => (is => 'ro', isa => 'Str', request_name => 'maxPrice', traits => ['NameInRequest']);
6 has Placement => (is => 'ro', isa => 'Paws::EC2::PlacementResponse', request_name => 'placement', traits => ['NameInRequest']);
7 has Priority => (is => 'ro', isa => 'Num', request_name => 'priority', traits => ['NameInRequest']);
8 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
9 has WeightedCapacity => (is => 'ro', isa => 'Num', request_name => 'weightedCapacity', traits => ['NameInRequest']);
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::EC2::FleetLaunchTemplateOverrides
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::EC2::FleetLaunchTemplateOverrides object:
28  
29 $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., WeightedCapacity => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::FleetLaunchTemplateOverrides object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->AvailabilityZone
37  
38 =head1 DESCRIPTION
39  
40 This class has no description
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 AvailabilityZone => Str
46  
47 The Availability Zone in which to launch the instances.
48  
49  
50 =head2 InstanceType => Str
51  
52 The instance type.
53  
54  
55 =head2 MaxPrice => Str
56  
57 The maximum price per unit hour that you are willing to pay for a Spot
58 Instance.
59  
60  
61 =head2 Placement => L<Paws::EC2::PlacementResponse>
62  
63 The location where the instance launched, if applicable.
64  
65  
66 =head2 Priority => Num
67  
68 The priority for the launch template override. The highest priority is
69 launched first.
70  
71 If the On-Demand C<AllocationStrategy> is set to C<prioritized>, EC2
72 Fleet uses priority to determine which launch template override to use
73 first in fulfilling On-Demand capacity.
74  
75 If the Spot C<AllocationStrategy> is set to
76 C<capacity-optimized-prioritized>, EC2 Fleet uses priority on a
77 best-effort basis to determine which launch template override to use in
78 fulfilling Spot capacity, but optimizes for capacity first.
79  
80 Valid values are whole numbers starting at C<0>. The lower the number,
81 the higher the priority. If no number is set, the override has the
82 lowest priority. You can set the same priority for different launch
83 template overrides.
84  
85  
86 =head2 SubnetId => Str
87  
88 The ID of the subnet in which to launch the instances.
89  
90  
91 =head2 WeightedCapacity => Num
92  
93 The number of units provided by the specified instance type.
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut