Sha256: 8503338e1b3983f76da924e88b0179bdf3ed620ff8d647afe99a9dda1c4f367c
Contents?: true
Size: 556 Bytes
Versions: 8
Compression:
Stored size: 556 Bytes
Contents
module Awsrm class VpnConnection < Awsrm::Resource FILTER_MAP = { id: 'vpn-connection-id', vpn_connection_id: 'vpn-connection-id', name: 'tag:Name' }.freeze class << self def all(params) res = ec2_client.describe_vpn_connections( filters: filters(params) ) res.vpn_connections.map do |conn| VpnConnectionReader.new(conn) end end end end class VpnConnectionReader < Awsrm::ResourceReader def id @resource.vpn_connection_id end end end
Version data entries
8 entries across 8 versions & 1 rubygems