Class | AWS::EC2::VPNConnectionCollection |
In: |
lib/aws/ec2/vpn_connection_collection.rb
|
Parent: | Collection |
Returns a reference to the VPN connection with the given id.
vpn_connection = ec2.vpn_connections['vpn-connection-id']
@param [String] vpn_connection_id
@return [VPNConnection]
Creates a new VPN connection between an existing virtual private gateway and a VPN customer gateway.
@param [Hash] options
@option options [CustomerGateway,String] :customer_gateway
The {CustomerGateway} object or customer gateway id string.
@option options [VPNGateway,String] :vpn_gateway
The {VPNGateway} object or vpn gateway id string.
@option options [String] :vpn_type (‘ipsec.1’)
The type of VPN connection.
@return [VPNConnection]