File Coverage

blib/lib/Paws/EC2/InstanceAttribute.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::InstanceAttribute;
3 1     1   629 use Moose;
  1     1   5  
  1         11  
  1         337  
  1         2  
  1         6  
4             has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceBlockDeviceMapping]', request_name => 'blockDeviceMapping', traits => ['NameInRequest',]);
5             has DisableApiTermination => (is => 'ro', isa => 'Paws::EC2::AttributeBooleanValue', request_name => 'disableApiTermination', traits => ['NameInRequest',]);
6             has EbsOptimized => (is => 'ro', isa => 'Paws::EC2::AttributeBooleanValue', request_name => 'ebsOptimized', traits => ['NameInRequest',]);
7             has EnaSupport => (is => 'ro', isa => 'Paws::EC2::AttributeBooleanValue', request_name => 'enaSupport', traits => ['NameInRequest',]);
8             has Groups => (is => 'ro', isa => 'ArrayRef[Paws::EC2::GroupIdentifier]', request_name => 'groupSet', traits => ['NameInRequest',]);
9             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest',]);
10             has InstanceInitiatedShutdownBehavior => (is => 'ro', isa => 'Paws::EC2::AttributeValue', request_name => 'instanceInitiatedShutdownBehavior', traits => ['NameInRequest',]);
11             has InstanceType => (is => 'ro', isa => 'Paws::EC2::AttributeValue', request_name => 'instanceType', traits => ['NameInRequest',]);
12             has KernelId => (is => 'ro', isa => 'Paws::EC2::AttributeValue', request_name => 'kernel', traits => ['NameInRequest',]);
13             has ProductCodes => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ProductCode]', request_name => 'productCodes', traits => ['NameInRequest',]);
14             has RamdiskId => (is => 'ro', isa => 'Paws::EC2::AttributeValue', request_name => 'ramdisk', traits => ['NameInRequest',]);
15             has RootDeviceName => (is => 'ro', isa => 'Paws::EC2::AttributeValue', request_name => 'rootDeviceName', traits => ['NameInRequest',]);
16             has SourceDestCheck => (is => 'ro', isa => 'Paws::EC2::AttributeBooleanValue', request_name => 'sourceDestCheck', traits => ['NameInRequest',]);
17             has SriovNetSupport => (is => 'ro', isa => 'Paws::EC2::AttributeValue', request_name => 'sriovNetSupport', traits => ['NameInRequest',]);
18             has UserData => (is => 'ro', isa => 'Paws::EC2::AttributeValue', request_name => 'userData', traits => ['NameInRequest',]);
19              
20             has _request_id => (is => 'ro', isa => 'Str');
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::EC2::InstanceAttribute
28              
29             =head1 ATTRIBUTES
30              
31              
32             =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::InstanceBlockDeviceMapping>]
33              
34             The block device mapping of the instance.
35              
36              
37             =head2 DisableApiTermination => L<Paws::EC2::AttributeBooleanValue>
38              
39             If the value is C<true>, you can't terminate the instance through the
40             Amazon EC2 console, CLI, or API; otherwise, you can.
41              
42              
43             =head2 EbsOptimized => L<Paws::EC2::AttributeBooleanValue>
44              
45             Indicates whether the instance is optimized for Amazon EBS I/O.
46              
47              
48             =head2 EnaSupport => L<Paws::EC2::AttributeBooleanValue>
49              
50             Indicates whether enhanced networking with ENA is enabled.
51              
52              
53             =head2 Groups => ArrayRef[L<Paws::EC2::GroupIdentifier>]
54              
55             The security groups associated with the instance.
56              
57              
58             =head2 InstanceId => Str
59              
60             The ID of the instance.
61              
62              
63             =head2 InstanceInitiatedShutdownBehavior => L<Paws::EC2::AttributeValue>
64              
65             Indicates whether an instance stops or terminates when you initiate
66             shutdown from the instance (using the operating system command for
67             system shutdown).
68              
69              
70             =head2 InstanceType => L<Paws::EC2::AttributeValue>
71              
72             The instance type.
73              
74              
75             =head2 KernelId => L<Paws::EC2::AttributeValue>
76              
77             The kernel ID.
78              
79              
80             =head2 ProductCodes => ArrayRef[L<Paws::EC2::ProductCode>]
81              
82             A list of product codes.
83              
84              
85             =head2 RamdiskId => L<Paws::EC2::AttributeValue>
86              
87             The RAM disk ID.
88              
89              
90             =head2 RootDeviceName => L<Paws::EC2::AttributeValue>
91              
92             The name of the root device (for example, C</dev/sda1> or
93             C</dev/xvda>).
94              
95              
96             =head2 SourceDestCheck => L<Paws::EC2::AttributeBooleanValue>
97              
98             Indicates whether source/destination checking is enabled. A value of
99             C<true> means that checking is enabled, and C<false> means that
100             checking is disabled. This value must be C<false> for a NAT instance to
101             perform NAT.
102              
103              
104             =head2 SriovNetSupport => L<Paws::EC2::AttributeValue>
105              
106             Indicates whether enhanced networking with the Intel 82599 Virtual
107             Function interface is enabled.
108              
109              
110             =head2 UserData => L<Paws::EC2::AttributeValue>
111              
112             The user data.
113              
114              
115             =head2 _request_id => Str
116              
117              
118             =cut
119