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

filter: Statementstmt 0.0% 0 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::SpotFleetLaunchSpecification;
2 use Moose;
3 has AddressingType => (is => 'ro', isa => 'Str', request_name => 'addressingType', traits => ['NameInRequest']);
4 has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::EC2::BlockDeviceMapping]', request_name => 'blockDeviceMapping', traits => ['NameInRequest']);
5 has EbsOptimized => (is => 'ro', isa => 'Bool', request_name => 'ebsOptimized', traits => ['NameInRequest']);
6 has IamInstanceProfile => (is => 'ro', isa => 'Paws::EC2::IamInstanceProfileSpecification', request_name => 'iamInstanceProfile', traits => ['NameInRequest']);
7 has ImageId => (is => 'ro', isa => 'Str', request_name => 'imageId', traits => ['NameInRequest']);
8 has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
9 has KernelId => (is => 'ro', isa => 'Str', request_name => 'kernelId', traits => ['NameInRequest']);
10 has KeyName => (is => 'ro', isa => 'Str', request_name => 'keyName', traits => ['NameInRequest']);
11 has Monitoring => (is => 'ro', isa => 'Paws::EC2::SpotFleetMonitoring', request_name => 'monitoring', traits => ['NameInRequest']);
12 has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceNetworkInterfaceSpecification]', request_name => 'networkInterfaceSet', traits => ['NameInRequest']);
13 has Placement => (is => 'ro', isa => 'Paws::EC2::SpotPlacement', request_name => 'placement', traits => ['NameInRequest']);
14 has RamdiskId => (is => 'ro', isa => 'Str', request_name => 'ramdiskId', traits => ['NameInRequest']);
15 has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::EC2::GroupIdentifier]', request_name => 'groupSet', traits => ['NameInRequest']);
16 has SpotPrice => (is => 'ro', isa => 'Str', request_name => 'spotPrice', traits => ['NameInRequest']);
17 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
18 has TagSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::SpotFleetTagSpecification]', request_name => 'tagSpecificationSet', traits => ['NameInRequest']);
19 has UserData => (is => 'ro', isa => 'Str', request_name => 'userData', traits => ['NameInRequest']);
20 has WeightedCapacity => (is => 'ro', isa => 'Num', request_name => 'weightedCapacity', traits => ['NameInRequest']);
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::EC2::SpotFleetLaunchSpecification
28  
29 =head1 USAGE
30  
31 This class represents one of two things:
32  
33 =head3 Arguments in a call to a service
34  
35 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36 Each attribute should be used as a named argument in the calls that expect this type of object.
37  
38 As an example, if Att1 is expected to be a Paws::EC2::SpotFleetLaunchSpecification object:
39  
40 $service_obj->Method(Att1 => { AddressingType => $value, ..., WeightedCapacity => $value });
41  
42 =head3 Results returned from an API call
43  
44 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SpotFleetLaunchSpecification object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->AddressingType
48  
49 =head1 DESCRIPTION
50  
51 This class has no description
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 AddressingType => Str
57  
58 Deprecated.
59  
60  
61 =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::BlockDeviceMapping>]
62  
63 One or more block devices that are mapped to the Spot Instances. You
64 can't specify both a snapshot ID and an encryption value. This is
65 because only blank volumes can be encrypted on creation. If a snapshot
66 is the basis for a volume, it is not blank and its encryption status is
67 used for the volume encryption status.
68  
69  
70 =head2 EbsOptimized => Bool
71  
72 Indicates whether the instances are optimized for EBS I/O. This
73 optimization provides dedicated throughput to Amazon EBS and an
74 optimized configuration stack to provide optimal EBS I/O performance.
75 This optimization isn't available with all instance types. Additional
76 usage charges apply when using an EBS Optimized instance.
77  
78 Default: C<false>
79  
80  
81 =head2 IamInstanceProfile => L<Paws::EC2::IamInstanceProfileSpecification>
82  
83 The IAM instance profile.
84  
85  
86 =head2 ImageId => Str
87  
88 The ID of the AMI.
89  
90  
91 =head2 InstanceType => Str
92  
93 The instance type.
94  
95  
96 =head2 KernelId => Str
97  
98 The ID of the kernel.
99  
100  
101 =head2 KeyName => Str
102  
103 The name of the key pair.
104  
105  
106 =head2 Monitoring => L<Paws::EC2::SpotFleetMonitoring>
107  
108 Enable or disable monitoring for the instances.
109  
110  
111 =head2 NetworkInterfaces => ArrayRef[L<Paws::EC2::InstanceNetworkInterfaceSpecification>]
112  
113 One or more network interfaces. If you specify a network interface, you
114 must specify subnet IDs and security group IDs using the network
115 interface.
116  
117 C<SpotFleetLaunchSpecification> currently does not support Elastic
118 Fabric Adapter (EFA). To specify an EFA, you must use
119 LaunchTemplateConfig
120 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html).
121  
122  
123 =head2 Placement => L<Paws::EC2::SpotPlacement>
124  
125 The placement information.
126  
127  
128 =head2 RamdiskId => Str
129  
130 The ID of the RAM disk. Some kernels require additional drivers at
131 launch. Check the kernel requirements for information about whether you
132 need to specify a RAM disk. To find kernel requirements, refer to the
133 Amazon Web Services Resource Center and search for the kernel ID.
134  
135  
136 =head2 SecurityGroups => ArrayRef[L<Paws::EC2::GroupIdentifier>]
137  
138 One or more security groups. When requesting instances in a VPC, you
139 must specify the IDs of the security groups. When requesting instances
140 in EC2-Classic, you can specify the names or the IDs of the security
141 groups.
142  
143  
144 =head2 SpotPrice => Str
145  
146 The maximum price per unit hour that you are willing to pay for a Spot
147 Instance. If this value is not specified, the default is the Spot price
148 specified for the fleet. To determine the Spot price per unit hour,
149 divide the Spot price by the value of C<WeightedCapacity>.
150  
151  
152 =head2 SubnetId => Str
153  
154 The IDs of the subnets in which to launch the instances. To specify
155 multiple subnets, separate them using commas; for example,
156 "subnet-1234abcdeexample1, subnet-0987cdef6example2".
157  
158  
159 =head2 TagSpecifications => ArrayRef[L<Paws::EC2::SpotFleetTagSpecification>]
160  
161 The tags to apply during creation.
162  
163  
164 =head2 UserData => Str
165  
166 The Base64-encoded user data that instances use when starting up.
167  
168  
169 =head2 WeightedCapacity => Num
170  
171 The number of units provided by the specified instance type. These are
172 the same units that you chose to set the target capacity in terms of
173 instances, or a performance characteristic such as vCPUs, memory, or
174 I/O.
175  
176 If the target capacity divided by this value is not a whole number,
177 Amazon EC2 rounds the number of instances to the next whole number. If
178 this value is not specified, the default is 1.
179  
180  
181  
182 =head1 SEE ALSO
183  
184 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
185  
186 =head1 BUGS and CONTRIBUTIONS
187  
188 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
189  
190 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
191  
192 =cut