1VM::EC2::VPC::RouteTablUes:e:rAsCsoonctiraitbiuotne(d3V)PMe:r:lECD2o:c:uVmPeCn:t:aRtoiuotneTable::Association(3)
2
3
4
6 VM::EC2::VPC::RouteTable::Association -- The association between a
7 route table and a subnet
8
10 use VM::EC2;
11 my $ec2 = VM::EC2->new(...);
12 my $table = $ec2->describe_route_tables('rtb-123456');
13 my @associations = $table->associations;
14
15 foreach my $a (@associations) {
16 print $a->routeTableAssociationId,"\n",
17 $a->routeTableId,"\n",
18 $a->subnetid,"\n",
19 $a->main,"\n";
20 }
21
23 This object describes the association between a EC2 Virtual Private
24 Cloud routing table and a particular subnet. The special "main" route
25 table, which is assigned to newly-created subnets by default, is
26 designated by an association that returns a true value for the main()
27 method.
28
30 These object methods are supported:
31
32 routeTableAssociationId -- An identifier representing this association.
33 routeTableId -- The ID of the associated route table.
34 subnetId -- The ID of the associated subnet.
35 main -- Returns true if the associated route table is
36 the VPC's main table.
37
38 In addition, the following convenience methods are provided:
39
40 route_table -- Return the VM::EC2::VPC::RouteTable object.
41
42 subnet -- Return the VM::EC2::VPC::Subnet object.
43
45 When used in a string context, this object will be interpolated as the
46 routeTableAssociationId.
47
49 VM::EC2 VM::EC2::Generic VM::EC2::VPC::RouteTable VM::EC2::VPC::Subnet
50
52 Lincoln Stein <lincoln.stein@gmail.com>.
53
54 Copyright (c) 2012 Ontario Institute for Cancer Research
55
56 This package and its accompanying libraries is free software; you can
57 redistribute it and/or modify it under the terms of the GPL (either
58 version 1, or at your option, any later version) or the Artistic
59 License 2.0. Refer to LICENSE for the full license text. In addition,
60 please see DISCLAIMER.txt for disclaimers of warranty.
61
62
63
64perl v5.32.1 2021-V0M1:-:2E7C2::VPC::RouteTable::Association(3)