blib/lib/Paws/EC2/LaunchSpecification.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/KeyPairInfo.pm ↑ Summary blib/lib/Paws/EC2/LicenseConfiguration.pm »
1 package Paws::EC2::LaunchSpecification;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 has AddressingType => (is => 'ro', isa => 'Str', request_name => 'addressingType', traits => ['NameInRequest']);
4 1 has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::EC2::BlockDeviceMapping]', request_name => 'blockDeviceMapping', traits => ['NameInRequest']);
5 1 has EbsOptimized => (is => 'ro', isa => 'Bool', request_name => 'ebsOptimized', traits => ['NameInRequest']);
6 1 has IamInstanceProfile => (is => 'ro', isa => 'Paws::EC2::IamInstanceProfileSpecification', request_name => 'iamInstanceProfile', traits => ['NameInRequest']);
7 1 has ImageId => (is => 'ro', isa => 'Str', request_name => 'imageId', traits => ['NameInRequest']);
8 1 has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
9 1 has KernelId => (is => 'ro', isa => 'Str', request_name => 'kernelId', traits => ['NameInRequest']);
10 1 has KeyName => (is => 'ro', isa => 'Str', request_name => 'keyName', traits => ['NameInRequest']);
11 1 has Monitoring => (is => 'ro', isa => 'Paws::EC2::RunInstancesMonitoringEnabled', request_name => 'monitoring', traits => ['NameInRequest']);
12 1 has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceNetworkInterfaceSpecification]', request_name => 'networkInterfaceSet', traits => ['NameInRequest']);
13 1 has Placement => (is => 'ro', isa => 'Paws::EC2::SpotPlacement', request_name => 'placement', traits => ['NameInRequest']);
14 1 has RamdiskId => (is => 'ro', isa => 'Str', request_name => 'ramdiskId', traits => ['NameInRequest']);
15 1 has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::EC2::GroupIdentifier]', request_name => 'groupSet', traits => ['NameInRequest']);
16 1 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
17 1 has UserData => (is => 'ro', isa => 'Str', request_name => 'userData', traits => ['NameInRequest']);
18 1 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  
63 =head2 EbsOptimized => Bool
64  
65 Indicates whether the instance is optimized for EBS I/O. This
66 optimization provides dedicated throughput to Amazon EBS and an
67 optimized configuration stack to provide optimal EBS I/O performance.
68 This optimization isn't available with all instance types. Additional
69 usage charges apply when using an EBS Optimized instance.
70  
71 Default: C<false>
72  
73  
74 =head2 IamInstanceProfile => L<Paws::EC2::IamInstanceProfileSpecification>
75  
76 The IAM instance profile.
77  
78  
79 =head2 ImageId => Str
80  
81 The ID of the AMI.
82  
83  
84 =head2 InstanceType => Str
85  
86 The instance type.
87  
88  
89 =head2 KernelId => Str
90  
91 The ID of the kernel.
92  
93  
94 =head2 KeyName => Str
95  
96 The name of the key pair.
97  
98  
99 =head2 Monitoring => L<Paws::EC2::RunInstancesMonitoringEnabled>
100  
101  
102  
103  
104 =head2 NetworkInterfaces => ArrayRef[L<Paws::EC2::InstanceNetworkInterfaceSpecification>]
105  
106 One or more network interfaces. If you specify a network interface, you
107 must specify subnet IDs and security group IDs using the network
108 interface.
109  
110  
111 =head2 Placement => L<Paws::EC2::SpotPlacement>
112  
113 The placement information for the instance.
114  
115  
116 =head2 RamdiskId => Str
117  
118 The ID of the RAM disk.
119  
120  
121 =head2 SecurityGroups => ArrayRef[L<Paws::EC2::GroupIdentifier>]
122  
123 One or more security groups. When requesting instances in a VPC, you
124 must specify the IDs of the security groups. When requesting instances
125 in EC2-Classic, you can specify the names or the IDs of the security
126 groups.
127  
128  
129 =head2 SubnetId => Str
130  
131 The ID of the subnet in which to launch the instance.
132  
133  
134 =head2 UserData => Str
135  
136 The Base64-encoded user data for the instance.
137  
138  
139  
140 =head1 SEE ALSO
141  
142 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
143  
144 =head1 BUGS and CONTRIBUTIONS
145  
146 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
147  
148 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
149  
150 =cut
« blib/lib/Paws/EC2/KeyPairInfo.pm ↑ Summary blib/lib/Paws/EC2/LicenseConfiguration.pm »