blib/lib/Paws/EC2/InstanceNetworkInterfaceSpecification.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/InstanceNetworkInterfaceAttachment.pm ↑ Summary blib/lib/Paws/EC2/InstancePrivateIpAddress.pm »
1 package Paws::EC2::InstanceNetworkInterfaceSpecification;
2 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 has AssociateCarrierIpAddress => (is => 'ro', isa => 'Bool');
4 2 has AssociatePublicIpAddress => (is => 'ro', isa => 'Bool', request_name => 'associatePublicIpAddress', traits => ['NameInRequest']);
5 2 has DeleteOnTermination => (is => 'ro', isa => 'Bool', request_name => 'deleteOnTermination', traits => ['NameInRequest']);
6 2 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
7 2 has DeviceIndex => (is => 'ro', isa => 'Int', request_name => 'deviceIndex', traits => ['NameInRequest']);
8 2 has Groups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SecurityGroupId', traits => ['NameInRequest']);
9 2 has InterfaceType => (is => 'ro', isa => 'Str');
10 2 has Ipv6AddressCount => (is => 'ro', isa => 'Int', request_name => 'ipv6AddressCount', traits => ['NameInRequest']);
11 2 has Ipv6Addresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceIpv6Address]', request_name => 'ipv6AddressesSet', traits => ['NameInRequest']);
12 2 has NetworkCardIndex => (is => 'ro', isa => 'Int');
13 2 has NetworkInterfaceId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceId', traits => ['NameInRequest']);
14 2 has PrivateIpAddress => (is => 'ro', isa => 'Str', request_name => 'privateIpAddress', traits => ['NameInRequest']);
15 2 has PrivateIpAddresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::PrivateIpAddressSpecification]', request_name => 'privateIpAddressesSet', traits => ['NameInRequest']);
16 2 has SecondaryPrivateIpAddressCount => (is => 'ro', isa => 'Int', request_name => 'secondaryPrivateIpAddressCount', traits => ['NameInRequest']);
17 2 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
18 2 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::EC2::InstanceNetworkInterfaceSpecification
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::InstanceNetworkInterfaceSpecification object:
36  
37 $service_obj->Method(Att1 => { AssociateCarrierIpAddress => $value, ..., SubnetId => $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::InstanceNetworkInterfaceSpecification object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->AssociateCarrierIpAddress
45  
46 =head1 DESCRIPTION
47  
48 This class has no description
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 AssociateCarrierIpAddress => Bool
54  
55 Indicates whether to assign a carrier IP address to the network
56 interface.
57  
58 You can only assign a carrier IP address to a network interface that is
59 in a subnet in a Wavelength Zone. For more information about carrier IP
60 addresses, see Carrier IP addresses in the Amazon Web Services
61 Wavelength Developer Guide.
62  
63  
64 =head2 AssociatePublicIpAddress => Bool
65  
66 Indicates whether to assign a public IPv4 address to an instance you
67 launch in a VPC. The public IP address can only be assigned to a
68 network interface for eth0, and can only be assigned to a new network
69 interface, not an existing one. You cannot specify more than one
70 network interface in the request. If launching into a default subnet,
71 the default value is C<true>.
72  
73  
74 =head2 DeleteOnTermination => Bool
75  
76 If set to C<true>, the interface is deleted when the instance is
77 terminated. You can specify C<true> only if creating a new network
78 interface when launching an instance.
79  
80  
81 =head2 Description => Str
82  
83 The description of the network interface. Applies only if creating a
84 network interface when launching an instance.
85  
86  
87 =head2 DeviceIndex => Int
88  
89 The position of the network interface in the attachment order. A
90 primary network interface has a device index of 0.
91  
92 If you specify a network interface when launching an instance, you must
93 specify the device index.
94  
95  
96 =head2 Groups => ArrayRef[Str|Undef]
97  
98 The IDs of the security groups for the network interface. Applies only
99 if creating a network interface when launching an instance.
100  
101  
102 =head2 InterfaceType => Str
103  
104 The type of network interface.
105  
106 To create an Elastic Fabric Adapter (EFA), specify C<efa>. For more
107 information, see Elastic Fabric Adapter
108 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) in the
109 I<Amazon Elastic Compute Cloud User Guide>.
110  
111 Valid values: C<interface> | C<efa>
112  
113  
114 =head2 Ipv6AddressCount => Int
115  
116 A number of IPv6 addresses to assign to the network interface. Amazon
117 EC2 chooses the IPv6 addresses from the range of the subnet. You cannot
118 specify this option and the option to assign specific IPv6 addresses in
119 the same request. You can specify this option if you've specified a
120 minimum number of instances to launch.
121  
122  
123 =head2 Ipv6Addresses => ArrayRef[L<Paws::EC2::InstanceIpv6Address>]
124  
125 One or more IPv6 addresses to assign to the network interface. You
126 cannot specify this option and the option to assign a number of IPv6
127 addresses in the same request. You cannot specify this option if you've
128 specified a minimum number of instances to launch.
129  
130  
131 =head2 NetworkCardIndex => Int
132  
133 The index of the network card. Some instance types support multiple
134 network cards. The primary network interface must be assigned to
135 network card index 0. The default is network card index 0.
136  
137  
138 =head2 NetworkInterfaceId => Str
139  
140 The ID of the network interface.
141  
142 If you are creating a Spot Fleet, omit this parameter because you
143 canE<rsquo>t specify a network interface ID in a launch specification.
144  
145  
146 =head2 PrivateIpAddress => Str
147  
148 The private IPv4 address of the network interface. Applies only if
149 creating a network interface when launching an instance. You cannot
150 specify this option if you're launching more than one instance in a
151 RunInstances
152 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html)
153 request.
154  
155  
156 =head2 PrivateIpAddresses => ArrayRef[L<Paws::EC2::PrivateIpAddressSpecification>]
157  
158 One or more private IPv4 addresses to assign to the network interface.
159 Only one private IPv4 address can be designated as primary. You cannot
160 specify this option if you're launching more than one instance in a
161 RunInstances
162 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html)
163 request.
164  
165  
166 =head2 SecondaryPrivateIpAddressCount => Int
167  
168 The number of secondary private IPv4 addresses. You can't specify this
169 option and specify more than one private IP address using the private
170 IP addresses option. You cannot specify this option if you're launching
171 more than one instance in a RunInstances
172 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html)
173 request.
174  
175  
176 =head2 SubnetId => Str
177  
178 The ID of the subnet associated with the network interface. Applies
179 only if creating a network interface when launching an instance.
180  
181  
182  
183 =head1 SEE ALSO
184  
185 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
186  
187 =head1 BUGS and CONTRIBUTIONS
188  
189 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
190  
191 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
192  
193 =cut
« blib/lib/Paws/EC2/InstanceNetworkInterfaceAttachment.pm ↑ Summary blib/lib/Paws/EC2/InstancePrivateIpAddress.pm »