vendor/bundle/ruby/2.6.0/gems/aws-sdk-v1-1.67.0/lib/aws/ec2/vpc.rb
# Create a VPC peering connection between this VPC and another
#   VPC owned by the same user, and accept it.
# @return [VPCPeeringConnection] Returns the VPC peering connection
#   that was created
Create a VPC peering connection between this VPC and another
VPC owned by the same user, and accept it.
Create a VPC peering connection between this VPC and another VPC owned by the same user and accept it .
def peer_to vpc
        peering_connection = peering_connections.create(self, vpc)
        peering_connection.accept
        peering_connection
      end
def peer_to vpc peering_connection = peering_connections . create ( self , vpc ) peering_connection . accept peering_connection end
Create a VPC peering connection between this VPC and another
VPC owned by the same user, and accept it.
Create a VPC peering connection between this VPC and another VPC owned by the same user and accept it .
Returns the VPC peering connection that was created
Returns the VPC peering connection that was created
VPCPeeringConnection
vpc
<not_specific>