File Coverage

blib/lib/Paws/EC2/SpotFleetLaunchSpecification.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::SpotFleetLaunchSpecification;
2 1     1   488 use Moose;
  1         5  
  1         13  
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 device mapping entries.
64              
65              
66             =head2 EbsOptimized => Bool
67              
68             Indicates whether the instances are optimized for EBS I/O. This
69             optimization provides dedicated throughput to Amazon EBS and an
70             optimized configuration stack to provide optimal EBS I/O performance.
71             This optimization isn't available with all instance types. Additional
72             usage charges apply when using an EBS Optimized instance.
73              
74             Default: C<false>
75              
76              
77             =head2 IamInstanceProfile => L<Paws::EC2::IamInstanceProfileSpecification>
78              
79             The IAM instance profile.
80              
81              
82             =head2 ImageId => Str
83              
84             The ID of the AMI.
85              
86              
87             =head2 InstanceType => Str
88              
89             The instance type. Note that T2 and HS1 instance types are not
90             supported.
91              
92              
93             =head2 KernelId => Str
94              
95             The ID of the kernel.
96              
97              
98             =head2 KeyName => Str
99              
100             The name of the key pair.
101              
102              
103             =head2 Monitoring => L<Paws::EC2::SpotFleetMonitoring>
104              
105             Enable or disable monitoring for the instances.
106              
107              
108             =head2 NetworkInterfaces => ArrayRef[L<Paws::EC2::InstanceNetworkInterfaceSpecification>]
109              
110             One or more network interfaces. If you specify a network interface, you
111             must specify subnet IDs and security group IDs using the network
112             interface.
113              
114              
115             =head2 Placement => L<Paws::EC2::SpotPlacement>
116              
117             The placement information.
118              
119              
120             =head2 RamdiskId => Str
121              
122             The ID of the RAM disk.
123              
124              
125             =head2 SecurityGroups => ArrayRef[L<Paws::EC2::GroupIdentifier>]
126              
127             One or more security groups. When requesting instances in a VPC, you
128             must specify the IDs of the security groups. When requesting instances
129             in EC2-Classic, you can specify the names or the IDs of the security
130             groups.
131              
132              
133             =head2 SpotPrice => Str
134              
135             The bid price per unit hour for the specified instance type. If this
136             value is not specified, the default is the Spot bid price specified for
137             the fleet. To determine the bid price per unit hour, divide the Spot
138             bid price by the value of C<WeightedCapacity>.
139              
140              
141             =head2 SubnetId => Str
142              
143             The ID of the subnet in which to launch the instances. To specify
144             multiple subnets, separate them using commas; for example,
145             "subnet-a61dafcf, subnet-65ea5f08".
146              
147              
148             =head2 TagSpecifications => ArrayRef[L<Paws::EC2::SpotFleetTagSpecification>]
149              
150             The tags to apply during creation.
151              
152              
153             =head2 UserData => Str
154              
155             The user data to make available to the instances. If you are using an
156             AWS SDK or command line tool, Base64-encoding is performed for you, and
157             you can load the text from a file. Otherwise, you must provide
158             Base64-encoded text.
159              
160              
161             =head2 WeightedCapacity => Num
162              
163             The number of units provided by the specified instance type. These are
164             the same units that you chose to set the target capacity in terms
165             (instances or a performance characteristic such as vCPUs, memory, or
166             I/O).
167              
168             If the target capacity divided by this value is not a whole number, we
169             round the number of instances to the next whole number. If this value
170             is not specified, the default is 1.
171              
172              
173              
174             =head1 SEE ALSO
175              
176             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
177              
178             =head1 BUGS and CONTRIBUTIONS
179              
180             The source code is located here: https://github.com/pplu/aws-sdk-perl
181              
182             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
183              
184             =cut