Method: Awscli::EC2::InternetGateways#attach

Defined in:
lib/awscli/ec2.rb

#attach(gwid, vpcid) ⇒ Object



865
866
867
868
# File 'lib/awscli/ec2.rb', line 865

def attach(gwid, vpcid)
  @conn.internet_gateways.attach(gwid, vpcid)
  puts "Attached InternetGateway: #{gwid} to VPC: #{vpcid}"
end