line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::EC2::LaunchSpecification; |
2
|
1
|
|
|
1
|
|
603
|
use Moose; |
|
1
|
|
|
1
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
796
|
|
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
8
|
|
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 => '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 SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']); |
17
|
|
|
|
|
|
|
has UserData => (is => 'ro', isa => 'Str', request_name => 'userData', traits => ['NameInRequest']); |
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
### main pod documentation begin ### |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Paws::EC2::LaunchSpecification |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 USAGE |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This class represents one of two things: |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
33
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::EC2::LaunchSpecification object: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { AddressingType => $value, ..., UserData => $value }); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head3 Results returned from an API call |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::LaunchSpecification object: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
44
|
|
|
|
|
|
|
$result->Att1->AddressingType |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This class has no description |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 AddressingType => Str |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Deprecated. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::BlockDeviceMapping>] |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
One or more block device mapping entries. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Although you can specify encrypted EBS volumes in this block device |
63
|
|
|
|
|
|
|
mapping for your Spot Instances, these volumes are not encrypted. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 EbsOptimized => Bool |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Indicates whether the instance is 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. |
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::RunInstancesMonitoringEnabled> |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
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 for the instance. |
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 SubnetId => Str |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
The ID of the subnet in which to launch the instance. |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 UserData => Str |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
The user data to make available to the instances. If you are using an |
140
|
|
|
|
|
|
|
AWS SDK or command line tool, Base64-encoding is performed for you, and |
141
|
|
|
|
|
|
|
you can load the text from a file. Otherwise, you must provide |
142
|
|
|
|
|
|
|
Base64-encoded text. |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head1 SEE ALSO |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::EC2> |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=cut |