File Coverage

blib/lib/Paws/EC2/ScheduledInstancesLaunchSpecification.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::ScheduledInstancesLaunchSpecification;
2 1     1   961 use Moose;
  1         5  
  1         15  
3             has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ScheduledInstancesBlockDeviceMapping]', request_name => 'BlockDeviceMapping', traits => ['NameInRequest']);
4             has EbsOptimized => (is => 'ro', isa => 'Bool');
5             has IamInstanceProfile => (is => 'ro', isa => 'Paws::EC2::ScheduledInstancesIamInstanceProfile');
6             has ImageId => (is => 'ro', isa => 'Str', required => 1);
7             has InstanceType => (is => 'ro', isa => 'Str');
8             has KernelId => (is => 'ro', isa => 'Str');
9             has KeyName => (is => 'ro', isa => 'Str');
10             has Monitoring => (is => 'ro', isa => 'Paws::EC2::ScheduledInstancesMonitoring');
11             has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ScheduledInstancesNetworkInterface]', request_name => 'NetworkInterface', traits => ['NameInRequest']);
12             has Placement => (is => 'ro', isa => 'Paws::EC2::ScheduledInstancesPlacement');
13             has RamdiskId => (is => 'ro', isa => 'Str');
14             has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SecurityGroupId', traits => ['NameInRequest']);
15             has SubnetId => (is => 'ro', isa => 'Str');
16             has UserData => (is => 'ro', isa => 'Str');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::EC2::ScheduledInstancesLaunchSpecification
24              
25             =head1 USAGE
26              
27             This class represents one of two things:
28              
29             =head3 Arguments in a call to a service
30              
31             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32             Each attribute should be used as a named argument in the calls that expect this type of object.
33              
34             As an example, if Att1 is expected to be a Paws::EC2::ScheduledInstancesLaunchSpecification object:
35              
36             $service_obj->Method(Att1 => { BlockDeviceMappings => $value, ..., UserData => $value });
37              
38             =head3 Results returned from an API call
39              
40             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ScheduledInstancesLaunchSpecification object:
41              
42             $result = $service_obj->Method(...);
43             $result->Att1->BlockDeviceMappings
44              
45             =head1 DESCRIPTION
46              
47             This class has no description
48              
49             =head1 ATTRIBUTES
50              
51              
52             =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::ScheduledInstancesBlockDeviceMapping>]
53              
54             One or more block device mapping entries.
55              
56              
57             =head2 EbsOptimized => Bool
58              
59             Indicates whether the instances are optimized for EBS I/O. This
60             optimization provides dedicated throughput to Amazon EBS and an
61             optimized configuration stack to provide optimal EBS I/O performance.
62             This optimization isn't available with all instance types. Additional
63             usage charges apply when using an EBS-optimized instance.
64              
65             Default: C<false>
66              
67              
68             =head2 IamInstanceProfile => L<Paws::EC2::ScheduledInstancesIamInstanceProfile>
69              
70             The IAM instance profile.
71              
72              
73             =head2 B<REQUIRED> ImageId => Str
74              
75             The ID of the Amazon Machine Image (AMI).
76              
77              
78             =head2 InstanceType => Str
79              
80             The instance type.
81              
82              
83             =head2 KernelId => Str
84              
85             The ID of the kernel.
86              
87              
88             =head2 KeyName => Str
89              
90             The name of the key pair.
91              
92              
93             =head2 Monitoring => L<Paws::EC2::ScheduledInstancesMonitoring>
94              
95             Enable or disable monitoring for the instances.
96              
97              
98             =head2 NetworkInterfaces => ArrayRef[L<Paws::EC2::ScheduledInstancesNetworkInterface>]
99              
100             One or more network interfaces.
101              
102              
103             =head2 Placement => L<Paws::EC2::ScheduledInstancesPlacement>
104              
105             The placement information.
106              
107              
108             =head2 RamdiskId => Str
109              
110             The ID of the RAM disk.
111              
112              
113             =head2 SecurityGroupIds => ArrayRef[Str|Undef]
114              
115             The IDs of one or more security groups.
116              
117              
118             =head2 SubnetId => Str
119              
120             The ID of the subnet in which to launch the instances.
121              
122              
123             =head2 UserData => Str
124              
125             The base64-encoded MIME user data.
126              
127              
128              
129             =head1 SEE ALSO
130              
131             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
132              
133             =head1 BUGS and CONTRIBUTIONS
134              
135             The source code is located here: https://github.com/pplu/aws-sdk-perl
136              
137             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
138              
139             =cut