1VM::EC2::NetworkInterfaUcsee:r:ACsosnotcriiabtuitoendV(M3P:)e:rElC2D:o:cNuemtewnotraktIinotnerface::Association(3)
2
3
4
6 VM::EC2::NetworkInterface::Association -- Object representing an
7 association of a network interface with an elastic public IP address
8
10 use VM::EC2;
11 my $ec2 = VM::EC2->new(...);
12 my $interface = $ec2->describe_network_interfaces('eni-12345');
13 my $association = $interface->association;
14 my $id = $association->associationId;
15 my $public_ip = $association->ipOwnerId;
16 my $address = $association->address;
17
19 This object provides access to an elastic address association object,
20 which reversibly associates an elastic public IP address with an
21 elastic network interface (ENI).
22
23 Please see VM::EC2::Generic for methods shared by all VM::EC2 objects.
24
26 These object methods are supported:
27
28 associationId
29 publicIp
30 publicDnsName
31 ipOwnerId
32 allocationId
33
34 In addition, this object supports the following convenience method:
35
36 address() -- Returns the VM::EC2::Address object involved in the
37 association.
38
40 When used in a string context, this object will be interpolated as the
41 public IP address.
42
44 VM::EC2 VM::EC2::Generic
45
47 Lincoln Stein <lincoln.stein@gmail.com>.
48
49 Copyright (c) 2012 Ontario Institute for Cancer Research
50
51 This package and its accompanying libraries is free software; you can
52 redistribute it and/or modify it under the terms of the GPL (either
53 version 1, or at your option, any later version) or the Artistic
54 License 2.0. Refer to LICENSE for the full license text. In addition,
55 please see DISCLAIMER.txt for disclaimers of warranty.
56
57
58
59perl v5.28.0 2018V-M0:7:-E1C52::NetworkInterface::Association(3)