1VM::EC2::VPC::VpnGatewaUys:e:rAtCtoancthrmiebnutt(e3d)PVeMr:l:EDCo2c:u:mVePnCt:a:tViponnGateway::Attachment(3)
2
3
4

NAME

6       VM::EC2::VPC::VpnGateway::Attachment -- Attachment of a vpn gateway to
7       a VPC
8

SYNOPSIS

10        use VM::EC2;
11        my $ec2      = VM::EC2->new(...);
12        my $gw = $ec2->describe_vpn_gateways('vpn-12345678');
13        my @attachments = $gw->attachments;
14        for my $a (@attachments) {
15           print $a->vpcId,"\n",
16                 $a->state,"\n";
17        }
18

DESCRIPTION

20       This object provides information about the attachment of a EC2 Virtual
21       Private Cloud internet gateway to a VPC.
22

METHODS

24       These object methods are supported:
25
26        vpcId   -- the ID of the VPC
27        state   -- the state of the attachment; one of "attaching", "attached",
28                   "detaching" and "detached"
29
30       In addition, this object supports the following convenience method:
31
32        vpc      -- Return the VM::EC2::VPC object corresponding to the attachment.
33                                 check for changes in attachment state.
34

STRING OVERLOADING

36       When used in a string context, this object will be interpolated as the
37       vpcId.
38

SEE ALSO

40       VM::EC2 VM::EC2::Generic VM::EC2::VPC VM::EC2::VPC::VpnGateway
41

AUTHOR

43       Lincoln Stein <lincoln.stein@gmail.com>.
44
45       Copyright (c) 2012 Ontario Institute for Cancer Research
46
47       This package and its accompanying libraries is free software; you can
48       redistribute it and/or modify it under the terms of the GPL (either
49       version 1, or at your option, any later version) or the Artistic
50       License 2.0.  Refer to LICENSE for the full license text. In addition,
51       please see DISCLAIMER.txt for disclaimers of warranty.
52
53
54
55perl v5.32.1                      2021-0V1M-:2:7EC2::VPC::VpnGateway::Attachment(3)
Impressum