« blib/lib/Paws/EC2/LaunchTemplateInstanceNetworkInterfaceSpecification.pm
↑ Summary
blib/lib/Paws/EC2/LaunchTemplateLicenseConfiguration.pm »
| 1 | package Paws::EC2::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest; | ||
| 2 | use Moose; | ||
| 3 | has AssociateCarrierIpAddress => (is => 'ro', isa => 'Bool'); | ||
| 4 | has AssociatePublicIpAddress => (is => 'ro', isa => 'Bool'); | ||
| 5 | has DeleteOnTermination => (is => 'ro', isa => 'Bool'); | ||
| 6 | has Description => (is => 'ro', isa => 'Str'); | ||
| 7 | has DeviceIndex => (is => 'ro', isa => 'Int'); | ||
| 8 | has Groups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SecurityGroupId', traits => ['NameInRequest']); | ||
| 9 | has InterfaceType => (is => 'ro', isa => 'Str'); | ||
| 10 | has Ipv6AddressCount => (is => 'ro', isa => 'Int'); | ||
| 11 | has Ipv6Addresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceIpv6AddressRequest]'); | ||
| 12 | has NetworkCardIndex => (is => 'ro', isa => 'Int'); | ||
| 13 | has NetworkInterfaceId => (is => 'ro', isa => 'Str'); | ||
| 14 | has PrivateIpAddress => (is => 'ro', isa => 'Str'); | ||
| 15 | has PrivateIpAddresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::PrivateIpAddressSpecification]'); | ||
| 16 | has SecondaryPrivateIpAddressCount => (is => 'ro', isa => 'Int'); | ||
| 17 | has SubnetId => (is => 'ro', isa => 'Str'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::EC2::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest | ||
| 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::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest 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::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest 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 | Associates a Carrier IP address with eth0 for a new network interface. | ||
| 56 | |||
| 57 | Use this option when you launch an instance in a Wavelength Zone and | ||
| 58 | want to associate a Carrier IP address with the network interface. For | ||
| 59 | more information about Carrier IP addresses, see Carrier IP addresses | ||
| 60 | (https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) | ||
| 61 | in the I<AWS Wavelength Developer Guide>. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 AssociatePublicIpAddress => Bool | ||
| 65 | |||
| 66 | Associates a public IPv4 address with eth0 for a new network interface. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 DeleteOnTermination => Bool | ||
| 70 | |||
| 71 | Indicates whether the network interface is deleted when the instance is | ||
| 72 | terminated. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 Description => Str | ||
| 76 | |||
| 77 | A description for the network interface. | ||
| 78 | |||
| 79 | |||
| 80 | =head2 DeviceIndex => Int | ||
| 81 | |||
| 82 | The device index for the network interface attachment. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 Groups => ArrayRef[Str|Undef] | ||
| 86 | |||
| 87 | The IDs of one or more security groups. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 InterfaceType => Str | ||
| 91 | |||
| 92 | The type of network interface. To create an Elastic Fabric Adapter | ||
| 93 | (EFA), specify C<efa>. For more information, see Elastic Fabric Adapter | ||
| 94 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) in the | ||
| 95 | I<Amazon Elastic Compute Cloud User Guide>. | ||
| 96 | |||
| 97 | If you are not creating an EFA, specify C<interface> or omit this | ||
| 98 | parameter. | ||
| 99 | |||
| 100 | Valid values: C<interface> | C<efa> | ||
| 101 | |||
| 102 | |||
| 103 | =head2 Ipv6AddressCount => Int | ||
| 104 | |||
| 105 | The number of IPv6 addresses to assign to a network interface. Amazon | ||
| 106 | EC2 automatically selects the IPv6 addresses from the subnet range. You | ||
| 107 | can't use this option if specifying specific IPv6 addresses. | ||
| 108 | |||
| 109 | |||
| 110 | =head2 Ipv6Addresses => ArrayRef[L<Paws::EC2::InstanceIpv6AddressRequest>] | ||
| 111 | |||
| 112 | One or more specific IPv6 addresses from the IPv6 CIDR block range of | ||
| 113 | your subnet. You can't use this option if you're specifying a number of | ||
| 114 | IPv6 addresses. | ||
| 115 | |||
| 116 | |||
| 117 | =head2 NetworkCardIndex => Int | ||
| 118 | |||
| 119 | The index of the network card. Some instance types support multiple | ||
| 120 | network cards. The primary network interface must be assigned to | ||
| 121 | network card index 0. The default is network card index 0. | ||
| 122 | |||
| 123 | |||
| 124 | =head2 NetworkInterfaceId => Str | ||
| 125 | |||
| 126 | The ID of the network interface. | ||
| 127 | |||
| 128 | |||
| 129 | =head2 PrivateIpAddress => Str | ||
| 130 | |||
| 131 | The primary private IPv4 address of the network interface. | ||
| 132 | |||
| 133 | |||
| 134 | =head2 PrivateIpAddresses => ArrayRef[L<Paws::EC2::PrivateIpAddressSpecification>] | ||
| 135 | |||
| 136 | One or more private IPv4 addresses. | ||
| 137 | |||
| 138 | |||
| 139 | =head2 SecondaryPrivateIpAddressCount => Int | ||
| 140 | |||
| 141 | The number of secondary private IPv4 addresses to assign to a network | ||
| 142 | interface. | ||
| 143 | |||
| 144 | |||
| 145 | =head2 SubnetId => Str | ||
| 146 | |||
| 147 | The ID of the subnet for the network interface. | ||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | =head1 SEE ALSO | ||
| 152 | |||
| 153 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 154 | |||
| 155 | =head1 BUGS and CONTRIBUTIONS | ||
| 156 | |||
| 157 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 158 | |||
| 159 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 160 | |||
| 161 | =cut |