vendor/bundle/ruby/2.6.0/gems/aws-sdk-v1-1.67.0/lib/aws/ec2/vpc_peering_connection_collection.rb
# Requests a new VPC peering connection between the "local" VPC and
# the "remote" VPC
Requests a new VPC peering connection between the "local" VPC and
the "remote" VPC
Requests a new VPC peering connection between the " local " VPC and the " remote " VPC
def create local_vpc, remote_vpc, options = {}
        client_opts = {}
        client_opts[:vpc_id] = local_vpc.id
        client_opts[:peer_vpc_id] = remote_vpc.id
        resp = client.create_vpc_peering_connection(client_opts)
        VPCPeeringConnection.new_from(:create_vpc_peering_connection, resp.vpc_peering_connection, resp.vpc_peering_connection.vpc_peering_connection_id, :config => config)
      end
def create local_vpc , remote_vpc , options = { } client_opts = { } client_opts [ :vpc_id ] = local_vpc . id client_opts [ :peer_vpc_id ] = remote_vpc . id resp = client . create_vpc_peering_connection ( client_opts ) VPCPeeringConnection . new_from ( :create_vpc_peering_connection , resp . vpc_peering_connection , resp . vpc_peering_connection . vpc_peering_connection_id , :config => config ) end
Requests a new VPC peering connection between the "local" VPC and
the "remote" VPC
Requests a new VPC peering connection between the " local " VPC and the " remote " VPC
local_vpc
<not_specific>
remote_vpc
<not_specific>
options
<not_specific>