class AWS::EC2::SecurityGroup::IpPermission

def == other

Returns:
  • (Boolean) - Returns true if the other IpPermission matches
def == other
  other.is_a?(IpPermission) and
  other.security_group == security_group and
  other.protocol == protocol and
  other.port_range == port_range and
  other.ip_ranges == ip_ranges and
  other.groups == groups and
  other.egress == egress?
end