Method: Awscli::EC2::InternetGateways#attach

Defined in:
lib/awscli/ec2.rb

#attach(gwid, vpcid) ⇒ Object



915
916
917
918
# File 'lib/awscli/ec2.rb', line 915

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