Method: Awspec::Type::SecurityGroup#opened_only?
- Defined in:
- lib/awspec/type/security_group.rb
#opened_only?(port = nil, protocol = nil, cidr = nil) ⇒ Boolean
17 18 19 20 |
# File 'lib/awspec/type/security_group.rb', line 17 def opened_only?(port = nil, protocol = nil, cidr = nil) return inbound_opened_only?(port, protocol, cidr) if @inbound outbound_opened_only?(port, protocol, cidr) end |