GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
VM::EC2::VPC::PeeringConnection(3) User Contributed Perl Documentation VM::EC2::VPC::PeeringConnection(3)

VM::EC2::VPC::PeeringConnection - Virtual Private Cloud Peering Connection

 use VM::EC2;

 my $ec2   = VM::EC2->new(...);
 my $pcx = $ec2->describe_vpc_peering_connections(-vpc_peering_connection_id=>'pcx-12345678');
 my $status = $pcx->status;

This object represents an Amazon EC2 VPC peering connection, and is returned by VM::EC2->describe_vpc_peering_connections(), create_vpc_peering_connection(), and accept_vpc_peering_connection().

These object methods are supported:

 vpcPeeringConnectionId    -- The ID of the VPC peering connection
 requesterVpcInfo          -- Information about the requester VPC
 accepterVpcInfo           -- Information about the accepter VPC
 status                    -- The status of the VPC peering connection
 expirationTime            -- The time that an unaccepted VPC peering
                              connection will expire
 tagSet                    -- Tags assigned to the resource.

The following convenience methods are provided:

 accept                    -- Accepts the peering connection request.
                              NOTE: must be in the 'pending-acceptance'
                              state to be successful

 reject                    -- Rejects the peering connection request.
                              NOTE: must be in the 'pending-acceptance'
                              state to be successful

 refresh                   -- Refreshes the object

 current_status            -- Refreshes the object and returns the
                              status.  Useful for checking status
                              after calling reject() or accept()

The object also supports the tags() method described in VM::EC2::Generic:

When used in a string context, this object will interpolate the vpcPeeringConnectionId

VM::EC2 VM::EC2::Generic VM::EC2::Tag VM::EC2::VPC

Lance Kinley <lkinley@loyaltymethods.com>.

Copyright (c) 2014 Loyalty Methods, Inc.

This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.

2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.