File Coverage

blib/lib/Paws/EC2/RequestSpotLaunchSpecification.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::RequestSpotLaunchSpecification;
2 1     1   450 use Moose;
  1         3  
  1         6  
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::RunInstancesMonitoringEnabled', request_name => 'monitoring', traits => ['NameInRequest']);
12             has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceNetworkInterfaceSpecification]', request_name => 'NetworkInterface', 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 SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SecurityGroupId', traits => ['NameInRequest']);
16             has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SecurityGroup', 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             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::EC2::RequestSpotLaunchSpecification
26              
27             =head1 USAGE
28              
29             This class represents one of two things:
30              
31             =head3 Arguments in a call to a service
32              
33             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34             Each attribute should be used as a named argument in the calls that expect this type of object.
35              
36             As an example, if Att1 is expected to be a Paws::EC2::RequestSpotLaunchSpecification object:
37              
38             $service_obj->Method(Att1 => { AddressingType => $value, ..., UserData => $value });
39              
40             =head3 Results returned from an API call
41              
42             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::RequestSpotLaunchSpecification object:
43              
44             $result = $service_obj->Method(...);
45             $result->Att1->AddressingType
46              
47             =head1 DESCRIPTION
48              
49             This class has no description
50              
51             =head1 ATTRIBUTES
52              
53              
54             =head2 AddressingType => Str
55              
56             Deprecated.
57              
58              
59             =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::BlockDeviceMapping>]
60              
61             One or more block device mapping entries.
62              
63             Although you can specify encrypted EBS volumes in this block device
64             mapping for your Spot Instances, these volumes are not encrypted.
65              
66              
67             =head2 EbsOptimized => Bool
68              
69             Indicates whether the instance is optimized for EBS I/O. This
70             optimization provides dedicated throughput to Amazon EBS and an
71             optimized configuration stack to provide optimal EBS I/O performance.
72             This optimization isn't available with all instance types. Additional
73             usage charges apply when using an EBS Optimized instance.
74              
75             Default: C<false>
76              
77              
78             =head2 IamInstanceProfile => L<Paws::EC2::IamInstanceProfileSpecification>
79              
80             The IAM instance profile.
81              
82              
83             =head2 ImageId => Str
84              
85             The ID of the AMI.
86              
87              
88             =head2 InstanceType => Str
89              
90             The instance type.
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::RunInstancesMonitoringEnabled>
104              
105             Indicates whether basic or detailed monitoring is enabled for the
106             instance.
107              
108             Default: Disabled
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              
118             =head2 Placement => L<Paws::EC2::SpotPlacement>
119              
120             The placement information for the instance.
121              
122              
123             =head2 RamdiskId => Str
124              
125             The ID of the RAM disk.
126              
127              
128             =head2 SecurityGroupIds => ArrayRef[Str|Undef]
129              
130             One or more security group IDs.
131              
132              
133             =head2 SecurityGroups => ArrayRef[Str|Undef]
134              
135             One or more security groups. When requesting instances in a VPC, you
136             must specify the IDs of the security groups. When requesting instances
137             in EC2-Classic, you can specify the names or the IDs of the security
138             groups.
139              
140              
141             =head2 SubnetId => Str
142              
143             The ID of the subnet in which to launch the instance.
144              
145              
146             =head2 UserData => Str
147              
148             The user data to make available to the instances. If you are using an
149             AWS SDK or command line tool, Base64-encoding is performed for you, and
150             you can load the text from a file. Otherwise, you must provide
151             Base64-encoded text.
152              
153              
154              
155             =head1 SEE ALSO
156              
157             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
158              
159             =head1 BUGS and CONTRIBUTIONS
160              
161             The source code is located here: https://github.com/pplu/aws-sdk-perl
162              
163             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
164              
165             =cut