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   579 use Moose;
  1         3  
  1         10  
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 UserData => (is => 'ro', isa => 'Str', request_name => 'userData', traits => ['NameInRequest']);
19             has WeightedCapacity => (is => 'ro', isa => 'Num', request_name => 'weightedCapacity', traits => ['NameInRequest']);
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::EC2::SpotFleetLaunchSpecification
27              
28             =head1 USAGE
29              
30             This class represents one of two things:
31              
32             =head3 Arguments in a call to a service
33              
34             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
35             Each attribute should be used as a named argument in the calls that expect this type of object.
36              
37             As an example, if Att1 is expected to be a Paws::EC2::SpotFleetLaunchSpecification object:
38              
39             $service_obj->Method(Att1 => { AddressingType => $value, ..., WeightedCapacity => $value });
40              
41             =head3 Results returned from an API call
42              
43             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SpotFleetLaunchSpecification object:
44              
45             $result = $service_obj->Method(...);
46             $result->Att1->AddressingType
47              
48             =head1 DESCRIPTION
49              
50             This class has no description
51              
52             =head1 ATTRIBUTES
53              
54              
55             =head2 AddressingType => Str
56              
57             Deprecated.
58              
59              
60             =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::BlockDeviceMapping>]
61              
62             One or more block device mapping entries.
63              
64              
65             =head2 EbsOptimized => Bool
66              
67             Indicates whether the instances are optimized for EBS I/O. This
68             optimization provides dedicated throughput to Amazon EBS and an
69             optimized configuration stack to provide optimal EBS I/O performance.
70             This optimization isn't available with all instance types. Additional
71             usage charges apply when using an EBS Optimized instance.
72              
73             Default: C<false>
74              
75              
76             =head2 IamInstanceProfile => L<Paws::EC2::IamInstanceProfileSpecification>
77              
78             The IAM instance profile.
79              
80              
81             =head2 ImageId => Str
82              
83             The ID of the AMI.
84              
85              
86             =head2 InstanceType => Str
87              
88             The instance type. Note that T2 and HS1 instance types are not
89             supported.
90              
91              
92             =head2 KernelId => Str
93              
94             The ID of the kernel.
95              
96              
97             =head2 KeyName => Str
98              
99             The name of the key pair.
100              
101              
102             =head2 Monitoring => L<Paws::EC2::SpotFleetMonitoring>
103              
104             Enable or disable monitoring for the instances.
105              
106              
107             =head2 NetworkInterfaces => ArrayRef[L<Paws::EC2::InstanceNetworkInterfaceSpecification>]
108              
109             One or more network interfaces. If you specify a network interface, you
110             must specify subnet IDs and security group IDs using the network
111             interface.
112              
113              
114             =head2 Placement => L<Paws::EC2::SpotPlacement>
115              
116             The placement information.
117              
118              
119             =head2 RamdiskId => Str
120              
121             The ID of the RAM disk.
122              
123              
124             =head2 SecurityGroups => ArrayRef[L<Paws::EC2::GroupIdentifier>]
125              
126             One or more security groups. When requesting instances in a VPC, you
127             must specify the IDs of the security groups. When requesting instances
128             in EC2-Classic, you can specify the names or the IDs of the security
129             groups.
130              
131              
132             =head2 SpotPrice => Str
133              
134             The bid price per unit hour for the specified instance type. If this
135             value is not specified, the default is the Spot bid price specified for
136             the fleet. To determine the bid price per unit hour, divide the Spot
137             bid price by the value of C<WeightedCapacity>.
138              
139              
140             =head2 SubnetId => Str
141              
142             The ID of the subnet in which to launch the instances. To specify
143             multiple subnets, separate them using commas; for example,
144             "subnet-a61dafcf, subnet-65ea5f08".
145              
146              
147             =head2 UserData => Str
148              
149             The user data to make available to the instances. If you are using an
150             AWS SDK or command line tool, Base64-encoding is performed for you, and
151             you can load the text from a file. Otherwise, you must provide
152             Base64-encoded text.
153              
154              
155             =head2 WeightedCapacity => Num
156              
157             The number of units provided by the specified instance type. These are
158             the same units that you chose to set the target capacity in terms
159             (instances or a performance characteristic such as vCPUs, memory, or
160             I/O).
161              
162             If the target capacity divided by this value is not a whole number, we
163             round the number of instances to the next whole number. If this value
164             is not specified, the default is 1.
165              
166              
167              
168             =head1 SEE ALSO
169              
170             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
171              
172             =head1 BUGS and CONTRIBUTIONS
173              
174             The source code is located here: https://github.com/pplu/aws-sdk-perl
175              
176             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
177              
178             =cut